[osg-users] Real time Strobing effect for on screen animation

Rakesh Prasad rptutor2012 at gmail.com
Thu Oct 19 09:56:19 PDT 2017


Hi Robert,
The human model is comprised of independent 3DS max models of each body part like head, arms pelvis, thorax. The way animation is being done is by moving through code the position and orientation of these body parts. The background is fixed to RGB(80,80,80) . 
Hope this clarifies.

I was hoping if there is a way to get the final render buffer (for read and write)for each frame just before it is displayed to the screen. I could create another buffer which will be a superposition of all past buffer. Only the model 
part will be superposed since I know the background color RGB(80,80,80). I don't expect RGB(80,80,80) to occur in the model and animation render.
The new superposed buffer could be overwritten onto the final render buffer to be rendered to screen.
 
Thanks,
Rakesh


robertosfield wrote:
> Hi Rakesh,
> 
> 
> Is the figure something you animating and rendering in 3D? Or are you playing a video on a textured quad for the animation?
> 
> 
> Robert.
> 
> 
> On 19 October 2017 at 14:12, Rakesh Prasad < ()> wrote:
> 
> > 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 (http://forum.openscenegraph.org/viewtopic.php?p=72203#72203)
> > 
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> >  ()
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)
> > 
> > 
> 
> 
>  ------------------
> Post generated by Mail2Forum


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







More information about the osg-users mailing list