Hey Art, It’s kind of comforting to hear that you had trouble too – after all I spent a few days on this and couldn’t make any meaningful progress, but then again I’m pretty much a novice at osg(PPU).
So maybe you could help me understand a few things about how osg and osgPPU interact? For example, I am a bit confused about the use of a single camera in the osgppu_viewer example: it’s the same for the render to texture (i.e. osgPPU’s input) and the render to screen (i.e. osgPPU’s output). How does this work? Would it be possible to use one perspective camera for the RTT (as input) and then use an orthographic projection for rendering the UnitOut to the screen? Maybe all connected up as master/slave? (hope this makes sense) Thanks, Christian. On Sat, Feb 6, 2010 at 9:12 PM, Art Tevs <[email protected]> wrote: > Hi Christian, > > Yes, I know currently osgPPU isn't usable for dynamic resizing of the > viewport. I have tried it also with just a simple viewer and I wasn't able to > solve the issue. I had exactly the same problem as you and due to lack of > time I canceled the try to solve it. I tried almost anything and wasn't able > to solve it :( Thank you for your effort on this! > I think we have to investigate the main osg code, since it seems that dynamic > resizing of FBOs and its attached textures isn't well supported, but I am not > sure. I hope I will get the time to solving that issue before next release of > osgPPU (next release at least when there is next stable osg release). So > eithe rbe patient or I would be very appreciated if you could find what goes > wrong there exactly. > > Best regards, > Art > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=23770#23770 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

