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.

  • To twist the view clockwise, press the up or right arrow key.
  • To twist the view counter-clockwise, press the down or left arrow key.
  • Note: When working with a large model, the speed at which the screen is redrawn during a Twist operation can be increased by decreasing the Motion Precision in the Preferences Performance options window. See Performance options in Customizing the Interface for details.

    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

  • Place the cursor in the perspective window and click a mouse button to make the window active.
  • 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

    1. To rotate horizontally, click and drag the middle mouse button.
    2. To rotate vertically, click and drag the right mouse button.
    3. To rotate the view both horizontally and vertically, click and drag the left mouse button. Release the mouse button when the desired angle is reached.
    4. The view rotates about the center of interest, which is the viewpoint of the perspective camera. To position the camera's viewpoint, select Display Tgl camera to display the perspective window camera. When you can see the camera, the viewpoint can be picked using Pick Object types Component, and then positioned by selecting Xform Move.

      To identify a particular point as the center of interest, move the camera's view icon so that the target end is at that point of interest. Subsequent manipulation of the camera with Azimuth/elevation now keeps that point in the center of the view.

    Tip: When working with a large model, the speed at which the screen is redrawn during an Azimuth/elevation operation can be increased by decreasing the Motion Precision in the Preferences Interface Performance options window.

    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.

    1. To rotate the view horizontally about the up point of the camera (azimuth), press either the left or right arrows.
    2. To rotate the view vertically (elevation), press either the up or down arrow.

    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.

    1. A positive azimuth moves the camera around to the left.
    2. A positive elevation moves the camera up under the scene.

    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:

    1. For windows other than the perspective window (orthographic view), 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.
    2. Azimuth/elevation does not apply to orthographic views. To revolve the camera about the origin, see Using Cameras Tumble.
    3. Azimuth/elevation is always relative.

    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

    1. To rotate the view horizontally, click and drag the middle mouse button.
    2. To rotate the view vertically, click and drag the right mouse button.
    3. To rotate the view horizontally and vertically, click and drag the left mouse button.

    Note: When working with a large model, the speed at which the screen is redrawn during a Yaw/pitch operation can be increased by decreasing the Motion Precision in the Preferences Performance options window. See Preferences Performance options for details.

    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.

    1. To rotate the viewpoint left or right (yaw), press the left or right arrow key.
    2. To rotate the view and up points (pitch), press the up or down arrow key.

    Tip: Be careful to keep the red cursor positioned within the window when using the cursor keys.

    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.