<div dir="ltr">Hi TianZJ,<div>we have a zSpace screen (closely related to your HP screen), and found that to get stereo working the screen needs a usb cable and the following calls to the zSpace SDK must be made:</div><div><br></div><div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ZSError error;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>// Initialize the zSpace SDK. This MUST be called before<br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>// calling any other zSpace API.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>error = zsInitialize(&_zSpaceContext);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>if (error != ZS_ERROR_OKAY) {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>char errorString[256];</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>zsGetErrorString(error, errorString, sizeof(errorString));</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>//<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>MessageBox(NULL, errorString, "ZSError", MB_OK | MB_SETFOREGROUND | MB_TOPMOST);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>_zSpaceContext = NULL;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>}<span class="gmail-Apple-tab-span" style="white-space:pre"> </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ZSHandle g_bufferHandle = NULL;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>error = zsCreateStereoBuffer(_zSpaceContext, ZS_RENDERER_QUAD_BUFFER_GL, 0, &g_bufferHandle);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>if (g_bufferHandle) {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>zsSyncStereoBuffer(g_bufferHandle);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>zsDestroyStereoBuffer(g_bufferHandle);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>}</div><div>//I do this at program shutdown, but suspect this can be done at once if you're not useing the headtracking/pen tracking.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>// Shutdown and cleanup the zSpace SDK.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>zsShutdown(_zSpaceContext);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>_zSpaceContext = NULL;</div></div><div><br></div><div>I don't know if HP has created it's own SDK or refers you directly to zSpace for the software, but I think you need a similar sequence.</div><div>btw. The signal is send as frame sequential stereo - commonly referred to as "active stereo signal" trough a single video cable. </div><div>Referring to this system as passive stereo just because the glasses are passive confuses a lot of people. (the display switches circular polarization at 120 Hz)</div><div><br></div><div>Regards, Laurens.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 15, 2016 at 2:24 PM, Jan Ciger <span dir="ltr"><<a href="mailto:jan.ciger@gmail.com" target="_blank">jan.ciger@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Nov 15, 2016 at 11:45 AM, ZJ Tian <span dir="ltr"><<a href="mailto:tianzjyh@gmail.com" target="_blank">tianzjyh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <span style="color:rgb(0,0,0);font-family:helvetica,"microsoft yahei",verdana;font-size:14px">Jan,</span><div><font color="#000000" face="helvetica, microsoft yahei, verdana"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="helvetica, microsoft yahei, verdana"><span style="font-size:14px">You lightened my way. That's the answer I think. </span></font></div><div><span style="color:rgb(0,0,0);font-family:helvetica,"microsoft yahei",verdana;font-size:14px">I will try to work it out </span><font color="#000000" face="helvetica, microsoft yahei, verdana"><span style="font-size:14px">though you guessed correctly the </span></font><span style="font-size:14px;color:rgb(0,0,0);font-family:helvetica,"microsoft yahei",verdana">display</span><font color="#000000" face="helvetica, microsoft yahei, verdana"><span style="font-size:14px"> device I am unluckily using. </span></font></div></div></blockquote><div><br></div><div><br></div></span><div>You are welcome.</div><div><br></div><div>Sadly, these problems are common. The hardware vendors will claim that their gizmo is perfect, does everything out of the box and, of course, plug and play. Only when you actually buy it you will discover that the sales materials neglected to mention that the function you need requires a very expensive accessory sold extra and made out of unobtanium (because nobody stocks it - like the mini-DIN connector brackets for Quadros) or that the function actually works, but it is severely limited to the point of being unusable because some fool somewhere decided to save $0.1 by eliminating a connector or shipping non-working firmware ...</div><div><br></div><div>I have had these experiences even on very expensive pieces of hardware. Especially with VR you do have to always test before buying because the sales brochures and salesmen are never telling the whole story if not lying outright. </div><span class="HOEnZb"><font color="#888888"><div><br></div><div>J.</div><div><br></div></font></span></div></div></div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
<br></blockquote></div><br></div>