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

Campbell Barton ideasman42 at gmail.com
Sat May 26 23:19:05 CEST 2012


+1 for second option --- add instancing option and use in preset.

On Sat, May 26, 2012 at 7:30 PM, Gaia <gaia.clary at machinimatrix.org> wrote:
> 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
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list