B3D Layout

Blitz3D Forums/Blitz3D Programming/B3D Layout

necky(Posted 2003) [#1]
Is there ANY blitzbasic file out there that exports to
B3D with animation included?
Every BB file I`ve got regarding the B3D format has this section missing.

thanks.


Ricky Smith(Posted 2003) [#2]
Please someone correct me if I'm wrong and I havent actually done this yet but I guess the only way to achieve this would be to actually loop through the animation and write each joint's position,rotation and scale values to the file.

This is really the same technique used to save the mesh - you loop through the surfaces and write away the vertex and triangle info.

My understanding is that when you add an animation sequence via AddAnimSeq and then set key frames - this information is stored internally - you can't access this information without playing it back.
It would be nice to have a SaveB3d command that would save all info in one go but you only have to write an export function once and its a great learning exercise.


-=Darkheart=-(Posted 2003) [#3]
This:

http://members.iinet.net.au/~shaid/B3dFormat.html

and this:

http://www.blitzbasic.com/codearcs/codearcs.php?code=665

Were both very useful to me, thanks to the original authors, Drago and Peter Shultz respectively.

Darkheart


Ricky Smith(Posted 2003) [#4]
The first link appear to be broken.....


-=Darkheart=-(Posted 2003) [#5]
Was working earlier, maybe Drago has some hosting trouble...

Darkheart


Drago(Posted 2003) [#6]
Drago, has a new internet provider, which doesn't provide webspace, soo that one aint there anymore. so you will have to wait till I get my connection all fixed.