[osg-users] different materials for a geometry and highlight

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Mon Sep 19 07:49:10 PDT 2016


Maybe you dirty your color array too?

On Mon, Sep 19, 2016 at 4:39 PM, Gianni Ambrosio <g.ambrosio+osg at gmail.com>
wrote:

> OK,
> I found a way to move a triangle from a primitive set to another.
> Debugging the code primitive sets are updated correctly but the color
> remains the same.
>
> I call
>
> sourcePrimitiveSet->dirty();
> destinationPrimitiveSet->dirty();
> geometry->dirtyBound();
>
> What's wrong with it? Isn't enough?
>
> Regards,
> Gianni
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68661#68661
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160919/1438c982/attachment-0003.htm>


More information about the osg-users mailing list