Hello,

Another question though: I'd like to change osgmotionblur.cpp behavior so that 
not-fading-out equally-time-spaced "shots" of my moving object are left behind, 
kind of like a trail.

My first attempt has been to keep ALL object positions behind. If this works, I 
can try to filter the positions I keep. I've played around with glAccum without 
success. My attempt looks something like:


Code:

// Original
//glAccum(GL_MULT, s);
//glAccum(GL_ACCUM, 1 - s);
//glAccum(GL_RETURN, 1.0f);

// My attempt
glAccum(GL_MULT, 1.0f);
glAccum(GL_ACCUM, 0.0f);
glAccum(GL_RETURN, 1.0f);




I wonder if it's possible to do it this way...

Any help is appreciated.

Thanks,
Alfonso[/code]

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to