Download presentation
Presentation is loading. Please wait.
1
OpenGL, OpenSceneGraph, Maya Erik Brisson ebrisson@bu.edu SCV Visualization Workshop – Fall 2008
2
Using graphics tools OpenGL –Program from scratch –Access to all graphics card features OpenSceneGraph –Program using scene graph paradigm –Lots of utility functions Autodesk Maya –Powerful modeling and animation package –Highly interactive –Beautiful rendering SCV Visualization Workshop – Fall 2008
3
OpenGL – primitives SCV Visualization Workshop – Fall 2008
4
OpenGL – basic paradigm (cube.c) SCV Visualization Workshop – Fall 2008 for (i = 0; i < 6; i++) { glBegin(GL_QUADS); glNormal3fv(&n[i][0]); glVertex3fv(&v[faces[i][0]][0]); glVertex3fv(&v[faces[i][1]][0]); glVertex3fv(&v[faces[i][2]][0]); glVertex3fv(&v[faces[i][3]][0]); glEnd(); }
5
OpenGL: simple_xyzc.c output SCV Visualization Workshop – Fall 2008
6
OpenSceneGraph Open source OpenGL based Similar to SGI Performer Many utility functions –Notably, 3-D file readers SCV Visualization Workshop – Fall 2008
7
OpenSceneGraph demo SCV Visualization Workshop – Fall 2008
8
Maya demo SCV Visualization Workshop – Fall 2008
9
Image credits OpenGL geometric data structures –The OpenGL Programming Guide (“The Red Book”) Addison-Wesley Scene Graph –www.opensg.org SCV Visualization Workshop – Fall 2008
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.