collada-exporter icon indicating copy to clipboard operation
collada-exporter copied to clipboard

Custom Properties Export

Open CallumDev opened this issue 7 years ago • 2 comments
trafficstars

Right now none of the blender collada exporters support custom properties. screenshot_20180704_202431 I'll be working on patching this exporter soon, is this a feature that would be upstreamed easily?

CallumDev avatar Jul 04 '18 10:07 CallumDev

That could be easily implemented, In the collada specs you can find that many elements support the <extra> element as a child. As the example in the specs are showing:

<geometry> 
  <extra> 
    <technique profile="Max" xmlns:max="some/max/schema">  
      <param name="wow" sid="animated" type="string">a validated string parameter from the COLLADA schema.</param>  
      <max:someElement>defined in the Max schema and validated.</max:someElement>  
      <uhoh>something well-formed and legal, but that can’t be validated because 
there is no schema for it!</uhoh>  
    </technique> 
  </extra> 
<geometry> 

But if you want to use that properties IN Godot - that is another question...

set-killer avatar Jul 04 '18 18:07 set-killer

Fixed with Pull Request #108 (at least for materials and geoms)

Dennis1000 avatar Jun 13 '19 11:06 Dennis1000