Re: disable depth
Posted by
stuntman on
Mar 09, 2012; 2:46am
URL: https://forum.jogamp.org/disable-depth-tp3797369p3811562.html
Hi all!
I solved this problem, I've gotten a much better understanding of how it works now :-)
So the next step I wanted to take was to show it on the web. For this I used guide as described on the wiki (
http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet ) I compiled all my classes, created a jar file, uploaded it to the webserver. Then I modified the OneTriangleApplet.html, so basically replaced all onetriangle words to match my own, then I did the same for OneTriangleApplet.jnlp.
Now when I go to the website it runs fine for me on my macbook. However, at other pc's there seem to be some problems. Two examples, at my desktop pc which runs ubuntu, it says applet loaded but the console shows the error:
stuntman wrote
nativePrefix = nativeSuffix = .dll
java.security.AccessControlException: access denied (java.util.PropertyPermission java.io.tmpdir read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at org.jdesktop.applet.util.JNLPAppletLauncher.initTmpRoot(JNLPAppletLauncher.java:1000)
at org.jdesktop.applet.util.JNLPAppletLauncher.<clinit>(JNLPAppletLauncher.java:2110)
at ...
Another problem that somebody else has is a bit odd, it does load the applet and shows text that is created using
gl.glRasterPos3f(x, y, z);
glut.glutBitmapString(GLUT.BITMAP_HELVETICA_12, s);
but it does not show the cube itself.
I appreciate any help!