• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1231
  • Last Modified:

Convert 3DS to ASCII

Hi everyone,

I am trying to do the following:
I have a 3ds model. Some parts of this model will be moving and some will not. This model will be shown using OpenGL. The moveable parts will be manipulated using physics already coded within the program. So I have a 3DS file of the model's non moveable parts and several other 3DS files with the moveable parts.

My problem is that I want to export all the files as ascii and then create my own ascii format out of these ascii files. That way I can have one file where I specify the moveable and non moveable parts of the model.
For example :

Moveable {
     ......
}

Non-moveable {
     ......
}


Any ideas how I can do that? Essentially I want vertices,faces,normals,texcoords info in the ascii file.
I already tried importing the 3ds files in Milkshape 3D and then exporting them as Milkshape(ASCII).That has all the info I need. However Milkshape 3D cannot handle a large number of vertices so I cannot do it that way.

0
DarkBlue
Asked:
DarkBlue
  • 2
1 Solution
 
tinkledoomhammerCommented:
post 3ds format?
0
 
fzr253Commented:
How about VRML?  Can't do skinning though.

I'd do it in D3D and use the X file format, which is great as you can extend it, use binary or ASCII, and there's a converter for 3DS files.  But it's not much good for OpenGL :(
0
 
DarkBlueAuthor Commented:
Hi fzr253,

Yes I have already looked into that option. The problem is that I am using OpenGL.
What I was thinking now is to use the 3DS format as is and not convert it to ASCII. This will speed up the reading in of the file as well. However, 3DS specifications were never published by AutoDesk so I am stuck again. I am trying to gather info from here and there on the web to read it in. Up to now I got the geometry working.

Thanks for your comments though!

DarkBlue
0
 
DarkBlueAuthor Commented:
I will now close this question.However the answer does not give a solution to the problem. Anyway, if anyone else has the same problem, you can always post a message later on and I will get back to you.

DarkBlue.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now