I tried around a bit to solve a problem with blending jit.gl.sketch and jit.gl.text3d in between and noticed a problem I need some help to understand.The following JS is just drawing two planes with the same texture. To reset the matrix I use pushmatrix and popmatrix. I did that a lot before without any problems in automatic 1 mode. Now with automatic = 0 I get the problem of stack overflow. It seems there are some pushmatrix calls I am not aware of. If I add a popmatrix() at the beginning after sketch.reset() the error messages disappear – leaving me with one more call of popmatrix than pushmatrix (should be an underflow).
I tried alread to add a "modelview" before every matrixcall to ensure the modelview matrix is called – without any help.
Any help? Thanks
I am using Max 6.1.6 / OS X 10.8.5 on a MacBookPro 13" Early 2011
var renderContext = "rcx";
var myWindow = new JitterObject("jit.window", renderContext);
myWindow.depthbuffer = 1;
myWindow.size = [400, 200];