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: Alban Cousini <aco...@mi...> - 2003-04-28 06:32:23
|
Hi Pepijn :) > Just a small correction, gl4java maps openGL 1.3 (at least the cvs > version does). So no vertex/fragment programs yet :) Well we'd need 1.4 support for sure. About gl4java updates, I personally have access to the gl4java sourcefore CVS so I may update some code for you. But I guess Sven could register you as a gl4java developer if you ask him. I'd be very interested to integrate an OpenAL binding into OpenMind if it i= s LGPL. I'd like to review yours if you are ok. Regards, Alban Le 27/04/03 14:50, =AB=A0Pepijn Van Eeckhoudt=A0=BB <pep...@lu...= > a =E9crit=A0: > Just a small correction, gl4java maps openGL 1.3 (at least the cvs > version does). So no vertex/fragment programs yet :) >=20 > I've been hacking away at the gl4java source code lately. I reworked > the make script to be a bit more readable. My version works fine on > linux, windows(using cl/link instead of gcc/ld) and solaris. No mac os > x yet. Gerard Ziemski's port uses pbxbuild to build the everything and > I would prefer to use gcc directly, but I haven't figured out how to do > that yet. You said that a colleague had made an ant build script. Is it > practical to use ant to compile c code? >=20 > After reworking the makefile I started playing with the GLCanvas class. > While hacking away at the code I ended up removing 2/3 of the source > code. Strangely enough everything still works fine :). I do have to > admit that I did strip out some functionality (the ancient jvm support > (like netscape and ms builtin ones), offscreen rendering, etc). I'm > doing this effort to better understand how the rendering from native > code is done. Personally I would just rely on JAWT to do this, but Max > Gilead already mentioned that support for open jvms is important to him > (kaffe, sablevm, ...) and these don't support JAWT yet. > Anyway, in short I'm working on understanding the code, but I'm not > sure in which direction further development should be headed. Any ideas > are welcome. Also I don't have access to the gl4java sourceforge > project, so if I would want to make my version available I would have > to make a separate project. > Next to that I've been busy making an OpenAL binding. A first version > is almost complete. If anyone is interested in testing this I would be > more than happy to make it available online (on sourceforge I guess). >=20 > Pepijn Van Eeckhoudt > |
From: kaffiene <kaf...@xt...> - 2003-04-28 01:18:46
|
Byron Wright wrote: >put the png in a jar file then do something like > >URL url = YourClass.class.getResource("your.png"); > >Image img=Toolkit.getDefaultToolkit().getImage(url); > > >So if your class is called "Game" > >URL url = Game.class.getResources("your.png"); > >rememeber that the string you pass to the getResources method is the >path in the jar file to the image so > >getResources("/your.png") would point to the root of the jar file. > >There is another method that might be helpful: > >InputStream in = Game.class.getResourceAsStream("your.png"); > >Then you can do whatever you want with the inputstream. > >-Byron > > I'm sorry, what I meant to ask was how to load a png and use it as a texture in gl4java. The gl4java png texture loader doesn't support inputstreams. Just file names or URLs.. Apologies for the poorly worded request ;-) Peter. |
From: Byron W. <bsl...@mi...> - 2003-04-28 01:10:00
|
put the png in a jar file then do something like URL url = YourClass.class.getResource("your.png"); Image img=Toolkit.getDefaultToolkit().getImage(url); So if your class is called "Game" URL url = Game.class.getResources("your.png"); rememeber that the string you pass to the getResources method is the path in the jar file to the image so getResources("/your.png") would point to the root of the jar file. There is another method that might be helpful: InputStream in = Game.class.getResourceAsStream("your.png"); Then you can do whatever you want with the inputstream. -Byron -----Original Message----- From: gl4...@li... [mailto:gl4...@li...] On Behalf Of kaffiene Sent: Sunday, April 27, 2003 4:41 PM To: gl4...@li... Subject: Re: [gl4java-usergroup] loading pngs from jar files Peter Ashford wrote: > Does anyone know how to load a png from a jar file? An example would > be great. > > Thanks! > > Peter. > Noone has any idea how to do this? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ gl4java-usergroup mailing list gl4...@li... https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |
From: kaffiene <kaf...@xt...> - 2003-04-27 23:41:01
|
Peter Ashford wrote: > Does anyone know how to load a png from a jar file? An example would > be great. > > Thanks! > > Peter. > Noone has any idea how to do this? |
From: Pepijn V. E. <pep...@lu...> - 2003-04-27 12:50:42
|
Just a small correction, gl4java maps openGL 1.3 (at least the cvs=20 version does). So no vertex/fragment programs yet :) I've been hacking away at the gl4java source code lately. I reworked=20 the make script to be a bit more readable. My version works fine on=20 linux, windows(using cl/link instead of gcc/ld) and solaris. No mac os=20= x yet. Gerard Ziemski's port uses pbxbuild to build the everything and=20= I would prefer to use gcc directly, but I haven't figured out how to do=20= that yet. You said that a colleague had made an ant build script. Is it=20= practical to use ant to compile c code? After reworking the makefile I started playing with the GLCanvas class.=20= While hacking away at the code I ended up removing 2/3 of the source=20 code. Strangely enough everything still works fine :). I do have to=20 admit that I did strip out some functionality (the ancient jvm support=20= (like netscape and ms builtin ones), offscreen rendering, etc). I'm=20 doing this effort to better understand how the rendering from native=20 code is done. Personally I would just rely on JAWT to do this, but Max=20= Gilead already mentioned that support for open jvms is important to him=20= (kaffe, sablevm, ...) and these don't support JAWT yet. Anyway, in short I'm working on understanding the code, but I'm not=20 sure in which direction further development should be headed. Any ideas=20= are welcome. Also I don't have access to the gl4java sourceforge=20 project, so if I would want to make my version available I would have=20 to make a separate project. Next to that I've been busy making an OpenAL binding. A first version=20 is almost complete. If anyone is interested in testing this I would be=20= more than happy to make it available online (on sourceforge I guess). Pepijn Van Eeckhoudt On zondag, apr 27, 2003, at 13:15 Europe/Brussels, Alban Cousini=E9 = wrote: >> =46rom what I know, gl4java maps the complete OpenGL 1.4 API and is = very > stable. Everytime I thought I had found a bug, I ended figuring out I=20= > was > wrong and the gl4java API was good. So actually, we can say gl4java is=20= > quite > up to date. > > But we have all noticed Sven was much less present on the mailing list=20= > for > the past few monthes, and he is not here to answer our concern that = the > gl4java API might not evolve anymore towards OpenGL 2.0. Sven=20 > certainly has > his own personal reasons for being less present, and he has done so=20 > much > great work on gl4java during 7 years none of us would dare to judge=20 > his lack > of presence. > > Since I have spent nine monthes of full time programming on the=20 > OpenMind > engine using gl4java, and since OpenMind is the technology I intend to=20= > use > for the future game developments of my company, I personnaly feel very > concerned about how the future of the API. But maintaining the=20 > OpenMind open > source project already eats an impressive amount of time on my=20 > schedule and > I know I wouldn't be able to help maintain gl4java as well, though I'd=20= > be > interested to. > > I think it'd be good that someone who has skills in java, c++ an JNI=20= > would > be promoted as a secondary project admin aside with Sven, and could=20 > bring a > new life to the gl4java API and help animate the community. > > There are a few issues that I think should be adressed on gl4java=20 > actually : > > - Set up a compilation script that can easily be run on a cross=20 > platform > basis. As some of you may have noticed from the numerous messages on=20= > the > mailing list, the make script of gl4java is not easily portable, and=20= > many > people have hard time compiling gl4java on Windows and MacOSX. On=20 > OpenMind, > one of our open source developers -Robert Cadenas- has setup a=20 > compilation > script for apache ANT. ANT is a "make like" tool coded in java and=20 > targeted > to cross platform compilation. Compiling OpenMind has never been so=20 > easy and > it works perfectly on Windows, MacOSX and Linux. Creating such an ANT=20= > script > for gl4java would make it more accessible to new open source=20 > developers. > > - Ensure CG compatibility and provide some demo featuring vertex and > fragment shader code > > - I would personnaly get rid of Java 1.1, 1.2 and MS JVM compatibility=20= > in > order to simplify the code, the compilation process, and drive people=20= > to use > java 1.4 > > - Eventually make a lifting to the web site, and animate the = community. > > I am personnaly commited to use gl4java with the OpenMind scene graph,=20= > and > I'd sincerely like to continue working with it. If I succeed selling = my > video game project using OpenMind I could eventually have some=20 > employee help > developping the gl4java API, but if I don't have this chance and the=20= > API > should die slowly, I may have no other choice than moving the scene=20 > graph on > some other binding that gets a more dynamic support. > > I wish someone would have the time and the interest to bring gl4java=20= > back to > a more dynamic development. > > Regards, > > Alban Cousini=E9 > > > Le 27/04/03 11:12, =AB=A0Jens G=FCnther=A0=BB = <jen...@ag...> a=20 > =E9crit=A0: > >> no, i think its stable... >> Jens >> >> ----- Original Message ----- >> From: "Pac" <pa...@tu...> >> To: <gl4...@li...> >> Sent: Saturday, April 26, 2003 10:58 AM >> Subject: [gl4java-usergroup] Is GL4Java dead ? >> >> >>> Hi all, >>> >>> >>> no new release... since a big time >>> >>> Is GL4Java dead or frozen ? >>> >>> >>> Best regards >>> --=20 >>> R.Pac >>> >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> gl4java-usergroup mailing list >>> gl4...@li... >>> https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> gl4java-usergroup mailing list >> gl4...@li... >> https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup > |
From: Alban Cousini <aco...@mi...> - 2003-04-27 11:20:42
|
From what I know, gl4java maps the complete OpenGL 1.4 API and is very stable. Everytime I thought I had found a bug, I ended figuring out I was wrong and the gl4java API was good. So actually, we can say gl4java is quit= e up to date. But we have all noticed Sven was much less present on the mailing list for the past few monthes, and he is not here to answer our concern that the gl4java API might not evolve anymore towards OpenGL 2.0. Sven certainly has his own personal reasons for being less present, and he has done so much great work on gl4java during 7 years none of us would dare to judge his lac= k of presence. Since I have spent nine monthes of full time programming on the OpenMind engine using gl4java, and since OpenMind is the technology I intend to use for the future game developments of my company, I personnaly feel very concerned about how the future of the API. But maintaining the OpenMind ope= n source project already eats an impressive amount of time on my schedule and I know I wouldn't be able to help maintain gl4java as well, though I'd be interested to. I think it'd be good that someone who has skills in java, c++ an JNI would be promoted as a secondary project admin aside with Sven, and could bring a new life to the gl4java API and help animate the community. There are a few issues that I think should be adressed on gl4java actually = : - Set up a compilation script that can easily be run on a cross platform basis. As some of you may have noticed from the numerous messages on the mailing list, the make script of gl4java is not easily portable, and many people have hard time compiling gl4java on Windows and MacOSX. On OpenMind, one of our open source developers -Robert Cadenas- has setup a compilation script for apache ANT. ANT is a "make like" tool coded in java and targeted to cross platform compilation. Compiling OpenMind has never been so easy an= d it works perfectly on Windows, MacOSX and Linux. Creating such an ANT scrip= t for gl4java would make it more accessible to new open source developers. - Ensure CG compatibility and provide some demo featuring vertex and fragment shader code - I would personnaly get rid of Java 1.1, 1.2 and MS JVM compatibility in order to simplify the code, the compilation process, and drive people to us= e java 1.4 - Eventually make a lifting to the web site, and animate the community. I am personnaly commited to use gl4java with the OpenMind scene graph, and I'd sincerely like to continue working with it. If I succeed selling my video game project using OpenMind I could eventually have some employee hel= p developping the gl4java API, but if I don't have this chance and the API should die slowly, I may have no other choice than moving the scene graph o= n some other binding that gets a more dynamic support. I wish someone would have the time and the interest to bring gl4java back t= o a more dynamic development. Regards, Alban Cousini=E9 =20 Le 27/04/03 11:12, =AB=A0Jens G=FCnther=A0=BB <jen...@ag...> a =E9crit=A0: > no, i think its stable... > Jens >=20 > ----- Original Message ----- > From: "Pac" <pa...@tu...> > To: <gl4...@li...> > Sent: Saturday, April 26, 2003 10:58 AM > Subject: [gl4java-usergroup] Is GL4Java dead ? >=20 >=20 >> Hi all, >>=20 >>=20 >> no new release... since a big time >>=20 >> Is GL4Java dead or frozen ? >>=20 >>=20 >> Best regards >> --=20 >> R.Pac >>=20 >>=20 >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> gl4java-usergroup mailing list >> gl4...@li... >> https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |
From: <jen...@ag...> - 2003-04-27 09:19:31
|
no, i think its stable... Jens ----- Original Message ----- From: "Pac" <pa...@tu...> To: <gl4...@li...> Sent: Saturday, April 26, 2003 10:58 AM Subject: [gl4java-usergroup] Is GL4Java dead ? > Hi all, > > > no new release... since a big time > > Is GL4Java dead or frozen ? > > > Best regards > -- > R.Pac > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |
From: Pac <pa...@tu...> - 2003-04-26 09:56:38
|
Hi all, no new release... since a big time Is GL4Java dead or frozen ? Best regards -- R.Pac |
From: <jen...@ag...> - 2003-04-24 06:38:47
|
Hi Peter, ClassLoader.getSystemResource( "images/bt_back.gif" ); Jens ----- Original Message ----- From: "Peter Ashford" <pe...@si...> To: <gl4...@li...> Sent: Thursday, April 24, 2003 2:01 AM Subject: [gl4java-usergroup] loading pngs from jar files > Does anyone know how to load a png from a jar file? An example would be > great. > > Thanks! > > Peter. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |
From: Peter A. <pe...@si...> - 2003-04-24 00:02:55
|
Does anyone know how to load a png from a jar file? An example would be great. Thanks! Peter. |
From: Montana, P. M <pat...@lm...> - 2003-04-21 21:31:56
|
I previously posted some example source code for using polygon = tessellators in GL4Java. I never fully understood how and why the tessellator code = worked in GL4Java, but I was glad to have something that seemed to work.=20 After thinking about this some more, I decided to carefully read about = how tessellators should work according to the OpenGL Red book. The more I = read, and the more I thought I understood the book, the less sense I could = make of my GL4Java tessellation code. When I tried to change my code to work = more like the red book claimed it worked, I started to get errors outside = the JVM or mis-shaped polygons.=20 I am really starting to agree with Philippe's cry for help below. Does anyone have any decent documentation on the GL4Java tessellation = routines? The JavaDoc for GL4Java v 2.8.2.0 says absolutely nothing about the tessellation related methods.=20 Thanks for any information,=20 Mark=20 armand darman wrote:=20 hi,=20 I need to tessellate concav polygons with GL4java.=20 But GL4java functions (like gluTessCallBack for=20 instance)don't have the same parameters than OpenGL=20 ones.=20 Where could I find, or could you give me a whole=20 description of those functions in GL4java?=20 Thank you very much!!=20 from: Philippe, student.=20 =20 ___________________________________________________________=20 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran=E7ais !=20 Yahoo! Mail : http://fr.mail.yahoo.com <http://fr.mail.yahoo.com> =20 -------------------------------------------------------=20 This sf.net email is sponsored by:ThinkGeek=20 Welcome to geek heaven.=20 http://thinkgeek.com/sf <http://thinkgeek.com/sf> =20 _______________________________________________=20 gl4java-usergroup mailing list=20 gl4...@li...=20 https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup <https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup>=20 |
From: Alban Cousini <aco...@wa...> - 2003-04-20 19:11:53
|
Hi Mark, I am facing the same issue while porting OpenMind on MacOSX. On my machine, I get this error only in fullscreen mode. Since no sample provided with the MacOSX release of gl4java uses fullscreen mode, I beleive the compatibility for fullscreen mode has not been implemented, but we should ask Gerard Ziemsky what he knows about this issue. Running your program in a regular window should work fine. Another issue I have been facing was an "invalid drawable" error. It occurs when you try to create a GLAnimCanvas inside a Jframe. There is an incompatibility. Thus if you want to use swing, create a regular awt Frame, and add your GLAnimCanvas to it. You can always add swing UI components to this frame, but the Window component must not be a Jframe. I'd be interested to know if you found a workaround for this error as I am myself interested into MacOSX. Gerard Ziemsky told me he was no longer expecting to support the MacOSX por= t of gl4java because the implementation has become too complicate. Apparently= , the Java 1.4.1 implementation has been done by someaone named Dmitry Markman.=20 Sven Gothel has been giving very few signs of life lately and is answering less and less my emails since a few monthes. I'm getting pretty worried about the future of gl4java in general and it's MacOSX implementation in particular. I hope the API is not going to die slowly... If someone has som= e more optimistic news, I'd be interested to ear these. Regards, Alban Cousini=E9 Le 20/04/03 18:34, =AB=A0M...@ps...=A0=BB <Mar...@ps...> = a =E9crit=A0: > Hi all, >=20 > Now that I see some activity back on the list, I'm interested in > perhaps porting some existing OpenGL code to Java. I've mostly just > been bring things back up, installing gl4java, etc. I have some older > code that I've used in the past to test with. I have Win XP/2K running > fine. However, when I run the code on Mac OS X I get the following > error: >=20 > 2003-04-20 08:00:45.258 java[1878] invalid memory allocation >=20 > It appears to occur right after I call start() on the GLAnimCanvas object= . >=20 > I have installed the 1.4 port from Gerard Ziemski's page: binaries and > src code of the Mac OS X port (for jdk14) by Dmitry Markman >=20 > I'm running OS 10.2.5 with java version 1.4.1_01 >=20 > Any ideas what it could be? Again the code runs fine in windows. >=20 > Thanks, I look forward to developing with GL4Java again. >=20 > Mark Powell >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup ------ Fin du message transf=E9r=E9 |
From: <Mar...@ps...> - 2003-04-20 16:35:43
|
Hi all, Now that I see some activity back on the list, I'm interested in=20 perhaps porting some existing OpenGL code to Java. I've mostly just=20 been bring things back up, installing gl4java, etc. I have some older=20 code that I've used in the past to test with. I have Win XP/2K running=20 fine. However, when I run the code on Mac OS X I get the following=20 error: 2003-04-20 08:00:45.258 java[1878] invalid memory allocation It appears to occur right after I call start() on the GLAnimCanvas = object. I have installed the 1.4 port from Gerard Ziemski's page: binaries and=20 src code of the Mac OS X port (for jdk14) by Dmitry Markman I'm running OS 10.2.5 with java version 1.4.1_01 Any ideas what it could be? Again the code runs fine in windows. Thanks, I look forward to developing with GL4Java again. Mark Powell |
From: pramote s. <p_s...@ho...> - 2003-04-19 09:25:26
|
I setup gl4java and run under RH8.0 it's OK ,but when I run Liberta linux 1.1 I get some error An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x0 Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at gl4java.GLContext.openOpenGLNative(Native Method) at gl4java.GLContext.gljInit(GLContext.java:1996) - locked <0x442be880> (a gl4java.GLContext) at gl4java.GLContext.createGLContext(GLContext.java:1942) at gl4java.GLContext.<init>(GLContext.java:1161) at gl4java.GLContext.<init>(GLContext.java:1221) at gl4java.GLContext.<init>(GLContext.java:1286) at gl4java.awt.GLCanvas.paint(GLCanvas.java:448) at sun.awt.RepaintArea.paint(RepaintArea.java:177) at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:374) at java.awt.Component.dispatchEventImpl(Component.java:3699) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:48 21128 /usr/java/j2sdk1.4.1_02/bin/java 0804e000-0804f000 rw-p 00005000 03:48 21128 /usr/java/j2sdk1.4.1_02/bin/java 40000000-40015000 r-xp 00000000 03:48 80650 /lib/ld-2.3.1.so 40015000-40016000 rw-p 00014000 03:48 80650 /lib/ld-2.3.1.so 40017000-40020000 r-xp 00000000 03:48 129057 /usr/java/j2sdk1.4.1_02/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:48 129057 /usr/java/j2sdk1.4.1_02/jre/lib/i386/native_threads/libhpi.so 40023000-40032000 r-xp 00000000 03:48 80679 /lib/libpthread-0.10.so 40032000-40035000 rw-p 0000f000 03:48 80679 /lib/libpthread-0.10.so 40075000-40077000 r-xp 00000000 03:48 80661 /lib/libdl-2.3.1.so 40077000-40078000 rw-p 00002000 03:48 80661 /lib/libdl-2.3.1.so 40078000-401a8000 r-xp 00000000 03:48 80657 /lib/libc-2.3.1.so 401a8000-401ab000 rw-p 0012f000 03:48 80657 /lib/libc-2.3.1.so 401ae000-404c6000 r-xp 00000000 03:48 117926 /usr/java/j2sdk1.4.1_02/jre/lib/i386/client/libjvm.so 404c6000-406aa000 rw-p 00317000 03:48 117926 /usr/java/j2sdk1.4.1_02/jre/lib/i386/client/libjvm.so 406bb000-406cd000 r-xp 00000000 03:48 80665 /lib/libnsl-2.3.1.so 406cd000-406ce000 rw-p 00011000 03:48 80665 /lib/libnsl-2.3.1.so 406d0000-406f1000 r-xp 00000000 03:48 80663 /lib/libm-2.3.1.so 406f1000-406f2000 rw-p 00020000 03:48 80663 /lib/libm-2.3.1.so 406f2000-40702000 r-xp 00000000 03:48 117949 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libverify.so 40702000-40704000 rw-p 0000f000 03:48 117949 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libverify.so 40704000-40725000 r-xp 00000000 03:48 117937 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libjava.so 40725000-40727000 rw-p 00020000 03:48 117937 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libjava.so 40727000-4073c000 r-xp 00000000 03:48 117950 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libzip.so 4073c000-4073e000 rw-p 00014000 03:48 117950 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libzip.so 4073e000-41e0d000 r--s 00000000 03:48 87958 /usr/java/j2sdk1.4.1_02/jre/lib/rt.jar 41e50000-41e67000 r--s 00000000 03:48 87959 /usr/java/j2sdk1.4.1_02/jre/lib/sunrsasign.jar 41e67000-41ed8000 r--s 00000000 03:48 87952 /usr/java/j2sdk1.4.1_02/jre/lib/jsse.jar 41ed8000-41eeb000 r--s 00000000 03:48 87951 /usr/java/j2sdk1.4.1_02/jre/lib/jce.jar 41eeb000-421a7000 r--s 00000000 03:48 87939 /usr/java/j2sdk1.4.1_02/jre/lib/charsets.jar 4c2d0000-4c4d0000 r--p 00000000 03:48 340942 /usr/lib/locale/locale-archive 4c4d0000-4c4dc000 r--p 001f6000 03:48 340942 /usr/lib/locale/locale-archive 4c4dc000-4c4df000 r--s 00000000 03:48 117903 /usr/java/j2sdk1.4.1_02/jre/lib/ext/dnsns.jar 4c4df000-4c4e6000 r-xp 00000000 03:48 343682 /usr/X11R6/lib/libXp.so.6.2 4c4e6000-4c4e7000 rw-p 00006000 03:48 343682 /usr/X11R6/lib/libXp.so.6.2 4c4e8000-4c4f3000 r-xp 00000000 03:48 80671 /lib/libnss_files-2.3.1.so 4c4f3000-4c4f4000 rw-p 0000a000 03:48 80671 /lib/libnss_files-2.3.1.so 4c4f4000-4c4fa000 r--s 00000000 03:48 356754 /usr/lib/gconv/gconv-modules.cache 4c4fa000-4c4fc000 r-xp 00000000 03:48 356724 /usr/lib/gconv/TIS-620.so 4c4fc000-4c4fd000 rw-p 00001000 03:48 356724 /usr/lib/gconv/TIS-620.so 4c4fd000-4c4fe000 r-xp 00000000 03:48 117939 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libjawt.so 4c4fe000-4c4ff000 rw-p 00000000 03:48 117939 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libjawt.so 4c600000-4c648000 r-xp 00000000 03:48 117944 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libjsound.so 4c648000-4c64a000 rw-p 00047000 03:48 117944 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libjsound.so 4c678000-4c6c1000 r-xp 00000000 03:48 344212 /usr/lib/libGL.so.1.0.4191 4c6c1000-4c6c3000 rw-p 00048000 03:48 344212 /usr/lib/libGL.so.1.0.4191 4c6eb000-4c790000 rw-s 00000000 00:04 720898 /SYSV00000000 (deleted) 4c7f8000-4c897000 r--s 00000000 03:48 117905 /usr/java/j2sdk1.4.1_02/jre/lib/ext/localedata.jar 4c897000-4c8a5000 r--s 00000000 03:48 117904 /usr/java/j2sdk1.4.1_02/jre/lib/ext/ldapsec.jar 4c8a5000-4c8b3000 r--s 00000000 03:48 118588 /usr/java/j2sdk1.4.1_02/jre/lib/ext/png.jar 4c8b3000-4c8d0000 r--s 00000000 03:48 117906 /usr/java/j2sdk1.4.1_02/jre/lib/ext/sunjce_provider.jar 4c8d0000-4c967000 r--s 00000000 03:48 118574 /usr/java/j2sdk1.4.1_02/jre/lib/ext/gl4java-glffonts.jar 4c967000-4c985000 r--s 00000000 03:48 118586 /usr/java/j2sdk1.4.1_02/jre/lib/ext/gl4java-glutfonts.jar 4c985000-4c9bd000 r--s 00000000 03:48 118587 /usr/java/j2sdk1.4.1_02/jre/lib/ext/gl4java.jar 4c9bd000-4ccc1000 r--s 00000000 03:48 118164 /root/pacman3D/classes/gruppe800.jar 4ccc1000-4cf89000 r-xp 00000000 03:48 117929 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libawt.so 4cf89000-4cf9e000 rw-p 002c7000 03:48 117929 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libawt.so 4cfc4000-4d017000 r-xp 00000000 03:48 117945 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libmlib_image.so 4d017000-4d018000 rw-p 00052000 03:48 117945 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libmlib_image.so 4d018000-4d01a000 r-xp 00000000 03:48 469823 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 4d01a000-4d01b000 rw-p 00001000 03:48 469823 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 4d01b000-4d023000 r-xp 00000000 03:48 343666 /usr/X11R6/lib/libXcursor.so.1.0 4d023000-4d024000 rw-p 00007000 03:48 343666 /usr/X11R6/lib/libXcursor.so.1.0 4d024000-4d072000 r-xp 00000000 03:48 343690 /usr/X11R6/lib/libXt.so.6.0 4d072000-4d076000 rw-p 0004d000 03:48 343690 /usr/X11R6/lib/libXt.so.6.0 4d076000-4d083000 r-xp 00000000 03:48 343668 /usr/X11R6/lib/libXext.so.6.4 4d083000-4d084000 rw-p 0000c000 03:48 343668 /usr/X11R6/lib/libXext.so.6.4 4d084000-4d088000 r-xp 00000000 03:48 343692 /usr/X11R6/lib/libXtst.so.6.1 4d088000-4d089000 rw-p 00004000 03:48 343692 /usr/X11R6/lib/libXtst.so.6.1 4d089000-4d165000 r-xp 00000000 03:48 343658 /usr/X11R6/lib/libX11.so.6.2 4d165000-4d168000 rw-p 000db000 03:48 343658 /usr/X11R6/lib/libX11.so.6.2 4d168000-4d170000 r-xp 00000000 03:48 343656 /usr/X11R6/lib/libSM.so.6.0 4d170000-4d171000 rw-p 00007000 03:48 343656 /usr/X11R6/lib/libSM.so.6.0 4d171000-4d185000 r-xp 00000000 03:48 343652 /usr/X11R6/lib/libICE.so.6.3 4d185000-4d186000 rw-p 00013000 03:48 343652 /usr/X11R6/lib/libICE.so.6.3 4d188000-4d24e000 r-xp 00000000 03:48 117933 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libfontmanager.so 4d24e000-4d269000 rw-p 000c5000 03:48 117933 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libfontmanager.so 4d269000-4d29d000 r-xp 00000000 03:48 342259 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so 4d29d000-4d2a9000 rw-p 00033000 03:48 342259 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so 4d2b7000-4d2be000 r-xp 00000000 03:48 343688 /usr/X11R6/lib/libXrender.so.1.2 4d2be000-4d2bf000 rw-p 00006000 03:48 343688 /usr/X11R6/lib/libXrender.so.1.2 4d2bf000-4d2db000 r-xp 00000000 03:48 469822 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 4d2db000-4d2dd000 rw-p 0001c000 03:48 469822 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 4d2dd000-4d3e0000 r-xp 00000000 03:48 118591 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libGL4JavaJauGljJNI14.so 4d3e0000-4d3e4000 rw-p 00102000 03:48 118591 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libGL4JavaJauGljJNI14.so 4d3e7000-4d86b000 r-xp 00000000 03:48 344214 /usr/lib/libGLcore.so.1.0.4191 4d86b000-4d86f000 rw-p 00483000 03:48 344214 /usr/lib/libGLcore.so.1.0.4191 Local Time = Sat Apr 19 16:10:54 2003 Elapsed Time = 10 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid18111.log. # Please refer to the file for further information. # need help thx _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus |
From: SHL <shl...@ya...> - 2003-04-17 20:37:57
|
My application (using Java with gl4java) tends to run smoothly up to a point, but when I increase my polygon count by even a little bit above a certain threshold it all of a sudden becomes *unresponsive to input* and runs *really slow*. The weird thing is if I compile the most poly intensive object into a display list and call the display list everything is really smooth again. Supposedly display lists are supposed to be faster, but I do not think the display list *alone* caused that much of a sudden performance increase. The strange thing is that if I up the polygon by even a little bit above a certain threshold it *suddenly* becomes unresponsive and slow. I guess I could just use the display list, but I fear that there is some underlying problem that I have missed. What could be causing this and how do I fix it? Maybe it is a java/gl4java specific issue? __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |
From: Montana, P. M <pat...@lm...> - 2003-04-17 17:02:41
|
Philippe,=20 Here is some code that we use for tessellating polygons. I'm not 100% = sure we did it correctly, but it does seem to work OK. When I have more than = one GL4Java display in the same application, I'll sometimes get a native = error outside the JVM related to the tesselation callbacks. But I don't know = if I'm doing something wrong, or it is a library bug. (BTW, the 'Triplet' = class below is just a simple class we wrote to hold an x,y,z.)=20 -Mark=20 private void tesselatePolygon( GLFunc gl_, GLUFunc glu_ )=20 {=20 int size =3D pointList.size();=20 Triplet point =3D null;=20 double coords[] =3D new double[3];=20 long polyTess =3D createTesselator( gl_, glu_ );=20 glu_.gluTessBeginPolygon( polyTess, (double[]) null );=20 glu_.gluTessBeginContour( polyTess );=20 for( int ii=3D0; ii<size; ii++ )=20 {=20 point =3D (Triplet) pointList.get( ii );=20 coords[0] =3D point.getX();=20 coords[1] =3D point.getY();=20 coords[2] =3D 0.0;=20 double tmpData[] =3D new double[2];=20 tmpData[0] =3D coords[0];=20 tmpData[1] =3D coords[1];=20 glu_.gluTessVertex( polyTess, coords, tmpData );=20 }=20 glu_.gluTessEndContour( polyTess );=20 glu_.gluTessEndPolygon( polyTess );=20 glu_.gluDeleteTess( polyTess );=20 // Here is where we used to release memory used internally by = tesselator=20 // in Magician=20 }=20 =20 private long createTesselator( GLFunc gl_, GLUFunc glu_ )=20 {=20 long polyTess =3D glu_.gluNewTess();=20 glu_.gluTessCallback( polyTess, glu_.GLU_TESS_BEGIN, gl_,=20 "glBegin", "(I)V", 0, 0, 0, 0, 0 );=20 glu_.gluTessCallback( polyTess, glu_.GLU_TESS_VERTEX, gl_,=20 "glVertex2dv", "([D)V", 2, 0, 0, 0, 0 );=20 glu_.gluTessCallback( polyTess, glu_.GLU_TESS_END, gl_,=20 "glEnd", "()V", 0, 0, 0, 0, 0 );=20 glu_.gluTessCallback( polyTess, glu_.GLU_TESS_ERROR, this,=20 "error_callback", "(I)V", 0, 0, 0, 0, 0 );=20 glu_.gluTessCallback( polyTess, glu_.GLU_TESS_COMBINE, this,=20 "combine_callback", "([D[D[D[D)V", 2, 0, 0, 2, = 0 ); glu_.gluTessProperty( polyTess, GLUEnum.GLU_TESS_WINDING_RULE,=20 GLUEnum.GLU_TESS_WINDING_ODD );=20 return( polyTess );=20 }=20 =20 public void error_callback( int error )=20 {=20 System.err.println( "PolygonPrimitive2d.error_callback() - "=20 + "tesselation error was generated: " + error );=20 System.err.flush();=20 }=20 =20 public void combine_callback( double[] coords, double[] vertexData,=20 double[] weights, double[] data )=20 {=20 data[0] =3D coords[0];=20 data[1] =3D coords[1];=20 }=20 =20 =20 armand darman wrote:=20 hi,=20 I need to tessellate concav polygons with GL4java.=20 But GL4java functions (like gluTessCallBack for=20 instance)don't have the same parameters than OpenGL=20 ones.=20 Where could I find, or could you give me a whole=20 description of those functions in GL4java?=20 Thank you very much!!=20 from: Philippe, student.=20 =20 ___________________________________________________________=20 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran=E7ais !=20 Yahoo! Mail : http://fr.mail.yahoo.com <http://fr.mail.yahoo.com> =20 -------------------------------------------------------=20 This sf.net email is sponsored by:ThinkGeek=20 Welcome to geek heaven.=20 http://thinkgeek.com/sf <http://thinkgeek.com/sf> =20 _______________________________________________=20 gl4java-usergroup mailing list=20 gl4...@li...=20 https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup <https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup>=20 |
From: <phi...@ya...> - 2003-04-17 15:49:35
|
hi, I need to tessellate concav polygons with GL4java. But GL4java functions (like gluTessCallBack for instance)don't have the same parameters than OpenGL ones. Where could I find, or could you give me a whole description of those functions in GL4java? Thank you very much!! from: Philippe, student. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com |
From: Alex A. <a.a...@ol...> - 2003-04-17 15:30:38
|
Hi Agili Kais, I downloaded the Tennis app. I use the following line to start the code (jre instead of jdk) to make = it work fine. > c:\[path to my jdk]\jre\bin\java -cp . Game Note: I don't use any preset path. Setting Infos: I use to put GL4Java Java Libraries into the JDK directory structure=20 (I don't want to mess with Windows or other OSs): > c:\[path to my jdk]\jre\lib\ext\gl4java-glffonts.jar > c:\[path to my jdk]\jre\lib\ext\gl4java-glutfonts.jar > c:\[path to my jdk]\jre\lib\ext\gl4java.jar > c:\[path to my jdk]\jre\lib\ext\png.jar Note: the ext dir is the standard dir for jdk extensions library, it = seem more clean to put extra jars here...=20 and most of all: java finds them always. If you redistribute your software with embedded JRE you will find this = way very useful. And finally I use to put GL4Java OS related libraries (DLLs in this = case) into: > c:\[path to my jdk]\jre\bin\GL4JavaGljMSJDirect.dll > c:\[path to my jdk]\jre\bin\GL4JavaJauGljJNI.dll =20 > c:\[path to my jdk]\jre\bin\GL4JavaJauGljJNI12.dll=20 > c:\[path to my jdk]\jre\bin\GL4JavaJauGljJNI13.dll=20 > c:\[path to my jdk]\jre\bin\GL4JavaJauGljJNI14.dll=20 It works for all my projects in JDK1.3 & JDK1.4. Sorry 4 my english... I'm Italian, so I invite everyone to write in = english (or pseudo like me) into this newsletter. Alex Alessandra |
From: <agi...@ya...> - 2003-04-17 14:45:34
|
Salut,j'ai un problème de tourner un code java qui utilise le package gl4jva...le code est téléchargé de la site:http://www.ia.hiof.no/~borres/gb/draw-tennis/p-tennis.html en bas de la page : Jzip Alle filene. j'ai installé le package gl4java du site: http://www.jausoft.com/gl4java.html directement de l'internet...J'ai compilé le code, je n'ai pas trouvé d'erreur mais à l'éxécution je trouve l'erreur suivante: C:\jdk1.3\bin\java.exe Game Working Directory - D:\alt1\ Class Path - .;c:\Kawa3.5\kawaclasses.zip;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\rt.jar;D:\package\gl4java\gl4java.jar;D:\package\gl4java\gl4java-glffonts.jar;D:\package\gl4java\gl4java-glutfonts.jar;D:\package\gl4java\png.jar;C:\WINNT\system32;C:\Program Files\JavaSoft\JRE\1.3\lib java.lang.UnsatisfiedLinkError: gljFetchGLFunctions at gl4java.GLContext.gljFetchGLFunctions(Native Method) at gl4java.GLContext.doLoadNativeLibraries(GLContext.java:893) at gl4java.GLContext.loadNativeLibraries(GLContext.java:581) at gl4java.awt.GLCanvas.<clinit>(GLCanvas.java:177) at Tennis.<init>(Tennis.java:65) at Game.<init>(Game.java:60) at Game.main(Game.java:22) -J'ai donné le chemin des fichiers .dll qui se trouve sous WINNT\system32 dans l'environnement du système... -Je ne sait pas dans l'installation où je vais installer la java Native lib Path's -J'utilise un système d'exploitation Windows NT... -J'utilise le JDK1.3 Mais je n'ai pas pu tourner le code. Je suis vraiment bloqué dans mon projet de fin d'études...J'ai besoin de tourner ce code. Merci d'avance. Mohamed Kais AGILI étudiant en 3ème année génie informatique étudiant en DEA informatique l'Ecole Nationale d'Ingénieurs de Sfax (ENIS) la TUNISIE tél: (0216)74.45.24.83 --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail |
From: <lec...@ya...> - 2003-04-14 17:05:30
|
I see that everyone on earth who is using GL4Java encounters this error... ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com |
From: <aco...@mi...> - 2003-04-14 13:25:42
|
Hi, We were having the problem with OpenMind. I think this comes from the fact the GLContext is already managed by gl4java in class GLAnimCanvas and GLCanvas, and though GLContext management appears in almost every gl4java example, managing it results in this error, because you make a new call to these methods while they have just been called by -say- the GLAnimCanvas.display() method, and while the context hasn't been released yet, you are trying to make it current again. I don't have a very good understanding of glContext management and multithreading but this how I have solved this problem with OpenMind, after having tested various combinations of code : public void init(GLDrawable drawable) { glj.gljMakeCurrent(); =20 =20 // init code goes here =20 =20 glj.gljFree(); firstRun=3Dtrue; =20 } public void display(GLDrawable drawable) { if(firstRun){ glj.gljMakeCurrent(); firstRun=3Dfalse; } =09 // display code goes here =09 // notice there is no gljFree() here and gljMakeCurrent()=20 // is only called at the first run =20 =20 } public void cleanup() { // making context current prevents VM crash in nvogl.dll=20 // for Nvidia cards when calling glDeleteTextures glj.gljMakeCurrent();=20 // your cleanup code goes here glj.gljFree(); } public void reshape(int width, int height) { glj.gljMakeCurrent(); =09 // your reshape code goes here =20 glj.gljFree(); } This structure for the main loop fixes the gljDestroy failed (free) error message, and VM crash on cleanup when using NVidia cards. Regards, Alban -----Message d'origine----- De=A0: gl4...@li... [mailto:gl4...@li...] De la part de =D6berg Johan Envoy=E9=A0: lundi 14 avril 2003 14:21 =C0=A0: gl4...@li... Objet=A0: [gl4java-usergroup] gljDestroy failed (free) I get the error 'gljDestroy failed (free)' everytime I try to close my application. I've searched for this error on google but I haven't seen any good answer yet. What do I need to do to get it to work? My display function looks like this: public void display() { glj.gljMakeCurrent(); =20 ... ... ... glj.gljSwap(); glj.gljFree(); } I read in GL4Java's documentation that you should call gljfree before gljDestroy so I've overridden doCleanup like this: public void doCleanup() { glj.gljFree(true); super.doCleanup(); } But that didn't help. Hope someone can help me. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ gl4java-usergroup mailing list gl4...@li... https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |
From: <joh...@ae...> - 2003-04-14 12:21:30
|
I get the error 'gljDestroy failed (free)' everytime I try to close my = application. I've searched for this error on google but I haven't seen any good = answer yet. What do I need to do to get it to work? My display function looks like this: public void display() { glj.gljMakeCurrent(); =20 ... ... ... glj.gljSwap(); glj.gljFree(); } I read in GL4Java's documentation that you should call gljfree before = gljDestroy so I've overridden doCleanup like this: public void doCleanup() { glj.gljFree(true); super.doCleanup(); } But that didn't help. Hope someone can help me. |
From: Nicolas P. <NPI...@kl...> - 2003-04-11 08:58:17
|
Hi =20 You should ask your questions in english, if you want some good answer (newsgroup's masters speak english).. Ici tout le monde parle anglais, si tu veux des r=E9ponses tu devrais = =E9cris en anglais .. =20 For your error you should try with the JDK1.4 and check your version of gl4java. Pour ton erreur tu devrais essayer le jdk1.4 et la v=E9rifier la = version de gl4java. =20 =20 =20 -----Message d'origine----- De : agili kais [mailto:agi...@ya...] Envoy=E9 : vendredi 11 avril 2003 10:44 =C0 : gl4...@li... Objet : [gl4java-usergroup] demande d'aide Salut, je suis un =E9tudiant ing=E9nieur informatique de l'Ecole Nationale = d'Ing=E9nieurs de Sfax le TUNISIE. J'ai t=E9l=E9charg=E9 un code java qui se trouve = =E0 l'adresse http://www.ia.hiof.no/~borres/gb/draw-tennis/p-tennis.html <http://www.ia.hiof.no/~borres/gb/draw-tennis/p-tennis.html> en bas de = la page utilisant le package gl4java. J'ai install=E9 le package gl4java de l'adresse http://www.jausoft.com/gl4java.html = <http://www.jausoft.com/gl4java.html> . j'utilise jdk1.3 sur un OS windows NT. Pour la compilation je ne trouve aucun erreur mais pour l'ex=E9cution je trouve cet erreur: =20 C:\jdk1.3\bin\java.exe Game Working Directory - D:\alt1\ Class Path - .;c:\Kawa3.5\kawaclasses.zip;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\= rt.ja r;D:\package\gl4java;C:\WINNT\system32;D:\package\gl4java\gl4java.jar;D:= \pac kage\gl4java\gl4java-glutfonts.jar;D:\package\gl4java\png.jar;D:\package= \gl4 java\gl4java-glffonts.jar java.lang.UnsatisfiedLinkError: gljFetchGLFunctions at gl4java.GLContext.gljFetchGLFunctions(Native Method) at gl4java.GLContext.doLoadNativeLibraries(GLContext.java:893) at gl4java.GLContext.loadNativeLibraries(GLContext.java:581) at gl4java.awt.GLCanvas.<clinit>(GLCanvas.java:177) at Tennis.<init>(Tennis.java:65) at Game.<init>(Game.java:60) at Game.main(Game.java:22) Merci d'avance. _____ =20 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran=E7ais ! Testez le nouveau Yahoo! <http://fr.mail.yahoo.com> Mail |
From: <agi...@ya...> - 2003-04-11 08:44:12
|
Salut,je suis un étudiant ingénieur informatique de l'Ecole Nationale d'Ingénieurs de Sfax le TUNISIE. J'ai téléchargé un code java qui se trouve à l'adresse http://www.ia.hiof.no/~borres/gb/draw-tennis/p-tennis.html en bas de la page utilisant le package gl4java.J'ai installé le package gl4java de l'adresse http://www.jausoft.com/gl4java.html . j'utilise jdk1.3 sur un OS windows NT. Pour la compilation je ne trouve aucun erreur mais pour l'exécution je trouve cet erreur: C:\jdk1.3\bin\java.exe Game Working Directory - D:\alt1\ Class Path - .;c:\Kawa3.5\kawaclasses.zip;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\rt.jar;D:\package\gl4java;C:\WINNT\system32;D:\package\gl4java\gl4java.jar;D:\package\gl4java\gl4java-glutfonts.jar;D:\package\gl4java\png.jar;D:\package\gl4java\gl4java-glffonts.jar java.lang.UnsatisfiedLinkError: gljFetchGLFunctions at gl4java.GLContext.gljFetchGLFunctions(Native Method) at gl4java.GLContext.doLoadNativeLibraries(GLContext.java:893) at gl4java.GLContext.loadNativeLibraries(GLContext.java:581) at gl4java.awt.GLCanvas.<clinit>(GLCanvas.java:177) at Tennis.<init>(Tennis.java:65) at Game.<init>(Game.java:60) at Game.main(Game.java:22) Merci d'avance. --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail |
From: Antony R. <ri...@to...> - 2003-04-10 23:26:18
|
Having had no success all day, I decided to try and use something previously unknown to me - batch files. Batch files are quite scary - in terms of their simplicity and power. I came up with the following batch code that would run my sample java class passing various system properties using the syntax specified by Pepijn. ... and it seems to work on all my home computers!! I'll have to wait until tomorrow to test on works systems, but don't see there being a problem at all. A quick google search for "creating batch files" should provide you with an abundance of information on how batch classes work (which was my main problem). I found this site to be quite good: http://home.att.net/~gobruen/progs/dos_batch/dos_batch.html Find below my sample batch code (setting the "java.ext.dirs" property in this example): @echo on rem rem Determine if JAVA_HOME is set and if so then use it rem if not "%JAVA_HOME%"=="" goto found_java set RIBOTSIM_JAVACMD=java goto file_locate :found_java set RIBOTSIM_JAVACMD=%JAVA_HOME%\bin\java :file_locate rem %~dp0 is name of current script under NT set RIBOTSIM_HOME=%~dp0 rem : operator works similar to make : operator set RIBOTSIM_HOME=%RIBOTSIM_HOME:\bin\=% rem attempting to run the main java command, passing in system properties "%RIBOTSIM_JAVACMD%" -cp e:\ "-Djava.ext.dirs=%RIBOTSIM_HOME%\libs" GLTest %1 %2 %3 %4 %5 %6 %7 %8 %9 :end ribot ----- Original Message ----- From: "Pepijn Van Eeckhoudt" <pep...@lu...> To: <gl4...@li...> Sent: Thursday, April 10, 2003 11:58 PM Subject: Re: [gl4java-usergroup] Packing GL4Java with a program What do you mean by this registry key? As far as I know gl4java does not access the windows registry. What I meant by specifying the system property is this: java -Djava.library.path=<some path> YourApplication This setup works fine for me on every machine I've tested on. The only limitation is that you can't do this when you are running your application as an applet or via webstart. (Both are possible but require some more effort) Pepijn |