-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COLLADA Cube Mesh not Colored #91
Comments
Hi @jaelrod, I have loaded your mesh into Blender and imported again to Collada and I'm able to see the color: A quick look to your dae file looks like your triangles have no material. You include the material in the triangles: <triangles count="12"> with: <triangles material="material-cube" count="12"> Please close the issue if the problem is resolved. |
Why would In light of that, I think my application of the material makes more sense where it is in the .dae.txt that I uploaded, in the instantiation of the mesh under the visual_scene, rather than to the triangles themselves:
This might seem a bit pedantic, but it does, in fact, make a huge difference for me, as I am composing these assets' information in a rather unconventional way. Since posting this comment, working around this issue has resulted in an order of magnitude increase in size of my COLLADA assets due to repeating equivalent geometries within library_geometries. As mentioned in the original comment, the exact attached mesh file loads into blender with the material correctly applied to the geometry. Per the COLLADA specification, the material reference within the visual_scene ought to be valid. |
Khronos Group COLLADA Specification 1.5.0: From Specification – Core Elements Reference 5-61 (page 101):
From COLLADA – Digital Asset Schema Release 1.5.0 (page 268):
|
Loading a COLLADA mesh containing a cube with colored surface results in a white cube instead.
mesh.dae.txt
COLLADA loaded in Blender:

Same COLLADA loaded in Ignition Gazebo v3.2.0:

The text was updated successfully, but these errors were encountered: