<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi all,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">a small update: </div><div class="gmail_default" style="font-family:tahoma,sans-serif">with the same settings as in my previous email, but setting the Oculus slave cameras to POST_RENDER, </div><div class="gmail_default" style="font-family:tahoma,sans-serif">both the main view and the Oculus work fine.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Maybe with the PRE render settings, the pre/post draw callback on the oculus slave cameras </div><div class="gmail_default" style="font-family:tahoma,sans-serif">were not called at the right moment.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">That said, I'm not sure if what I've tried is optimal/enough to achieve the scenario I'm after...</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Can anyone comment on this?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Ricky</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 1:16 PM, Riccardo Corsi <span dir="ltr"><<a href="mailto:riccardo.corsi@kairos3d.it" target="_blank">riccardo.corsi@kairos3d.it</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"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi <span style="font-size:12.8px">Björn</span><span style="font-size:12.8px"> </span>and all,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">at the moment the setup created by the osgOculusViewer is to blit the Oculus mirror texture in the viewer window on screen.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I'd like to have the screen win to show a different result, from a third non-distorted camera.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">As a first test, I've tried to comment out the blit instruction (<a href="https://github.com/bjornblissing/osgoculusviewer/blob/master/src/oculusdevice.cpp#L772" target="_blank">here</a>) and re-enable the main camera graphics context, but it doesn't work: </div><div class="gmail_default" style="font-family:tahoma,sans-serif">screen view is ok, but the Oculus is blank.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Is there a simple way to test the scenario I'm after?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Ricky</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div>
</blockquote></div><br></div>