blender -> b3d

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

blender -> b3d

Post by dreamport »

lights arent exported, IPO animations not supported....

is it true or im just missing some steps?

thnx
opensource = freedom
<br>
how can you face the problem if the problem is your face?
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

From Gandaldf's site:
CYCLIC ANIMATIONS:

To obtain a perfect result with cyclic animation like walkcycle etc.. I suggest you to copy the first frame to the last in way to have the model exactly in the same position. In Blender this will cause a "glitch" error during the animation but when you will see it in Blitz3D everything will works correctly.
ARMATURES:

Remember everytime you build an armature to imparent it with its mesh. This is necessary for the proper functioning of the Exporter, in fact this permits to have many animated models in the same scene without collisions between different animations. Remember also that every animated model will lose its position in the space scene and will be re-positioned at 0,0,0 so change its position by code or with an external world editor.
TIMELINE:

To set the life-time of your animation use the normal Timeline editor. From there you will be able to set the start and the end point of the whole animation. Only the "current active" animation will be exported, use the NLA Editor to select it.
http://www.gandaldf.com/specs-english.html
Image
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Also, lights can't be exported as it's a mesh format not a scene format. You can use irrB to export Irrlicht scenes from blender (I assume it supports lights), but I don't know if it supports exporting animated meshes as B3D.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
pc0de
Posts: 300
Joined: Wed Dec 05, 2007 4:41 pm

Post by pc0de »

Yes, irrb exports lights. B3D animated meshes - nope.
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

any suggestions to what format should i export my blender animation? so i can use it in irrlicht,,,, thnx
opensource = freedom
<br>
how can you face the problem if the problem is your face?
lulzfish
Posts: 34
Joined: Sat Aug 15, 2009 8:19 pm

Post by lulzfish »

DirectX and B3D are about the same, though Blender's DirectX exporter is broken and B3D doesn't like to flat-shade things for some reason.

But I think B3D is a lot smaller, and I found this nice exporter for Blender:
http://pastebin.com/f6d3c29dd

So put that in your blender scripts directory and then Blender will export nice B3D meshes with skeletal animation.[/code]
Is the somber dream of the Grim Reaper a shade Darker Than Black?
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

what about IPO keyframes animation in blender.... to what format should i export it?
opensource = freedom
<br>
how can you face the problem if the problem is your face?
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

what about sydney the model, from what program it was made?

huhuh anyone knows what format can be use to export blender IPO animation?

btw... is IPO animation and skeletal animation different from each other?
how?
they both can be implemented in blender right?
thnx
opensource = freedom
<br>
how can you face the problem if the problem is your face?
lulzfish
Posts: 34
Joined: Sat Aug 15, 2009 8:19 pm

Post by lulzfish »

Just make a model and tell us if it doesn't work.

IPO animation probably won't work directly, since B3D only seems to support skeletal animation. But skeletal animation is based on IPO, so do this:

1. Make your model
2. Export to B3D
3. If it doesn't work, tell us

Asking about IPO animation is slower than testing it yourself.
Is the somber dream of the Grim Reaper a shade Darker Than Black?
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

oh, i think i already posted that IPO was not supported when exporting to b3d, thats why im asking to what file format should i export my blender scenes.....

a format that supports IPO exports from blender...

thnx
opensource = freedom
<br>
how can you face the problem if the problem is your face?
pc0de
Posts: 300
Joined: Wed Dec 05, 2007 4:41 pm

Post by pc0de »

IPO isn't an animation format, instead IPO curves/keys are used to interpolate "values" over time. They may be used for animating:

Nodes - translation, rotation, & scale. (node animation).
Shapes - vertices using shape keys. (shape/vertex/morph animation).
Bones - translation, rotation, & scale. (skeletal animation).

IPO curves may also be used to vary material settings as well (color, specularity, layer, etc.).

It's been a while since I looked at it but I think for Blender:
  • 1. Nothing currently supports exporting node animation.
    2. ".x" supports skeletal animation by writing vertex locations every (key?) frame (quasi shape animation).
    3. ".b3d" supports skeletal animation.
So for exporting animations from Blender, b3d is your best option.
Post Reply