Hi
Im programming a little mandelbrot/julia set renderer that is using two floating point pbuffers to do some ping pong rendering. The whole thing is implemented in java using the newest version of jogl to access opengl. My problem is, that on ATI hardware everything runs fine but on NVidia hardware (tested on an geforcefx5950 and 5800) i get an error when i try to create my float pbuffers (jogl reports that it cant find a matching pixelformat…) here the initialization code:
GLCapabilities cap=new GLCapabilities();
cap.setGreenBits(32);
cap.setBlueBits(32);
cap.setRedBits(32);
cap.setAlphaBits(0);
cap.setDepthBits(0);
cap.setDoubleBuffered(false);
cap.setOffscreenRenderToTexture(true);
pbuffer=canvas.createOffscreenDrawable(cap,512,512);
Im not quite sure if i set all the attributes correctly…
oh and on a side note… is it possible that killing a fragment in an fp when rendering into a floating point pbuffer that has a zbuffer and ztest enabled still results in writing the z value anyways? Im asking this because i tried doing some early z rejection optimisations to the renderer, but i simply wasnt able to find a way to prevent z writes on a per fragment basis (alpha test seems to slow everything down as if it was in software and manually setting the result.depth didnt work as well…)