Results 1 to 4 of 4

Thread: <accessor> - <param> - bug

  1. #1

    <accessor> - <param> - bug

    I think there is a bug in the collada specification or in blender.

    <param> collada specification:
    In <bind_material> and <accessor>
    The <param> element contains information of type xs:string, which represents the SID of an existing parameter.
    But <param> contains no SID after exporting a project to COLLADA. Example:
    Code :
    <?xml version="1.0" encoding="utf-8"?>
    <COLLADA xmlns="" version="1.4.1">
          <author>Blender User</author>
          <authoring_tool>Blender 2.63.0 r46461:46487M</authoring_tool>
        <unit name="meter" meter="1"/>
        <camera id="Camera-camera" name="Camera">
                <xfov sid="xfov">49.13434</xfov>
                <znear sid="znear">0.1</znear>
                <zfar sid="zfar">100</zfar>
        <light id="Lamp-light" name="Lamp">
              <color sid="color">1 1 1</color>
            <technique profile="blender">
              <dist sid="blender_dist">29.99998</dist>
              <energy sid="blender_energy">1</energy>
              <gamma sid="blender_gamma">1</gamma>
              <halo_intensity sid="blnder_halo_intensity">1</halo_intensity>
              <shadow_b sid="blender_shadow_b">0</shadow_b>
              <shadow_g sid="blender_shadow_g">0</shadow_g>
              <shadow_r sid="blender_shadow_r">0</shadow_r>
        <effect id="Material-effect">
            <technique sid="common">
                  <color sid="emission">0 0 0 1</color>
                  <color sid="ambient">0 0 0 1</color>
                  <color sid="diffuse">0.64 0.64 0.64 1</color>
                  <color sid="specular">0.5 0.5 0.5 1</color>
                  <float sid="shininess">50</float>
                  <float sid="index_of_refraction">1</float>
              <technique profile="GOOGLEEARTH">
          <extra><technique profile="MAX3D"><double_sided>1</double_sided></technique></extra>
        <material id="Material-material" name="Material">
          <instance_effect url="#Material-effect"/>
        <geometry id="Cube-mesh" name="Cube">
            <source id="Cube-mesh-positions">
              <float_array id="Cube-mesh-positions-array" count="24">1 1 -1 1 -1 -1 -1 -0.9999998 -1 -0.9999997 1 -1 1 0.9999995 1 0.9999994 -1.000001 1 -1 -0.9999997 1 -1 1 1</float_array>
                <accessor source="#Cube-mesh-positions-array" count="8" stride="3">
                  <param name="X" type="float"/>
                  <param name="Y" type="float"/>
                  <param name="Z" type="float"/>
            <source id="Cube-mesh-normals">
              <float_array id="Cube-mesh-normals-array" count="18">0 0 -1 0 0 1 1 -2.83122e-7 0 -2.83122e-7 -1 0 -1 2.23517e-7 -1.3411e-7 2.38419e-7 1 2.08616e-7</float_array>
                <accessor source="#Cube-mesh-normals-array" count="6" stride="3">
                  <param name="X" type="float"/>
                  <param name="Y" type="float"/>
                  <param name="Z" type="float"/>
            <vertices id="Cube-mesh-vertices">
              <input semantic="POSITION" source="#Cube-mesh-positions"/>
            <polylist material="Material" count="6">
              <input semantic="VERTEX" source="#Cube-mesh-vertices" offset="0"/>
              <input semantic="NORMAL" source="#Cube-mesh-normals" offset="1"/>
              <vcount>4 4 4 4 4 4 </vcount>
    0 0 1 0 2 0 3 0 4 1 7 1 6 1 5 1 0 2 4 2 5 2 1 2 1 3 5 3 6 3 2 3 2 4 6 4 7 4 3 4 4 5 0 5 3 5 7 5</p>
          <extra><technique profile="MAYA"><double_sided>1</double_sided></technique></extra>
        <visual_scene id="Scene" name="Scene">
          <node id="Cube" type="NODE">
            <translate sid="location">0 0 0</translate>
            <rotate sid="rotationZ">0 0 1 0</rotate>
            <rotate sid="rotationY">0 1 0 0</rotate>
            <rotate sid="rotationX">1 0 0 0</rotate>
            <scale sid="scale">1 1 1</scale>
            <instance_geometry url="#Cube-mesh">
                  <instance_material symbol="Material" target="#Material-material"/>
          <node id="Lamp" type="NODE">
            <translate sid="location">4.076245 1.005454 5.903862</translate>
            <rotate sid="rotationZ">0 0 1 106.9363</rotate>
            <rotate sid="rotationY">0 1 0 3.163708</rotate>
            <rotate sid="rotationX">1 0 0 37.26105</rotate>
            <scale sid="scale">1 1 1</scale>
            <instance_light url="#Lamp-light"/>
          <node id="Camera" type="NODE">
            <translate sid="location">7.481132 -6.50764 5.343665</translate>
            <rotate sid="rotationZ">0 0 1 46.69195</rotate>
            <rotate sid="rotationY">0 1 0 0.619768</rotate>
            <rotate sid="rotationX">1 0 0 63.5593</rotate>
            <scale sid="scale">1 1 1</scale>
            <instance_camera url="#Camera-camera"/>
        <instance_visual_scene url="#Scene"/>

  2. #2

    Re: <accessor> - <param> - bug

    The collada developers seems to ignore really everything. Bug regports per mail, bug reports per forum, other forum topics. Absolutely everything.

    You donīt care about the developers? So I wonīt further care about COLLADA. I have decided to stop working with COLLADA.

  3. #3

    Re: <accessor> - <param> - bug

    To the COLLADA administrator: I want COLLADA to delete my account!

  4. #4

    Re: <accessor> - <param> - bug

    Hello Friba77,
    It sounds like the bug you're experiencing is strictly an issue with the Blender exporter. I would suggest taking up the issue with the Blender developers.

    Now about COLLADA as a whole, development had been a bit slow, but there was a renewed interest at this year's GDC and solid progress since then with the Conformance Test Suite (CTS) to be open sourced and catalyst funding for OpenCOLLADA. See

    As a fellow Blender user I feel your pain. It will take some time, but these moves will mean better compatibility for everyone.

    If you still want to delete your account, send me a private message and I will do so.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean