does exist a complete B3D file format information?

Blitz3D Forums/Blitz3D Programming/does exist a complete B3D file format information?

Charrua(Posted 2009) [#1]
Is there a complete document or web page with the file format, other than "Blitz3d file format V0.01" found in "Specs and utils"?
Is there a lib to handle B3D files other than the one found in "Specs and Utils"?

Thank's in advance

Juan


markcw(Posted 2009) [#2]
Not sure, try these.

http://www.blitzbasic.com/sdkspecs/sdkspecs.php
http://www.geocities.com/drago_blitz/B3dFormat.html
http://code.google.com/p/max-edit/source/browse/trunk/plugins/fileb3d.bmx
http://www.blitzbasic.com/codearcs/codearcs.php?code=866

Also, this has an extension format.
http://www.onigirl.com/pipeline/


Ross C(Posted 2009) [#3]
Nice links there, thanks.


Charrua(Posted 2009) [#4]
thanks markcw
i agree with ross C

i was thinking in store some other information like pivots with some other flags and attributes than the orientation and position to reference some object in the scene as "points in a path" or location where probably some objects should be "randomly placed but not so randombly since this points are sugested".

So, as I see, there are no documeted or defined way to do these thing's.

I saw that some softwares put "custom variables ebbeded within the name of the objets" and probably I do that or simply Create a chunk with a new name, in the hope that other software that import my scene simply ignore these chunks and keep them alive on exit.

any ideas?

thanks again

Juan


Ross C(Posted 2009) [#5]
Use the EntityName field. You can load as much info into that as it will allow. It is a string field so you could have:

[mesh name]=ball [event type]=move [event x]=10 [position x]= rnd(1,10)

then, load the mesh, grab the entityname and parse it for these properties.

Most modellers that have a blitz3d export, will properly export names.


Charrua(Posted 2009) [#6]
thanks
I think that if this aproach is in use is secure to continue using it!
Create chunk's with "new" and for that "unknown" names should be not so secure (?)
as an example i found instructive an interesting the "gile[s]" software found in the toolbox under "3D lightmappers", one can define a pivot and write a set of user defined values and they are stored in the "entity name" as you sugest (or set user defined values to any object like lights, models, etc). Then with a parser :

http://www.frecle.net/download/gile[s]-b3d-parser.zip

is posible to catch those properties values. The example is very interesting (for me at most!)

thanks

Juan