Here is my limited progress so far:
https://developer.oculusvr.com/forums/viewtopic.php?f=20&t=13642My NEWT window it is initially full of garbage. Is there a way to request a NEWT window that is initially blank?
Here is how I'm creating my 2 offscreen buffers:
GLOffscreenAutoDrawable leftEye = glDrawableFactory.createOffscreenAutoDrawable(null, caps, null, renderTargetEyeSize.w, renderTargetEyeSize.h);
GLOffscreenAutoDrawable rightEye = glDrawableFactory.createOffscreenAutoDrawable(null, caps, null, renderTargetEyeSize.w, renderTargetEyeSize.h);
This is how I retrieve my 2 textureId for passing down to the SDK. The two offscreen buffers seem to return the same textureID (1), am I doing something wrong here?
final GLFBODrawable fboDrawable = (GLFBODrawable)drawable.getDelegatedDrawable();
final TextureAttachment texAttach = fboDrawable.getColorbuffer(GL.GL_FRONT).getTextureAttachment();
int eyeTextureId = texAttach.getName();