Blender and .b3d

BlitzMax Modules Forums/MiniB3D/Blender and .b3d

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Seems to be going well so far... Everything looks like it's going in the right places (as far as the file format is concerned)... but will find out when I'm at a stage of trying to load the default cube into MiniB3d ;-)

Just a couple of questions... and thanks to Mr bradford for the links, which are helping a lot.

1) I presume that a b3d Brush is similar to a Blender material.. except that Material has about a million attributes to it ?

2) Triangles (TRIS). Not entirely sure what I'm going to do here... A Mesh has Faces, which in turn has Vertices. According to the spec, the TRIS block lists the "ids" of the triangle parts. Do I just re-process the list of vertices and put here the "index" of the particular vertex?
I'm guessing that TriangleVertex returns something useful in the example code...

Having no prior b3d experience makes this an interesting wee project to say the least, but I'm always up for a new challenge. (that and I can't actually *use* Blender in any way yet... still to sit down with the beginners tutorial ;-)

If I can get the core stuff working, perhaps others might be interested in tweaking it to cover everything that we need.
As far as I'm concerned, blender support would be great, since it imports/exports a whole swathe of formats - and works on Linux, being my primary dev environment.

If anyone has any hints etc about things, or stuff I might be able to read up on, I'm all ears (and eyes).

:-)