虚拟实境设计_第1页
虚拟实境设计_第2页
虚拟实境设计_第3页
虚拟实境设计_第4页
虚拟实境设计_第5页
已阅读5页,还剩47页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、A Short Introduction by K.-P. Beier TerminologyThe term Virtual Reality (VR) was initially coined by Jaron Lanier, founder of VPL Research (Visual Programming Language) (1989). Other related terms include Artificial Reality (Myron Krueger, 1970s), Cyberspace (William Gibson, 1984), and, more recentl

2、y, Virtual Worlds and Virtual Environments (1990s). Today, Virtual Reality is used in a variety of ways and often in a confusing and misleading manner. Originally, the term referred to Immersive Virtual Reality. In immersive VR, the user becomes fully immersed in an artificial, three-dimensional wor

3、ld that is completely generated by a computer. Head-Mounted Display (HMD)The head-mounted display (HMD) was the first device providing its wearer with an immersive experience. Evans and Sutherland demonstrated a head-mounted stereo display already in 1965. It took more then 20 years before VPL Resea

4、rch introduced a commercially available HMD, the famous EyePhone system (1989). A typical HMD houses two miniature display screens and an optical system that channels the images from the screens to the eyes, thereby, presenting a stereo view of a virtual world. A motion tracker continuously measures

5、 the position and orientation of the users head and allows the image generating computer to adjust the scene representation to the current view. As a result, the viewer can look around and walk through the surrounding virtual environment. To overcome the often uncomfortable intrusiveness of a head-m

6、ounted display, alternative concepts (e.g., BOOM and CAVE) for immersive viewing of virtual environments were developed. BOOMThe BOOM (Binocular Omni-Orientation Monitor) from Fakespace is a head-coupled stereoscopic display device. Screens and optical system are housed in a box that is attached to

7、a multi-link arm. The user looks into the box through two holes, sees the virtual world, and can guide the box to any position within the operational volume of the device. Head tracking is accomplished via sensors in the links of the arm that holds the box.CAVEThe CAVE (Cave Automatic Virtual Enviro

8、nment) was developed at the University of Illinois at Chicago and provides the illusion of immersion by projecting stereo images on the walls and floor of a room-sized cube. Several persons wearing lightweight stereo glasses can enter and walk freely inside the CAVE. A head tracking systemcontinuous

9、ly adjust the stereo projection to the current position of the leading viewer.Input Devices and other Sensual TechnologiesA variety of input devices like data gloves, joysticks, and 3D Mouse allow the user to navigate through a virtual environment and to interact with virtual objects. 3D sound, tact

10、ile and force feedback devices, voice recognition and other technologies are being employed to enrich the immersive experience and to create more sensualized interfaces. Characteristics of Immersive VRThe unique characteristics of immersive virtual reality can be summarized as follows: Head-referenc

11、ed viewing provides a natural interface for the navigation in three-dimensional space and allows for look-around, walk-around, and fly-through capabilities in virtual environments. Stereoscopic viewing enhances the perception of depth and the sense of space. The virtual world is presented in full sc

12、ale and relates properly to the human size. Characteristics of Immersive VR continue Realistic interactions with virtual objects via data glove and similar devices allow for manipulation, operation, and control of virtual worlds. The convincing illusion of being fully immersed in an artificial world

13、 can be enhanced by auditory, haptic, and other non-visual technologies. Networked applications allow for shared virtual environmentsShared Virtual EnvironmentsIn the example illustrated, three networked users at different locations (anywhere in the world) meet in the same virtual world by using a B

14、OOM device, a CAVE system, and a Head-Mounted Display, respectively. All users see the same virtual environment from their respective points of view. Each user is presented as a virtual human (avatar) to the other participants. The users can see each other, communicated with each other, and interact

15、 with the virtual world as a team.Non-immersive VRToday, the term Virtual Reality is also used for applications that are not fully immersive. The boundaries are becoming blurred, but all variations of VR will be important in the future. This includes mouse-controlled navigation through a three-dimen

16、sional environment on a graphics monitor, stereo viewing from the monitor via stereo glasses, stereo projection systems, and others. Apples QuickTime VR, for example, uses photographs for the modeling of three-dimensional worlds and provides pseudo look-around and walk-trough capabilities on a graph

