[vtkusers] General Question to VTK in VR

Ken Martin ken.martin at kitware.com
Fri Apr 6 11:01:05 EDT 2018


At a high level the OpenVR module in VTK definitely supports animations in
VR. We have a demo of 4D pediatric medical data and another of airflow
stream particles. Both run nicely with no issues. So technically there is
no problem with it.

I believe the nightly PV builds for windows now include the OpenVR plugin
and it also supports animations using the OpenVR plugin. This version may
be more recent and capable than the OpenVR specific executable that I
previously posted. I think you send to OpenVR first, and then start playing
the animation. I have tested this, just not in the past month or so.
But....200 fps animations are not really PVs strong suit (never really been
a main use case for it) so you may run into performance issues unless you
are careful.

FWIW PV uses the shared context approach for OpenVR.

The VR (not openVR) plugin for PV is a completely different beast.

- Ken

On Fri, Apr 6, 2018 at 10:46 AM, Jamil Goettlich <jamil.goettlich at gmail.com>
wrote:

> Hello VTK Users,
>
> I have some general questions to the current state of VR in VTK. Please
> let me know if this is not the right place to ask questions about that.
> According to what I have read (among others "Enhancements to VTK enabling
> scientific visualization in immersive environments") there are two
> favourized ways of bringing VTK into VR:
> - VR-Toolkit embedding --> Using VTK with the OpenVR API (HMDs)
> - OpenGL context sharing (VTK Rendering External) --> Using existing
> contexts from other (VR-)Toolkits (Multiple devices)
>
> Until now I have only seen single frames being displayed in VR (in VTK as
> well as in Paraview), not unsteady state (e.g. in ParaView 5.3, OpenVR
> version, I cannot press the play button and send the content to OpenVR, I
> can only see one frame on the HMD).
> From what I have seen so far, the VR-Plugin of ParaView does not use any
> of the two methods. They are using the library VRPN for interacting but all
> the rest is done within ParaView.
>
> My questions are the following:
> - Is there anybody who has displayed unsteady states with VTK in VR and if
> so what method was used and how was that done?
> - Is there any paper or detailled documentation to the OpenGL context
> sharing method? I did not find alot to that except from the testing example
> "TestGLUTRenderWindow.cxx" which I was not able to build properly until
> now. Also, if anyone has experience using FreeVR with VTK OpenGL context
> sharing method, I would be very interested in that too.
>
> I hope my questions are appropriate (and not too widespread) and I would
> be very happy to be pointed to some current sources, especially concerning
> unsteady state simulations with VTK in VR. I would be very happy for anyone
> to share their own experiences or some current papers to that topic.
>
> Thanks alot,
>
> Jamil
>
>
> _______________________________________________
> 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:
> https://vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

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: <https://vtk.org/pipermail/vtkusers/attachments/20180406/558277cf/attachment.html>


More information about the vtkusers mailing list