![]() |
|
#1
|
|||
|
|||
|
Using <window>.screenToWorld within vizcave powerwall
How can one use the <window>.screenToWorld command within a vizcave powerwall?
Specifically, how can one get the length of the line passing through the given screen coordinates (in pixel units) with the begin point of the line being the users head position (center of the eyes)? Unfortunately, the following code seems to be incorrect: Code:
line = viz.MainWindow.screenToWorld([pixel_x,pixel_y], eye = viz.BOTH_EYE, mode = viz.WINDOW_PIXELS) print line.length |
| Tags |
| cave; 3d |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vizcave coordinates | Rennschu | Vizard | 5 | 11-12-2015 05:24 AM |
| Example code for VizCave | stefs | Vizard | 6 | 01-08-2013 12:43 PM |
| Using vizcave without tracking | pcatalano | Vizard | 3 | 01-08-2013 11:17 AM |
| 3-D image in Powerwall using OpenGL c++ program | blessonisaac | Plug-in development | 0 | 02-01-2012 10:22 AM |
| Head tracking, Flock of Birds and vizcave; how do I connect them? | Arandia | Vizard | 2 | 08-26-2009 05:59 PM |