View Single Post
  #4  
Old 04-18-2017, 08:36 AM
haohaoxuexi1 haohaoxuexi1 is offline
Member
 
Join Date: Sep 2015
Posts: 81
Quote:
Originally Posted by Jeff View Post
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)
the dots are shown in front of the screen, but it displays like scatter and it is not like human skeletal joints.
Reply With Quote