archieco
YaBB Newbies
Offline
Posts: 13
Shiga, Japan
Re: cannot run web applet with opengl
Reply #6 - Jan 27th , 2010, 5:18am
Many thanks, gll. 1. Since it can work locally, this problem is only on the web. 2. Since other libraries such as PeasyCam, physics and quickhull3d can work ( you can see at architecturalecologies[dot]web[dot]fc2[dot]com[slash]processing[slash]gravitropic_architecture[slash]gravitropic_architecture[dot]html), it would be a bit weird if only opengl are not allowed... And, yes, all of the files exported from processing have been loaded without any omissions in this case. 3. What do you mean by "edit the HTML"? Usually, I just used the default html file by exporting command of processing... While you could see it by seeing the page's source code, it is like this: <!--[if !IE]> --> <object classid="java:com.sun.opengl.util.JOGLAppletLauncher.class" type="application/x-java-applet" archive="test_opengl_web.jar,opengl.jar,jogl.jar,gluegen-rt.jar,core.jar" width="300" height="300" standby="Loading Processing software..." > <param name="archive" value="test_opengl_web.jar,opengl.jar,jogl.jar,gluegen-rt.jar,core.jar" /> <param name="mayscript" value="true" /> <param name="scriptable" value="true" /> <param name="image" value="loading.gif" /> <param name="boxmessage" value="Loading Processing software..." /> <param name="boxbgcolor" value="#FFFFFF" /> <param name="progressbar" value="true" /> <param name="subapplet.classname" value="test_opengl_web" /> <param name="subapplet.displayname" value="test_opengl_web" /> <param name="test_string" value="outer" /> <!--<![endif]--> Should I change somewhere to make it work? 4. I didn't try zipping to one file. Do you mean zipping all the .jar file to one zip file other than .html and .pde? Is it a magic procedure?(sorry, probably this is a silly question...) Yes, I should try doing on other servers. I'm now looking for... Many thanks!