WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-07-2017, 08:29 AM
Rob Rob is offline
Member
 
Join Date: Mar 2017
Posts: 2
Link vizconnect display to Viz.mainview

Hey,

I want to link vizconnect display to viz.mainview so it inherits the same actions as whats being done for the mainview.

However, I cannot figure out how to do this.
Code:
vizconnect.go('vizconnect_config.py') ## Vizconnect movement 
movement = vizconnect.getTransport('main_transport') ## links movement to the walking transport in viz connect
movement.setMovementSpeed(0) ## set movement speed to 0 for main menu scene
newobject = viz.add('beachball.osgb',scene=viz.Scene2)
newobject.setPosition([.5,50,0])
#viz.link(movement.getNode3d,newobject) ## this links movement but I cannot set a new Y position for the object at all.
#viz.link(vizconnect.getDisplay,viz.MainView) ## does not work either
How would i get it to link to the mainview without messing up anything thats been done?
Reply With Quote
  #2  
Old 03-07-2017, 08:16 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,448
The display has a view associated with it, which is the mainview by default. If you parent the display to a tracker or transport the view will move with that tracker or transport. If you don't need to change the hierarchy on the fly then you can set the display's parent in the scenegraph of the vizconnect GUI.
Reply With Quote
Reply

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
Vizconnect Display Issue ghostx Vizard 3 07-31-2016 07:46 PM
apply transformations on vizconnect link dcnieho Vizard 2 06-14-2016 06:11 AM
Zspace display in Vizconnect JB_HP_Viz Vizard 5 06-05-2015 03:28 PM
Switching between input devices setup in vizconnect and not using vizconnect JB_HP_Viz Vizard 1 01-20-2015 05:19 AM
Duplicate HMD display on primary monitor, with eyetracking info performlabrit Vizard 3 09-19-2014 10:44 AM


All times are GMT -7. The time now is 07:39 AM.


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