Bug 166 : get jogl / opengl working with applets
Last modified: 2006-04-14 04:56




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-10-07 20:27
probably possible to make a jsyn-like installer that will allow opengl to
be used with exported applets, unlike the current situation where jogl
stuff doesn't work at all.

this site has example jogl applets that work so long as the user has jogl
installed locally:
http://www.stud.ntnu.no/~johanno/appletviewer.jsp?task=tutorials
Additional Comment #1 From FloHimself 2005-12-18 12:22
Deploying Java Extensions in Java Plug-in:
http://java.sun.com/products/plugin/1.3/docs/extensions.html
Additional Comment #2 From fry 2006-03-28 13:31
we're several steps closer as of the newer releases (0110 and later).
people can take their exported jar file and set up the JoglAppletLauncher
by hand, as demonstrated here:
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1143200497
(the fix for the endian issue is in release 0111)
Additional Comment #3 From fry 2006-03-28 13:34
at this point, remaining issues are

1) breaking out the jar files so that they're not all munged together, ala
bug #62. this will prevent the extra garbage from needing to be pulled out.
this is half-implemented since export to app does it, but there are some
quirks that need to be dealt with.

2) writing alternate html export code when it's an opengl applet. this one
is a little nastier. as with all things in p5, i'd like to make sure that
this is done without the user having to assign a setting or tweak some
function or use a separate "gl exporter" tool (uh.. why is export opengl
under the tools menu?) but there aren't many good ways to sense when a gl
applet is being exported (could use the import statement, or the size()
command, but also need to strip comments, etc etc)
Additional Comment #4 From fry 2006-04-13 20:35
Additional Comment #5 From fry 2006-04-14 04:56
all set for revision 0113.