Re: [osg-users] Easy blur effect with HUD Camera?

2014-04-03 Thread Petr Svoboda
Paul Martz wrote: > If you're not picky about the blur quality, just render to a texture that is > 1/16th the size of your screen (1/4 width x 1/4 height), then apply the > texture to a fullscreen quad with GL_LINEAR filtering. This can be > accomplished with OpenGL v1.0 functionality and shoul

Re: [osg-users] Easy blur effect with HUD Camera?

2014-04-02 Thread Paul Martz
If you're not picky about the blur quality, just render to a texture that is 1/16th the size of your screen (1/4 width x 1/4 height), then apply the texture to a fullscreen quad with GL_LINEAR filtering. This can be accomplished with OpenGL v1.0 functionality and should be fast and well-supported o

Re: [osg-users] Easy blur effect with HUD Camera?

2014-04-02 Thread Sebastian Messerschmidt
Hi Petr, You will have to render your scene to texture (RTT) and perform a shader-blur pass before displaying it in the viewer. Look at the render to texture example and the shader examples. Finding a blur shader should be easy with most search websites, or in the osgPPU examples. So effecti

[osg-users] Easy blur effect with HUD Camera?

2014-04-02 Thread Petr Svoboda
Hi, I would like to make something like menu using overlaying HUD Camera with background blurred. Code: http://rk.md/wp-content/uploads/2012/08/2012-08-18_4.jpg -> something like this but with "sharp / focused" scoreboard but everything else blurred How to do it? I tried osgmotionblur