OpenSceneGraph.ppt_第1頁
OpenSceneGraph.ppt_第2頁
OpenSceneGraph.ppt_第3頁
OpenSceneGraph.ppt_第4頁
OpenSceneGraph.ppt_第5頁
已閱讀5頁,還剩15頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、OpenSceneGraph,Jinseok Seo,Outline,What is OpenSceneGraph? Getting Started Examples Loading geometric models from files and positioning them in a scene Finding named nodes, updating DOF and switch nodes Using an update callback to articulate a node within a scene Using tracking devices Available Res

2、ources,What is OpenSceneGraph?,A C+ API built on OpenGL for Scene Management Graphics Rendering Optimization Cross-platform Windowing system agnostic Open Source,What is OpenSceneGraph?,Functional Components,OSG Scene Graph Rendering Elements,OSGDB Data Base Loading Plug-in Management,OSGUtil Traver

3、sers Enhancements,OSGText,OSGSim,Node Kits,Plug-Ins,What is OpenSceneGraph?,File Formats Supported File Formats 3dc, 3ds, ac3, dw, flt, Freetype Iv, ive, logo, lwo, md2, obj osg, osgtgz, tgz, txp, directX, zip Image Formats Bmp, dds, pic, png pnm, qt, rgb, tga,What is OpenSceneGraph?,Who is Using OS

4、G? Magic Earth - Geoprobe - Oil & Gas Boeing - Flight simulation Indra - Train simulation STN Atlas - Simulation NASA - Earth visualization Norcontrol - Maritime simulation Real World Entertainment - Gaming (Releasing Java Bindings) Terrex - LOD Paging POSTECH - ,Getting Started,Downloading and Buil

5、ding Source Code 3rdParty_Win32binaries_2004-07-25a.zip OpenSceneGraph-Data.zip Optional (OpenGL Performer, GDAL, ) OSG_OP_OT-0.9.8-2.zip,Getting Started,Downloading and Installing Binaries Debian, MinGW, Mac OSX, IRIX, Suse 9.1, Fedora core 3 Win32 binaries http:/mew.cx

6、/osg Includes OpenSceneGraph-Data, 3rdParty dependencies, and osgVRPN,Getting Started,Compiling with MS Visual Studio Visual Studio .NET Works well Visual Studio 6.0 Install STLport-4.5 /download.html Uncomment the sentence at about line 45 in the file stlport/stl_user_config.h

7、#define _STL_NO_OWN_IOSTREAM 1 Setting up include path and library path,Getting Started,Running Examples Setting up the path to the applications and DLLs (PATH) where/you/put/OpenSceneGraph/bin Setting the OpenSceneGraph Data file path (OSG_FILE_PATH) Where/you/put/OpenSceneGraph-Data osgviewer cow.

8、osg,Examples,Jason McVeighs OpenSceneGraph Tutorial Set. /documentation/NPSTutorials/,Example 1,Loading geometric models from files and positioning them in a scene,Example 1,root (osg:Group),tankNode (osg:Node),tankXform (osg:PositionAttitudeTransform),Example 2,Finding named

9、 nodes, updating DOF and switch nodes,Example 2,root (osg:Group),tankTwoGroup (osg:Group),tankTwoPAT (osg:PositionAttitudeTransform),tankOneGroup (osg:Group),tankThreeGroup (osg:Group),tankThreePAT (osg:PositionAttitudeTransform),Example 3,Using an update callback to articulate a node within a scene,Example 4,Manually positioning a camera Create and initialize a matrix with the correct world position and orientation. Get the inverse of this matrix and Provide a world up orientation. In this case by rotating from Y up to Z up.,Example 5,Using tracking devices,Av

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論