Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Importing objects

  1. #1
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    102

    Importing objects

    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!
    CyBBe

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2000
    Location
    San Francisco, CA, USA
    Posts
    22

    Re: Importing objects

    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

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Feb 2000
    Location
    France
    Posts
    880

    Re: Importing objects

    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 !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •