WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-01-2014, 03:55 AM
armo armo is offline
Member
 
Join Date: Mar 2014
Posts: 21
how to link the Sony HMD to the MainView

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
Reply With Quote
 

Tags
hmd, linking, sony

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mainview can't go back to original point jacky Vizard 1 06-04-2013 05:22 AM
How to link the Mainview to a child object jacky Vizard 1 05-02-2013 10:51 AM
How can I link MainView with HMD and a 3d node? Salvar Vizard 5 03-22-2011 09:14 PM
Link MainView to instable platform sleiN13 Vizard 2 01-10-2011 01:33 AM
link MainView moneim230 Vizard 1 09-14-2010 02:47 PM


All times are GMT -7. The time now is 06:18 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC