I want to model a sphere contracting and expanding. Is there an eay way to do this? I am just getting started with Java3D so I have very basic knowledge.
> I want to model a sphere contracting and expanding.
So in a nutshell: scaling.
Did you find the helloworld example in the SDK ? It shows a rotating
In a first step exchange the "RotationInterpolator" against a
"ScaleInterpolator" (javax.media.j3d.ScaleInterpolator). (the consturctor to
use is: ScaleInterpolator(Alpha alpha, TransformGroup target), so no big
Recompile, have a look. It should show a "contracting and expanding"
Now exchange the ColorCube against a Sphere
> Is there an eay way to do this?
It won't get much easier, except i write it for you ....
> I am just getting started with Java3D so I have very basic
> knowledge. ---
Don't worry, we all started that way. As long as you know a bit java,
everything fine. If you don't know java: learn the basics first....
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.