PDA

View Full Version : importing a vrml scene "in" opengl



db
09-29-2004, 05:07 AM
hi all,
is there posibility to manipulate a vrml scene (defined in an existing vrml file) "in" (with) opengl and what do i need in order to do so?

any help would be most appreciated.

kehziah
09-29-2004, 11:08 AM
what you need to do is create the scene graph (ie load the vrml file and parse/decode it) --> that's purely a VRML topic, nothing to do with opengl

then to render the scene, traverse the graph and issue opengl commands accordingly