Advertisement

Loading a 3D model

Started by November 28, 2000 04:20 PM
4 comments, last by The Kid 23 years, 11 months ago
If anyone with experience out there on loading 3d models for use in my programs could tell me how, it''d be really nice. I know its probably more complicated than BANG load the model. And I''m sure there are probably more than 1 way to do it. Does anyone have an opinion on wich one is the best ? I''d like to learn more about this. Anyone know any good web sites for it. Lots of thanks to anyone who gives any helpful information. Later all. The Kid I don''''t know what the future holds, but I know who holds the future.
I don''t know what the future holds, but I know who holds the future.
wotsit has tons of file specs, glVelocity is another good spot.
fs

http://www.CornflakeZone.com
//-- Modelling and animation in every dimension --//
Advertisement
If you use 3D Studio Max (release 3, probably previous versions also) you can export to .ASE files, which are text and very easy to parse.

I''d suggest converting them with a utility that you write (since they are huge!) to your own format, and then use that format...


http://www.gdarchive.net/druidgames/
I use Milkshape (from chUmbaLum sOft ) to create my models. Its a low-poly free modeler, especially well suited for games. It''s .ms3d file format is relatively simple to parse, and you can get code to simplify basic loading from my site ("files section"). all you then need to do is put the info into your data structure !.
However .ASC file format is also nice ...

------------------------------
BCB DX Library - RAD C++ Game development for BCB
I''m with c++ freak - go for Milkshape 3D. Its great, and you can import 3DS files into it and save them out as the (easier to read) MS3D files.

If you are looking for "BANG load the model", try downloading [shameless plug] PortaLib3D from http://www.geocities.com/brettporter/programming/PortaLib3D

Load the MS3D file in one line, display it in one line (and there''s even a sample of how to do it). Plus you get all those nifty window creation features
[end shameless plug]

Good luck!

~~~Cheers!Brett PorterPortaLib3D : A portable 3D game/demo libary for OpenGLCommunity Service Announcement: Read How to ask questions the smart way before posting!
Well, I personally use the 3dsftk lib from Autodesk, and it''s quite easy to load .3ds file without any parsing line of code.
All you have to do is fill your data structure with the data formated by the lib.
I have the zip file, but i can''t find where I''ve downloaded it, sorry

If you want to see some stuff I''ve done with it, just click below

My Web Page

This topic is closed to new replies.

Advertisement