WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-18-2017, 05:24 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Try the following:

Code:
#now add all trackers and link a shape to it
for i in range(0, 24):
	t = vrpn.addTracker( 'Tracker0@localhost',i )
	s = vizshape.addSphere(radius=.1)
	l = viz.link(t,s)
	#keep the sphere in the reference frame of the view
	l.postMultLinkable(viz.MainView)
	#uncomment the following line to move the sphere forward
	#l.preTrans([0,0,3])
	trackers.append(t)
	links.append(l)
	shapes.append(s)
Reply With Quote
 

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
Local coordinate and global coordinate haohaoxuexi1 Vizard 2 07-24-2016 08:21 PM
Problems with using WIRKS without the Kinect in a mirror setting Jennifer Vizard 0 06-03-2013 04:17 PM
Kinect auto selection of skeleton victorqx Vizard 0 05-29-2012 09:30 AM
Mouse 2D coordinate to viz world 3D coordinate james007 Vizard 1 10-08-2009 01:11 PM
creating multiple coordinate systems and making them visible jalvarez Vizard 1 02-27-2009 01:36 PM


All times are GMT -7. The time now is 05:29 PM.


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