Re: [osg-users] snapshot with fixed size

2014-04-18 Thread F Lallauret
Hi Robert, The slave camera works well for the snapshot size but the saved image seems to be the image before my postprocess shader. I've try to play with the setRenderOrber of the slave camera with no success, any idea ? Fabrice -- Read this topic online here:

Re: [osg-users] snapshot with fixed size

2014-04-18 Thread F Lallauret
Robert, I've used the main camera (viewer camera) as a RTT camera for the scene rendering and I display it on a quad geometry with a second HUD camera. Then, I've added a shader on quad geode. Is it clear enough? (English isn't my native langage :)) Cheers -- Read this

[osg-users] snapshot with fixed size

2014-04-16 Thread F Lallauret
Hi, I have a scene render with RTT and quad geode for some postprocesses (e.g. a pseudo night vision shader). I want to get a snapshot of the displayed image but with a given size (e.g. always 512x512) independently of the real screen size. How can I do that ? The examples I found are always