Hi Bishwajit, The filter "ImageResampling" is not available in version 4.0.1. It was introduced in 4.2.0. So you will have to get a newer version of ParaView. You can find ParaView binaries for Linux here: http://www.paraview.org/download/.
Since 5.1, "ImageResampling" is deprecated and "ResampleToImage" is its replacement. Please refer to this page for more info about the new filter: https://blog.kitware.com/dataset-resampling-filters/ You can find the driver ParaView is using for rendering in the Help>About menu. The binaries provided in the website mentioned above have support for mesa for rendering using CPU using the --mesa-llvm flag. Please refer to the page for more info: https://blog.kitware.com/paraview-5-0-0-available-for-download/ Hope this helps. Thanks Sujin On Tue, Feb 7, 2017 at 11:48 PM, Bishwajit Dutta <bdu...@vt.edu> wrote: > Hi All, > > I am new to paraview and need help on the below. Thanks for answering them. > > a) > I am running paraview 4.0.1 installed in ubuntu with python 2.7.6 and one > of the scripts (cmdline #pvpython script_name.py) is crashing at call : > sampler = paraview.simple.ImageResampling(Input=reader) > > ------------------log message------------------------ > <paraview.servermanager.XMLImageDataReader object at 0xae40a4f0> > Traceback (most recent call last): > File "png-setup.py", line 34, in <module> > sampler = paraview.simple.ImageResampling(Input=reader) > AttributeError: 'module' object has no attribute 'ImageResampling' > ------------------------------------------------------------ > > I even tried with the latest paraview but it also crashes. > > b) My system has NVIDIA GPU, how do I know if paraview is using GPU > acceleration > or its using CPU for rendering? > > c) Is there any pvpython commandline option to use CPU acceleration or > paraview has to be compiled separately for that. > > > > BR, > Bishwajit > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > >
_______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview