PDA

View Full Version : Import .3ds in OGL-App & display it



TheBlob
05-25-2001, 03:02 AM
I know that there are several threads in here which are about quite the same, but i still couldīnt find an answer to my problem.
I just want to load a .3ds or .x or something like this in my game with a call like :
object = OpenFile("file.3ds");
and then in my render routine something like this:
object.Display(x,y,z);
Please help me! Has anybody a similar library or so??
Thnx,
TheBlob

drumdummy
05-25-2001, 09:24 AM
This was posted over the week. http://www.stud.uni-goettingen.de/~npovala/


Other ideas. Nehe's website has a tut. on opening milkshape models. The catch is, is that milkshape allows you to import 3ds files. So you could convert your 3ds file into milksahpe then use the nehe tut. to load your file in your app.

Or you could just get the source code from milkshape and look for the function that opens milkshape files and tweak it to work with 3ds files.

mad666
05-25-2001, 10:46 AM
You better look at this:
http://www.lischke-online.de/

Here is a good 3DS importer library thats do the nasty job for you...
Bye... http://www.opengl.org/discussion_boards/ubb/wink.gif

05-27-2001, 11:42 PM
Hey guys, i want a 3ds library too, so i took a look at that URL, but its only for delphi! ANy ideas?