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"?
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)
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?
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.