Charles,
I am getting one of these every 1/2 hour. Please check your mail to be
sure that this isn't automatically being sent.
Thanks,
Dave Hopkins
Charles Hulcher <[EMAIL PROTECTED]>@java.sun.com> on 05/06/2000
10:30:20 PM
Please respond to Discussion list for Java 3D API
<[EMAIL PROTECTED]>
Sent by: Discussion list for Java 3D API <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: [JAVA3D] Fwd: OrientedShape3D bug - Defeats View KeyboardBehavior
for View
>Date: Sat, 06 May 2000 22:23:08 -0400
>To: [EMAIL PROTECTED]
>From: Charles Hulcher <[EMAIL PROTECTED]>
>Subject: OrientedShape3D bug - Defeats View KeyboardBehavior for View
>
>Bug Guys,
>
>Attached are class files for BillBoard3d, where I am investigating the
>behavior of Billboard. I bootlegged code from TexturedPlaneApp, and tied
>in a Billboard, and was able to manipulate the TexturedPlane with
>MouseBehavior and the the View with the KeyboardBehavior, while getting
>the expected Billboard behavior for the TexturedPlane.
>
>Browsing thru, I noticed the class OrientedShape3D, which seemed to be the
>new and improved Billboard, able to support multiple views, and simpler to
>program to boot. . I modified TexturedPlane so it was based on the
>OrientedShape3D, and pulled the Billboard code.
>
>The problem is that now although the MouseBehavior that manipulates the
>TexturedPlane works while maintaining the expected OrientedShape3D
>behavior, the KeyboardBehavior that allows moving the View is defeated,
>i.e., the keyboard has no effect on the View. If I base the TexturedPlane
>back on a simple Shape3D, the Keyboard Behavior comes back, but of course
>I lose the desired OrientedShape3D behavior.
>
>Attached are the three java files, with BillBoard3d the main class. I may
>be missing something simple, but if I am, it certainly isn't obvious.
>
>Thanks,
>Charles Hulcher
>[EMAIL PROTECTED]
(See attached file: TexturedPlane.java)
(See attached file: earth.jpg)
(See attached file: NewTextureLoader.java)
(See attached file: Billboard3d.java)
TexturedPlane.java
JPEG File Interchange
NewTextureLoader.java
Billboard3d.java