[Imstk-developers] Default renderer

Milef, Nicholas Boris milefn at rpi.edu
Tue Jan 3 12:52:08 EST 2017


Hi Alexis,

That makes sense. The problem was that I made a set of abstract classes that is currently decoupled from the VTK and the Vulkan renderers. The simulation manager used to have an imstkVTKRenderer class, and I removed that and replaced it with the abstract imstkRenderer class. I could use the CMake variables to change which renderer gets added to the Simulation Manager class.
________________________________
From: Alexis Girault [alexis.girault at kitware.com]
Sent: Tuesday, January 03, 2017 12:38 PM
To: Andinet Enquobahrie
Cc: Milef, Nicholas Boris; imstk-developers at imstk.org
Subject: Re: [Imstk-developers] Default renderer

Hi Nick,

Indeed we'll have VTK as default, however the switch between VTK and Vulkan can be made at configuration time in CMake with a variable like 'USE_Vulkan` defaulted to OFF. Based on this cmake variable we can then download/compile VTK or Vulkan+dependencies and define pre-compilation variables to use VTK or Vulkan c++ code.

I described the process a couple weeks ago on your merge request here: https://gitlab.kitware.com/iMSTK/iMSTK/merge_requests/111/diffs#9a2aa4db38d3115ed60da621e012c0efc0172aae_139_152

Best,

Alexis Girault
R&D Engineer in Medical Computing
Kitware, Inc.

http://www.kitware.com<http://www.kitware.com/>
(919) 969-6990 x325<tel:(919)+969-6990+x325>

On Tue, Jan 3, 2017 at 11:56 AM, Andinet Enquobahrie <andinet.enqu at kitware.com<mailto:andinet.enqu at kitware.com>> wrote:
VTK should be the default renderer.

On Tue, Jan 3, 2017 at 11:43 AM, Milef, Nicholas Boris <milefn at rpi.edu<mailto:milefn at rpi.edu>> wrote:
> I'm almost done with the abstraction layer, but how should the default
> renderer be handled? Should the user explicity define the renderer they want
> or should VTK be the default? I'm just curious because there might be a case
> if the user doesn't want to download VTK since it takes some time to
> download/compile.
>
> _______________________________________________
> Imstk-developers mailing list
> Imstk-developers at imstk.org<mailto:Imstk-developers at imstk.org>
> http://public.kitware.com/mailman/listinfo/imstk-developers
>



--
Andinet Enquobahrie, Ph.D., MBA
Assistant Director of Medical Computing
Kitware, Inc.

http://www.kitware.com
(919) 969-6990 x311<tel:%28919%29%20969-6990%20x311>
_______________________________________________
Imstk-developers mailing list
Imstk-developers at imstk.org<mailto:Imstk-developers at imstk.org>
http://public.kitware.com/mailman/listinfo/imstk-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/imstk-developers/attachments/20170103/27a3f4fd/attachment.html>


More information about the Imstk-developers mailing list