Login  Register

Re: Texture2D and offscreen rendering problem

Posted by Sven Gothel on Feb 10, 2014; 9:40am
URL: https://forum.jogamp.org/Texture2D-and-offscreen-rendering-problem-tp4030882p4031524.html

On 02/10/2014 10:16 AM, gouessej [via jogamp] wrote:
> Please make a request for enhancement to reintroduce the support of PBuffer
> but in a cleaner API. I have a similar need in Ardor3D. However, we may have
> to add some options to force the use of pbuffers in some cases. In my humble
> opinion, August's code isn't wrong. Have you tried to use the default device
> when creating the FBO?

GLDrawableFactory's createOffscreen(..)'s GLCapability argument well determines whether
the underlying offscreen is a bitmap, pbuffer or fbo.
Same goes with createOffscreenAutoDrawable(..).

<http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/javax/media/opengl/GLDrawableFactory.html#createOffscreenDrawable%28javax.media.nativewindow.AbstractGraphicsDevice,%20javax.media.opengl.GLCapabilitiesImmutable,%20javax.media.opengl.GLCapabilitiesChooser,%20int,%20int%29>

~Sven



signature.asc (894 bytes) Download Attachment