From: Kenneth B. R. <kbr...@al...> - 2001-02-08 08:52:27
|
> experiences with: > > XFree86 4.0.2, GL4Java 2.5.0, KDE2.1b2 + konqueror 2.1b2 and > - jdk1.2-sun: no display .. > - jdk1.3-sun: no display .. > > - jdk1.3-IBM: runs well > ================== I've been running GL4Java on top of Sun's JDK 1.3 on Windows 2000 successfully with an NVidia GeForce. I had some problems porting some code to GL4Java. Specifically, in order to get animation working at all and with good performance, it was necessary to subclass GLAnimCanvas and use the following settings: setUseRepaint(true); setUseFpsSleep(false); setSuspended(false); I found that calling sDisplay() in my main thread reliably crashed the machine (apparently doing something relating to multithreaded access to the OpenGL context the GeForce didn't like). I should note that I played a little bit with the non-free Magician binding and believe that there are some unresolved issues with GL4Java's interaction with the window system. Specifically, a friend and I did an experimental project in which we shoehorned some of GL4Java's sources into the Magician APIs. Unfortunately, it wasn't stable (crashed frequently on his machine), likely due to my inexperience with the multithreading issues in interacting properly with the AWT. However, performance of this system appeared to be significantly better than my first attempts with GL4Java, probably because we were able to avoid the repaint() mechanism and associated thread synchronization. I'm planning on doing some more work on this over the next few weekends -- if anybody has experiences to share or would like to collaborate please send mail. -Ken _____________________________________________________________________________ Kenneth B. Russell (kbr...@al...) http://www.media.mit.edu/~kbrussel |