OpenGL antialiasing (SWT 4.2.1 + LWJGL 2.8.4), is it possible? [message #960605] |
Sat, 27 October 2012 16:39 |
|
Hello.
Like the title says, I'm currently trying to use SWT's OpenGL binding with LWJGL.
I've managed to run Snippet 195 with no problems.
goo . gl / HZ2jH
I'm now trying to enable 4x anti aliasing. However, I've found on the net some old discussions stating that this is not possible. I'm wondering why.
The most relevant discussion over LWJGL's forums dates back to 2006 and states that:
Quote:Unfortunately, OpenGL in SWT does not yet support multisampling. Although the org.eclipse.swt.opengl.GLData class contains samples and sampleBuffers fields, they are not currently used in the org.eclipse.swt.opengl.GLCanvas class. The following code is from the GLCanvas:
//FIXME - use wglChoosePixelFormatARB
// if (data.sampleBuffers > 0) {
// wglAttrib [pos++] = WGL.WGL_SAMPLE_BUFFERS_ARB;
// wglAttrib [pos++] = data.sampleBuffers;
// }
// if (data.samples > 0) {
// wglAttrib [pos++] = WGL.WGL_SAMPLES_ARB;
// wglAttrib [pos++] = data.samples;
// }
lwjgl . org / forum/index.php/topic,1579.0.html
Its now 2012 and I've verified that this code is still commented on SWT 4.2.1.
Is there any other way to turn on anti aliasing? Is there any bug report open for this issue? I appreciate any feedback I could get on this.
Thanks for your time and help!
JZM
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03281 seconds