The line of code:
Code:
hmd = SonyHMD.HMZT1()
configures the display settings but does not provide a position and orientation that another object such as the viewpoint can be linked to. You can link the viewpoint to a Kinect or InertialLabs tracker object. In the Wirks demos, take a look at the code where the trackers are added and the viewpoint is linked to a merged tracker created from Kinect position and InertialLabs orientation.