17、ics monitor. VRMLMost exciting is the ongoing development of VRML (Virtual Reality Modeling Language) on the World Wide Web. In addition to HTML (HyperText Markup Language), that has become a standard authoring tool for the creation of home pages, VRML provides three-dimensional worlds with integrat

18、ed hyperlinks on the Web. Home pages become home spaces. The viewing of VRML models via a VRML plug-in for Web browsers is usually done on a graphics monitor under mouse-control and, therefore, not fully immersive. However, the syntax and data structure of VRML provide an excellent tool for the mode

19、ling of three-dimensional worlds that are functional and interactive and that can, ultimately, be transferred into fully immersive viewing systems. The current version VRML 2.0 has become an international ISO/IEC standard under the name VRML97.Rendering of Eschers Penrose Staircase (modeled by Digan

20、ta Saha): VRML continueVR-related TechnologiesOther VR-related technologies combine virtual and real environments. Motion trackers are employed to monitor the movements of dancers or athletes for subsequent studies in immersive VR. The technologies of Augmented Reality allow for the viewing of real

21、environments with superimposed virtual objects. Telepresence systems (e.g., telemedicine, telerobotics) immerse a viewer in a real world that is captured by video cameras at a distant location and allow for the remote manipulation of real objects via robot arms and manipulators. NoImageApplicationsA

22、s the technologies of virtual reality evolve, the applications of VR become literally unlimited. It is assumed that VR will reshape the interface between people and information technology by offering new ways for the communication of information, the visualization of processes, and the creative expr

23、ession of ideas. Note that a virtual environment can represent any three-dimensional world that is either real or abstract. This includes real systems like buildings, landscapes, underwater shipwrecks, spacecrafts, archaeological excavation sites, human anatomy, sculptures, crime scene reconstructio

24、ns, solar systems, and so on. Of special interest is the visual and sensual representation of abstract systems like magnetic fields, turbulent flow structures, molecular models, mathematical systems, auditorium acoustics, stock market behavior, population densities, information flows, and any other

25、conceivable system including artistic and creative work of abstract nature. These virtual worlds can be animated, interactive, shared, and can expose behavior and functionality. Useful applications of VR include training in a variety of areas (military, medical, equipment operation, etc.), education

26、, design evaluation (virtual prototyping), architectural walk-through, human factors and ergonomic studies, simulation of assembly sequences and maintenance tasks, assistance for the handicapped, study and treatment of phobias (e.g., fear of height), entertainment, and Applications continue(一一) 產品特色

27、:產品特色:3D Webmaster是是Superscape公司經過十年設計虛擬實境產品的經驗知識而產生的一個用來設計互動3D網站的軟體工具。無論是商業應用方面、娛樂。這軟體能夠讓你能夠創造一個富有互動、快速而有效率的即時3D世界。快速、方便的製作 多量的3D物件 快速的下載速度(World容量大都在50100KB) 快速的瀏覽速度(使用Viscape) 3D Webmaster簡介簡介(二二) 標準:標準:3D Webmaster順從許多的工業標準,所以它能夠在你的其它軟體工作順暢。 友善的使用者視窗介面。 使用SVR或WRML97 儲存3D WORLD。 使用最共用的檔案格式SRV、VCA

28、、SRL、BMP、PCX、GIF、JPEG、TIFF、Targa、WAV。強大的Java介面完全整合在HTML。發展兩種格式的3D網頁和Java Applet 或者是Java Script。(三三) 容易編輯:容易編輯:整合編輯環境讓你完全控制你的3D網頁。 模板-3D Webmaster已經準傋好一些樣品讓你的World更容易的開始製作。 物件庫-從物件庫裡選擇物件,聲音或架構,並且將它拖曳到你的World內。你所製作的物件可以加入物件庫以便可以重覆使用。 加入連結藉由簡單的對話框就能讓你在物件加上超連結的功能,讓參觀者能容易瀏覽你的網站。 物件-800個虛擬圖片、500個即可使用的架構、6

