All I want to know is the location and color of a loaded actor’s surfaces. Why is this so hard? The surfaces were colored in blender via materials and exported as .egg files using Yabee.
These two panda tutorials here and here seem like what I need but the vertex data doesn’t seem to have a color attribute. Looking at the .egg file, the polygon references the material which have the correct coloring, and so I’m wondering if there exists a polygon attribute or something that can be called to determine the material associated with each vertex.
If I call actor.getMaterials() I can clearly see the two materials but I have no idea which vertices are calling it. I know panda knows because the actor is clearly drawn correctly with the material colors. Please Help I’m desperate.