I’ve noticed that in all collada files (which I have seen up until now)
the accessor, when using float_array, is declared using param of type float
for every single float value read. Whether it’s a vertex or a vertex attribute each float is fetched this way one at a time.
So far it appears to be doing it like this everywhere except for one section in the file and that is library_controllers. In this section all of a sudden I am seeing accessors declared with param of type float4x4. This seems truly odd. If float4x4 is supported then I assume float2 and float3 are supported as well? And if so then why not use them for vertices+attributes?
Is it considered valid syntax or not to use the following:
<param name=“vert” type=“float3”/>
In which case I’m wondering what’s the limit. Can I use float7x11 ? or only those which
exist in shader syntax? Either way I’m wondering why every case except the float4x4 in the collada file is defined one float at a time. One param per float. ie. .xyz becomes 3 params within the accessor.
Hope someone can clear up this mystery. Thanks.