29、00個行為指令。 可以多次的還原物件動作。 插入碰撞-讓World的物件放在適當的位置。 即時操作物件-使用滑鼠即時移動、提高及旋轉物件。 (四四) 更吸引人的:更吸引人的: 進階的即時宣告 利用透明、霧及陰影就可以立刻製作出漂亮的3D環境。 平面、圓柱體、球體及即時操作。 使用滑鼠就可以立刻將架構加入到你的物件,然後再做旋轉、移動等動作。 (五五) 更多的彩色光源更多的彩色光源 使用即時光源計算和更多更多的彩色光源讓你的3D網站更融入生活。 選擇zbuffering 即時物件光源計算 (六六) 更快而且更有效率更快而且更有效率 在Viscape平台上,3D Webmaster的程式執行非常的

30、快速,檔案被編繹成二進位檔變得更小而且包含在World中使用的全部聲音、物件。 使用更快的3D網頁瀏覽器瀏覽。 檔案變小大部份的3D網頁都少於200kb包含聲音及物件。 技術轉變 可使用更高階3D加速卡、處理器。 (七七) 更有力的更有力的3D webmaster不只是更容易使用,快速而且有效率,它使用其他功能而變得更有力。拖曳聲音到物件的聲音設定上,並指定聲音大小,而且指定在發生何種事件時開始播放聲音,之後按下ok就完成了。 完全的偵測物件是否跟觀點碰撞。 透過對話框控制動態物件。 詳細的合成物件可使用簡單功能找替自動物件,並且速度更快。 可以定義及編輯道具讓使用者能夠方便的重覆使用虛擬圖片

31、。 Superscape Control Language或稱SCL,是一種像C的程式語言控制你的WORLD。假如你會一點C語言,就可以很輕鬆的對SCL上手。SCL可以加任何物件在 WORLD 而且控制每樣東西的位置,加上霧在WORLD中,你可以有重覆的東西在飛行,超連結到HTM文件。當你使用你需要的函數創造一個物件時,你可以儲存起來重覆的使用這個物件。 這個產品是專門為一些需要將虛擬實境放在網頁上的開發工具,不管是專業的應用或是個人,都可以輕鬆的利用其強大的功能開發。價格方面,也比Superscape VRT 便宜一半,功能上,幾乎所有 Web 所需的都有了。虛擬世界可鎖碼並壓縮以.svr的

32、格式儲存,可偶保護智慧財產權並大幅增加網路Download速度,平均來說,大部分的作器大小為 50-200 KB之間,還可以輸出成 VRML2.0 的檔案。簡單來說,這是個操作簡單、功能強大、而且有效開發工具。可在Windows95、16MB RAM、無3D繪圖卡環境下使用、並自動測3D繪圖模式( Direct 3D HAL、MMX、RGB、WinG、DirectDraw ),配合軟硬體組態調整最佳繪圖模式與執行效率,同時非必要不使用Z-buffer繪圖;也可再搭配 Direct 3D 加速卡。達到最佳視覺使效果。 3D Webmaster 包括了三個主要的部分: 是建構世界的極佳建構環境,

33、是瀏覽工具,可以在建構時即時測試以及使用 Viscape plug-in 配合Netscape Navigator 或 Internet Explorer 的 ActiveX控制,當然也可輸出成VRML2.0的標準。 物件庫(Warehouse),包括了各式的物件、材、模型、及環境,可以拖、拉、放到世界中,物體可以輕鬆移位、縮放、旋轉與修改屬性、並有多重復原(Undo)的功能。這些物件包含了300個3D模型、500種材、200種音效、以及600種行為指令。點是虛擬世界中最基本的元素,在 Superscape的虛擬實境中,點可以透過兩種數學方式描述,換言之,我們可以在 Superscape的環境

34、中建立兩種不同的點。其中之一是藉由直接定義三度空間的座標位置而來,例如:(4,5,6),這樣的點在 Superscape被稱為相對點 (Relative Point)。另外一種點是藉由此比例關係(或分數關係),取得兩個相對點構成數線之特定位置而來,這種點的定義為:描述兩個相對點的分數關係,在Superscape 被稱為幾何點 (Geometric Point)。除了相對與幾何的分別外,點還可以分為動態點與靜態點兩種,一般在未特別設定之前,所有的點皆預設為靜態的;而動態的點是用來讓虛擬世界的物件具備運動的能力。 1. 相對點與幾何點相對點與幾何點在具備一些點集合後,我們可以利用它們作為平面多邊形

35、的頂點,描述二維空間中的各種形狀,進而利用這些多邊形面建立虛擬物件的形體。 2.面面Facets (小平面)3. 形體形體Shapes Superscape 的設計環境利用二維空間面,描繪立體物件的外貌,並將這些資料視為形體型別的定義,儲存在個別的形體檔案之中。在形體的建立過程中,Superscape提供強而有力的圖形界面編輯工具,可供使者視覺化地快速建立虛擬物件的名稱,形體編器利用關連區塊(Bounding Box) 提供三維的虛擬空間,你可以在其中透過設立點和編面等步驟建立形體,當初步完成外觀的設計之後,還可以進一步藉由設立動態點來製作動態的形體。 4. 物件物件Object 虛擬世界中的

36、虛擬物件不僅需要以立體的方式呈現出原本的形態外,更重要的是每一個物件都必須具有原本世界中的特質這是說它必須根據真實世界中的本份,與使用者達成互動式的溝通:如同虛擬世界中的電腦,當使者按下電源後就必須有出現螢幕,更進一步時,當使者者在鍵盤上打字時螢幕也應該出現使用者所打的字。因此虛擬物件比一般的物件多了一種與使用者達成互動的行為責任。 在Superscape的發展環境中,虛擬物件的構成除了形體之外,單就視覺呈現部份而言,至少還需包含一些特定的標準屬性,這些標準屬性是正確呈現物件形體不可或缺的必備要素,例如:形體的名稱、大小、位置和比例。 5. 屬性屬性Attribute 其次,若我們要建立動態的

37、物件時,還必須仔細設定動作的特性,像是:自發性的運動與物件的交互運動,或是與使用者交互的作用等事件驅動與回應的流程,都必須提供相關的資料,作為虛擬物件的部份描述。 因此,當我們運用Superscape時,必須清楚地瞭解虛擬物件完整的描述,並不存在於單純的形體定義之中,或是其他獨立的檔案;而是在世界描述檔中虛擬物件才具備了的完整資料。 6. 動態Dynamics 虛擬世界是一個互動式的模擬環境,由一個個的虛擬物件所組成,而物件除了形體之外的行為,卻依附於特定的虛擬世界,將個別形體逐一安排佈置於虛擬環境之後,還需詳加描述物件行為的能力,例如:物件動作和聲音的控制等,再加上一些客觀的要素,諸加:光源

38、、背景和控制台等的調和襯托,栩栩如生的電腦幻境才能真正讓使用者身歷其境。同時虛擬世界亦包含一個大型的資料庫,資料庫中存有每一個虛擬物件的基本屬性、動作、聲音、行為等等的資料,以及虛擬世界的原始設定:如背景、控制台、視窗等等。7. 世界世界 World3D電腦繪圖-虛擬世界相信多數人都看過“朱儸紀公園”中張牙舞爪的恐龍或者是“玩具總動員”中會說話的玩具和“蟲蟲危機”中可愛的昆蟲等等,這些栩栩如生,讓人分不出真假的東西就是由三度空間電腦繪圖(3D Computer Graphics)所創造出來的,而隨著半導體技術的精進,原本只能在昂貴的高階電腦工作站才能執行的3D電腦繪圖,已經普及到一般的個人電腦

39、上,現在幾乎九成以上的電腦都配備有基本的3D繪圖功能,電視遊樂器更配備有超強的3D繪圖晶片,3D電腦繪圖已是十分普及。 現在3D電腦繪圖已深入到各個層面,尤其在影音娛樂多媒體方面,甚至應用在醫學上的斷層掃瞄及科學研究上,虛擬實境更是未來的夢想,以下為3D電腦繪圖基本概念的簡介。一、前言一、前言二、二、3D電腦繪圖簡介電腦繪圖簡介 3D電腦繪圖的宗旨就是為了模擬出真實世界的物體,如何讓產生出來的圖片更逼真更快速是努力的重點,那為什麼三度空間的物體可以顯現在二度空間平面的螢幕上呢?這就是利用許多複雜的演算法或模型來模擬真實物體在三度空間中的狀況,最後投射在二維平面的螢幕上。 3D電腦繪圖-虛擬世界

