<div dir="ltr">I have not tested volume rendering with vtkOpenVR but ... I can't think of any reason it would not work. I suspect there is maybe a some sort of issue with the volume renderer copying the frame back into (or out of) the frame buffer. I suspect if you can find the issue the fix will be pretty easy. If I get a chance I'll try giving it a shot.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 1:54 PM, Guilherme Alcarde Gallo <span dir="ltr"><<a href="mailto:guilherme.gallo@eldorado.org.br" target="_blank">guilherme.gallo@eldorado.org.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span lang="PT-BR">Hello all!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="PT-BR"><u></u> <u></u></span></p>
<p class="MsoNormal">I have succeeded in building VTK with vtkOpenVR remote module and running a simple Cone example in my OSVR HMD.
<u></u><u></u></p>
<p class="MsoNormal">But when I’ve attempted to run the volume rendering example "GPURenderDemo", I got a black screen and a lot of repetitive errors:<u></u><u></u></p>
<p class="MsoNormal"><i>ERROR: In<u></u><u></u></i></p>
<p class="MsoNormal"><i>C:\VTK-master\Rendering\OpenGL2\vtkTextureObject.cxx,<u></u><u></u></i></p>
<p class="MsoNormal"><i>line 2035<u></u><u></u></i></p>
<p class="MsoNormal"><i>vtkTextureObject (0000000BE6462060): failed at glCopyTexImage2D 6402 1 OpenGL errors detected<u></u><u></u></i></p>
<p class="MsoNormal"><i> 0 : (1282) Invalid operation<u></u><u></u></i></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Also, I have tried to run the CPU-based volume rendering example “FixedPointVolumeRayCastMapperCT”.<u></u><u></u></p>
<p class="MsoNormal">Although the performance is poor, it works, since the texture successfully appears in the HMD and its tracking is integrated with the WindowInteractor.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My colleague has made an investigation about this issue comparing both examples, he concluded that the problem is related with the “SmartVolumeMapper” class.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">So I would like to ask a few questions:<u></u><u></u></p>
<p><u></u><span>1)<span style="font:7.0pt "Times New Roman"">
</span></span><u></u>Does the remote module vtkOpenVR has support for volume rendering?
<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:18.0pt">2a) If it does, what I'm doing wrong? Is there any problem with SmartVolumeMapper implementation for running vtkOpenVr applications?<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:18.0pt">2b) If it don’t, how I can add volume rendering support for vtkOpenVR? (I and my team are willing to do this)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank you very much!<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal">Guilherme<u></u><u></u></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>