WorldViz User Forum

WorldViz User Forum (
-   Precision Position Tracker (PPT) (
-   -   Ascension MotionStar (

starlingstm 05-19-2011 03:18 PM

Ascension MotionStar
Hello, I'm fairly new to vizard. I'm trying to link my sensors to an avatar. Below is my current script the sensors:

import viz
import vizshape
import vizact

ascension = viz.add('ascension.dle')
sensors = ascension.addMotionStar('')
colors = [viz.RED,viz.BLUE,viz.YELLOW,viz.GREEN,viz.PURPLE,v iz.GRAY,viz.WHITE,viz.ORANGE,viz.YELLOW,viz.GRAY]
while x<100:
for s in sensors:
#print i
print i, s.getPosition(),s.getEuler()
model = vizshape.addSphere(0.05, color=colors

#model = vizshape.addSphere(0.05),model)
#print s.getBirdNumber()
#for s in sensors: print s

import vizcam

Jeff 05-20-2011 12:26 PM

This question should be in one of the Vizard forums. Also, please use code tags when posting code to preserve the indentation.

I'm sure sure what the question is. Are you having trouble connecting to the trackers? Does the following work for you?

import viz

ascension = viz.add('ascension.dle')
sensors = ascension.addMotionStar('')

for s in sensors:
        model = vizshape.addCube(0.1),model)

If you want to do motion capture and animate an avatar our workflow for that is with Motionbuilder and the Live Characters plug-in:

All times are GMT -7. The time now is 04:08 AM.

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