PDA

View Full Version : Animation With OpenGl & C++ & .wrl



senem
08-15-2007, 03:47 AM
I want to animate a 3d model using C++(opengl). 3d model is .wrl(VRML model) file.

1-) How can I open .wrl model using opengl without using MFC ? ( I just found MFC codes for it )
2-) How can I find sample code for C+ & Opengl & .wrl file?

holdeWaldfee
08-15-2007, 05:41 AM
OpenGL does not support such file formats.
It can handle mesh data only as raw data.

I am sure there are APIs for this file format, which can extract raw mesh data from these files.

ZbuffeR
08-15-2007, 07:50 AM
http://amire.c-lab.de/gems/index_by_keyword.php#VRML
OpenVRML looks good and updated.
http://openvrml.org/

senem
08-19-2007, 07:05 AM
There is an option to do it too I think:
By using 3D Exploration Plugin, 3d model can be exported to C++ code. So it can be used in opengl.
To animate a model with opengl&C++, which one is efective method?

knackered
08-19-2007, 10:29 AM
vrml is an appalling format, especially for animation. First suggestion is export it using another format.