poIRenderOptions SetEyeScreenRatio

Sets the ratio of distance between the viewer's eyes and the distance from the screen.

Syntax

poIRenderOptions_handle SetEyeScreenRatio arg1

Application

HyperView Tcl Modify

Description

This command sets the ratio of distance between the viewer's eyes and the distance from the screen. The ratio is used to determine how far objects can appear outside the screen.

Inputs

arg1
The ratio of distance between the viewer’s eyes and distance from the screen. Suggested range is 0.0 (for no 3D effect) to 0.05 (object extends far out of the screen). All values greater than or equal to 0.0 are valid.

Example

To set the current stereoscopic eye to screen ratio:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetRenderOptionsHandle render_options
render_options SetEyeScreenRatio 0.02
hwi CloseStack

Errors

Returns a value of "3" if the handle is invalid.