Hi Brad, I wonder if it might be better to have the BlinkSequence change so that it virtual combine(Vec4& colour, double time, double length) method rather than the color() one, this method would take the source colour from the LightPoint and then do whatever it wanted with it, doing the default modulate to replicate the current functionality or to re-implement anything that the custom BlinkSequence desires.
Robert. On 25 June 2012 18:17, Brad Colbert <[email protected]> wrote: > Hi Robert, > > Here is my submission that changes the osgSim::BlinkSequence::color member > function from inline to virtual. > > I hope you accept it. > > > Thank you! > > Cheers, > Brad > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=48491#48491 > > > > > Attachments: > http://forum.openscenegraph.org//files/blinksequence_159.cpp > http://forum.openscenegraph.org//files/3100_1340644611._614. > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
