View Full Version : 3ds max -> opengl? any tutorials?
06-22-2002, 03:18 PM
I cooked up a model in 3ds max and i want to load the thing in opengl. Just how do I go about doing this? are there any tutorials out there?
06-22-2002, 05:31 PM
Its all about file types. How you store the model and how opengl reads them in. Take a look at www.wotsit.org (http://www.wotsit.org) for a rundown on how 3ds files are made up.
[This message has been edited by blood.angel (edited 06-22-2002).]
06-22-2002, 09:35 PM
This format is difficult to load, mainly because it isn't document well (it's not open).
I just created a loader and it sems to work well (and nice and fast too http://www.opengl.org/discussion_boards/ubb/smile.gif )
Take a look at lib3ds on sourceforge.
06-23-2002, 01:28 AM
I for myself getting really angry when remembering to load models in the programms of me http://www.opengl.org/discussion_boards/ubb/wink.gif
So I used an easy way to convert nearly all files, that are used by milkshape. Simply load the models you like in (IMAO also 3ds is avaible) and then export them as VRML97-Format a text format, that shall be really easily to parse and load in your program.
Only one idea to "work" arround http://www.opengl.org/discussion_boards/ubb/wink.gif Else there shall be somewhere a class for doing this job, I for myself are using delphi and even there such classes exists!
06-23-2002, 02:56 AM
Display3DS (http://p-squared.com/Display3DS.zip) has complete VC++/MFC source code to a simple 3DS loader.
3ds file format is completely documented (few seem to know this) there's an official 3ds file toolkit somewhere on descreet's site which contains a .doc file where all chunks are documented.
I also have a very simple loader(it loads only geometry and light) here
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.