Vizard 8 » Command Index » Vizard modules » spi » <spi>.chanpos
8.1

<spi>.chanpos

Position the channel within the dome

<spi>.chanpos(  
channel  
yaw  
pitch  
roll  
)  
channel
A single SPI channel token
yaw
The desired heading, A rotation around the OpenGL Y-Axis
pitch
The desired pitch, A rotation around the OpenGL X-Axis
roll
The desired roll, A rotation around the OpenGL Z-Axis

Remarks

This function sets the position of the channel in the dome. This function takes three angles, the heading
pitch and roll. These angles are then used to transform the channel's mesh to place it in the proper location
in the dome. These angles are also used in order to properly set up OpenGL for the texture rendering.

NOTE: This function incurs a re-meshing of the channel's mesh.

Return Value

None