From: Sven G. <sgo...@ja...> - 2001-02-13 06:09:04
Attachments:
CHANGES.txt
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A test release is done ! The new revision may be incompatible with the previous, because: - The GLUFunc.gluNew* etc. methods uses the long type for the reference holder for quadric, tesselation, .. (old: int type) ! This is, because this new revision is completly 64bit clean ! All native reference holders are long ! - You do not encapsulate your OpenGL calls within GLContext.gljMakeCurrent <your render code> GLContext.gljFree e.g. within the GLCanvas.display method: glj.gljMakeCurrent(); // lock GL Context gl.glBegin(); gl.glEnd(); glj.gljSwap(); glj.gljFree(); // release GL Context All the demo's have been updated in the new test release, to work with 2.5.2.0 ! This new Version try's to use JDK >=1.3's JAWT API to handle with the native window ! The new library, which uses this is called "GL4JavaJauGljJNI13" ! I do have problems with IBM's JDK 1.3: No library "jawt" (linux: libjawt.so, win32: jawt.dll) exists at all ! I do have problems with Sun's JDK 1.3 for Windows: No library "jawt" (linux: libjawt.so, win32: jawt.dll) is NOT found ! They do exist in jre/bin. Workaround: Add <java-home-dir>/jre/bin to your PATH environment variable ! Well, this version improves the multithreading behavior a lot. I have attached the last CHANGES.txt changes ;-) here ! Thoughts & Ideas are wellcome ! Last but not least: You can get the test release here: binary-packages: http://www.jausoft.com/Files/Java/1.1.X/GL4Java/binpkg sources, doc's, demo's: http://www.jausoft.com/Files/Java/1.1.X/GL4Java/archive The CVS repository is commited and tagged: rev-2-5-2-0-test1 Yours, sven - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6iM90HdOA30NoFAARApPWAKCuZlUklyFlxY4DJzO8wtpiiqj4hgCgizvV hq8htuSHTGJHFYfk4rQ4awE= =+QDi -----END PGP SIGNATURE----- |
From: Felipe G. de C. <ka...@in...> - 2001-02-13 12:43:31
|
What is necessary to calculate the FPS of an application in Java, using GL4Java ? Thanks |
From: Sven G. <sgo...@ja...> - 2001-02-14 10:12:42
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 13 February 2001 12:42, you wrote: > What is necessary to calculate the FPS of an application in Java, using > GL4Java ? > > > Thanks > > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > http://lists.sourceforge.net/lists/listinfo/gl4java-usergroup just look at the implementation of GLAnimCanvas + GLCanvas ! thats all: (t1-t0(/frames := fps, where frames are the number of frames rendered within period [t0..t1] ;-) sven - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6iln/HdOA30NoFAARAqfgAJwMIp4vRiCRTYpgnR7EFzjU1WCNXwCcD9gi dKAQQdaX972O2QSPaGHKw2c= =8iD6 -----END PGP SIGNATURE----- |
From: Felipe G. de C. <ka...@in...> - 2001-02-14 13:19:03
|
How can I get the 6 clipping planes of the viewing frustum, or the 8 coordinates of the frustum in world coordinates, using the 4 parameters of the function gl.gluPerspective(fov,aspect,zNear,zFar) ? Thanks!!!! |
From: Sven G. <sgo...@ja...> - 2001-02-14 08:35:52
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A new bugfixed test release is done ! This one is well testable ! Please do so, to make it more stable ! you can get it from: binary-packages: http://www.jausoft.com/Files/Java/1.1.X/GL4Java/binpkg sources, doc's, demo's: http://www.jausoft.com/Files/Java/1.1.X/GL4Java/archive The CVS repository is commited and tagged: rev-2-5-2-0-test2 Experience: ========== Linux 2.4.1, XFree86 4.0.2, kde 2.1 beta2: Command-Line JDK (1.1-1.3, sun, blackdown, ibm(no jawt)): OK ! Indirect DRI (Mesa-Soft 3.3): OK NVidia 0.96: OK See NVidia notes below ! Netscape + Netscape JVM: ERROR ! does not work, because Netscape's JVM implementation on linux looks like not to handle long-types within the JNI API .. ?! Netscape + j2re-1_3_0_01: OK ! Indirect DRI (Mesa-Soft 3.3): OK NVidia 0.96: OK See NVidia notes below ! Konqueror (2.1 beta2): jdk 1.3-sun: ERROR Applet runs, but nothing is visible ! jdk 1.3-ibm (no jawt): OK ! jdk 1.3-blackdown: OK ! Indirect DRI (Mesa-Soft 3.3): OK NVidia 0.96: OK See NVidia notes below ! Win98/WinNT4.0(*): Command-Line JDK (1.1-1.3, sun): OK ! Well, you have to start the java.exe from the <jdk-path>/jre/bin/java.exe Otherwise, the jawt.dll is not found !! BUG in JDK !! IExplorer + MS-JVM buil 3802: OK ! JDirect usage .. JRE 1.3* Plugin + ( IExplorer | Netscape ) OK ! Netscape + Netscape JVM OK ! (*) WinNT 4.0: On my system (servicepack6, nvidia detonator3), i cannot restart the applet ! An read access to adress 0x000000 occures right from NVidia's OGL implementation !! Looks like another bug within NVidia ? See NVidia notes below ! Well, Win98 runs fine NVidia Driver Note's: ================ The Linux 0.96 driver, and may be the winnt4.0 drivers, looks like not being able to handle THREAD's very well ! Example: JVM Process 1: JVM Process 1 - Thread 1: >MakeCurrent() >Free() This Produces many .X.err logs regarding to new created drawables for same thread !(?) If you use the same JVM process, and you start many applets -> native threads, the GL context managment looks like very confused. On Linux the GL rendering went slower and slower ! But a restarted JVM is fast as its first time ! Yes - GL4Java does destroy the glcontext and finalizes well ! comments, ideas are very wellcome ! kind regards, sven - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6ikNcHdOA30NoFAARAhoZAKCEkjmEb8oYuVsMMRXezBOhU/vP9gCgh+Lx JkwKrgR7WwChh8BrulCwANA= =B3cQ -----END PGP SIGNATURE----- |
From: Sven G. <sgo...@ja...> - 2001-02-14 12:07:19
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well, I forgot to say: I have two little shell scripts to help porting your app's to rel-2-5-2-0, which checks: If your MakeCurrent/Free calls are tied: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/GL4Java/GL4Java/demos/GL4JavaCheckMakeCurrentFree.sh?cvsroot=gl4java - so you have to: - encapsulate all your gl* action within MakeCurrent/Free - add gljFree or MakeCurrent right If you use gluNew* calls http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/GL4Java/GL4Java/demos/GL4JavaCheckGluNew.sh?cvsroot=gl4java - so you have to change your l-value to type "long" ! these are integrated in the demos directory .. of yourse, these are korn shell scripts ;-) yours, sven .sourceforge.net/lists/listinfo/gl4java-usergroup - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6inTmHdOA30NoFAARAt+NAJ9IAMWBFAIF59kN75GqT7SEVL1HKwCfbeTE Ld2BoyPXZIHsB9Osii0qjVQ= =ov2w -----END PGP SIGNATURE----- |