Re: [osg-users] Is a render to texture master camera critical?

2012-02-22 Thread Martin Großer
> An: osg-users@lists.openscenegraph.org > Betreff: Re: [osg-users] Is a render to texture master camera critical? > Hi, > > Additionally, the manipulator for the first view only works if I move the > window at the beginning. It seems to me it only works after the first > window redraw event. I am n

Re: [osg-users] Is a render to texture master camera critical?

2012-02-22 Thread Martin Großer
Hi, Additionally, the manipulator for the first view only works if I move the window at the beginning. It seems to me it only works after the first window redraw event. I am not sure. My RTT camera has a viewport with x = 0, y = 0, width = textureWidth and height = textureHeight. Is that the pr

Re: [osg-users] Is a render to texture master camera critical?

2012-02-22 Thread Martin Großer
Hi, I try the RTT master camera and for one view it works fine, but when I want to use multiple views in a composite viewer my trackball manipulators don't work. Only the first view get a new viewmatrix. There are any experiance about rtt cameras and camera manipulators? Thank you! Cheers, M

Re: [osg-users] Is a render to texture master camera critical?

2012-01-30 Thread Riccardo Corsi
Hi all, I've tried to use the main camera as RTT in several applications and it works for me as well. But I'd like to ask a couple of questions on the post process passes instead: - is there any "conceptual" difference between using the final ortho camera as a in-graph POST_RENDER or as a viewer'

Re: [osg-users] Is a render to texture master camera critical?

2012-01-27 Thread Tim Moore
2012/1/17 "Martin Großer" : > Hello all, > > A few weeks ago, I want to render my scene into a texture, which I want to > use in the final rendering on a screen aligned quad. My first problem was I > lost the shadows, because view dependent shadow techniques don't work with > nested cameras. So

Re: [osg-users] Is a render to texture master camera critical?

2012-01-17 Thread Martin Großer
Hello Jean-Sébastien, yes, it helps. :-) thank you very much for your feedback. Cheers Martin Am 17.01.2012 18:21, schrieb Jean-Sébastien Guay: Hello Martin, So now my rtt camera is the master camera and my ortho camera for the quad is a nested camera (see the render_to_texture_scene_graph

Re: [osg-users] Is a render to texture master camera critical?

2012-01-17 Thread Jean-Sébastien Guay
Hello Martin, So now my rtt camera is the master camera and my ortho camera for the quad is a nested camera (see the render_to_texture_scene_graph.png). It looks fine, but I am not sure whether it is a good idea. That's always how I've done it too. I think it's fine. For me, the motivation

[osg-users] Is a render to texture master camera critical?

2012-01-17 Thread Martin Großer
Hello all, A few weeks ago, I want to render my scene into a texture, which I want to use in the final rendering on a screen aligned quad. My first problem was I lost the shadows, because view dependent shadow techniques don't work with nested cameras. So I used a RTT slave camera. Now my Callb