Sign in to follow this  
mike74

3ds converter

Recommended Posts

mike74    100
Does anyone know of a converter that takes 3ds files and converts them to a simple text format? For instance, it could take each triangle and output something like this: texture: brick.jpg vertex0: 3232 32948 3824 texture0: 0 0 vertex1: 283 8329 9823 texture1: 1 0 vertex2: 29834 2389 328 texture2: 0 1 Mike C. http://www.coolgroups.com/zoomer/

Share this post


Link to post
Share on other sites
sriniatig    151
try Milkshape 3d. It imports a 3ds file and exports it into Milkshape ASCII file format which will give you all the information about the model in normal ASCII text.

Share this post


Link to post
Share on other sites
mike74    100
I'd prefer something that's entirely free. Thanks for the tip though.

Mike C.
http://www.coolgroups.com/zoomer/

Quote:
Original post by sriniatig
try Milkshape 3d. It imports a 3ds file and exports it into Milkshape ASCII file format which will give you all the information about the model in normal ASCII text.


Share this post


Link to post
Share on other sites
Scruffytuff    132
3DS Max can output to .ASE files, these are simple plain-english files that define everything about the model. (Just goto File->Export...)

It is fairly easy to write an importer for ASE files, but if you like, you can have a look at one I wrote earlier:

http://www.klaxon.eclipse.co.uk/ASE.h
http://www.klaxon.eclipse.co.uk/ASE.cpp

If you want to use them in something serious, let me know first... but they should get you started. :)

Share this post


Link to post
Share on other sites
mike74    100
Interesting. What does ASE stand for?

Also, are you sure it exports texture coordinates and the names of textures?

Mike C.
http://www.coolgroups.com/zoomer/


Quote:
Original post by Scruffytuff
3DS Max can output to .ASE files, these are simple plain-english files that define everything about the model. (Just goto File->Export...)

It is fairly easy to write an importer for ASE files, but if you like, you can have a look at one I wrote earlier:

http://www.klaxon.eclipse.co.uk/ASE.h
http://www.klaxon.eclipse.co.uk/ASE.cpp

If you want to use them in something serious, let me know first... but they should get you started. :)


Share this post


Link to post
Share on other sites
Scruffytuff    132
Quote:
Original post by mike74
Interesting. What does ASE stand for?

Also, are you sure it exports texture coordinates and the names of textures?


ASE stands for ASCII Scene Export.

When you choose to export to ASE, you are given a window with a bunch of check boxes where you select what you want to include in the ASE. It can be a simple as just the mesh definition, or it can have everything from materials and UVs (which includes the texture name and path) to things like IK joints and cameras.

You can pretty much export anything you'll need, and once you get the hang of stripping out 1 piece of the ASE in your importer, it's basically a copy and paste job to get other data.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this