Hi,

On Tue, Mar 27, 2012 at 10:14 AM, Stefan Radomski <[email protected]> wrote:

> Hi,
>
> it seems that there is a bug in the vrml plugin or possible the color
> binding handling of osg. When colorPerVertex is set to false, the scene
> nevertheless appears as if colors were bound per vertex. Though I verified
> that BIND_PER_PRIMITIVE is used for color binding in IndexedFaceSet.cpp:220.
>
> I attached a minimal example with two cubes, a blue one behind a green
> one. FreeWRL will render this correctly, osgviewer renders it as if
> colorPerVertex was set to TRUE.
>

>From what I can see, the file *does* have colorPerVertex set to TRUE.

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

Reply via email to