| 研究生: |
謝豐任 Hsieh, Feng-Ren |
|---|---|
| 論文名稱: |
人體動作捕捉系統之虛擬實境應用 A Human Motion Capture System for Virtual Reality Applications |
| 指導教授: |
王振興
Wang, Jeen-Shing |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電機工程學系 Department of Electrical Engineering |
| 論文出版年: | 2011 |
| 畢業學年度: | 99 |
| 語文別: | 中文 |
| 論文頁數: | 83 |
| 中文關鍵詞: | 人機互動介面 、物理模擬 、虛擬實境 |
| 外文關鍵詞: | human-computer interface, physical simulation, virtual reality |
| 相關次數: | 點閱:62 下載:6 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
本論文實現即時性人體動作捕捉系統中之人機互動介面與其基於物理模擬的虛擬實境應用。使用者在配戴動作捕捉感測裝置後,人機介面中的虛擬人物即可顯示出使用者當前的姿態,而此人機介面也具有虛擬實境的功能,使用者能以肢體操控虛擬人物並與虛擬實境中的物體互動,也可模擬人體在虛擬實境中受力的反應。人機介面是以電腦繪圖程式介面OpenGL為基礎,描繪虛擬人物的外型及虛擬實境中的場景與物體。虛擬人物的骨架則是使用樹狀的資料結構建立而成,並使用前序搜尋演算法依序繪出骨架姿態並以OpenGL顯示於螢幕中。虛擬實境是以剛體運動學與碰撞偵測等物理學為基礎模擬真實世界的情境。本論文將虛擬人物骨架簡化成由多個剛體所組成,以拘束力演算法模擬關節轉動的方式連接不同剛體,使虛擬人物的骨架模型不會因受力後而散開。當虛擬人物與虛擬實境中的物體發生碰撞時,虛擬人物會模擬碰撞時所發生的物理反應。當碰撞發生後,虛擬人物會繼續依照當前使用者輸入的姿態即時更新當前的動作,讓使用者可繼續地操控虛擬人物。結合虛擬實境的動作捕捉系統可令使用者以生動且饒富趣味的方式體驗虛擬世界的情境。
This thesis presents a real-time human–computer virtual reality interface (HCVRI) for a wearable human motion capture system. By wearing the human motion capture system, a virtual character can mirror the user’s body movement. In addition, the HCVRI has a physics-based virtual reality function. A user can control the virtual character with his motion and interact with objects in the virtual reality. The virtual reality can also simulate the collision between objects and a user. The HCVRI is developed by application programming interface (API) – OpenGL, which is used for drawing the outline of the virtual character and the scene in virtual reality. The virtual character’s skeleton is designed by a tree-model data structure, and a preorder traversal algorithm is used to search a tree and draw the node’s posture in order, and then the result is presented on the screen by OpenGL. The virtual reality simulates the real world phenomenon by using physical simulation including rigid body dynamics and collision detection. In the virtual reality, the virtual character’s skeleton is represented by a composition of rigid bodies. The joint simulation between different rigid bodies is developed by a constraint force algorithm which can bind the skeleton when the virtual character experiences a force on itself in the virtual reality. When a collision is happened, the virtual character will simulate a really physical reflection. After the collision, the virtual character can still trace the user’s motion so that the user can continue to use his motion to control the virtual character. With the human motion capture system and the HCVRI, users can experience the virtual world circumstances with interest and vividness.
[1] R. J. Rost, OpenGL Shading Language, 2ne ed., Addison Wesley, 2006.
[2] R. S. Wright and J. N. Haemel, OpenGL SuperBible, 5th ed., 全華圖書代理, 2010.
[3] A. Kirmse, Game Programming Gems 4, Charles River Media, 2004.
[4] A. Kovachev, Tree Data Class for C++, 2002.
[5] Kasper, 5TUhttp://tree.phi-sci.com/documentation.htmlU
[6] R. F. Gilberg and B. A. Forouzan, Data Structures A Pseudocode Approach with C++, Thomson Learning, 2000.
[7] 5TD. Treglia5T, Game Programing Gems 3, Charles River Media, 2002.
[8] A. Kirmse, 遊戲程式設計精華IV, 碁峰出版社, 2006.
[9] 5TUhttp://chrishecker.com/Rigid_body_dynamicsU5T
[10] W. Andrew and D. Staff, Physically Based Modeling: Principle and Practice, 1997.
[11] T. Jakobsen, Advanced Character Physics, 2002.
[12] T. Koziara and N. Bi´cani´, “Bounding box collision detection”, in 13th acme conference: university of Sheffield, March, 2005, pp. 21-22.
[13] G. V. D. Bergen, “Efficient collision detection of complex deformable models using AABB trees,” 1TJournal of Graphic Tools1T, vol. 2, no. 4, pp. 1-13, 1998.
[14] S. Gottschalk, M. C. Lin, and D. Manocha, “OBBTree: A hierarchical structure for rapid interference detection,” in Proc. the 23rd annual conference on Computer graphics and interactive techniques, 1996, pp. 171-180.
[15] B. Mirtich, “Hybrid simulation: Combining constraints and impulses,” in Proc. First Workshop on Simulation and Interaction in Virtual Environments, 1995, pp. 1-6.
[16] Z. Kačić-Alesić, M. Nordenstam, and D. Bullock, “A practical dynamics system,” in Proc. Symposium on Computer Animation, 2003, pp. 7-16.
[17] D. Baraff, “Linear-time dynamics using Lagrange multipliers,” in Proc. the 28th annual conference on Computer graphics and interactive techniques, 1996, pp. 251-260.
[18] K. W. Sok, M. Kim, and J. Lee, “Simulating biped behaviors from human motion data,” ACM Trans. on Graphics, vol. 26, no. 3, pp. 1-10, 2007.
[19] STM32F103 datasheet, ST.
[20] LSM303DLH datasheet, ST.
[21] 洪健超,以慣性元件與磁性元件為基礎之人體動作捕捉系統研製,國立成功大學電機工程研究所碩士論文,2011
[22] L3G4200D datasheet, ST.
[23] K. Donald, The Art of Programing: Fundamental Algorithms, Addison-Wesley, 1973.
[24] W. Andrew and D. Staff, Physically Based Modeling: Rigid Body Simulation, 1997.
[25] 張平文,李鐵軍,數值分析,北京大學出版社,2004.
[26] R. Barzel and A. H. Barr, “A modeling system based on dynamic constraints,” Computer Graphic, vol. 22, pp. 179-188, 1988.
[27] W. Andrew and D. Staff, Physically Based Modeling: Constrained Dynamics, 1997.
[28] How to make new joints in ODE, 5TUhttp://www.ode.org/joints.pdfU
[29] Bullet 2.78 Physics SDK Manual.
[30]http://www.cs.washington.edu/education/courses/cse558/02sp/projects/index.htmlU5T