[Imstk-developers] rendering mesh with wire frame mode in iMSTK
Milef, Nicholas Boris
milefn at rpi.edu
Tue May 16 17:07:45 EDT 2017
@Alexis, Thanks for the correction. I had an earlier branch that had a wireframeOn() function. We solved this issue by updating to the latest version of my fork.
@Zhaohui, I currently don't support WIREFRAME_SURFACE or POINTS on my Vulkan branch, just SURFACE and WIREFRAME for now.
________________________________
From: Alexis Girault [alexis.girault at kitware.com]
Sent: Tuesday, May 16, 2017 4:16 PM
To: Zhaohui Xia
Cc: Milef, Nicholas Boris; imstk-developers at imstk.org
Subject: Re: [Imstk-developers] rendering mesh with wire frame mode in iMSTK
You should do this with your material:
renderMaterial->wireframeOn(RenderMaterial::DisplayMode::WIREFRAME);
That's the way, just using RenderMaterial::setDisplayMode()<https://gitlab.kitware.com/iMSTK/iMSTK/blob/838ff72/Base/Materials/imstkRenderMaterial.h#L39-56> and not RenderMaterial::wireframeOn() which doesn't exist. You could also use DisplayMode::WIREFRAME_SURFACE as an argument if you want to see both surface and wireframe.
Thanks. But I cannot use the that version as we talked before.
What do you mean by that? Do you encounter issues with the latest version which were not in previous versions of iMSTK?
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, May 16, 2017 at 4:10 PM, Zhaohui Xia <unihui at gmail.com<mailto:unihui at gmail.com>> wrote:
Thanks. But I cannot use the that version as we talked before.
From: Milef, Nicholas Boris [mailto:milefn at rpi.edu<mailto:milefn at rpi.edu>]
Sent: 2017年5月16日 16:04
To: Zhaohui Xia <unihui at gmail.com<mailto:unihui at gmail.com>>; imstk-developers at imstk.org<mailto:imstk-developers at imstk.org>
Subject: RE: [Imstk-developers] rendering mesh with wire frame mode in iMSTK
Hi Zhaohui,
You should do this with your material:
renderMaterial->wireframeOn(RenderMaterial::DisplayMode::WIREFRAME);
Thanks,
Nick
Software Engineer
Center for Modeling, Simulation, & Imaging in Medicine
Rensselaer Polytechnic Institute
milefn at rpi.edu<mailto:milefn at rpi.edu>
________________________________
From: Imstk-developers [imstk-developers-bounces at imstk.org<mailto:imstk-developers-bounces at imstk.org>] on behalf of Zhaohui Xia [unihui at gmail.com<mailto:unihui at gmail.com>]
Sent: Tuesday, May 16, 2017 3:54 PM
To: imstk-developers at imstk.org<mailto:imstk-developers at imstk.org>
Subject: [Imstk-developers] rendering mesh with wire frame mode in iMSTK
Hi,
Can we add the functionality in iMSTK for supporting rendering mesh with wireframe mode? It will be helpful for debugging.
Best Regards,
Zhaohui
_______________________________________________
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/20170516/ac46a3f0/attachment.html>
More information about the Imstk-developers
mailing list