The applet below is a sample distributed along with Java implementation of the OpenGL specifications. The applet demonstrates a morphing technique -- a transformation of one shape into another. Long, long ago I created an avi movie that showed a cube morphing into a sphere. To do that I used linear interpolation along radial lines. No doubt the applet employs a more sophisticated technique built into Java3d, but what is it exactly I have not yet found out.
Copyright © 1996-2018 Alexander Bogomolny