Save .b3d

Blitz3D Forums/Blitz3D Programming/Save .b3d

Anyone have a save .b3d function, that will save multiple textures on a mesh, and have multiple meshes?

I will explain more :o)

Say i had a mesh, textured it. Then parented some meshes to it, textured them. I would like to save that out as a .b3d. Mainly for loading into Gile[s] and lightmapping. That's the main thing. I'm using my own editor, to position and set up things in the world.

Then when it's lightmapped, i can load the .b3d file in, do findchild on the main mesh/pivot, to get the meshes back.

(Oh, and i've searched the archives and found save .b3d code.) Mostly only works for single surface/single mesh and one texture.