100 likes | 217 Views
Overview: Open Inventor. Open Inventor. set of building blocks based on OpenGL - uses OpenGL for rendering focuses on creating 3D objects commonly used to render the objects creates a scene graph directed, acyclic graph of nodes state machine some nodes modify state
E N D
Overview:Open Inventor CSE 681
Open Inventor • set of building blocks • based on OpenGL - uses OpenGL for rendering • focuses on creating 3D objects • commonly used to render the objects • creates a scene graph • directed, acyclic graph of nodes • state machine • some nodes modify state • object nodes are rendered according to current state CSE 681
Inventor Objects • database primitives • shape • property • group • engine • manipulators • handle box • trackball • components • materials • directional lights CSE 681
Hierarchical Traversal Separator { Separator { RotationXYZ { axis Z angle 0 = ElapsedTime { speed 0.4 } . Timeout } Transform { translation 0 0 0.5 } Separator { … CSE 681
The Scene Database Transformation node Separator node Object node Property node CSE 681
Sample Graph Group Separator transform object transform property CSE 681
Class Tree • SoBase • SoFieldContainer • SoNode • SoCamera • SoShape • SoCube • … • SoEngine • SoCalculator CSE 681
Etc. Callback function at node Selection callback node Event callbacks manipulators CSE 681
OSU inventor flattens tree T1 T12 T1234 T1 T2 O1 O2 O3 O1 T3 O2 T4 O3 CSE 681