Object reading

Started by
6 comments, last by David20321 23 years, 10 months ago
From looking at this forum it seems that whenever people want to know how to load objects you all tell them to use 3d exploration (which is PC only) or write their own object loading code. Does anybody know how to load objects from any common 3d format on a mac? If you have examples they would help a lot. Thanks.
Advertisement
I think that file formats are essentially cross-platform. You can use a .3DS or .ASC file on a mac. I used .ASC files for a project in school (damn school still uses G3''s!). If you''re looking for a file converter like 3DExploation for the mac i can''t help ya there though. Loading files is the same though. Cheers!
Could you tell me how to load an object in .ASC format?
this site has a bunch of 3d file formats http://www.swin.edu.au/astronomy/pbourke/3dformats/

plus you can check wotsit it has all the file formats you could want
http://www.wotsit.org/

Im Always Bored--Bordem ICQ: 76947930
I wrote my own little file converter for Lightwave 5.x models in RealBasic (on the Mac) ... pretty easy really - just a coupla hours with the SDK (Check flay.com)
Although now I need to find some info on the newer/updated LW6 file format ... anyone here got any info?
"You think that''s air your breathing now?"
Reading an .ASC file is easy, it''s only a text file. Just read through the actual file and you''ll learn the format. It''s essentially:

number of verticies
number of triangles
vertex list
triangle list

Hope This helps!
Does anyone have an example in source of how to do this? I''m pretty new to c and i''m pretty shaky on my file reading.
DarkAstaroth:
http://members.home.net/erniew2/lwsdk/docs/

This is a preliminary draft of the new SDK documentation
for LightWave [6].

This topic is closed to new replies.

Advertisement