Hello.

I have some problems reading colors from dae files.

I use a node visitor to traverse the scene graph.
On each geode's geometry, I get the vertices, normals and colors using:
geom->getVertexArray()
geom->getColorArray()
geom->getNormalArray()

The problem is that getColorArray() returns NULL.
The model has colors which are visible if i just project the dae model
using a viewer.

How do i get the colors from a dae file?

Thank you for your time.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to