PDA

View Full Version : Loading an openflight file using OpenGL



asaisudha
08-28-2002, 02:40 AM
Is there any way i can load an openflight file using OpenGL.if so then plz..can i have the sample code for it

ToolTech
08-28-2002, 06:01 AM
It is quite difficult doing it with pure OpenGL. In my case I use a scene graph (Gizmo3D) to do the loading and storing of structures, and then I can use pure OpenGL and call the scene graph to do the rendering. To get a proper display of an openFlight file takes almost the entire source of a scene graph implementation to do it in OpenGL ;-)

l_hrabcak
08-28-2002, 06:10 AM
It's not so easy... http://www.opengl.org/discussion_boards/ubb/redface.gif) I have my own reader but it's not finished now. If you want to write your own go to http://www.multigenparadigm.com and download the description.

asaisudha
08-28-2002, 07:30 PM
what is gizmo3D .Can i make my models using this particular modelling tool.How fast is the rendering using this particular tool and can i call them in opengl code directly.

what is the file extension and can i have the details of the modelling software and can i have the sample code of loading those objects if any available.


regards
sai sudha

ToolTech
08-28-2002, 10:30 PM
Gizmo3D is a commersial package BUT can be used for free on Linux. It can also be used for free in non commersial applications.

It is very fast and can manage most types of scene graph data sets. e.g. OpenFlight files is very suitable to be rendered with Gizmo3D.

It can be used stand alone as a high level of programming graphics or it can be used combined with low level OpenGL. It runs on Win32, Linux, Mac OSX and Irix

dorbie
08-28-2002, 11:31 PM
Open Scene Graph has a loader for this. It is free on all platforms for all uses and is very fast.
http://www.openscenegraph.org