The models i’m exporting are already compiled into a binary format and it is like this:
- Triangle Set 1 (200)
- Triangle Set 2 (50)
- Triangle Set 3 (4)
- Triangle Set 4 …
- Triangle Set 5 …
- All Positions lumped into one array (254 positions)
- All UV’s lumped into one array
- All Normals lumped into one array
The Triangle positions are offset by the previous set, so Triangle Set 2 is offset by 200 for instance and the next 50 values in the array are the positions.
I havn’t dealt with a COLLADA document yet that has had separated triangles (or indexes) before. I know I could just merge the Triangles into one array and modify the integers accordingly but they are logically separated.
In COLLADA if I was to keep the indexes separate, how do I implement this? Would you suggest I create a different geometry library for each Triangle set and separate its own positions from the array, or keep the array as one and implement separate triangle submeshes? I’m not sure how to do either. Thanks for any advise in advance, Thank you