Hi, On Thu, 2009-04-16 at 07:43 +0800, Gerrit Voß wrote: > Hi, > > On Wed, 2009-04-15 at 21:49 +0200, Marcus Lindblom wrote: > > Gerrit Voß wrote: > > > Hi, > > > > > > On Wed, 2009-04-15 at 16:40 +0200, Marcus Lindblom wrote: > > >> Hi, > > >> > > >> I recently added a call validateAllGLObjects() after our scene load, to > > >> make sure everything runs smoothly from frame 1. > > >> > > >> However, this has lead to some problems and I don't know where to search > > >> for this. > > [snip] > > >> AFAKT, we do not modify any shaderchunks' programs after our validate > > >> call, everything should be set up before that. > > >> > > >> Any ideas where to start looking? > > > > > > one simple thing to try, could you add a commitChanges before > > > calling validateAllGLObjects. The new shaders require a commitChanges > > > in order to update internal structures before their handleGL > > > can be called. > > > > We already do that. :-| > > > > hmm, ok I try to reproduce the problem, just to confirm you have > the new shaders enabled ? >
ok my bug, I only validate the invidual shader programs during activate and this path is not taken during validateAllGlObjects so the order is wrong and the programs are linked before all program parts have been validated. I fixed it. As I can not commit things right now I'll send you the patch offline. kind regards, gerrit ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
