[Bf-committers] Collada-Exporter: Geometry instantiation not supported by target system ...

Gaia gaia.clary at machinimatrix.org
Sat May 26 19:30:29 CEST 2012


Hi

========
briefly:
========

If nobody complains i would like to add an option

     "Use Object instantiation"

to the Collada Exporter and enable that option by default.

===============
in more detail:
===============

The Collada exporter recognizes if 2 or more Objects reuse the
same Data block, thus it creates the geometry information only once.
The actual object names are then stored in the <visual_scene> block
where all objects reference the same geometry.

While very efficient, this method of instancing objects is not
supported by some target systems (Second Life for example)

So i see 2 options here:

- Either add a switch in the C code, which disables instantiation
   when the "Export to Second Life" option is enabled (ugly)

- Or add an option "Use Object Instantiation" and disable
   that in the "Second Life Preset" (pretty)

==========
Side-note:
==========

A quick look at Blender 2.49b shows, that there
the object geometries where named like their corresponding objects.
Maybe that was done on purpose, or it was a bug. However, Second Life
uses the same method as Blender 2.49b (i suspect on purpose ...)

cheers,
Gaia



More information about the Bf-committers mailing list