-------- Original-Nachricht -------- > Datum: Mon, 28 Nov 2011 09:08:41 -0600 > Von: Carsten Neumann <carsten_neum...@gmx.net> > An: opensg-users@lists.sourceforge.net > Betreff: Re: [Opensg-users] FBO Window
> Hello Michael, > > On 11/25/2011 08:57 AM, Michael Raab wrote: > > Imagine I want to render a sequence of viewports to a frame buffer > object. The result should be the same as if I've had rendered the same > sequence > to the normal frame buffer. My understanding is that with the current > capabilities of OpenSG1.8 that is not possible if the sequence of viewports > contains shadowviewports. Is that correct? > > yes, I can't think of a way to do that either. The FBOViewport manages > the OpenGL FBO which makes it difficult to share it. > > > If yes, I was thinking about defining a class 'FBOWindow' which > activates a FBO object and renders an arbitrary list of viewports and should > produce the same result as if this list was rendered to std frame buffer. Do I > miss something? > > I think from a practical standpoint this can work. The only issue I see > is that a Window in OpenSG is representing an OpenGL context, so in that > sense a FBOWindow does not fit well into the picture. The FBOWindow > would probably need to contain a pointer to the "real" Window and > forward certain calls to it to make it work in places where OpenSG > accepts windows. > An alternative could be to separate the FBO and the FBOViewport by > creating a FrameBufferObject class that represents the FBO and can be > shared by multiple FBOViewports. Hmm, ok. What I'm searching for is a solution that would both fit for me but as well for the OpenSG community in general. For me both solutions would be ok, but in my opinion creating a 'FBOWindow' class may require less programming work as the current FBOViewport implementation (which is huge) can be left untouched. Regarding cleanness of the approach I would rely on your knowledge of the overall OpenSG approach. So what do think about the direction to go? Thanks, Michael > Cheers, > Carsten > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Opensg-users mailing list > Opensg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opensg-users -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users