This guide describes major changes between Vizard 5 and 6 that could potentially break the behavior of some scripts
Some DDS images loaded by Vizard would previously appear vertically flipped. Vizard will now automatically flip all DDS images so they appear correctly (i.e. bottom-left origin).
The following table lists legacy sensor plug-ins that gave deprecation warnings in Vizard 5 and have been removed in Vizard 6. If you have a script that uses one of these legacy sensors, use the replacement plug-in to make it Vizard 6 compatible:
Removed Sensor |
Replacement Plug-in |
CyberGlove.dls |
CyberGlove |
fastrak.dls minuteman.dls patriot.dls |
Polhemus |
flockofbirds.dls motionstar.dls |
Ascension |
intersense.dls | Intersense |
LabJack.dls | LabJack |
trackd.dls | Trackd |
Vicon.dls | Vicon |
vrpn.dls | VRPN |
xsens.dls | Xsens |
hd module | Sensable |
The following table lists Vizard commands that gave deprecation warnings in Vizard 5 and have been removed in Vizard 6. If you have an old script that is broken due to one of these removed commands, use the replacement command to make it Vizard 6 compatible:
Removed Command |
Replacement Command |
viz.res.addPublish |
|
viz.waitKeyPress viz.waitFrame |
viztask module |
viz.updateFrame viz.updateframe |
viz.frame |
viz.displaymode | viz.setDisplayMode |
viz.getVizardPath | viz.res.getVizardPath |
viz.getFullPath | viz.res.getFullPath |
viz.setFileLoaderOption | viz.res.setFileLoaderOption |
viz.getFileLoaderOption | viz.res.getFileLoaderOption |
viz.clustermask | viz.cluster.setMask |
viz.clientID | viz.cluster.getClientID |
viz.clientName | viz.cluster.getClientName |
viz.client | viz.cluster.getClient |
viz.pushmask | viz.cluster.pushMask |
viz.popmask | viz.cluster.popMask |
viz.iskeydown | viz.key.isDown |
viz.buttonstate | viz.mouse.getState |
viz.mousepos | viz.mouse.getPosition |
viz.cursor | viz.mouse.setVisible |
viz.restrictmouse | viz.mouse.setTrap |
viz.overridemouse viz.setMouseOverride |
viz.mouse.setOverride |
viz.getMouseOverride | viz.mouse.getOverride |
viz.stayontop | viz.window.setFloat |
viz.setWindowSize viz.windowsize |
viz.window.setSize |
viz.setWindowPosition viz.windowpos |
viz.window.setPosition |
viz.setWindowBorder viz.windowborder |
viz.window.setBorder |
viz.setWindowName | viz.window.setName |
viz.getWindowPosition | viz.window.getPosition |
viz.getWindowSize | viz.window.getSize |
viz.displayhtml | viz.window.displayHTML |
viz.window.hidehtml | viz.window.hideHTML |
viz.screencapture | viz.window.screenCapture |
viz.framerate viz.window.framerate |
viz.window.setFrameRate |
viz.window.polyMode | viz.window.setPolyMode |
viz.eventid | viz.getEventID |
viz.numhandlers | viz.getNumHandlers |
viz.sendevent | viz.sendEvent |
<EventClass>.stopeventclass | <EventClass>.unregister |
<multimedia>.getlength | <multimedia>.getDuration |
<multimedia>.getposition | <multimedia>.getTime |
<multimedia>.jumpto | <multimedia>.setTime |
<multimedia>.rate | <multimedia>.setRate |
<multimedia>.rewind | <multimedia>.stop |
<node>.bumpmap | vizfx Effects |
<node>.startHotspot <node>.starthotspot viz.startHotspot viz.deleteHotspot viz.HOTSPOT_EVENT |
vizproximity module |
<node>.getchild | <node>.getChild |
<path>.autorotate | <path>.setAutoRotate |
<path>.constantspeed | <path>.setConstantSpeed |
<path>.translatemode |
<path>.setTranslateMode |
<path>.rotatemode | <path>.setRotateMode |
<path>.scalemode |
<path>.setScaleMode |
<path>.computetangents | <path>.computeTangents |
<control>.translatemode | <control>.setTranslateMode |
<control>.rotatemode |
<control>.setRotateMode |
<control>.scalemode | <control>.setScaleMode |
<control>.translatein | <control>.setPositionIn |
<control>.translateout | <control>.setPositionOut |
<sensor>.buttonCount | <sensor>.getButtonCount |
<sensor>.buttonState | <sensor>.getButtonState |