WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-07-2014, 07:05 AM
chris2307 chris2307 is offline
Member
 
Join Date: Nov 2013
Posts: 36
Sorry for the triple post!

So I have a solution although it's by no means elegant and I am sure there is another way around this.

I was getting the graphics error when trying to initialize the graphics when in fullscreen mode. I assume this is because Vizard has some kind of lock on the rendering loop and when trying to initialize a new window from within fullscreen mode, it fails.

I've got around the problem by toggling full screen mode OFF before the drift correction function is called and back ON once it has completed:

Code:
viz.window.setFullscreen(viz.OFF)
EyeTracker.driftCorrection()
viz.window.setFullscreen(viz.ON)
This is, as you can imagine, not the way I want to do things as it looks messy. I need the experiment to be full screen so starting in windowed mode isn't an option either.

Does anyone have any ideas?

Thanks
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


All times are GMT -7. The time now is 06:11 AM.


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