Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to parse Blender-Made Files directly into my homemade Lisp program. I've been pulling data out of .X3D files manually. Is this the best format to focus on writing a parser for?


share|improve this question

closed as primarily opinion-based by Josh Petrie Jan 2 '14 at 18:58

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

Get a LISP library which will do it for You. – user712092 Jul 10 '11 at 13:12
up vote 14 down vote accepted

Write an exporter. No, really.

That way you can output exactly the data you need in the format you want.

When you start from one of the existing plugins, it's actually quite easy.

share|improve this answer
I would have never thought of that! I could dump it into lisp code directly and skip the middleman. Also, great example of answering my need, instead of just the question. – WarWeasle Jul 22 '10 at 16:11

I've always found OBJ files easiest to parse, but they tend to be large because they're "human readable." However, they're public and standardized.

If you need it, the Obj Specification:

share|improve this answer
Link looks dead, suggestion: – fableal Apr 26 '13 at 17:18

Milkshape (MS3D) format was quite easy to implement a reader for, in C++ and C#. Here's the spec I used:

share|improve this answer

The .obj is of course the easiest to to parse, but if you need something a little more powerful (with animations) then get the .md2 file format.

link text

If I can dig up some of my code from high school I might be able to find a md2 loader I wrote.

share|improve this answer
I think a custom blender exporter will get items into my code faster. I appreciate offer for your code however. – WarWeasle Jul 22 '10 at 16:15

The easiest to load is OBJ (which is human readable), others are horribly complex.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.