Sign in to follow this  
rm2000

3DS file structure

Recommended Posts

Hello, I am wondering, is there a way to read the contents of a 3DS file unencrypted? Not sure if it is stored in BINARY or what, but I want to be able to read the vertex info and cluster info directly. Thanks!!

Share this post


Link to post
Share on other sites
Quote:
Original post by rm2000
I was able to get 3DS files loaded in my 3D Demo, but I want a quick way to view the file in a text editor without having to write a program for it. Is that possible?


The best thing to do would to be to write a small program to do this for you...

Share this post


Link to post
Share on other sites
Quote:
Original post by dbzprogrammer
Quote:
Original post by rm2000
I was able to get 3DS files loaded in my 3D Demo, but I want a quick way to view the file in a text editor without having to write a program for it. Is that possible?


The best thing to do would to be to write a small program to do this for you...


Yeah I did play around for 10 min with a VB loader reading AS BINARY. I did start to see the info I was looking for but there were still A LOT of strange characters. I guess I would have to do quite a bit of parsing for my data.

Share this post


Link to post
Share on other sites
Binary files are typically not human-reable, thus the name, binary, and not text. So the simplest thing to do would be to use the loader that loads the files for your 3D demo, and output a text file instead of rendering. If you already have the code to load it, it should be no problem to make the output.

Share this post


Link to post
Share on other sites
I suppose that would be a solution. What I am looking to do is add some info to the 3DS file, so I just have to think about how I want to do it. It might be easier just to breed a structure that I need and export the 3DS information via MAXSCRIPT. Thanks.

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