Using Java 3D's View Model as a Camera Model

So far, we have avoided trying to think of the view model as a camera. However, the camera model is a stalwart approach to thinking about 3D and is the basis of most other packages and language. To use the view model as a camera model, you must set the compatibility mode to true using the View object's setCompatibilityModeEnable() method.

SetCompatibilityModeEnable(true)

Once the application is in compatibility mode, it becomes possible to use the tried and true camera model. The reason to incorporate compatibility mode is to provide a link to applications that incorporate the camera model. Remember, these applications do considerable work to control the view transformation. Developers who had gone ...

Get Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.