Convert 3DS to ASCII

Posted on 2003-03-17
Medium Priority
Last Modified: 2013-12-26
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.

Question by:DarkBlue
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 8250315
post 3ds format?

Accepted Solution

fzr253 earned 200 total points
ID: 8427586
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 :(

Author Comment

ID: 8428818
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!


Author Comment

ID: 8428844
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.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question