WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-02-2015, 06:19 AM
Rennschu Rennschu is offline
Member
 
Join Date: Sep 2015
Posts: 14
vizcave coordinates

Hello,

I am using a 3DMonitor with shutter-glasses and a chinrest to stable the user's head. I use vizcave since I want to apply an asymmetric view frustrum. I would like to set the origin of the coordinate system to the upper left corner of my display (because this is the coordinate system my eye-tracker uses). However, my code does not seem to set the origin to the display corner.

import viz
import vizshape
import vizcave
import viztracker

width = 0.60
height = 0.335
distance = 0.70

PowerWall = vizcave.Wall(upperLeft=(0,0,0), upperRight=(width,0,0), lowerLeft=(0,-height,0), lowerRight=(width, -height, 0))

viz.go(viz.QUAD_BUFFER|viz.FULLSCREEN)

cave = vizcave.Cave()
cave.addWall(PowerWall)

head_tracker = viztracker.Keyboard6DOF()
head_tracker.setPosition (width/2, -height/2, -distance)
cave.setTracker(head_tracker)


What am I doing wrong? Could I set the origin to the display corner? If yes, how?

Also, I noticed, that although I used meters to specify the positions, my scaled objects seem to have the wrong size (far smaller). What do I need to consider concerning scale?


Greetings,
Rebekka
Reply With Quote
 


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
Texture Coordinates in a Cube Map mshukun Vizard 2 05-10-2013 12:31 PM
Example code for VizCave stefs Vizard 6 01-08-2013 11:43 AM
How do coordinates in IS900 thransform into coordinates in vizard's world jacky Vizard 1 08-11-2011 10:44 AM
Head tracking, Flock of Birds and vizcave; how do I connect them? Arandia Vizard 2 08-26-2009 04:59 PM
viz.vertex coordinates lilio Vizard 6 05-16-2009 04:36 PM


All times are GMT -7. The time now is 04:22 PM.


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