For the second approach, you need to compute and set also the front/back
clipping distance.

Cheers,

Florin

-----Urspr�ngliche Nachricht-----
Von: Zhijie Song [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 26. Februar 2003 06:12
An: [EMAIL PROTECTED]
Betreff: Re: [JAVA3D] Problem in display large-size Model


Hi All,

I tried two ways to display a big object, say radius of BoundingSphere is
500
(M) :
1) Scale the object(works fine )
2) Pull the eye back using the equation
double eyeDist = 1.4 * radius / Math.tan( Math.toRadians( 40 ) / 2.0 ).

With the second way, I got a strange problem, which is there are black spots
on
the rendered model.  The model is supposed to be rendered in one color. When
the eye point move enough close to the object, the black spots disappear. Is
it
a light problem? I set the bounds of light to be Double.MAX_VALUE.

Could anyone tell me why?

Thanks in advance.

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