Hello everyone
I would like to link our Sony HMD to the MainView so the viewer could freely explore the scenarios once worn the HMD. The model is a Sony HMZ-TH1.
but when I run this script:
Code:
import viz
import SonyHMD
hmd = SonyHMD.HMZT1()
headlink = viz.link(hmd, viz.MainView)
viz.go()
viz.add('scenario/ground_wood.osgb')
it tells me that the source object is not a linkable type:
Code:
Traceback (most recent call last):
File "<string>", line 11, in <module>
File "C:\Users\Armando\Desktop\ARMANDO\ScriptVizard\provaCascoSony\provaCascoSonyArmo.py", line 21, in <module>
headlink = viz.link(hmd, viz.MainView)
File "C:\Program Files\WorldViz\Vizard5\python\viz.py", line 8723, in link
raise TypeError, 'Link source is not a linkable type'
TypeError: Link source is not a linkable type
Could you please tell me where is the error? (as I suppose there should be one, since the viz.link works finely with the wirks example script "The Pit")
kind regards,
armo