Hi, On Tue, 2015-10-06 at 10:11 +0200, Johannes Brunen wrote: > Hello, > > > > I'm looking for a method to setup the depth buffer and possibly the > stencil buffer befor starting rendering a viewport. > > > > Suppose I have rendered a viewport with complex geometry into textures > with a FBO. I know how to do that, but now I want to initialize the > color and depth/stencil buffer from these textures for rendering a > second viewport. I have to render the second viewport a couple of times > dynamically and won't render the first viewport in this situation. > > > > Can this be done with OpenSG? Can anyone give me an outline of such a > setup?
a passive background might help. It can take a clear callback where you can do the blitting. Another option in there is to blit the current framebuffer into an FBO (which is not directly what you are looking for). Adding blitting from another FBO should not be to difficult, well depending on how accurate the 'what to blit' settings have to be. I'll have a look. kind regards gerrit ------------------------------------------------------------------------------ Full-scale, agent-less Infrastructure Monitoring from a single dashboard Integrate with 40+ ManageEngine ITSM Solutions for complete visibility Physical-Virtual-Cloud Infrastructure monitoring from one console Real user monitoring with APM Insights and performance trend reports Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140 _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users