Thank you for your answers!
It looks like it works.
Peter
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56084#56084
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.opensce
On 29.8.2013 15:07, Glenn Waldron wrote:
For rendering, data variance only applies to Drawables and StateSets, not
to Nodes. Data variance on Nodes is only honored by the osgUtil::Optimizer.
So if you want to change your materials at runtime in multi-threaded mode,
set the StateSet d.v. to DYNAMI
For rendering, data variance only applies to Drawables and StateSets, not
to Nodes. Data variance on Nodes is only honored by the osgUtil::Optimizer.
So if you want to change your materials at runtime in multi-threaded mode,
set the StateSet d.v. to DYNAMIC.
Glenn Waldron / @glennwaldron
On Thu
On 29.8.2013 10:30, Peter Bako wrote:
Hello guys.
What is the correct way to change materials during rendering? What callbacks
should I use, update callback?
Sometimes I get a crash and I assume it is becasue of changing the material.
Should I use special updateCallback on every geode/geometry
Hello guys.
What is the correct way to change materials during rendering? What callbacks
should I use, update callback?
Sometimes I get a crash and I assume it is becasue of changing the material.
Should I use special updateCallback on every geode/geometry I am changing, or
it is enough to use
5 matches
Mail list logo