Hello,

Thank you for your quick answers, it was really helpful.

I defined a new visitor inherited from NodeVisitor and I have access to the 
vertices. But I also need to get the colors of this vertices.

I tried to get colors in an osg::Vec4Array with getColorArray() but it doesn't 
work on every .osgb file. For example I can get these colors in the cow.osgb 
file. However, I get a nullptr when I tried the same with a .ogsb file 
converted from .obj file even if it is textured.

Do you know how I can get colors displayed on these vertices in that case ?

... 

Thank you!

Cheers,
Clement

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66661#66661





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to