WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 08-02-2010, 04:06 AM
cyclonseye cyclonseye is offline
Join Date: Jul 2010
Posts: 6
comparing data between 2 continous frame and stereo vision

First question

I made a head track and compared vision system, but I have some problems because of noise.

So, I want to make a filter to decrease the noise.

The filter system which I am thinking about is following. I want to campare head's angle data in continuos 2 frames.
1. compare head's angle data in current frame and 1 frame before.
2. if change of value > x, the data in current frame will be ignored.

following is some part of my code

[CODE]def mytimer(num):
data = body.getPosition()
euldata = body.getEuler()

if abs(pre1 - euldata[0] + pre2 - euldata[1] + pre3 - euldata[2])<100:

pre1 = euldata[0]
pre2 = euldata[1]
pre3 = euldata[2]


There is error that 'can't use data of frame before'.
How can I do it??

Second question

I want to see stereo vision in HMD, but I can't.
2 monitors of HMD should show each vision, but they should not.
2 monitors show two stereo visions like in 1 monitor.
I don't know what is the problem.

I am using quadro fx 1400 and HMD - i-visor fx601.
setting is : stereo - enable, stereo mode - shutter glasses use

following is my code
import viz
viz.go(viz.QUAD_BUFFER|viz.STEREO|viz.HMD|viz.FULL SCREEN)


class CameraControler(viz.CameraHandler):
def _camUpdate(self,e):
if viz.iskeydown(viz.KEY_UP):
elif viz.iskeydown(viz.KEY_DOWN)

Reply With Quote
Old 08-02-2010, 12:28 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,462
Take a look at Vizard's filter plug-in. That's documented in the Vizard help and may help with your first question.

For your second question, have you been able to get it to work with a single monitor in stereo using:
viz.go(viz.QUAD_BUFFER | viz.FULLSCREEN)
In the future please create a separate threads for unrelated questions.

There is an error with your closing code tag so the tags are not working. You should be using [code][/code]
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
screen reference frame for stereo cade_mccall Vizard 1 05-18-2007 10:49 AM

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

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