Hi all,
as I've posted a few days ago, I've written a Viewer class consisting of 1
JFrame which itself contains a Canvas3D, 1 View and 1 ViewPlatform. The
viewer can be moved around the scene in the xz - plane using a
mouseBehavior. Actually I have added 2 viewers to the Locale. When you click
onto the viewers frame it gets active and you can move around. A HeadLight
object derived from BranchGroup and consisting of a DirectionalLight will be
added to the active viewer (the active JFrame on the screen) and detached
from the deactivated.
The scene consists only of a background and a billboard showing a 3D text
"Billboard".
What you would assume is rendering should be applied to all views in that
way showing the billboard always perpenticular to the according viewing
direction. But it's different. First, the billboard is only perpenticular to
the viewing direction of that view whose frame is set visible first. In the
frame of the second view you can see the billboard turning around. That
shouldn't be I think.
For those interrested in some testing of that I have attached the source
code as a zip file. (sorry it got quite big cause I don't use the com.sun
classes).
<<TestCase3.zip>>
Is it a bug and / or does someone has a hint ?
thanks
Gernot Veith
[EMAIL PROTECTED]
http://www.janet.de
Gernot Veith
[EMAIL PROTECTED]
http://www.janet.de
TestCase3.zip