Hi Jean,
A bug 4422288 - View not updated for Head track environment
is filed for this. However this is too late to fixed in
v1.2.1 release.
There is a workaround by adding a dummy wakeupOnElaspedFrame(0)
behavior to force rendering every frame.
Thanks.
- Kelvin
--------------
Java 3D Team
Sun Microsystems Inc.
>>X-Unix-From: [EMAIL PROTECTED] Fri Feb 23 17:58:16 2001
>>MIME-Version: 1.0
>>Content-Transfer-Encoding: 7bit
>>X-Priority: 3 (Normal)
>>X-MSMail-Priority: Normal
>>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
>>Importance: Normal
>>Date: Fri, 23 Feb 2001 20:50:57 -0500
>>From: Jean Laleuf <[EMAIL PROTECTED]>
>>Subject: [JAVA3D] Head Tracking problems in j3d1.2
>>To: [EMAIL PROTECTED]
>>
>>I'm having a problem with headtracking in java3d. Something (either the
>>canvas or the userHeadToVworld transform or something else I'm missing) is
>>not being updated regularly and so the viewing frustum doesn't change as I
>>move my head around.
>>
>>I can force the update by moving my mouse in and out of the window border
>or
>>by moving another window over the java3d frame. Overloading the head
>>tracker's input device's pollAndProcessInput() method indicates that this
>>method is being called regularly. However, polling the View's
>>userHeadToVworld transform every 30ms indicates that this transform is
>*not*
>>being changed. It gets updated only when I force a refresh through the
>>window manager. So although there's a thread asking the InputDevice to
make
>>data available, that data never makes it to modify the userHeadToVworld
>>transform.
>>
>>I'm attaching my source code. It's rather simple. The scenegraph is a set
>of
>>27 ColorCube instances, arranged in a cube. The viewplatform is sitting at
>>the origin, and the head I think I've set the PhysicalEnvironment,
>>PhysicalBody, View, etc. up correctly, but obviously I'm missing
something.
>>Maybe things have to be set up in a specific order?
>>
>>I was also going through some old posts and found references to an
extended
>>SimpleUniverse class (ComplexUniverse, maybe?) which can configure more
>>complex setups (a headtracked environment, for instance) through a
>>properties file. Is there any more recent news on this? Will it be made
>>available at any point in the future?
>>
>>My system setup: a Sun Ultra10 w/ an Elite3Dm6 card, a pair of CrystalEyes
>>for the stereo, and some old Logitech 3d mouse-type ultrasonic trackers
for
>>the head tracking. (Many thanks to Eric Engstrom for the 3d mouse driver,
>>btw) I'm running Solaris 7, jdk1.3.0 and j3d1.2
>>
>>If anyone has any ideas, please let me know.
>>Thanks in advance,
>>-Jean Laleuf
>>([EMAIL PROTECTED])
>>
>>ps. I'd like to reiterate Blaine Bell's request for more details on the
>>various policies and settings of the View model. Appendix C of the j3d
spec
>>is ok, but leaves a lot out and is short on examples. Maybe someone who
>>understands it well could write something up and send it to Justin so it
>can
>>be added to the FAQ?
>>
>>==========================================================================
=
>>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".
>
>
------------- End Forwarded Message -------------
===========================================================================
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".