You can subscribe to this list here.
1999 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(12) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2000 |
Jan
(39) |
Feb
(22) |
Mar
(41) |
Apr
(44) |
May
(47) |
Jun
(25) |
Jul
(28) |
Aug
(39) |
Sep
(35) |
Oct
(31) |
Nov
(31) |
Dec
(3) |
2001 |
Jan
(18) |
Feb
(43) |
Mar
(47) |
Apr
(38) |
May
(9) |
Jun
(20) |
Jul
(8) |
Aug
(11) |
Sep
(15) |
Oct
(43) |
Nov
(27) |
Dec
(73) |
2002 |
Jan
(42) |
Feb
(47) |
Mar
(49) |
Apr
(58) |
May
(12) |
Jun
(68) |
Jul
(42) |
Aug
(9) |
Sep
(19) |
Oct
(36) |
Nov
(28) |
Dec
(12) |
2003 |
Jan
(13) |
Feb
(24) |
Mar
(40) |
Apr
(52) |
May
(39) |
Jun
(46) |
Jul
(17) |
Aug
(5) |
Sep
(4) |
Oct
(9) |
Nov
(13) |
Dec
(12) |
2004 |
Jan
(1) |
Feb
(17) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(6) |
Nov
(6) |
Dec
(3) |
2005 |
Jan
|
Feb
|
Mar
(8) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(5) |
Sep
(4) |
Oct
(3) |
Nov
(3) |
Dec
(1) |
2006 |
Jan
(2) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
(5) |
Sep
(8) |
Oct
(9) |
Nov
(8) |
Dec
(5) |
2007 |
Jan
(3) |
Feb
(11) |
Mar
(5) |
Apr
(5) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(5) |
2008 |
Jan
(7) |
Feb
(8) |
Mar
(30) |
Apr
(17) |
May
(20) |
Jun
(8) |
Jul
(19) |
Aug
(10) |
Sep
(7) |
Oct
(2) |
Nov
(1) |
Dec
|
2009 |
Jan
(13) |
Feb
(7) |
Mar
(13) |
Apr
(27) |
May
(95) |
Jun
(77) |
Jul
(43) |
Aug
(25) |
Sep
(24) |
Oct
(32) |
Nov
(6) |
Dec
(6) |
2010 |
Jan
|
Feb
(2) |
Mar
(30) |
Apr
(58) |
May
(60) |
Jun
(72) |
Jul
(32) |
Aug
(45) |
Sep
(19) |
Oct
(4) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2016 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Robert V. <f1...@gm...> - 2002-06-20 07:19:13
|
On Thursday 20 June 2002 07:17, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sunday 16 June 2002 12:09, Robert Voigt wrote: > > On Saturday 15 June 2002 06:20, you wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > On Friday 14 June 2002 21:55, Robert Voigt wrote: > > > > The FAQ on the GL4Java website contains a question without an answer: > > > > My Canvas renders 1 frame, then stops, what's wrong ? > > > > I'd really like to know that because I ran into that problem. > > > > I followed the instructions about using the GLEventListener model, > > > > and now this. > > > > > > ;-) > > > > > > FOR GLEventListener's: dont make current and/or free by your own, > > > within the GLEventListener methods, implemented by your own. > > > > I don't call gljMakeCurrent() or gljFree(), nowhere. Still I get only one > > frame, then my object disappears. I don't know what else I could try. I > > did everything I could see in the gears demo. > > ok - then, please send a little demo (< 1MB) I found the problem. It was me who messed it up :) I let it draw something that was smaller than 1 pixel. But there was a reason for being confused. When I startet the program I always got 1 frame with my geometry visible. So it was drawn with the wrong modelview matrix or whatever matrix, I don't know much about these matrices yet. I send a fixed version of my program. The object is now 25 pixels big, so it is visible. But you can still see that in the first frame it is drawn much bigger and somewhere else. I don't think that's a real problem, but it's interesting. |
From: Sven G. <sgo...@ja...> - 2002-06-20 05:33:19
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 puhh - sounds very funny 'cause you say, it (your configuration + opengl) works nice for native applications, well, gl4java must be one ingredient .. well, i use an piii or athlon, linux 2.4.18+xfs (no SMB), and the latest nvidia + the latest gl4java .. may be you want to try the latest gl4java (cvs) ? i guess its time to release the latest gl4java as a binary .. cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9EWkOHdOA30NoFAARAn+3AKCYg48JfgIzhVnGOwXASWN7J+AQbQCgqGBT EngUYgVejY3rJivGAOFd9SY= =kfDH -----END PGP SIGNATURE----- |
From: Sven G. <sgo...@ja...> - 2002-06-20 05:18:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 16 June 2002 12:09, Robert Voigt wrote: > On Saturday 15 June 2002 06:20, you wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Friday 14 June 2002 21:55, Robert Voigt wrote: > > > The FAQ on the GL4Java website contains a question without an answer: > > > My Canvas renders 1 frame, then stops, what's wrong ? > > > I'd really like to know that because I ran into that problem. > > > I followed the instructions about using the GLEventListener model, and > > > now this. > > > > ;-) > > > > FOR GLEventListener's: dont make current and/or free by your own, > > within the GLEventListener methods, implemented by your own. > > I don't call gljMakeCurrent() or gljFree(), nowhere. Still I get only one > frame, then my object disappears. I don't know what else I could try. I did > everything I could see in the gears demo. ok - then, please send a little demo (< 1MB) cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9EWWAHdOA30NoFAARAnr4AJ9dZSWdS+lxsulC6OG+Y+llukPv3ACfU2i5 O5N0NcgqbRI0V6wky4fdSBo= =WqV1 -----END PGP SIGNATURE----- |
From: Sven G. <sgo...@ja...> - 2002-06-20 05:11:43
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 17 June 2002 16:55, aNt wrote: > There seems to only be a: > > gl.glColorMask(boolean, boolean, boolean, boolean); > > Shouldn¹t there also be a: > > gl.glColorMask(int, int, int, int); > > Or is it just me going mad as always? > C SPECIFICATION void glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) PARAMETERS red, green, blue, alpha Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The ini tial values are all GL_TRUE, indicating that the color components can be written. ;-) > Tip top > > aNt > > not mad, but maybe microsoft help addicted ? 8-) cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9EWP6HdOA30NoFAARAh1/AJ0ZrvZn3teH6W+kI5tM4DZDq6vD+gCeNHKe 2V48M9G2qsp9xBqjMjV0U7A= =Hv40 -----END PGP SIGNATURE----- |
From: Michael N. <ze...@mo...> - 2002-06-19 10:14:01
|
thanks a lot Robert, now the installation process and some demos work fine, but the e.g. the p= orted=20 NeHe Tuts have no or really ugly keyboard input. greetings - Michael Nischt On Wednesday 19 June 2002 08:47, Robert Voigt wrote: > You are root and the Xserver is owned by the user. For security reasons= , > you cant open a window as root. > On Debian I do > xauth merge /home/<user>/.Xauthority > Should be similar on Suse. |
From: Robert V. <f1...@gm...> - 2002-06-19 06:47:47
|
You are root and the Xserver is owned by the user. For security reasons, you cant open a window as root. On Debian I do xauth merge /home/<user>/.Xauthority Should be similar on Suse. On Wednesday 19 June 2002 00:47, you wrote: > hi all, > just wanted to install GL4Java with following error: > > Xlib: connection to ":0.0" refused by server > Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison) > Exception in thread "main" java.lang.InternalError: Can't connect to X11 > window server using ':0.0' as the value of the DISPLAY variable. > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > at > sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:126) at > java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:130) > at > java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironmen >t.java:62) at java.awt.Window.init(Window.java:208) > at java.awt.Window.<init>(Window.java:252) > at java.awt.Frame.<init>(Frame.java:398) > at GL4JInst.main(GL4JInst.java:833) > > > can anyone help ? > > My System: > JDK 1.4 > SuSE Linux 8.0 > PIII 1,13 GHz > 512MB RAM > GeoForce 2 GO 32 MB > > --------------------------------------------------------------------------- >- Bringing you mounds of caffeinated joy > > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |
From: Michael N. <ze...@mo...> - 2002-06-18 22:44:13
|
hi all, just wanted to install GL4Java with following error: Xlib: connection to ":0.0" refused by server Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison) Exception in thread "main" java.lang.InternalError: Can't connect to X11=20 window server using ':0.0' as the value of the DISPLAY variable. =09at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) =09at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java= :126) =09at java.lang.Class.forName0(Native Method) =09at java.lang.Class.forName(Class.java:130) =09at=20 java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironm= ent.java:62) =09at java.awt.Window.init(Window.java:208) =09at java.awt.Window.<init>(Window.java:252) =09at java.awt.Frame.<init>(Frame.java:398) =09at GL4JInst.main(GL4JInst.java:833) can anyone help ? My System: JDK 1.4 SuSE Linux 8.0 PIII 1,13 GHz 512MB RAM GeoForce 2 GO 32 MB |
From: David W. <da...@nt...> - 2002-06-17 19:25:29
|
Same thing happened to me. Most of the samples freeze my X hard. Remotely login to kill the X process is the only viable way to wake the system. Platform: Pentium III 800 SuSE 7.3 Pro.=20 XFree86 4.2.0 David. =D4=DA 2002-06-15 =C1=F9 =B5=C4 13:27=A3=AC Rob Hatcherson =D0=B4=B5=C0=A3= =BA >=20 > Hello All, >=20 > We have encountered a situation where GL4Java apps make X "go away". >=20 > Symptom: > When running X/KDE in 16-bit color depth mode, attempts to run a GL4Java = app will hang X. The app's window will pop up, but no graphics ever show u= p. The GL4Java apps run fine in 24-bit color depth mode. >=20 > When the system gets in this state the only thing that still moves is the= mouse, but all mouse (and keyboard) operations are ignored. The machine d= oesn't fully halt; you can still telnet into it while X is hung. At that p= oint "top" will show X taking 99% of the CPU. Even though telnet works, on= ce the system is in this state you can't reboot, and have to power-cycle th= e box to get its attention. I'm really liking the ext3 filesystem right ab= out now :-). >=20 > In both 16 and 24-bit mode C-based OpenGL apps still run fine and use har= dware acceleration. >=20 > Platform: > Dual 1-GHz PIII running RedHat 7.3 with 2.4.18-4smp kernel, 512MB RAM, pl= enty of disk. > Elsa Gladiac 64MB GeForce3 video card (also observed the symptom on a sim= ilar machine with a 64-MB VisionTek GeForce3 and 1GB RAM). >=20 > O/S: > RedHat 7.3, 2.4.18-4smp kernel. We've also observed the problem on RedHa= t 7.2 (can't recall the kernel version). >=20 > Video Driver: > Kernel and GLX modules built from nvidia's src RPMs. >=20 > Java Versions: > The symptom has been observed with Sun's JDK 1.3.1_02, 1.4.0, and 1.4.0_0= 1. Apps have been built with the corresponding javac. >=20 > GL4Java Version: > 2.8.2.0 from the JauSoft site. >=20 > Has anybody else observed such a symptom? >=20 > Thanks for any feedback, >=20 > Rob Hatcherson > ZedaSoft, Inc >=20 > _______________________________________________________________ >=20 > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?sou= rce=3Dosdntextlink >=20 > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |
From: Pepijn V. E. <pep...@lu...> - 2002-06-17 15:36:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The opengl manual only lists void glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) so I don't see why there should be a version that takes ints as parameters. Pepijn Van Eeckhoudt aNt wrote: | There seems to only be a: | | gl.glColorMask(boolean, boolean, boolean, boolean); | | Shouldn¹t there also be a: | | gl.glColorMask(int, int, int, int); | | Or is it just me going mad as always? | | Tip top | | aNt | | | _______________________________________________________________ | | Sponsored by: | ThinkGeek at http://www.ThinkGeek.com/ | _______________________________________________ | gl4java-usergroup mailing list | gl4...@li... | https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9DgH0NqWh0hrFMasRAuPgAKCsggzidffdhCWY0f9UIjrH/F0pLgCfT4J0 kkJIiyu3C6GrlZDRs8LBtYg= =nUJq -----END PGP SIGNATURE----- |
From: aNt <an...@to...> - 2002-06-17 14:55:10
|
There seems to only be a: gl.glColorMask(boolean, boolean, boolean, boolean); Shouldn=B9t there also be a: gl.glColorMask(int, int, int, int); Or is it just me going mad as always? Tip top aNt |
From: <Px...@ao...> - 2002-06-17 14:46:58
|
Sorry about my previous post--whether or not it went through, my attached file was not compressed. This one is. I executed "java gl4java.GLContext -infotxt" and the function test says it got 414/983 functions. I have tried many things and read the FAQ's, but I'm at a loss. I'm running win2k with j2sdk 1.4.0_01, and gl4java version 2.8.2.0. The chipset is i810e with graphics driver version 5.13.1.2772. Attached is the output from "java gl4java.GLContext -infotxt" I found out I had errors because glReadPixels wasn't doing any modification to my array... Refer to my previous e-mails for more descriptions of the glReadPixels problem. I am really not trying to be a pest---I'm just posting more information about my problem in hopes of getting some help. OpenGL in general is pretty new to me so I'm not sure what to do besides ask you all. I appreciate any and all help. Dennis |
From: Byron W. <bsl...@mi...> - 2002-06-17 00:34:59
|
Hi All, I recently posted a message on JavaGaming.org for help on deploying my gl4java demo application using Java Web Start. The problem is that if I have more than one application I need to have each application download the gl4Java files and I would also have to sign these jars. Someone suggested that it would be great to have the latest version of the gl4java jars and bins signed and placed on a server so that anyone developing gl4java applets/applications using Web Start for deployment can reference these central files from their deployment descriptor (jnlp file). I thought this was a good idea so I am suggesting it to the gl4java team. Thanks, Byron |
From: Robert V. <f1...@gm...> - 2002-06-16 10:10:00
|
On Saturday 15 June 2002 06:20, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Friday 14 June 2002 21:55, Robert Voigt wrote: > > The FAQ on the GL4Java website contains a question without an answer: > > My Canvas renders 1 frame, then stops, what's wrong ? > > I'd really like to know that because I ran into that problem. > > I followed the instructions about using the GLEventListener model, and > > now this. > > ;-) > > FOR GLEventListener's: dont make current and/or free by your own, > within the GLEventListener methods, implemented by your own. I don't call gljMakeCurrent() or gljFree(), nowhere. Still I get only one frame, then my object disappears. I don't know what else I could try. I did everything I could see in the gears demo. |
From: Rob H. <rha...@ze...> - 2002-06-15 20:27:20
|
Hello All, We have encountered a situation where GL4Java apps make X "go away". Symptom: When running X/KDE in 16-bit color depth mode, attempts to run a GL4Java app will hang X. The app's window will pop up, but no graphics ever show up. The GL4Java apps run fine in 24-bit color depth mode. When the system gets in this state the only thing that still moves is the mouse, but all mouse (and keyboard) operations are ignored. The machine doesn't fully halt; you can still telnet into it while X is hung. At that point "top" will show X taking 99% of the CPU. Even though telnet works, once the system is in this state you can't reboot, and have to power-cycle the box to get its attention. I'm really liking the ext3 filesystem right about now :-). In both 16 and 24-bit mode C-based OpenGL apps still run fine and use hardware acceleration. Platform: Dual 1-GHz PIII running RedHat 7.3 with 2.4.18-4smp kernel, 512MB RAM, plenty of disk. Elsa Gladiac 64MB GeForce3 video card (also observed the symptom on a similar machine with a 64-MB VisionTek GeForce3 and 1GB RAM). O/S: RedHat 7.3, 2.4.18-4smp kernel. We've also observed the problem on RedHat 7.2 (can't recall the kernel version). Video Driver: Kernel and GLX modules built from nvidia's src RPMs. Java Versions: The symptom has been observed with Sun's JDK 1.3.1_02, 1.4.0, and 1.4.0_01. Apps have been built with the corresponding javac. GL4Java Version: 2.8.2.0 from the JauSoft site. Has anybody else observed such a symptom? Thanks for any feedback, Rob Hatcherson ZedaSoft, Inc |
From: Sven G. <sgo...@ja...> - 2002-06-15 09:42:42
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 13 June 2002 15:08, Combe, Colin wrote: > thanks Max, > i'd have replied sooner but have been away for a few days. Things are > working now. > I think there was some sort of problem with adding and removing the > GLCanvas components from a Panel or Frame, just treating them like i would > any other component didn't work anyway. After re-adding them nothing would > appear in them. In my efforts to make it work I just ended up over > complicating things - this was how i got into destroying and creating new > instances and using cvsDispose. > Anyway, I now add all the canvas's i'm going to use to the panel at the > start and set them visible or invisible as required. It confuses layout > managers a bit but i can live with that. > cheers, > colin > Well, here is an working example (outta gl4java.applet.SimpleGLAnimApplet1 @ CVS) This one tooks out a GLCanvas Component, owned by a frame, and adds it to a new frame. The next time, it goes vica versa ! GLAnimCanvas glcvs = (GLAnimCanvas)comp; System.out.println("\n\nswitch requested: "+glcvs); glcvs.cvsDispose(); System.out.println("\n\ndisposed: "+glcvs); Container c = glcvs.getParent(); c.remove(glcvs); System.out.println("\n\nremoved: "+glcvs); System.out.println("Global GLAnimCanvas Render-Thread Number: "+ GLAnimCanvas.getGlobalThreadNumber()); System.out.println("GLContextNumber: "+ GLContext.getNativeGLContextNumber()); if(_origCont !=null && c == _saveFrame) { _saveFrame.dispose(); _saveFrame=null; _origCont.add(canvas); _origCont.doLayout(); _origCont = null; } else if( _saveFrame ==null && _origCont == null ) { _origCont = c; _saveFrame = new Frame("EXTRA"); _saveFrame.add(glcvs); _saveFrame.pack(); _saveFrame.setVisible(true); } glcvs.setVisible(true); glcvs.repaint(); glcvs.start(); System.out.println("\nadded+started: "+glcvs); System.out.println("Global GLAnimCanvas Render-Thread Number: "+ GLAnimCanvas.getGlobalThreadNumber()); System.out.println("GLContextNumber: "+ GLContext.getNativeGLContextNumber()); so what ? but try this with the CVS version only .. i guess ;-) - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9CwwHHdOA30NoFAARApRFAJ0RW3kYQiBinPUtDCkFlz72KPJHFgCgl9tQ T3PS5JMDVtuPDibOB2FS6IM= =bsC9 -----END PGP SIGNATURE----- |
From: Sven G. <sgo...@ja...> - 2002-06-15 04:20:38
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 14 June 2002 21:55, Robert Voigt wrote: > The FAQ on the GL4Java website contains a question without an answer: > My Canvas renders 1 frame, then stops, what's wrong ? > I'd really like to know that because I ran into that problem. > I followed the instructions about using the GLEventListener model, and now > this. > ;-) FOR GLEventListener's: dont make current and/or free by your own, within the GLEventListener methods, implemented by your own. FOR ELSE: you must do both, .. cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9CsCJHdOA30NoFAARAoh/AJ4j20IvwV+DE171R3Y29xCOyMTRaQCgusm9 +HFjLJu31SygXKdEA2fCB9A= =X/z3 -----END PGP SIGNATURE----- |
From: Robert V. <f1...@gm...> - 2002-06-14 19:55:59
|
The FAQ on the GL4Java website contains a question without an answer: My Canvas renders 1 frame, then stops, what's wrong ? I'd really like to know that because I ran into that problem. I followed the instructions about using the GLEventListener model, and now this. |
From: Sven G. <sgo...@ja...> - 2002-06-14 17:02:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 14 June 2002 18:00, Kenneth B. Russell wrote: > > public static int getIntForConstant(String constant) { > > Simpler and more efficient solution: use Class.getField. > > public static int getIntForConstant(String constant) throws > RuntimeException { try { > Class c = GLEnum.class; > java.lang.reflect.Field f = c.getField(constant); > return f.getInt(c); > } catch (NoSuchFieldException e) { > throw new RuntimeException("Field " + constant + " not found"); > } > } > > NoSuchFieldException is a checked exception and its conversion into a > RuntimeException makes it easier to write code around it without allowing > silent failures like returning -1 would. > i guess thats it - thx for good design tips so, shall i add it to GLEnmu and GLUEnum as well, or would you prefere a global GLContext method, which checks startsWith("GLU") ... ? cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9CiGKHdOA30NoFAARAmg5AKCI9EQ6q9eLrxsfknTk6a7/R1/ScACeLBsp oZALVvEiPeSPe367QQIOAoY= =YHVp -----END PGP SIGNATURE----- |
From: Kenneth B. R. <kbr...@al...> - 2002-06-14 16:00:35
|
> public static int getIntForConstant(String constant) { Simpler and more efficient solution: use Class.getField. public static int getIntForConstant(String constant) throws RuntimeException { try { Class c = GLEnum.class; java.lang.reflect.Field f = c.getField(constant); return f.getInt(c); } catch (NoSuchFieldException e) { throw new RuntimeException("Field " + constant + " not found"); } } NoSuchFieldException is a checked exception and its conversion into a RuntimeException makes it easier to write code around it without allowing silent failures like returning -1 would. |
From: Drake W. <dr...@er...> - 2002-06-14 15:44:20
|
I've been playing with GL4Java for a few weeks now and love it! A great way for java programmers to learn openGL without <gasp> going back to C. I have a few questions. 1) Loading Textures. Is there a way to create a texture from an Image object? I have a few methods laying around that will create an image of a specific file (originally for automatically creating icons) and save them. But I would love to skip saving the files. I'm in a project that I know that I don't have controls of the image files. 2) Is there any public java parsers for any major 3d image formats? Why recreate the wheel. I'm currently have access to the personal Maya, and think I can convert the files from there to almost anything. 3) If not. Has anyone heard about any decent 3d XML formats? I was considering writing my own quickly if nothing out there is available. btw, I'm writing a 3d frontend to MAME (arcade emulator) to run on an original arcade cabinet that I've converted to hold a computer. Sven, I think I talked to you a year ago or so about your work with opengl in mame btw. I wrote a little 3d engine to handle a bunch of things... then ended up making the engine bigger and bigger and almost got a skeletal system running (had troubles with the stretching of textures at the joints when adding weighted vertexes... I think there was an easier way to do it....)... then realized I didn't need 80% of it for the project I started.... so I toned it down. Now I think I'm going to write a small 3d modeling application. But only if I can't find an available parser : ) thanks for GL4Java! Great work! |
From: Antony R. <ri...@to...> - 2002-06-14 14:52:04
|
I vote for -1 as well. littleAnt. ----- Original Message ----- From: "Sven Goethel" <sgo...@ja...> To: "Alex Alessandra" <Az...@ne...>; "gl4java-usergroup" <gl4...@li...> Sent: Friday, June 14, 2002 3:46 PM Subject: Re: [gl4java-usergroup] Re: Integer for Constant > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Friday 14 June 2002 16:23, Alex Alessandra wrote: > > Hi again, > > > > I'm not deep into C2J, but I can suggest an obvious method to accomplish > > the task, the following code is generic and works outside gl4java classes, > > but, again, please consider the implementation into the gl4java package: > > > > public static int getIntForConstant(String constant) { > > try { > > java.lang.Class enumClass = > > java.lang.Class.forName("gl4java.GLEnum"); java.lang.reflect.Field[] fields > > = enumClass.getFields(); > > > > for(int i=0; i<fields.length; i++) { > > > > if(fields[i].getName().equals(constant)) { > > // Found! > > return fields[i].getInt(enumClass); > > } > > } > > } catch (IllegalAccessException e) { > > // Would it occur ??? Do nothing... > > } catch (ClassNotFoundException e) { > > // GLEnum not found ??? Do nothing... > > } > > // Not found! > > return 0; > > } > > > > This method returns the correct GLEnum.[field] as int value if the given > > constant string exists, otherwise it returns simply 0 (maybe -1 is more > > appropriate, or throwing an Exception???). > > > > Waiting for comments... > > > > ok ! > > i guess "-1" would be more c stylish ;-) > > but if somebody loves exceptions more .. well, let's vote. > > my vote: -1 > > i do wait a bit, then i can cvs ci this function as a static function > within GLEnum ? > > cheers, sven > - -- > health & wealth > mailto:sgo...@ja... > www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ > voice : +49-521-2399440 ; fax : +49-521-2399442 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9CgG/HdOA30NoFAARAm7hAJ9RqOyveKphkZJ9jqeoSkKqzG1gvwCgqWLr > 9r3XkHhBRun4zTSXttnbjW8= > =RR08 > -----END PGP SIGNATURE----- > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |
From: Sven G. <sgo...@ja...> - 2002-06-14 14:46:36
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 14 June 2002 16:23, Alex Alessandra wrote: > Hi again, > > I'm not deep into C2J, but I can suggest an obvious method to accomplish > the task, the following code is generic and works outside gl4java classes, > but, again, please consider the implementation into the gl4java package: > > public static int getIntForConstant(String constant) { > try { > java.lang.Class enumClass = > java.lang.Class.forName("gl4java.GLEnum"); java.lang.reflect.Field[] fields > = enumClass.getFields(); > > for(int i=0; i<fields.length; i++) { > > if(fields[i].getName().equals(constant)) { > // Found! > return fields[i].getInt(enumClass); > } > } > } catch (IllegalAccessException e) { > // Would it occur ??? Do nothing... > } catch (ClassNotFoundException e) { > // GLEnum not found ??? Do nothing... > } > // Not found! > return 0; > } > > This method returns the correct GLEnum.[field] as int value if the given > constant string exists, otherwise it returns simply 0 (maybe -1 is more > appropriate, or throwing an Exception???). > > Waiting for comments... > ok ! i guess "-1" would be more c stylish ;-) but if somebody loves exceptions more .. well, let's vote. my vote: -1 i do wait a bit, then i can cvs ci this function as a static function within GLEnum ? cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9CgG/HdOA30NoFAARAm7hAJ9RqOyveKphkZJ9jqeoSkKqzG1gvwCgqWLr 9r3XkHhBRun4zTSXttnbjW8= =RR08 -----END PGP SIGNATURE----- |
From: Alex A. <Az...@ne...> - 2002-06-14 14:23:09
|
Hi again, I'm not deep into C2J, but I can suggest an obvious method to accomplish the task, the following code is generic and works outside gl4java classes, but, again, please consider the implementation into the gl4java package: public static int getIntForConstant(String constant) { try { java.lang.Class enumClass = java.lang.Class.forName("gl4java.GLEnum"); java.lang.reflect.Field[] fields = enumClass.getFields(); for(int i=0; i<fields.length; i++) { if(fields[i].getName().equals(constant)) { // Found! return fields[i].getInt(enumClass); } } } catch (IllegalAccessException e) { // Would it occur ??? Do nothing... } catch (ClassNotFoundException e) { // GLEnum not found ??? Do nothing... } // Not found! return 0; } This method returns the correct GLEnum.[field] as int value if the given constant string exists, otherwise it returns simply 0 (maybe -1 is more appropriate, or throwing an Exception???). Waiting for comments... -=[AziD]=- |
From: Sven G. <sgo...@ja...> - 2002-06-14 11:45:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 14 June 2002 10:01, Dragana Petrovic wrote: > Hi, > give us a "running" (L)GPL licensed demo, which does reproduce this behavior ! please do it with a very small footprint. thx cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9CddRHdOA30NoFAARAk+bAKCZMW0mMfoIB/OpbRzullz/kNow8gCeJzX9 iZb9JwwY2Z00Do+qgGyUgCU= =Wllm -----END PGP SIGNATURE----- |
From: Sven G. <sgo...@ja...> - 2002-06-14 11:44:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 14 June 2002 11:15, Alex Alessandra wrote: > Hi, > > I'm in need to retrieve the int value for a GL String constant when parsing > quake3 shaders from a file. > > Example: > blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA > > I prepared a method like: > int getIntForConstant("GL_SRC_ALPHA") > > But is there a way to get around this without having to prepare a lookup > table (Hashtable or similar), maybe a static method in GLContext ? > > Java QuakeIIIArena is on the way... > > -=[AziD]=- > well, this schould be easy to implement. just add this feature to the C2J parser, which should implement such a string -> int mapping functionality ! may we or I help you with it ? cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9Cdb+HdOA30NoFAARAiU/AKCGtduS4YQG+/0Nq0NLaw0CdlMHAgCgnUv+ 9ndkX6Pb0CtATMPAyqkzDZg= =1+yZ -----END PGP SIGNATURE----- |