Navigation

 

System requirements: JRE™ Version 5.0, Java 3D™ 1.5.0

ViewClipDistancer


The Behavior ViewClipDistancer updates a View's back and front clip distances while the ViewPlatform's distance to the scene is changing. If this scene is zoomed (by an OrbitBehavior(Interim) [link] ) the front and back clip distances are updated immediately. Depending on the scene bounds these distances are calculated to achieve minimal clipping extent and optimized back/front ratio (< 1000).

ViewClipDistancer.zip (2 KB) [download]