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



Assigned To:

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:
Additional Comment #1 From FloHimself 2005-12-18 12:22
Deploying Java Extensions in Java Plug-in:
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:
(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.