>Date:         Wed, 15 Sep 1999 13:19:09 +0800
>From: Justin Couch <[EMAIL PROTECTED]>
>
>Kevin Rushforth wrote:
>
>> Using RELATIVE_TO_SCREEN should do what you want.  Btw, we have
>> considered adding a variant of RELATIVE_TO_WINDOW that isn't centered
>> in X and Y--similar to RELATIVE_TO_SCREEN, but with the manual X and Y
>> eye position being relative to the lower left corner of the window
>> rather than the screen.
>
>OK, bitch time :) Why is it that Java3D always seems to want to do
>things differently to every other Java API? This is a good example of
>it. Why would you consider doing it relative to the bottom left corner
>and not the top left corner like every other Java rendering API?

Because we're not talking about 2D pixel coordinates.  The values in
question are floating-point values specified in a right-handed 3D
coordinate system (image-plate coordinates) with the origin at the
lower left corner and Y increasing up, X increasing to the right, and Z
increasing out of the screen.  Whenever Java 3D specifies anything in
pixel space, we always use the AWT convention of Y-down.

>Frankly, I don't care if having something in the bottom left of the
>corner is there because it is simpler for the implementers to deal with.

It's not easier to deal with in the implementation (it doesn't matter,
one way or the other).  It is more self-consistent.  There may well be
areas for which consistency wasn't achieved, but this isn't one of
them.

--
Kevin Rushforth
Java 3D Team
Sun Microsystems

[EMAIL PROTECTED]

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