Vizard can drive the wide field-of-view Crescent HEWDD-1080 HMD. To do so, you only need to copy & paste the code fragment shown below to your own program. It will automatically render 3 separate views for each eye and stitch the views together on a distortion correction mesh.
In order to properly view your world on the HEWDD-1080, you must set the monitor resolution for each eye to 1920 x 1080.
The crescent.HEWDD_1080 constructor accepts the following optional keyword arguments:
Argument |
Description |
Default |
cluster_stereo |
A tuple containing the cluster machines to use for the left/right eyes, respectively. For example, if you are running a cluster where the master machine renders the left eye and the first client renders the right eye, you would specify (viz.MASTER,viz.CLIENT1) as the value. |
None |
window |
The window to apply the stereo settings to |
viz.MainWindow |
The crescent.HEWDD_1080 class provides the following methods:
Method |
Description |
<HEWDD>.setDistortionCorrection(mode) |
Set whether to use distortion correction on the rendered image. Can be True, False, or viz.TOGGLE. Default is True |
<HEWDD>.getDistortionCorrection() |
Returns whether distortion correction is enabled. |