hi guys,I am unable to understand something. I divided the GLCanvas in to viewports (3X3 = 9) 3 rows and 3 colums. I draw the an icosohedron in each of these viewports and try to rotate them. I am able to rotate all the icosohedron but they rotate differently. I want all of them to rotate in the same fashion. the code for my application is as follows.

hi guys,I am unable to understand something. I divided the GLCanvas in to viewports (3X3 = 9) 3 rows and 3 colums. I draw the an icosohedron in each of these viewports and try to rotate them. I am able to rotate all the icosohedron but they rotate differently. I want all of them to rotate in the same fashion. the code for my application is as follows.

hi guys, i ma new to jogl and having a small problem in rotating the object using multmatrix. Can anybody give me a small example or forward to a tutorial that will explain in detail abuout how to rotate an object using multmatrix. thanks,ravi.

I am able to run jogl with java web start on a windows xp machine. I am dowloading the libraries and jogl.jar on to the client machine and the application runs fine. Will it work the same for windows 2000 and for all the other versions of windows os.

There should be no problems. I don't know about Windows NT 4 and Windows 95 but JOGL works fine on Windows 2000.

thanks a lot guys. I got it. I would like to know one more thing. I am able to run jogl with java web start on a windows xp machine. I am dowloading the libraries and jogl.jar on to the client machine and the application runs fine. Will it work the same for windows 2000 and for all the other versions of windows os. All the machines we are using have XP. I just want to know if any body had any problems with other windows os.thanks,ravi.

I downloaded the latest version of jogl and having some problems with it. what does the argument params_offset in method gl.gllightfv mean. It was not present in the previous version. Moreover what is a float buffer and when am i suppose to use it. I would appreciate if somebody can explain me or give me a link(not javadoc) that in detail would explain what the new version classes and methods mean. I already have the javadoc. I want some description along with it.public void glLightfv(int light, int pname, float[] params, int params_offset)

thanks,ravi

Sorry but the overview javadoc is the documentation describing the mapping between the C APIs and the Java APIs and how something like a C float* maps to a Java FloatBuffer and (float[], intI pair.

DzzD is right, the offset argument indexes into the float[] array. If you aren't doing anything fancy then passing 0 is the right thing to do.

I downloaded the latest version of jogl and having some problems with it. what does the argument params_offset in method gl.gllightfv mean. It was not present in the previous version. Moreover what is a float buffer and when am i suppose to use it. I would appreciate if somebody can explain me or give me a link(not javadoc) that in detail would explain what the new version classes and methods mean. I already have the javadoc. I want some description along with it.public void glLightfv(int light, int pname, float[] params, int params_offset)

GOt it finally. But this is something strange. When i try to launch the application through the link or url of jnlp in the browser its accessing the dll's and working fine. However if i launch the jnlp file by clicking it, its searching for the dlls in the default classpath and giving the exception as mentioned above. Anyways thanks a lot for helping. Appreciated.

java.lang.UnsatisfiedLinkError: no jogl in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:66) at java.security.AccessController.doPrivileged(Native Method) at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:64) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.<clinit>(WindowsGLDrawableFactory.java:59) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:113) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:82) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:75) at jex.Main.<init>(Main.java:55) at jex.Main.main(Main.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)#### Java Web Start Error:#### null

I tried it by removing the jogl.dll,jogl_awt.dll, jogl_cg.dll from the usual classpath(jre/bin) so that it will access the dlls that are downloaded. Its not doing that and searching for the dlls in the java bin. Is there a place in the application where we specify the classpath. Like in the manifest file or .java or jnlp. I am missing something?thanks,ravi.

i got the problem solved. I was actually creating a directory with all the dll's and adding the directory to the jarfile rather than adding the dll's directly to the jarfile. When i tried adding the dll's directly to the jar file its working fine. All the jarfiles are getting unpacked as they should be. I will test whether they are being accessed or not and inform you.

java.lang.UnsatisfiedLinkError: no jogl in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:66) at java.security.AccessController.doPrivileged(Native Method) at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:64) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.<clinit>(WindowsGLDrawableFactory.java:59) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:113) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:82) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:75) at jex.Main.<init>(Main.java:55) at jex.Main.main(Main.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)#### Java Web Start Error:#### null

I tried it by removing the jogl.dll,jogl_awt.dll, jogl_cg.dll from the usual classpath(jre/bin) so that it will access the dlls that are downloaded. Its not doing that and searching for the dlls in the java bin. Is there a place in the application where we specify the classpath. Like in the manifest file or .java or jnlp. I am missing something?thanks,ravi.

i got the problem solved. I was actually creating a directory with all the dll's and adding the directory to the jarfile rather than adding the dll's directly to the jarfile. When i tried adding the dll's directly to the jar file its working fine. All the jarfiles are getting unpacked as they should be. I will test whether they are being accessed or not and inform you.

i got the problem solved. I was actually creating a directory with all the dll's and adding the directory to the jarfile rather than adding the dll's directly to the jarfile. When i tried adding the dll's directly to the jar file its working fine. All the jarfiles are getting unpacked as they should be. I will test whether they are being accessed or not and inform you.

thanks for the reply. I found something strange. I am able to download all the libraries to the client machine. In the client machine all the dll's are fine within the jar file. these libraries were getting unpacked automatically. How ever the unpacked directory with the same name as the jar file dosent conatin anything(jogl.dll...etc are not found). What am i doing wrong. Is it something to do with the signing of the jar file?

Thanks cylab, For your immediate reply. I am trying to use jogl with java web start. Hence i need to load libraries. Its working fine without the system.loadlibrary for my system, but i need to deploy the jogl application on the client machine. I downloaded the latest jogl releases. All i need to is access the these libaries on the client machine. I am able to download them to the client machine. I know it can be done as the jogl examples demos work in the same fashion. Do you have a clue how to access jogl.dll, jogl_awt.dll and jogl_cg.dll on the client machine? Forget about th client machine, i am not able to load them on my machine. your help will be appreciated.

Skip the System.loadLibrary alltogether and make sure, the dll's are either in your working dir (e.g. in the same folder where your start your program), or set your java.library.path to the directory with your jogl-dlls by appending the following to your java call:

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org