Difference between revisions of "VRET Vizard"

From vret
Jump to: navigation, search
 
Line 1: Line 1:
 
== Getting Started ==
 
== Getting Started ==
 
Vizard has a very nice tutorial and help file that is also available online on the [http://www.worldviz.com/vizhelp/VizHelp.htm Vizard] website. It explains the basics of Vizard and also if needed the basics of [http://www.python.org/ Python] the language used to control Vizard.
 
Vizard has a very nice tutorial and help file that is also available online on the [http://www.worldviz.com/vizhelp/VizHelp.htm Vizard] website. It explains the basics of Vizard and also if needed the basics of [http://www.python.org/ Python] the language used to control Vizard.
 +
 +
== HMD ==
 +
With just a few lines of code Vizard can easily work with an HMD. All you need to add/replace from your code to get a image on the HMD are:
 +
 +
:viz.displaymode(800,600,32,60) <viz.displaymode(width-screen,heigh-screen,color depth,refresh rate)>
 +
:viz.go(viz.QUAD_BUFFER |viz.FULLSCREEN) <replace the viz.go() with this>
 +
 +
== Trackers ==
 +
 +
=== flockofbirds ===
 +
 +
=== emagin ===
 +
To get Vizard to accept input from the eMagin tracker (integrated in the HMD) you need to add the tracker as a sensor in Vizard and then link the sensor to the mainView-point
 +
 +
:sensor = viztracker.add('emagin.dls')
 +
:viz.link(sensor,viz.MainView)
 +
 +
'''Don't forget to disable the eMagin mouse drivers if these are enabled in the "Control Panel>System>Hardware>Device Manager" list'''

Revision as of 09:05, 18 December 2008

Getting Started

Vizard has a very nice tutorial and help file that is also available online on the Vizard website. It explains the basics of Vizard and also if needed the basics of Python the language used to control Vizard.

HMD

With just a few lines of code Vizard can easily work with an HMD. All you need to add/replace from your code to get a image on the HMD are:

viz.displaymode(800,600,32,60) <viz.displaymode(width-screen,heigh-screen,color depth,refresh rate)>
viz.go(viz.QUAD_BUFFER |viz.FULLSCREEN) <replace the viz.go() with this>

Trackers

flockofbirds

emagin

To get Vizard to accept input from the eMagin tracker (integrated in the HMD) you need to add the tracker as a sensor in Vizard and then link the sensor to the mainView-point

sensor = viztracker.add('emagin.dls')
viz.link(sensor,viz.MainView)

Don't forget to disable the eMagin mouse drivers if these are enabled in the "Control Panel>System>Hardware>Device Manager" list