You must modify the front clipping plane of the view platform.

(See view's documentation)
-----Mensaje original-----
De: Daniel Moscoso <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: mi�rcoles 30 de mayo de 2001 23:52
Asunto: [JAVA3D] Zooming an object moving the ViewPlatform towards it.


>Hi all !!
>
>I' m implementing an applet that is able to zoom an object (ex. pushing a
pushbutton) moving the ViewPlatform towards it. This makes the object appear
nearer the observer. I do this changing the transform vector of the
ViewPlatform (the default one for the SimpleUniverse is 0.0, 0.0, 2.41
aprox). I just change the Z of this vector.
>The problem I have is that for a Z of the vector less than 1.0, the object
dissapears.
>
>Does anyone know why ? Is the bounds or the geometry of the object what
causes it ?
>Or is there a better way to zoom an object ?
>
>Thanks in advanced !!
>
>Dani
>
>
>
>--
>
>Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrt�mlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
>
>This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
>
>===========================================================================
>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