Hi Chris and others,

finally I found a solution, which works for my application.
Basically I was thinking about the changes of Chris and my means to
calcultate clipping distances.
For rotating reasons my objects are located near (0,0,0) and I calculated
already the distance necessary to see the entire scene out od the
boundingbox of my world and the field of view.
Out of this distance I can calculate the front and back clipping plane
needed according to the current place of the viewing platform.
During zooming the viewing platform moves towards the object, thus I have
to reset my clipping planes. So I extented MouseZoom (instead of the
ViewerNavigationBehavior) and overloaded
transformChanged(). This method adjusts now the clipping planes every time
the user zoomes in.

An important remark for me was a mail from Doug Gehringer in 1998
(Aug. 18th)

"If you are concerned with intersections near the back of your viewing
volume, r=3000 might be too high. If your intersections are close to the
front clip plane a higher value may allow you to view objects closer to
the eye.
I typically set the near clip plane as far back as practical and then set
the far clip plane distance times 3000."

Another helpful thing was:
http://www.starfireresearch.com/services/java3d/supplementalDocumentation.html

Thanks Chris, Doug, John and Justin

Desiree


oooooooooooooooooooooooooooooooooooooooooooooooo
Desiree Hilbring

Institut fuer Photogrammetrie und Fernerkundung
Universitaet Karlsruhe, Germany
email: [EMAIL PROTECTED]
# 0721 6083676
oooooooooooooooooooooooooooooooooooooooooooooooo

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