简体   繁体   English

Java3D,如何更改View Platform剪辑距离?

[英]Java3D, How to alter the View Platform clip distance?

I'm working using Java3D, and I've been manipulating the viewPlatform so that I can 'zoom' in and out of a model which is fine. 我正在使用Java3D,并且一直在操纵viewPlatform,以便可以“放大”模型,也可以缩小模型。 However, at some point the when I get too close (or too far away) the model is clipped so my question is how do I return (get) the values that these are alter (set) them to suit my needs? 但是,在某个时候,当我离得太近(或太远)时,模型被裁剪,因此我的问题是如何返回(获取)为满足我的需要而改变(设置)的值?

javax.media.j3d.View.setBackClipDistance(double distance)
javax.media.j3d.View.setFrontClipDistance(double distance)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM