PDA

View Full Version : 3d Studio Max



03-07-2001, 04:13 AM
I know this might sound stoopid, but models created in say 3d studio, are they in anyway usable within Open GL?

Eric
03-07-2001, 04:17 AM
Yes: you can either create your own export plug-in for 3DS and then read your format from within your OpenGL program. Or you can use the built-in ASE format which is quite simple to read.

Whatever you choose, you will have to write the routines that actually read and then display the 3D model.

Regards.

Eric

03-07-2001, 05:37 AM
Thanks Eric,
Is there anywhere I can find more information on this (books, websites etc)?
Thanks again,
Steve

Tim Stirling
03-07-2001, 10:09 AM
a shareware program called 3dexploration can import 3d studion max files you could then export them as another file type that you find easier to use, or that there are plenty of tutorials and libaries freely available that loads it (.obj is a good example). 3dexploration will also let you export it as opengl VC code which I find great- it will make an app for you which all you have to do is compile. You will need to do a search on the web for it.

03-07-2001, 11:17 PM
Thanx Tim. Much appreciated.

Chiron
03-09-2001, 12:05 AM
You can also save your models in a format that Milkshape can import (forgot which ones). I know that Nehe (nehe.gamedev.net) has a tutorial on how to import Milkshape files. I think it's the last tutorial, number 32. Milkshape is shareware and can be found here: http://www.swissquake.ch/chumbalum-soft/

Good luck!

Tim Stirling
03-09-2001, 09:37 AM
Chiron, although milkshake is sharware and I like it a lot it is `shareware` and not freeware and unforunately after 30 days you can't save making it useless. On the plus side it is only $20 to buy.

03-10-2001, 03:41 AM
Iím working on a library that loads different files (currently only .obj supported) and I downloaded 3dexporation from www.3dcafe.com (http://www.3dcafe.com) (follow free/programs).It is very god and can export to OpenGl cpp source. Try it.

bobert
03-12-2001, 01:59 PM
on flipcode.com (great site) goto code of the week>past code>"another 3ds importer"

just one look at the chunking system set me up to create my very own model class! http://www.opengl.org/discussion_boards/ubb/eek.gif Its great!
ie: http://www.opengl.org/discussion_boards/ubb/cool.gif

3ds_obj landscape; //init
landscape.path="data\mountain2.3ds";//anytime
landscape.render; // in drawing loop

-best of luck http://www.opengl.org/discussion_boards/ubb/wink.gif
bobert

[This message has been edited by bobert (edited 03-12-2001).]