[Paraview] Compilation with Manta plugin
David E DeMarle
dave.demarle at kitware.com
Mon May 19 10:43:53 EDT 2014
* Search the paraview bug tracker for Manta. There are a handful of known
bugs listed there that I never got around to resolving when we first made
the plugin.
* The plugin works by sending the surface geometry over to manta instead of
OpenGL for rendering. We made no attempt to hand volumes off, so I am not
surprised that volume rendering does not work. Manta's predecessor did a
great job with volume rendering (and direct isosurface rendering), so manta
might too if we do hand them off but I've never looked into whether manta
has the same features that rtrt/star-ray did.
* opacity should work, if the normal opacity control in the GUI is not
hooked up then I am thinking it is dependent on the color mode (render
single color vs color mapping) like the advanced materials are and will
only take effect with single color.
* you are probably the first person to try it on mavericks. I appreciate
the patches.
* in general the code has been stagnant since we (kitware and LANL) first
developed a couple of years ago. We've done what was necessary to keep it
up to date at ParaView release time, but there hasn't been enough interest
(either external developers or funded projects) to turn it into the
photorealistic rendering back end that it should be.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Mon, May 19, 2014 at 10:24 AM, Wolfram, Phillip J <pwolfram at lanl.gov>wrote:
> Thanks David, I see…
>
> Also, should the Manta plugin work with transparency/opacity? It
> currently does not (there was a typo in the original email). Is there a
> listing somewhere of the known limitations of the plugin? For example, it
> doesn’t appear to render volumes.
>
> I’m on OS X Mavericks (10.9) and had to modify the plugin to work. I
> use the latest version and update the headers so it properly compiles
> (please see attached). I’ve attached it so that it may also be considered
> for inclusion in the ParaView SuperBuild because the previous version of
> the plugin is out of date for OS X 10.9.
>
> I’m happy to provide additional information as useful and will submit
> the bug request after hearing back from you so that I properly include all
> the issues I’ve been having.
>
> Thank you!
> Phil
>
> --------------------------------------------------
> Phillip Wolfram, Ph.D.
> Postdoctoral Research Associate
> T-3 Fluid Dynamics and Structural Mechanics
> Climate, Ocean and Sea Ice Modeling
> Los Alamos National Laboratory
> Phone: (505) 667-7744
> Email: pwolfram at lanl.gov
>
>
>
>
> On May 17, 2014, at 6:58 PM, David E DeMarle <dave.demarle at kitware.com>
> wrote:
>
> I don't think the rendering bug is related to the compilation warnings.
> I think it is an off by one error in the color mapping.
>
> Please submit a bug report and I will fix it in master.
>
> thanks.
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Fri, May 16, 2014 at 10:25 PM, Wolfram, Phillip J <pwolfram at lanl.gov>wrote:
>
> Dear Paraview Users and Developers,
>
> Has anyone recently compiled Paraview from source with the Manta plugin,
> particularly on OS X 10.9 (Mavericks)?
>
> I have successfully compiled Manta, but have the compiler warnings of
> type:
>
> ld: warning: direct access in ___cxx_global_var_init27 to global weak
> symbol guard variable for Manta::MantaRTTI<Manta::Texture<float>
> >::force_initialize means the weak symbol cannot be overridden at runtime.
> This was likely caused by different translation units being compiled with
> different visibility settings.
> ld: warning: direct access in ___cxx_global_var_init28 to global weak
> symbol guard variable for Manta::MantaRTTI<Manta::Constant<float> >::init
> means the weak symbol cannot be overridden at runtime. This was likely
> caused by different translation units being compiled with different
> visibility settings.
>
> etc
>
> The executable appears to be working properly, but it is less clear if
> the Manta ray tracing plugin is working correctly. For example, it does
> allow for changing opacity and there are some rendering artifacts. The
> benefit is higher quality rendering, but if it doesn't work properly it
> clearly isn't worth it as you can see below where the OpenGL renderer is on
> the left and the Manta renderer is on the right. Notice how there is a
> patch of red missing near the notch.
>
> <Screen Shot 2014-05-16 at 8.19.40 PM.png>
>
>
> I suspect it is a compilation issue because of the warnings but would
> greatly appreciate any ideas / suggestions from the community. I may also
> be using the plugin incorrectly and would appreciate correction too.
>
>
> Thanks,
>
>
> Phillip
>
>
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140519/d1b3a0a0/attachment.html>
More information about the ParaView
mailing list