Question

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. 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?

Était-ce utile?

La solution

javax.media.j3d.View.setBackClipDistance(double distance)
javax.media.j3d.View.setFrontClipDistance(double distance)
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top