[vtkusers] Render results differ with Paraview

Slaughter, Andrew E andrew.slaughter at inl.gov
Thu Nov 17 10:09:04 EST 2016


Thank you, worked like a charm. I will update the Exodus example on the
wiki to include this.

On Wed, Nov 16, 2016 at 9:15 PM, Cory Quammen <cory.quammen at kitware.com>
wrote:

> Andrew,
>
> Please add
>
> mapper.InterpolateScalarsBeforeMappingOn()
>
> to your script. This should get your example to render the same way
> ParaView does by default.
>
> See this blog post for more details:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__blog.
> kitware.com_what-2Dis-2Dinterpolatescalarsbeforemapp
> ing-2Din-2Dvtk_&d=CwIBaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB_
> _aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8
> c&m=0oicLgp7qUpCO1b7bfKpO_l4jQFlDVseMnuOHdbYKew&s=sYF5vqvJURaL8N-
> hnp5tmFimChBukKggn2sx7r6BFtA&e=
>
> HTH,
> Cory
>
> On Wed, Nov 16, 2016 at 7:30 PM, Slaughter, Andrew E
> <andrew.slaughter at inl.gov> wrote:
> > I am writing a VTK python script (VTK7.0.0 on OSX) to read and render an
> > ExodusII file. I am getting results that differ quite a bit from Paraview
> > (4.3.1), as shown in the attached images.
> >
> > My python script (also attached) produces a result that is not nearly as
> > smooth as Paraview.  I am likely using an incorrect filter or missing
> some
> > setting and would appreciate if someone could assist me in improving my
> > script.
> >
> > Thanks,
> >
> > Andrew
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.
> kitware.com_opensource_opensource.html&d=CwIBaQ&c=
> 54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_
> HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=0oicLgp7qUpCO1b7bfKpO_
> l4jQFlDVseMnuOHdbYKew&s=Qmmnd04kg8EZ7XX1H_H5dhqDcQjcag2iq9a9h8cfNJ8&e=
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.vtk.
> org_Wiki_VTK-5FFAQ&d=CwIBaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB_
> _aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8
> c&m=0oicLgp7qUpCO1b7bfKpO_l4jQFlDVseMnuOHdbYKew&s=vVaBo4M__P4kvs7b1CDiu9_
> uAhpqrvqDGz-GXd93MjQ&e=
> >
> > Search the list archives at: https://urldefense.proofpoint.
> com/v2/url?u=http-3A__markmail.org_search_-3Fq-3Dvtkusers&d=CwIBaQ&c=
> 54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_
> HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=0oicLgp7qUpCO1b7bfKpO_
> l4jQFlDVseMnuOHdbYKew&s=fWW0fqYgfjYdhf_fJUqYyXpM7NW0hYRTvAUu_iQNQg4&e=
> >
> > Follow this link to subscribe/unsubscribe:
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__public.
> kitware.com_mailman_listinfo_vtkusers&d=CwIBaQ&c=
> 54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_
> HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=0oicLgp7qUpCO1b7bfKpO_
> l4jQFlDVseMnuOHdbYKew&s=G8Tq_L0DynuT_c7uFthEkEJXAeDIut9waYcf8DJicps&e=
> >
>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161117/c31cc031/attachment.html>


More information about the vtkusers mailing list