hi Peter,

the up vectoe in lookAt() just describes the up direction of the viewer. If
your viewing direction is parallel to the xz pane the up vector is (0,1,0).
In general the up vector should be perpeticular to the viewing vector.

Gernot
[EMAIL PROTECTED]



                    Peter Lueders
                    <[EMAIL PROTECTED]        To:     
[EMAIL PROTECTED]
                    AMBURG.DE>                         cc:
                    Sent by: Discussion list           Subject:     Re: [JAVA3D] a 
little 'lookAt' question...
                    for Java 3D API
                    <[EMAIL PROTECTED]
                    OM>


                    18.01.00 14:44
                    Please respond to
                    Discussion list for Java 3D
                    API






hi,
thank you, i think Transform3D lookAt(p1,p2,v) should solve this problem.
but i
dont get along yet with this method. i've tried lots of values for the last
parameter (the frustums up-direction), but i dont get the right view (when
the
direction is right, the bottom of the world is upstairs, with other values
for
the last parameter even the direction changes, so i dont see point p2...)
is there a solution, or are simply my view-parameters a little confuse ?
peter

--
(((http://jzone.de)))

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