There not loading the textures that google sketchup exports.
Any ideas?
[fixed]Sketchup exported COLLADA files
Tried to make a test case and i cant even see the level now. Log says its loading 2 meshes aswel which is weird.
TEST CASE http://irrlichtirc.g0dsoft.com/erus%60/testcase.zip
opens back up fine in sketchup
TEST CASE http://irrlichtirc.g0dsoft.com/erus%60/testcase.zip
opens back up fine in sketchup
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
I'm not absolutely sure, but it looks like we don't support multi-element vertex elements so far. What this means: Collada uses a <vertex> elements and many <triangle> elements. Most tools only support the vertex position array in <vertex>, but Sketchup also exports normals. This means that we have to change our semantics interpretation. Will take some time, because the Collada loader is not too simple.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Ok, was indeed not so bad. But it wasn't the actual problem, only a minor thing. The major problem was the order of the elements. We did instantiate the geometry right in the moment the name in encountered. This worked so far, because none of the collada files used forward references. Now that this has changed I had to fix this. Level loads now, code is in SVN/trunk.
Edit: Texture loading won't be fixed. This is against the Collada specs! The order is clearly fixed, and the file you provided is wrong according to this spec. If the main elements are in the correct order, everything will work as expected.
Edit: Texture loading won't be fixed. This is against the Collada specs! The order is clearly fixed, and the file you provided is wrong according to this spec. If the main elements are in the correct order, everything will work as expected.