40、continue如下圖所示,物體位於黃色區域中的三度空間內,人眼透過螢幕Screen所看到的就是此三度空間透射到二維平面上的狀態,而許多因素會影響到最後此影像的真實度,包含投射的技巧、物體模型的細緻程度、光源模型的精確度等等,底下就開始為大家簡介簡單的3D繪圖流程(此一流程是最基本的概念,事實上在3D電腦繪圖的領域中有許許多多不同的方式來產生最後的圖形)。1. 建立物體模型建立物體模型(Modeling) 如何描述一個三度空間中的物體其外觀形狀,此一動作就是建模,通常我們會用點、線、面去近似一個物體的外觀 (如右圖)3D電腦繪圖-虛擬世界continue建立此物體的模型資料,通常用(X,Y,Z

41、)三度空間的座標來表示,這些資料就是供後面繪圖運算用的,有了物體外觀(X,Y,Z)的資料,可以利用很簡單的線性代數運算,就可以將這個物體放大縮小、移動和變形等等。目前建立模型的方式大多靠軟體輔助設計如3DS Max、SoftImage、Maya等來完成,此一方法需手工且耗時,因此也有雷射掃瞄的儀器直接掃瞄真實物體的外觀。物體模型的精細度對最後產生出來的圖形的真實度有很大的影響,也牽涉到資料處理的運算量。 3D電腦繪圖-虛擬世界continue2. 座標轉換座標轉換 (Transform) 前面提到有了物體的三度空間模型資料,就可以用線性代數的方法將此物體移動、縮放、變形等等,這些動作其實都是座

42、標轉換,藉由控制物體上每個點的座標變動,可以讓物體移動、旋轉、產生動畫,如下圖,在一空間中擺進了三個物體,並調整它們的位置和角度。3D電腦繪圖-虛擬世界continue3. 光亮度計算光亮度計算 (Lighting) - 1 當一個三度空間中所有物體的座標資訊都處理好後,接下來的就是要計算每個物體的顏色了,如何計算物體的顏色呢?首先必須將此三度空間中的光源做一適當的model,就像光源可以分成很多種,如太陽光、電燈泡、探照燈等等,model好光源後,皆下來要做的就是計算此光源如何和這些物體作用,而最後反射到眼睛的光就是我們所看到此物體的顏色了,此部分就是利用光學反射、散射、透射等的原理來模擬

43、。3D電腦繪圖-虛擬世界continue3. 光亮度計算光亮度計算 (Lighting) - 2物體的顏色若要逼真就必須使用較複雜的運算,目前的方法大致可分成幾種:Local illumination、Ray Tracing(光跡追蹤)和Radiosity(熱幅射法), Local illumination是較適合於硬體設計,但其品質是此三種中最差的但運算量也是最低的,光跡追蹤對於金屬物質的效果最逼真,熱幅射對於室內光源的效果較好,但光跡追蹤和熱幅射都需要耗費很久的時間且不適合做硬體加速,一般我們看到電影中逼真的動畫都是結合了光跡追蹤和熱幅射後所得到的最好效果,通常一張畫面都需要一台工作站運算

44、幾小時,並不適合即時的3D應用。 。3D電腦繪圖-虛擬世界continue3. 光亮度計算光亮度計算 (Lighting) - 3Local illumination:此方法只針對每個光源對此點的影響納入計算,不考慮到其他物體的影響,此方法還可分成兩種Gouraud Shading和Phong Shading。Gouraud Shading是首先對每個物體模型的頂點做光亮度的計算,得到每個頂點(通常為三角形的頂點)的顏色值(如圖左),然後接著在用內插的方式將每個面內部(通常是三角形)的點的顏色給內插出來,其結果就如圖右,此方法的缺點是因為用內插的關係,所以無法模擬出金屬物體高亮度、高反光的地方,但好處是硬體運算量較少。3D電腦繪圖-虛擬世界continue3. 光亮度計算光亮度計算 (Lighting) -

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论