Twist

Purpose

To turn the perspective view in the viewing plane as if you were watching the scene while tilting your head.

Note: Twist can only be used in a Perspective window. It does not apply to orthographic views.

How to Use - Example

  1. Select Layouts Perspective to bring the perspective window to the top layer of the screen.

  2. In the Tool Palette, select Twist from the Cameras Local move camera cascading menu, or click this icon.

  3. Position the cursor in the perspective view and click a mouse button.

Using Cursor keys

You can use the four arrow cursor keys (pointing up, down, left, and right on the keyboard) to twist incrementally. The amount moved depends on the arrow size set in the Interface Options box (Preferences Interface Interface options-). The default value of 1 means that pressing an arrow key once moves the cursor one pixel in the corresponding direction.

Using the Keyboard

You can also type the twist angle from the keyboard when the system prompts:

Enter twist angle (ABS/REL):
Type the angle and press Enter. The view is twisted by or to the angle given. A positive angle turns the view clockwise (and turns the camera counter-clockwise).

Twist Options

Select Twist- to display the Twist Options box.

Eye/View/Up

These sliders let you define a view by positioning the camera. The view is determined by the eye position, view point position, and up vector end point. These nine fields contain floating-point values. They represent, from left to right, the X, Y, and Z coordinates for each of the three camera parameters. To see the camera as you modify it, use Display Tgl camera.

Zoom

The Zoom slider also takes a floating-point value which defines the extent of the camera's field of view. Values must be positive in the range of 0.2 to 179.

Note: For windows other than the Perspective window (orthographic), two of the three Eye and View values must be the same, and two of the three Eye and Up values must be the same. If they are all different, or are all the same, the results are unpredictable. This is because viewing operations on orthographic windows are performed on the window rather than the camera of the window.

Azimuth/elevation

Purpose

To revolve the camera about the center of interest in the perspective view.

How to Use

  1. Place the cursor in the perspective window and click a mouse button to make the window active.

  2. In the Tool Palette, select Azimuth/elevation from the Cameras Local move camera cascading menu, or click this icon.

    As the cursor is moved, the view rotates about the center of interest (initially the origin).

Using the Mouse

Using Cursor Keys

You can use the four cursor keys (arrows pointing up, down, left, and right on the keyboard) to rotate incrementally. The amount moved depends on the arrow size set in the Interface Options box (Preferences Interface options-). A default value of 1 means that pressing an arrow key once moves the cursor one pixel in the corresponding direction.

Using the Keyboard

You can type the azimuth and elevation angles from the keyboard when the system prompts:

Enter azimuth and elevation angles (REL):
Type the angle and press Enter.

Azimuth/Elevation Options

Select Azimuth/elevation- to display the Azimuth/Elevation Options box.

Eye/View/Up

These sliders let you define a view by positioning the camera. The view is determined by the eye position, view point position, and up vector end point. These nine fields contain floating-point values. They represent, from left to right, the X, Y, and Z coordinates for each of the three camera parameters. To see the camera as you modify it, use Display Tgl camera.

Zoom

The Zoom slider takes a floating-point value which defines the extent of the camera's field of view. Values must be positive in the range of 0.2 to 179.

Notes:

Yaw/pitch

Purpose

To turn the camera in a perspective view.

Note: yaw/pitch can only be used in a Perspective window. It does not apply to orthographic views (top, front, right). yaw/pitch is always relative.

How to Use - Example

  1. Position the cursor in the perspective window and click a mouse button to make the window active.

  2. In the Tool Palette, select Yaw/pitch from the Cameras Local move camera cascading menu, or click this icon.

  3. Click and drag the left mouse button. As the cursor is moved, the camera's view changes, that is the view and up points change, while the eyepoint remains fixed.

Using the Mouse

Using Cursor Keys

You can use the four arrow cursor keys (arrows pointing up, down, left, and right on the keyboard) to rotate incrementally. The amount moved depends on the arrow size set in the configuration options (Preferences Interface Interface options). The default value of 1 means that pressing a cursor key once moves the arrow one pixel in the corresponding direction.

Using the Keyboard

You can type the yaw and pitch angles from the keyboard when the system prompts:

Enter yaw and pitch angles (REL):
Type the angles separated by a space or comma, and press Enter.

Yaw/Pitch Options

Select Yaw/pitch- to display the Yaw/Pitch Options box.

Eye/View/Up

These sliders let you define a view by positioning the camera. The view is determined by the eye position, view point position and up vector end point. These nine fields contain floating-point values. They represent, from left to right, the X, Y, and Z coordinates for each of the three camera parameters. To see the camera as you modify it, use Display Tgl camera.

Zoom

The Zoom slider also takes a floating-point value which defines the extent of the camera's field of view. Values must be positive in the range of 0.2 to 179.

Note: For windows other than the Perspective window (orthographic), two of the three Eye and View values must be the same, and two of the three Eye and Up values must be the same. If they are all different, or are all the same, unpredictable results occur. This is because viewing operations on orthographic windows are performed on the window rather than the camera of the window.





aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.