Bug 449

Summary: Lines flipped using flat shading & supersampling
Product: [JogAmp] Jogl Reporter: Owen Dimond <odimond>
Component: windowsAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: major CC: bienator
Priority: ---    
Version: 2   
Hardware: pc_all   
OS: windows   
Type: --- SCM Refs:
Workaround: ---
Attachments: Application for reproducing the bug
etc\test.bat for autobuild b266
Screenshot of example application

Description Owen Dimond 2010-12-28 17:11:45 CET
Created attachment 207 [details]
Application for reproducing the bug

We are seeing a bug in JOGL where lines are flipped (but triangles are not) when both these settings are enabled:

1. gl.glShadeModel(GL2.GL_FLAT);
2. caps.setSampleBuffers(true);

This occurs on Windows 32-bit and 64-bit, have not tested on Linux or Mac.
Comment 1 Owen Dimond 2010-12-28 17:12:45 CET
Created attachment 208 [details]
etc\test.bat for autobuild b266
Comment 2 Owen Dimond 2010-12-28 17:14:32 CET
Created attachment 209 [details]
Screenshot of example application
Comment 3 Owen Dimond 2011-02-09 18:19:25 CET
Hi Sven,

Would it be possible to have this bug looked at soon? If you need more information please let me know.

Thanks,
Owen.
Comment 4 Michael Bien 2011-03-10 22:43:23 CET
the bug is not reproducible for me, the lines are perfectly aligned with the triangle.
my test environment:
jogl build 350
linux / Nvidia GTX 295 / 260.19.36

looks like a driver bug to me. Can you provide your test setup?
Comment 5 Owen Dimond 2011-03-10 22:54:03 CET
I just tried this again with a current build (b350) and the problem is no longer there. I tested again with b266 just to make sure and that build fails. I'll work backwards and figure out which build fixed the problem, then I guess we can close the bug.

Windows XP, Nvidia 8400GS, driver 266.58
Comment 6 Owen Dimond 2011-03-10 23:35:08 CET
This was fixed in b283, I'm changing this to resolved.