I've made up my own format for the models in a game I'm making.
I'd like to use Anim8or to make models and I'm pretty sure it's possible to make a script to export to my format. Can anybody make such a script or at least give me some pointers on how to do so?
The format is like this:
1,1,1,
1,1,1,
1,1,
The above code defines one vertex.
First line: position relative to origin.
Second line: normal.
Third line: texture co-ordinates.
The format is a triangle list so there should be three of those for each triangle in the model.
There can be spaces (empty lines) between each vertex but not between the three lines.
Each number is allowed to be positive or negative and can be a decimal.
All of the commas are necessary.
I have quite a bit of programming experience but I'm not sure how to work with Anim8or so thanks to anybody who can help or even make the script for me.
Frozenwounds.