Hello Carsten, unfortunately the patch seems not to have any influence.. :-( and yes I set the viewport size explictly after creation..
Thanks, Michael -------- Original-Nachricht -------- > Datum: Wed, 08 Feb 2012 15:27:44 -0600 > Von: Carsten Neumann <carsten_neum...@gmx.net> > An: opensg-users@lists.sourceforge.net > Betreff: Re: [Opensg-users] OpenSG1.8 - Problem with ShadowViewport > Hello Michael, > > On 02/03/2012 10:01 AM, Michael Raab wrote: > > Recreating the entire window should be in principle the easiest > solution. Unfortunately our main window is used both for local and for cluster > rendering. So in the case that there is an immersive environment or some other > external display connected, a simple destruction and recreation will also > kill the network and remote stuff. > > What I tried today was to destroy/recreate all ShadowViewports after the > new GL context was created and window->reinitializeAllGLObjects() was > called. That method produces just no rendered image. > > Using gDEBugger I was able to capture that there are 3 textures assigned > to the GL context but all of them have a size of 0x0. > > I thought that a new ShadowViewport should create the necessary texture > and FBO resources from scratch... > > yes, that's what I'd expect too. If the texture are 0x0 it seems the > size of the viewport is not set correctly. > I just noticed that the Viewport left,right,top,bottom fields don't have > default values and committed a patch to fix that. > Are you setting the viewport size explicitly? > > > May be the old ShadowViewport's resources were deleted/freed to late and > may have damaged the new ones. Just a guess... > > That would mean there is a bug in the GLObject handling. Possible, but > given that your other textures in the scene are correctly recreated on > the new context (right?) I'd think that is probably not the issue here. > > > Do you think this approach should work in general or do I miss > something? > > In general yes, just a matter of finding the bug that prevents it from > working in this particular case ;) Thanks for being patient. > > Cheers, > Carsten > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > 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 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users