WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-14-2017, 02:17 AM
rdkirkden rdkirkden is offline
Member
 
Join Date: May 2017
Posts: 20
Hi Jeff,

Many thanks for your reply. Ensuring that the vizconnect_config file was saved and then re-running the Vizard program did not help. However, your observation that the quad buffered stereo needs to be initialised before the graphics window opens guided me to the relevant part of the vizconnect_config file code that I needed to change to get the 3D view working.

There are two lines of code in the vizconnect_config file’s ‘initDisplays’ procedure that deal with the quad buffer setting. One line (‘viz.setOption('viz.stereo', viz.QUAD_BUFFER)’) executes very early on, before viz.go; while the other (‘stereo = viz.QUAD_BUFFER’) sets a variable that is used a bit later, when the display is being created. I remembered that in a Vizard program I wrote for the 3D glasses that did not use Vizconnect, it was not sufficient to specify ‘viz.QUAD_BUFFER’ in the the viz.go command; rather I had to specify ‘viz.QUAD_BUFFER | viz.FULLSCREEN’ to get a 3D display. So I tried modifying the two lines of code in the vizconnect_config file to ‘viz.setOption('viz.stereo', viz.QUAD_BUFFER | viz.FULLSCREEN)’ and ‘stereo = viz.QUAD_BUFFER | viz.FULLSCREEN’, and this gave me a 3D display. Further trial and error showed that only the first line of code actually needed to be modified.

Best regards,
Richard.
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
Regarding changing &using multiple tools at same time through vizconnect rajnishv Vizard 7 09-08-2016 04:48 AM
Zspace display in Vizconnect JB_HP_Viz Vizard 5 06-05-2015 03:28 PM
Switching between input devices setup in vizconnect and not using vizconnect JB_HP_Viz Vizard 1 01-20-2015 05:19 AM
delete hand in vizconnect rvenegas Vizard 4 06-05-2014 10:17 PM
Vizconnect Save As Dialog Jeff Vizard 0 05-01-2014 09:45 AM


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


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