[vtkusers] Problems in rendering volume with vtkOpenVR

Ken Martin ken.martin at kitware.com
Wed Jul 6 16:30:03 EDT 2016


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.

On Wed, Jul 6, 2016 at 1:54 PM, Guilherme Alcarde Gallo <
guilherme.gallo at eldorado.org.br> wrote:

> Hello all!
>
>
>
> I have succeeded in building VTK with vtkOpenVR remote module and running
> a simple Cone example in my OSVR HMD.
>
> But when I’ve attempted to run the volume rendering example
> "GPURenderDemo", I got a black screen and a lot of repetitive errors:
>
> *ERROR: In*
>
> *C:\VTK-master\Rendering\OpenGL2\vtkTextureObject.cxx,*
>
> *line 2035*
>
> *vtkTextureObject (0000000BE6462060): failed at glCopyTexImage2D 6402 1
> OpenGL errors detected*
>
> *  0 : (1282) Invalid operation*
>
>
>
> Also, I have tried to run the CPU-based volume rendering example
> “FixedPointVolumeRayCastMapperCT”.
>
> Although the performance is poor, it works, since the texture successfully
> appears in the HMD and its tracking is integrated with the WindowInteractor.
>
>
>
> My colleague has made an investigation about this issue comparing both
> examples, he concluded that the problem is related with the
> “SmartVolumeMapper” class.
>
>
>
> So I would like to ask a few questions:
>
> 1)      Does the remote module vtkOpenVR has support for volume
> rendering?
>
> 2a) If it does, what I'm doing wrong? Is there any problem with
> SmartVolumeMapper implementation for running vtkOpenVr applications?
>
> 2b) If it don’t, how I can add volume rendering support for vtkOpenVR? (I
> and my team are willing to do this)
>
>
>
> Thank you very much!
>
> Guilherme
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160706/7bcd7875/attachment.html>


More information about the vtkusers mailing list