PDA

View Full Version : Importing objects



CyBBe
03-26-2000, 01:57 AM
Can I import objects made in 3DSMAX, or AutoCad or something, and use it like a normal GLUT object, or how do I do???
code examples plz...
thanx!

dmsy
04-04-2000, 06:05 PM
There are lots of codes on the net that can load your objects into opengl. I saw some for obj/mtl, and some 3ds. There is also a program called 3d exploration that will convert your objects into cpp file. check it out at www.xdsoft.com (http://www.xdsoft.com)

Eric
04-04-2000, 09:47 PM
Hi !!!

If you want to import AutoCAD stuffs, try to write a dxf parser. For 3DS Max, write an ASE parser.

As 3DS Max can import AutoCAD files, perhaps you should just write the second one (then you export from AutoCAD to 3DS and from 3DS to your program !).

ASE files are really easy to understand (although I never saw any official spec). You can contact me if you've got trouble with their format.

Eric

P.S. : you could also write your own plug-in in 3DS Max to export to whatever format you need !