Bug 449 - Lines flipped using flat shading & supersampling
Summary: Lines flipped using flat shading & supersampling
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: windows (show other bugs)
Version: 2
Hardware: pc_all windows
: --- major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2010-12-28 17:11 CET by Owen Dimond
Modified: 2011-03-10 23:35 CET (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments
Application for reproducing the bug (4.54 KB, application/octet-stream)
2010-12-28 17:11 CET, Owen Dimond
Details
etc\test.bat for autobuild b266 (9.35 KB, text/x-log)
2010-12-28 17:12 CET, Owen Dimond
Details
Screenshot of example application (5.48 KB, image/png)
2010-12-28 17:14 CET, Owen Dimond
Details

Note You need to log in before you can comment on or make changes to this bug.
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.