No, unfortunately no suggestions for Java3D.
However, many parts of Java3D have found their way into Java8's FX API. Then the neccessary OpenGL/-ES native libraries come with the Java 8 JRE and you can run your 3D programms on any Java8 VM without needing external native libraries. Also on our Pi (at least as long as we use Raspbian's current Java8
, or bundle our application with JRE <= 1.8.0_06 ).
To see if Java8's 3D API is suitable for you, you could examine the official JDK8 samples (but for Linux or so, since for the ARM JDK8 they cut-down all the FX samples). And then import some Obj or Maja models, per:
Code: Select all
java -Dcom.sun.javafx.experimental.embedded.3d=true -jar 3DViewer.jar Monkey.obj
Code: Select all
The following samples are included in the zip file.
A gallery of sample applications that demonstrate a large variety of JavaFX
features, including animation, charts, and controls. For each sample, you
can do the following on ALL platforms:
- View and interact with the running sample.
- Read its description.
You can do the following for each sample on desktop platforms only:
- Copy its source code.
- For several samples, you can adjust the properties of the sample components.
- If you are connected to the internet, you can also follow links to the
relevant API documentation.
Ensemble8 also runs with JavaFX for ARM.
A sample application that demonstrates advantages of parallel execution done
using Java Parallel API. The application renders an image using Mandelbrot set
algorithm and provides intuitive navigation within the range of input parameters.
More information is available in index.html file inside the MandelbrotSet folder.
A sample application that demonstrates the look and feel of UI components using
the Modena theme. It gives you the option to contrast Modena and Caspian themes,
and explore various aspects of these themes.
3DViewer is a sample application that allows the user to navigate and examine a
3D scene with a mouse or a trackpad. 3DViewer has importers for a subset of the
features in OBJ and Maya files. The ability to import animation is also
provided for Maya files. (Note that in the case of Maya files, construction
history should be deleted on all the objects when saving as a Maya file.)
3DViewer also has the ability to export the contents of the scene as Java or