PDA

View Full Version : how to implement the conversion from 3Dmax(DXF) to OpenGl (VC or c devolop_platform)



charnquan
04-18-2002, 12:38 AM
I have a question .that is the conversion from 3Dmax(DXF) to OpenGl.
There is an example in a chinese book,but the code is not complete.
I want the fancier of Opengl to help me to solve the qustion .
Thank you !
charnquan@chinaren.com

Deiussum
04-18-2002, 05:48 AM
3DSMax is a modelling program for creating models. OpenGL is a graphics system for rendering 3d graphics (primarily). DXF is a file format for storing data. (Actually an AutoCad format I believe.) Tecnically you don't convert 3DSmax to OpenGL. Rather, you would render the data generated in a 3dsMax file by using OpenGL.
www.wotsit.org (http://www.wotsit.org) has a bunch of documents describing the DXF file format. Use those documents to figure out how to get the information you need from the file, then use that data in your OpenGL calls.

[This message has been edited by Deiussum (edited 04-18-2002).]

MPech
04-18-2002, 05:48 AM
http://www.gametutorials.com/Tutorials/OpenGL/OpenGL_Pg4.htm

seems to give you an answer, isn't it ?

it's a ".3DS" loader, not DXF.