I have used Jogl and gluegen before, but several years ago to bind native IO devices into a java UI system.
We are currently using the Azui Zulu VM and want to stay open.
I remember from before on windows I had to build gluegen to generate C++ code for jogl and generate bindings to Java for a C++ side library. I would be using CLang or Xcode for the native side.
So though I am not a complete Newbee do want to avoid wading through to much uniformed stuff and if getting Java3D into java and an associated jar file for a java application project to run with. If that can be done, am looking for a good concise doc on how to do it :)
The project I am using this for is intended to be fully open source.
If I am better off on another topic let me know :)
Open a terminal in your home folder, e.g. /Users/jogamp
The OpenJDK library folder of each target platform, x86_64 or aarch64, is /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/lib
Transfer the x86_64 OpenJDK library folder to temurin-17.jdk.amd64.lib
Transfer the aarch64 OpenJDK library folder to temurin-17.jdk.arm64.lib
Run the script gluegen/make/scripts/make.macosx.jdk_lipo_libs.sh
Fat universal OpenJDK libraries are produced into temurin-17.jdk.fat.lib
Now we have to tell the gluegen build framework to use temurin-17.jdk.fat.lib, by adding an ant macro in $HOME/gluegen.properties
Some number if "implicit" things I wonder about.
I would like to build it using the zulu JDK - is this NOT possible ?
Does one need to install the temurin system ? Or is there a way to p[ur it in a sandbox?
If one needs it any particualr version ? any link to the proper distributiion way to find it or put download into a scipt ?
How does one continue from there to get it so one can integrate Jogl and/or Java3d int a Java app on an apple M1/M2 with latest OS.
I will help debug and write such a document if someone who knows about it wants to share the task. :) :)