All,

[Sorry, this is a bit long.]

I've been writing some Locale/HiResCoord examples for my book on Java 3D and
noticed a strange problem with a scenegraph with multiple Locales. I create
a scenegraph with 3 HiResCoord systems (i.e. three Locales):

The first Locale is for our Galaxy and is centered at 0,0,0. A sphere for
the Sun is positioned at 0,0,0 and some spheres are created around it for
the planets. A RotationInterpolator is used to rotate the planets about the
Sun... Not exactly astrophysics I know!

The second Locale is for the Earth. I create and position the Locale and
create a Sphere for the Earth. Again I use a RotationInterpolator to rotate
the earth about its axis.

The third Locale is for a "house" on the Earth. I create a static ColorCube
a few metres high. Note that there is *NO* RotationInterpolator in this
Locale.

A button is created for each Locale, and on an ActionEvent I attach the
ViewPlatform for the Locale to the View object. Everything works great, the
view updates, and I am feeling very proud of myself... except as soon as I
switch to the "house" Locale the RotationInterpolator in the Earth Locale
stops working. The RotationInterpolator in the Galaxy keeps working however.

Any ideas anyone...?

Sincerely,

Daniel Selman

Email: [EMAIL PROTECTED]
Web: http://www.tornadolas.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to