#1
|
|||
|
|||
Creating InfoPanel on screen with HMD vizconnect
Hi there,
I'm trying to create an InfoPanel from the default vizinfo.InfoPanel class. It runs fine in desktop mode, but with an HMD vizconnect running the InfoPanel is being drawn twice on the monitor. Almost as if the InfoPanel is being rendered in stereo mode, and the rest of the scene is being rendered with the left eye on the monitor. The purpose of this is to create an "Instructor View" on the monitor with controls that are only visible to the instructor. |
#2
|
|||
|
|||
Can you attach the vizconnect file you are using and example code used in Vizard to add the panel?
|
#3
|
|||
|
|||
Sure thing. I have done so here. I deleted all the project specific stuff, so hopefully it runs for you okay. I want to see just one InfoPanel on the monitor.
|
#4
|
|||
|
|||
The mirrored window on the monitor displays correctly in mono, right? If you run the following code with your vizconnect file, do you see the panel rendered once?
Code:
import viz import vizconnect import vizinfo vizconnect.go(vizconnect_config_vive.py) viz.addChild('piazza.osgb') vizinfo.InfoPanel('Panel Test') |
#5
|
|||
|
|||
No, I am still seeing it rendered twice. I've uploaded a screenshot of what I'm seeing when I run your code.
Thank you for looking into this, it's really becoming a problem. |
#6
|
|||
|
|||
Do you see the panel rendered twice when running the following code:
Code:
import viz import vizinfo import steamvr viz.go() hmd = steamvr.HMD() viz.link(hmd.getSensor(), viz.MainView) hmd.setMonoMirror(True) viz.addChild('piazza.osgb') vizinfo.InfoPanel('Panel Test') |
#7
|
|||
|
|||
Yes, I still see two panels on the monitor view. I'm using Vizard 5.8, so I'm unsure if there is any difference in our steamvr.dle plugins.
|
#8
|
|||
|
|||
Any updates on this? Looking for a quick solution. Can't seem to work through the issue myself. Thanks!
|
#9
|
|||
|
|||
Add the following line of code to render the panel only once:
Code:
panel.renderToEye(viz.LEFT_EYE) |
#10
|
|||
|
|||
That did the trick! Thank you!
|
Tags |
gui, hmd, mono, render, stereo |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Switching between input devices setup in vizconnect and not using vizconnect | JB_HP_Viz | Vizard | 1 | 01-20-2015 06:19 AM |
Vizconnect Save As Dialog | Jeff | Vizard | 0 | 05-01-2014 10:45 AM |
Screen Size and Scaling | javadi | Vizard | 2 | 04-02-2013 06:56 PM |
Attach a TexQuad to pit.osgb screen | Ducky | Vizard | 1 | 01-17-2013 03:57 PM |
position of html-file on screen | active_world | Vizard | 1 | 05-16-2008 08:24 PM |