Hi all,
I’m new in this forum and to JOGL programming (but I have experience working with the OpenGL API in other languages). I’m currently working on a standalone application which use the NetBeans Platform. The current graphic engine uses JOGL 1.1 and the fixed pipeline for rendering and I have the job to rewrite it to use the new features available in the last OpenGL versions. Unfortunately, I’m unable to get JOGL 2 working.
I have created a wrapper module for the libraries “gluegen-rt.jar jogl.all.jar nativewindow.all.jar newt.all.jar”. I have then make public the packages I need. It works and the other modules are able to see the JOGL classes. The problem is that I’m not able to load the correct native libraries. There is no problem if I choose a platform and insert the libraries directly in the modules/lib folder, but I don’t know how to change the native library location at runtime based on the current platform.
Thank you for your help.