This function unrolls the scene graph of a COLLADA file to produce a list of instanced primitives in MATLAB. It sequentially applies the necessary transformations to form instanced geometry.
This function only works on mesh geometry with triangle primitives (see http://www.khronos.org/files/collada_spec_1_4.pdf for more).
No other elements of the file are parsed.
Works with COLLADA file version 1.4
Randi Cabezas (2021). colladaParser (https://www.mathworks.com/matlabcentral/fileexchange/45687-colladaparser), MATLAB Central File Exchange. Retrieved .
I got something working with
but not with
The latter may corrupt some field names, including 'up_axis'.
Hello friend.. your implementation does not work even with the files you set as examples. You have probably missed something when you uploaded this or you have not finished it yet :P
Inspired by: xml2struct
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!