WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 04-28-2013, 02:51 PM
brunomartelli brunomartelli is offline
Join Date: Apr 2013
Location: London
Posts: 41
Cortex to Vizard


Im trying to stream Cortex data to Vizard. I can do that - but I only get 1 frame. Can someone help me figure out how to get continuous frames. (sorry im not a programmer ) At the moment its putting a hedra on each marker - but just one frame.


PS here's what I have already:

import viz
import vizconfig

import vizcam

#Get CORTEX info
evart = viz.add('evart.dle',0,'')
body1 = evart.getBody(0)

for x in range(40):
newhedra = viz.addChild('tut_hedra.wrl')
marker = body1.getMarker(x)
position = marker.getPosition()
Reply With Quote
Old 05-02-2013, 09:06 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,466
You can link an object to the tracker:
Or you can update it manually each frame:
def updateHedra():
	marker = body1.getMarker(x)
	position = marker.getPosition() 
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
Realistic Light and Shadows Using Vizard and 3DS Max jde Vizard 4 07-13-2012 10:58 AM
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 10:46 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 10:46 AM
.3DS importing in Vizard and 3D Studio jde Vizard 1 08-28-2009 03:14 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM

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

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