Blender's linked objects: exported as linked ?

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
alelink
Halfling
Posts: 54
Joined: Sun May 16, 2004 11:59 am
Location: Italy
Contact:

Blender's linked objects: exported as linked ?

Post by alelink »

hi to all,
this question maybe stupid, but I need to know :)
Blender's linked objects are exported as linked by the python script?
Or are they totally cloned before exporting?

Example: if I have a single object made by a certain number of boxes, in Blender all boxes are linked from one original box, when I export this object to Ogre I have only one box's mesh exported and varius coords or all boxes "baked"?

Sorry for my English
Thanks Alessandro
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Re: Blender's linked objects: exported as linked ?

Post by reimpell »

alelink wrote:Blender's linked objects are exported as linked by the python script?
Or are they totally cloned before exporting?
The dotscene exporter refers to meshs by their datablock name. Therefore they can be used several times with different scene node resp. object properties. On the other hand you can always use "Make Single User" or copy the mesh inside Blender to generate separate meshes. DupliVerts are not supported, you have to convert them to a "baked" mesh. Note that the dotscene exporter does not support parenting hierarchies yet (it's high on my todo list, though).

The mesh exporter itself does only export single objects and does not care about parenting. You can either export in the objects local space or in the world coordinates. (In case you choose the world coordinates the mesh name should be prefixed with the object name to be unambiguous, I think I have to fix that)
alelink
Halfling
Posts: 54
Joined: Sun May 16, 2004 11:59 am
Location: Italy
Contact:

Post by alelink »

thanks!
now I've a really stupid question for you (forgive me, I'm an artist not a coder...):
How must I use the exported .scene file?
how load it in Ogre?
with wich sceenManager?

thanks again
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Post by reimpell »

alelink wrote:How must I use the exported .scene file?
how load it in Ogre?
with wich sceenManager?
The xml file can be read with the source provided in the dotsceneformat add-on project. It uses the default scene manager. You can also postprocess it, e.g. with the ogrefsrad or dotsceneoctree add-ons.
Post Reply