The Manipulation Rollout

Description
The purpose of this rollout is to manipulate the mesh/skeleton in the main window. Scaling and translation are done on the object while rotation is done via the camera (described in the Other section). Translation does not work well with the camera, so the z axis was included to give full translation control.

Scale
The scale spinner allows the user to scale the object. This has a range from 0.0 to 10.0. As with the rest of the spinners in the GUI, the number can either be edited by typing the value in the text box or using the arrows.


The mesh after scaling down.

Translate X Spinner
This spinner allows the user to translate the object in the X direction. The range is from the left edge of the window and the right edge of the window (which changes based on the aspect ratio).

Translate Y Spinner
This spinner allows the user to translate the object in the Y direction. The range is from -1.0 to 1.0.

Translate Z Spinner
This spinner allows the user to translate the object in the Z direction. This is mainly useful when using the camera rotate virtual trackball. The range is from -2.0 to 2.0.


The mesh after translating x and y.

Rotate Light Trackball
This trackball can be used to manipulate the light on the mesh. There is no effect on the skeleton when using this trackball. The light's position is rotated about the object when using this trackball. Cell shading mode varies depending on whether positional lighting is enabled or not (which is enabled by removing a comment in mesh.cpp). If positional lighting is enabled (which by default it isn't), then the position of the light is modified. If positional lighting is not enabled, then the light is treated as a directional light and the direction is rotated about the object.


The mesh in cell shading mode with the light rotated (as directional light).

back