I don't know the technical answer regarding how the background geometry is
implemented, but I have noticed that you need to make sure all your
geoemetry is scaled to fit inside the coordinates (-1,-1,-1) -> (1,1,1).
Anything drawn outside that range does not seem to show up. I assume they
wipe the zbuffer clean after they render the background geometry, so
forcing things to the unit sphere might have the effect of producing greator
precision in the clip settings.
This weekend we are working on replacing our current sky with an accurate
sun, moon, stars, clouds, horizon, etc; so I will know a little more about
this in a couple of days as I fiddle with it.
Dave Yazel
----- Original Message -----
From: Z H <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 29, 2001 10:14 PM
Subject: [JAVA3D] background image and geometry
Hi ,
I know that an object is placed on the orign in the
coordinates by default. but if I want to place a
background image(2D) on the screen,
1>where will it be put in the coordinates by default?
2>can i move the background image in the coordinates?
for example, I move it to the plane of (0,0, -20).
another question, I read the sun's "Getting Started
with Java3D API",it mentioned : the onlt tricky part
is in the specification of a geomtric background. All
background geometry is specified as points on a unit
sphere."
what does that mean? what is the unit sphere here?
thanks in advance.
Richard.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
===========================================================================
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".