I dont know whether I am asking right question in the rigt forum :),
But I want ask whether it is possible to reference other collada files or some other type of from a collada file. If not shall I use the <extra> tags to define one?
Yes, there are many places where COLLADA allows for referencing external documents. A few examples are the url attribute on <instance_geometry>, the target attribute on <instance_material>, and the <image>/<init_from> element.
Do you have any idea for referencing to another collada file that has the 3D model in it for example? I mean can I have a structure that has the models outside of the original collada file, in another collada model documents? And use the original file for library_lights or scene spesific applications? But then I will have different library_effects, library_materials elements for each of the model file, right?
So complicated about the application…
If I am not clear, let me know
Yes, you can do that. You would probably use <instance_node> to instantiate a <node> element from another document. So maybe you have a city scene laid out on disk like this:
One word of caution: AFAIK most of the DCC tools (Max, Maya, XSI) don’t support sophisticated ways of organizing the files on disk. Most of them just save everything to one file. But the actual COLLADA spec is very flexible in terms of where data is stored.
I want to do the same thing than caspermel, I have a file “test_04” which is the basic Blender cube exported in Collada and anbother file (in the same folder) in which 1 node references the cube file.
I tried the solution above but it won’t work for me.
Thanks for your answer, I doubted about my files but I tried them with 3DsMax and it worked !
I found a patch for the Blender plugin but it’s not finished yet.