Ease Production PCB to Ogre mesh/skeleton files.

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
ElricDog
Gnoblar
Posts: 9
Joined: Wed Oct 05, 2005 2:08 pm

Ease Production PCB to Ogre mesh/skeleton files.

Post by ElricDog »

Ease Production PCB file format has the best exporter for 3dsmax i had seen. (waiting for Lioric exporter :P ). So i dicided to do a pcb 2 ogre converter.

The mesh file was trivial, but i have problems with skeleton file.
I searched in the forums the explanation of what means the data in skeleton file, but i have no luck.

I have a lot of questions, after a lot of tests :(:
- In section <bones>:
These are the initial transform of the bones?
- In section <bones> and in the keyframes of every bone:
Are the values in world or mesh space?
With pivot premultiplied?
With parent transformation applied?

I can send the code if someone would help to finish the converter.
thx who can help.

As always, sorry for my english.
Elric / Anaconda
genva
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 1603
Joined: Wed Oct 20, 2004 7:54 am
Location: Beijing, China
x 1

Post by genva »

- In section <bones>:
These are the initial transform of the bones?
It's the initial transform of the bone in the parent bone space. Relational expression is

Code: Select all

bone_initial_world_transform = parent_bone_initial_world_transform * bone_initial_transform
bone_initial_transform is the value store in file.
- In section <bones> and in the keyframes of every bone:
Are the values in world or mesh space?
The keyframes transform is in the bone initial transform space. Relational expression is

Code: Select all

bone_world_transform_for_keyframe = bone_initial_world_transform * keyframe_transform
keyframe_transform is the value store in file.
ElricDog
Gnoblar
Posts: 9
Joined: Wed Oct 05, 2005 2:08 pm

Post by ElricDog »

Thx genva. Your help makes now working ok.

Maybe can release in a few days this converter featuring:
-meshes.
-skeletons.
-materials.
-scene.
after i clean the code and make more friendly.
Elric / Anaconda
Post Reply