#1
|
|||
|
|||
pylink world rendering
Hi!
I use a Eyelink Eye Tracker (SR Research) for the eye tracking and pylink as a communication interface in my experiment. When I call pylink.doTrackerSetup() to calibrate the eye tracker, the rendering of my world is interrupted (i.e. the application window displays a splash screen) and Vizard needs time to reload the world after the calibration. Does anyone know how I can fix this (e.g. by pausing the rendering and resuming it after the calibration)? |
#2
|
|||
|
|||
Is the issue that everything is loaded twice, before and after the calibration? If so, perhaps the script could be setup so that models are loaded only after the calibration is complete.
|
#3
|
|||
|
|||
Yes, that would be possible.
Is there a way I can pause the rendering process? |
#4
|
|||
|
|||
Can you post a simple example script that reproduces the issue? Is the issue that the virtual environment is loaded and running, the eye tracker calibration is started, and the Vizard splash screen is shown a second time?
|
#5
|
|||
|
|||
Yes, that's the problem.
This simple example reproduces the issue. You can skip the calibration by pressing the Esc key, then pylink.closeGraphics() closes the graphic and the Vizard splash screen is shown a second time. Code:
import viz import pylink SIZE = ( viz.getOption('viz.monitor.width', type=int), viz.getOption('viz.monitor.height', type=int) ) viz.go(viz.FULLSCREEN|viz.QUAD_BUFFER) gallery = viz.add('gallery.ive') eyelinktracker = pylink.EyeLink(None) eyelinktracker.sendCommand("screen_pixel_coords = 0 0 %d %d" %(SIZE[0], SIZE[1])) #eyelinktracker.sendMessage("DISPLAY_COORDS 0 0 %d %d" %(SIZE[0], SIZE[1])) pylink.openGraphics((SIZE[0], SIZE[1]),32) eyelinktracker.doTrackerSetup() pylink.closeGraphics() |
Tags |
eye tracker, pylink |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Augmented Reality: virtual world not overlapping real world correctly | Vaquero | Vizard | 7 | 04-15-2016 02:14 AM |
3D world editor | Ploep | Vizard | 2 | 05-03-2012 03:25 AM |
rendering level | shahramy | Vizard | 1 | 07-26-2010 01:12 PM |
why is time faster in my virtual world? | billjarrold | Vizard | 1 | 11-24-2009 06:33 PM |
General Questions about Vizard: World Viz | dav | Vizard | 5 | 08-28-2006 04:44 PM |