View Full Version : meshwork to make 3DS
ghettotek
2003.03.08, 02:53 AM
just wondering if anyone knows of or has made a textured model and successfully exported it (and its textures) to 3DS using Meshwork? none of the models i make seem to include the textures, even when i use sphere mapping and cube maping.
codemattic
2003.03.09, 08:25 PM
from the meshwork documentation <http://codenautics.com/meshwork/doc/sec3.html#SEC3.1.1> - scroll to the 'export' paragraph
Note that the export may be imperfect; usually only mesh geometries are exported, and material properties are lost.
I know you are using the Mesh3DS library - but consider looking at the Meshwork Importer <http://www.idevgames.com/content/download.php?id=280> code example. It is in Obj-C/Cocoa - but you could easily translate it to plain C or C++. This way you can use the same files to model in and to load directly in your game. Big time/headache saver.
ghettotek
2003.03.10, 01:05 AM
thanks i already implemented the Meshwork importer. i realized that its probably my best bet for flexibility and ease of use, not to mention the fact that i just learned how to properly texture map in Meshwork.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.