lilian did some great research here.
i d like to motivate the discussion though whether this is the best way to do or not.
the problem with opengl in an applet so far was, that the native libraries (.dll, .jnilib, .so) could not be loaded by the opengl applets. to resolve this issue one could either install jogl into the java virtual machine by hand, choose the 'lilian' approach or another one which is basically outlined by the
'jsyn' plugin installer.
we put together a very basic/buggy implementation of the later approach as a more general application that can install any kind of library including 'jogl'.
the
joglextensioninstaller /
src installs the jogl version distributed with processing 95. we did this mainly to prove the concept.
i d really like to discuss openly now which approach is the better one, or which one you all feel more comfortable with.
the advantages of the 'lilian' approach is that it can keep several jogl versions and doesn t mess with an existing jogl installation.
the disadvantages are that the process of one applet loading another etc is rather complicated and that jogl is only available on that environment if the 'lilian' applet is used thus a standalone application on the same machine that can run an opengl applet, might not find the jogl libraries.
the advantages of the 'jsyn' approach are that the actual opengl applet doesn t need to be signed as proven in this little example
here and that the jogl libraries are installed for a whole virtual machine.
the disadvantage is that there can only exist one version of jogl.
my personal favorite is the 'jsyn' approach. install once and then don t bother again but i d like to hear your opinions.
BTW the reason that a processing applet needs to get signed to run opengl is processing specific not jogl specific, as proven in the example
above. this, of course, only works if jogl is installed properly.
cheers.