Bug 247125 - Snippet Enhancement: OpenGL Snippets
Summary: Snippet Enhancement: OpenGL Snippets
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-12 04:01 EDT by Hendrik Renken CLA
Modified: 2021-11-12 11:31 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Renken CLA 2008-09-12 04:01:18 EDT
Eclipse build id or SWT version: SWT 3.3.2

Platform(s) tested on: linux 32bit, ubuntu

I had some problems getting OpenGL with jogl + swt running. I had some wired z-ordering issues. It turned out, that i missed to set the depthbuffer size on the passed on GLData object.

When just running the snipped (the wireframe torus) this setting is unimportant. But when copy & pasting the code and then doing some real stuff, the normal user (or at least me) does not think that the copy & pasted code from an official snippet does miss something.

I would like to add one line to all three opengl-snippets:

gld.depthSize = 4;

From the background that this snippet is the kick-off for serious opengl-rendering (not just wireframe), this line would help not to forget this important setting.

regards,
hendrik
Comment 1 Steve Northover CLA 2008-09-12 09:00:36 EDT
CAR, please add the line.  You can retest on Silenio and Felipe's machines to make sure it doesn't cause problems.  They have the OpenGL stuff installed.
Comment 2 Mike Wilson CLA 2009-05-05 10:47:34 EDT
Changing Version tag to something more believable.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:19:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.