From: Pontus L. <po...@ly...> - 2000-01-12 16:45:14
|
Hello, glGetIntegerv(GL_STENCIL_BITS,...) in GL4Java indicates that there are 0 bits in the stencil buffer, but when I run the test in a C application using Mesa, it says the stencil buffer is 8 bits. Did I forget to initialize something, or doesn't GL4Java support stencil buffers? Regards, Pontus -- Pontus Lidman, po...@ma..., Software Engineer No matter how cynical you get, it's impossible to keep up. Scene: www.dc-s.com | MUD: tyme.envy.com 6969 | irc: irc.quakenet.eu.org |
From: Sven G. <sgo...@ja...> - 2000-01-15 03:08:58
|
Thank you for finding a bug ! I will have time this weekend to check this one. Of course, GL4Java should support glGetIntegerv(GL_STENCIL_BITS,...) ! Please add information about GL4Java version number, OS (version), OpenGL version - ALWAYS ! Please send a little code snip to investigate (about 100 lines or so) also ! Thanxs. Pontus Lidman wrote: > > Hello, > > glGetIntegerv(GL_STENCIL_BITS,...) in GL4Java indicates that there are 0 > bits in the stencil buffer, but when I run the test in a C application > using Mesa, it says the stencil buffer is 8 bits. > > Did I forget to initialize something, or doesn't GL4Java support stencil > buffers? > > Regards, > > Pontus -- mailto:sgo...@ja... www: http://www.jausoft.com voice: +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |
From: Pontus L. <po...@ly...> - 2000-01-15 05:29:00
Attachments:
gltest.java
|
Hello, > Thank you for finding a bug ! > I will have time this weekend to check this one. > > Of course, GL4Java should support glGetIntegerv(GL_STENCIL_BITS,...) ! > > Please add information about GL4Java version number, OS (version), > OpenGL version > - ALWAYS ! > Please send a little code snip to investigate (about 100 lines or so) > also ! I didn't realize it was a bug, so I forgot some traditional bug-report information. I have attached a java file showing the problem (0 bits in stencil buffer). I use gl4java 2.1.3.0 on Linux 2.2.13 with JDK 1.2.2, glibc 2.1.2 and Mesa 3.0. Regards, Pontus -- Pontus Lidman, po...@ma..., Software Engineer No matter how cynical you get, it's impossible to keep up. Scene: www.dc-s.com | MUD: tyme.envy.com 6969 | irc: irc.quakenet.eu.org |
From: Sven G. <sgo...@ja...> - 2000-01-15 06:08:46
|
I have testet gltest with: WinNT 4.0 Jdk 1.2.2 & native threads & symantec jit GL4Java 2.1.2.2 (current windows version) Output: Stencil bits are 8 Color bits are 5 So it must be a GL4Java 2.1.3.0 on Unix with Mesa 3.0 bug ! { Mesa 3.0 Software renderer ???) I will check this for unix & mesa 3.1 this weekend ! Then I will put the new version for Mesa 3.1 online ! Yours, Sven Pontus Lidman wrote: > > > Of course, GL4Java should support glGetIntegerv(GL_STENCIL_BITS,...) ! > > > I didn't realize it was a bug, so I forgot some traditional bug-report > information. I have attached a java file showing the problem (0 bits in > stencil buffer). > > I use gl4java 2.1.3.0 on Linux 2.2.13 with JDK 1.2.2, glibc 2.1.2 and > Mesa 3.0. -- mailto:sgo...@ja... www: http://www.jausoft.com voice: +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |
From: Sven <sgo...@ja...> - 2000-01-17 11:43:14
|
Dear GL4Java Users, the new version is pending :-( I am sorry, but I do not have had enough time this last weekend. I hope I can put it online at 23th January 2000. Thanxs, Sven -- mailto:sgo...@ja... www : http://www.jausoft.com voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |
From: Sven G. <sgo...@ja...> - 2000-01-26 12:03:33
|
Now I have tested the Method glGetIntegerv(GL_STENCIL_BITS,...) with GL4Java Version 2.1.3.2 and: - WinNT 4.0 + Matrox G200 OpenGL Stencil bits are 8 Color bits are 5 - WinNT 4.0 + NVidia GeForce256 + Elsa X2 OpenGL Driver Stencil bits are 0 Color bits are 5 - Linux + NVidia GeForce256 + NVidia GLX 1.2 Mesa 3.0 OpenGL Driver Stencil bits are 0 Color bits are 5 - Linux + Mesa 3.1 Soft OpenGL Driver Stencil bits are 0 Color bits are 5 So I guess it is about the Stencil capabilities of the gfx-card and the driver. I guess the Method glGetIntegerv(GL_STENCIL_BITS,...) is OpenGL1.2 only - right ? Or should we enable Stencil with glEnable(GL_STENCIL...) ? But it is not a bug in GL4Java ! Yours, Sven Sven Goethel wrote: > > I have testet gltest with: > WinNT 4.0 > Jdk 1.2.2 & native threads & symantec jit > GL4Java 2.1.2.2 (current windows version) > Output: > Stencil bits are 8 > Color bits are 5 > > So it must be a GL4Java 2.1.3.0 on Unix with Mesa 3.0 bug ! > { Mesa 3.0 Software renderer ???) > > I will check this for unix & mesa 3.1 this weekend ! > > Then I will put the new version for Mesa 3.1 online ! > > Yours, Sven > > Pontus Lidman wrote: > > > > > Of course, GL4Java should support glGetIntegerv(GL_STENCIL_BITS,...) ! > > > > > I didn't realize it was a bug, so I forgot some traditional bug-report > > information. I have attached a java file showing the problem (0 bits in > > stencil buffer). > > > > I use gl4java 2.1.3.0 on Linux 2.2.13 with JDK 1.2.2, glibc 2.1.2 and > > Mesa 3.0. > > -- > mailto:sgo...@ja... > www: http://www.jausoft.com > voice: +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 -- mailto:sgo...@ja... www: http://www.jausoft.com voice: +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |
From: Pontus L. <po...@ly...> - 2000-01-26 13:22:43
|
On Wed, 26 Jan 2000, Sven Goethel wrote: > Now I have tested the Method glGetIntegerv(GL_STENCIL_BITS,...) > with GL4Java Version 2.1.3.2 and: > > - WinNT 4.0 + Matrox G200 OpenGL > Stencil bits are 8 > Color bits are 5 > - WinNT 4.0 + NVidia GeForce256 + Elsa X2 OpenGL Driver > Stencil bits are 0 > Color bits are 5 > - Linux + NVidia GeForce256 + NVidia GLX 1.2 Mesa 3.0 OpenGL Driver > Stencil bits are 0 > Color bits are 5 > - Linux + Mesa 3.1 Soft OpenGL Driver > Stencil bits are 0 > Color bits are 5 > > So I guess it is about the Stencil capabilities of the gfx-card and the > driver. > I guess the Method glGetIntegerv(GL_STENCIL_BITS,...) is OpenGL1.2 only > - right ? > Or should we enable Stencil with glEnable(GL_STENCIL...) ? > > But it is not a bug in GL4Java ! In the example stencil.c that comes with the Mesa distribution, there is an example of having an 8 bit stencil buffer. However, the example calls glutInitDisplay(GLUT_RGB|GLUT_SINGLE|GLUT_STENCIL), so I guess one must do some initialization, as you say with glEnable(GL_STENCIL). You could implement it the same way as the current "doubleBuffer=true", i.e., "stencilBuffer=true" in the users' preInit() method. Regards, Pontus -- Pontus Lidman, po...@ma..., Software Engineer No matter how cynical you get, it's impossible to keep up. Scene: www.dc-s.com | MUD: tyme.envy.com 6969 | irc: irc.quakenet.eu.org |
From: Sven G. <sgo...@ja...> - 2000-01-26 13:30:08
|
Pontus Lidman wrote: > In the example stencil.c that comes with the Mesa distribution, there is > an example of having an 8 bit stencil buffer. However, the example calls > glutInitDisplay(GLUT_RGB|GLUT_SINGLE|GLUT_STENCIL), so I guess one must do > some initialization, as you say with glEnable(GL_STENCIL). You could > implement it the same way as the current "doubleBuffer=true", i.e., > "stencilBuffer=true" in the users' preInit() method. > > Regards, > > Pontus > So this is a thing about display properties, to being implemented within the X/GLX part - like STEREO_VIEW and DOUBLE_BUFFERING ?! This kind of initialisation is if course different to glEnable(GL_STENCIL). Well I will check this out next 28/29 Jan 2000 or 4/5 Feb 2000 ! Others are welcome to implement this piece of code. Thanxs, Sven > -- > Pontus Lidman, po...@ma..., Software Engineer > No matter how cynical you get, it's impossible to keep up. > Scene: www.dc-s.com | MUD: tyme.envy.com 6969 | irc: irc.quakenet.eu.org > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > http://lists.sourceforge.net/mailman/listinfo/gl4java-usergroup -- mailto:sgo...@ja... www: http://www.jausoft.com voice: +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |
From: Max G. <gi...@li...> - 2000-01-16 01:57:26
|
Sven Goethel wrote: > Thank you for finding a bug ! > I will have time this weekend to check this one. > > Of course, GL4Java should support glGetIntegerv(GL_STENCIL_BITS,...) ! > > Please add information about GL4Java version number, OS (version), > OpenGL version I have encountered the same bug but I was yet to investigate it. I'm using GL4Java 2.1.0 with Mesa 3.0-4 and with JDK 1.1.6. And - Sven, when will be available GL4J using Mesa 3.1 (and GLU 1.2). Nothing to hurry up too much, just asking. Bye, Max |
From: Sven G. <sgo...@ja...> - 2000-01-17 17:26:22
|
Max Gilead wrote: > > Sven Goethel wrote: > > > Thank you for finding a bug ! > > I will have time this weekend to check this one. > > > > Of course, GL4Java should support glGetIntegerv(GL_STENCIL_BITS,...) ! > > > > Please add information about GL4Java version number, OS (version), > > OpenGL version > > I have encountered the same bug but I was yet to investigate it. > I'm using GL4Java 2.1.0 with Mesa 3.0-4 and with JDK 1.1.6. Well - I guess there is something to do. Like I allready replied, the windows machine implementation works :-( > > And - Sven, when will be available GL4J using Mesa 3.1 (and GLU 1.2). Nothing > to hurry up too much, just asking. Like I wrote, the next weekend ! I will ask you all in the next email - how to ask GL4Java about the OpenGL features of 1.1, 1.2, EXT, ... > > Bye, > Max Yours, Sven -- mailto:sgo...@ja... www: http://www.jausoft.com voice: +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 |