Parse a compiled file with ruby?
-
I am looking to make an importer for an old 3d format called b3d. It is a compiled file format. How would I tackle something like this with ruby? Here is a link to the .b3d format specs:
Known unknowns
:- I don't quite know how to parse a file that I don't know how to read.
- I don't know what a "chunk" is.
I'm sure there are dozens of "unknown unknowns", I'm sure I'll get to those once I get started.
So is this going to be hardder than I am imagining? I was hoping I could figure the basics of this out in the next day or two - is there any hope?
Chris
-
Hmm, looks like I won't need this. I can use .obj for this project it looks like. I'm still interested in the topic, but its not something that is very urgent or has any priority for me at the moment. Thanks,
Chris
-
Hi Chris,
This code snippet reads a binary 3ds file using Ruby and writes out an ascii .obj file.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement