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 4 of 4

Thread: how do i put 3ds in?

  1. #1
    Guest

    how do i put 3ds in?

    i need to put a 3DS (3dstudio) model in my program. what is the best way to go around this? can i also use animations made in 3ds in opengl? how do i do this
    PLZ HLP

    d0g4r

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: how do i put 3ds in?

    Either search this forum for "3ds" (yes, this question has been asked quite a few times), or go here and download some documents on the 3DS file format, and code your own loader.

  3. #3
    Intern Newbie
    Join Date
    Oct 2001
    Posts
    38

    Re: how do i put 3ds in?

    OpenGL does not have any built-in support for parsing 3DS files. You will need to either write your own code or use someone elses. Documentation for the 3DS file format can be found at www.wotsit.org. The 3DSFTK is freeware that can be used to parse a 3DS file ( http://sparks.discreet.com/downloads/downloadshome.cfm ). Look for lib3DS at www.sourceforge.org. You will also find several scene graph libraries that use lib3DS or a custom 3DS file parser.

    Regards,
    Scott
    Regards,
    Scott

  4. #4
    Junior Member Regular Contributor
    Join Date
    Sep 2001
    Posts
    107

    Re: how do i put 3ds in?

    http://p-squared.com/Display3DS.zip for a bog-standard VC++/MFC example.

Posting Permissions

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