5.4 Viewpoint

When viewing objects in the 3D display, there is always a center to the scene where the virtual ``camera" is pointing. When the first molecule, grid, or surface is loaded into the application, the center of that object becomes the center of the scene where the camera is pointing. By default, the center does not automatically change with changes to the scene. The center can be changed explicitly from the main application toolbar, the right-click popup menu, or using the following scripting commands: ViewerCenterSet or ViewerCenterAndRadiusSet. Furthermore, the center can also be translated using the mouse interactions described in Section 5.1.1.

The center can be made to automatically change when browsing if the ``Auto-Center" or ``Auto-Fit" preferences are set to true (the default is false). The ``Auto-Center" preference directs the window to always recenter the scene after any changes are made to that scene. The ``Auto-Fit" preference directs the window to not only recenter the scene after any changes are made but to also ensure that everything in the scene is comletely visible in the window. These preferences can be edited in the applications preferences dialog (see Chapter 11).