So I moved my code to a machine running Windows 2000 w/ a GeForce2 and the
latest drivers, jdk1.3, and j3d1.2.1Beta2 and I'm still getting the same
results. I've verified (through many printline statements) that the sensor
is being queried and is in fact giving updated data every time it's asked
for it. Could someone at Sun take a look at the code I posted earlier? I'm
pretty sure I have everything necessary, but I may have missed something
or done things in the wrong order. I just can't figure out what that might
be.

thanks in advance,
-Jean Laleuf
([EMAIL PROTECTED])

ps. I also tried it on another machine: Dell 5000e, win2k, latest ATI
drivers, jdk1.3, j3d1.2.1Beta1 and obtained the same results.

On Sat, 24 Feb 2001, Syrus Mesdaghi wrote:

>  Hello Jean,
> The problem you are describing sounds like a problem that we used to have
> when we where updating the camera using a behavior. I had done many tests on
> that problem and in our case; I was able to resolve the problem by updating
> the video drivers (I know it doesn't make whole lot of sense; but we had
> gone back and forth with the
>
> J3d team and put a lot of effort into resolving this problem). I should
> mention that we haven't come across this problem with the newer releases of
> j3d; therefore, there is a good chance that installing the latest version of
> j3d could solve your problem. In the cases that I tested, even through the
> camera's Transform (ViewPlatform's Transform) was being updated every frame,
> the update would not take effect unless the window was moved/ resized ... .
> This problem would only come up when the behavior thread would get
> "expensive enough". I had confirmed that the values in the Transform were
> getting update. In fact, I could see that the directional light attached
> under that transform was being updated, but the camera would not get affect
> by the new transform passed in.
>
>
> I hope this helps you in resolving your problem.
> Take Care,
> --------------------------------------------------------------------------
> Syrus Mesdaghi              Fullsail Real World Education
> 3D Gaming Instructor      Winter Park, FL
> [EMAIL PROTECTED]       www.fullsail.com
> --------------------------------------------------------------------------
>
> ----- Original Message -----
> From: "Jean Laleuf" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 23, 2001 8:55 PM
> Subject: [JAVA3D] Head Tracking problems in j3d1.2 (take 2)
>
>
> > So I'm a moron and forgot to attach the source files. ;) Sorry about that.
> > Here's a repost.
> >
> > > 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".
>

===========================================================================
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