Hi Clement,
Hi,

After few tries on different files, I think osg::Material are not what I am 
looking for since I have for example, for each drawable, ~900 vertices (with 
different colors each) and only 1 material (which can return only 1 osg::Vec4 
of RGBA).
Can you give us an example file? Somehow the last sentence doesn't make much sense.

I tried to convert .osgb file into .osg to see where I can get it. It seems 
that  a .jpg file is painted on my cloud.

Is there any way to know the colors that this texture painted has on each 
vertices ?
If your geometry is textured, it might not have any material or vertex colors assigned. In this case it is not simple to "get the colors", because you will effectively end up duplicating the state structure and data.
What exactly are you trying to achieve?

Cheers
Sebastian


...

Thank you!

Cheers,
Clement

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





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

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

Reply via email to