Object reading
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.
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!
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/
plus you can check wotsit it has all the file formats you could want
http://www.wotsit.org/
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?
Although now I need to find some info on the newer/updated LW6 file format ... anyone here got any info?
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!
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].
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
Popular Topics
Advertisement