[osg-users] Real time Strobing effect for on screen animation
Rakesh Prasad
rptutor2012 at gmail.com
Thu Oct 19 06:12:27 PDT 2017
Hi,
I am trying to achieve the strobing effect with OSG for an animation that I play on screen.
I have the animation of a moving human. I want to have all past frames displayed along with the current frame. This will show the motion path as the human moves on screen.
I tried to do a screen capture and superpose a buffer with the latest render buffer. I also take care that the background pixel are not superposed. Only the areas where the human animation is there those pixels are superposed.
This gives me a final static image with strobing effect. This image is overlayed on the window.
I want to see the strobing effect as the animation plays.
The attached picture shows what I am trying to achieve the screen will keep updating with the new motion frames.
Is there any way to achieve this. Any thought would very much appreciated.
...
Thank you!
Cheers,
Rakesh
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72203#72203
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strobing.jpg
Type: image/jpeg
Size: 12242 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171019/a0887be4/attachment.jpg>
More information about the osg-users
mailing list