[Paraview] rescale each frame
Dear Paraview's list, I was looking for an option to rescale the data range at each frame of an animation. In the mailing list archives, I have found an exchange about this, where "Ken" asked: > Furthermore, the result could be highly misleading. The constantly rescaled > colors would show shifts of the scalar over time that simply do not exist. Do > you have some use case in which these concerns do not apply? And I do have a very simple one: in my non linear calculations, I want to emphasize the way the evolving internal variables modify the shape of some field of interest, independently of the field intensity evolution. I hope I am clear enough. Anyway, many thanks for all the work. Cheers, Martin. ___ 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
[Paraview] automatically export image from state
Dear all: I'm trying to use a small script to automatically load a state and create an image. Here it is: from paraview.simple import * servermanager.LoadState("toto.pvsm") SetActiveView(GetRenderView()) Render() WriteImage("toto.png") The script runs well, but the created file is all black except for the axes etc. I'm running Linux. Any help would be highly appreciated. Martin ___ 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
Re: [Paraview] automatically export image from state
Many thanks for your help, Utkarsh. I have tried your solution, but I get "TypeError: 'RenderView' object does not support indexing". However, thanks to your comment I moved to 3.12 (I was running 3.10), and now everything works fine. A thousand thanks! Martin On 02/06/2012 12:36 PM, Utkarsh Ayachit wrote: There was a bug in the past with GetRenderView() that I'm sure has been fixed for a while. Not sure, if you're running into it. Try this instead: from paraview.simple import * servermanager.LoadState("toto.pvsm") SetActiveView(GetRenderViews()[0]) Render() WriteImage("toto.png") Utkarsh On Mon, Feb 6, 2012 at 3:22 PM, Martin Genet wrote: Dear all: I'm trying to use a small script to automatically load a state and create an image. Here it is: from paraview.simple import * servermanager.LoadState("toto.pvsm") SetActiveView(GetRenderView()) Render() WriteImage("toto.png") The script runs well, but the created file is all black except for the axes etc. I'm running Linux. Any help would be highly appreciated. Martin ___ 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 ___ 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
Re: [Paraview] Does anyone know of a paraview version where "Clip Closed Surface" actually worked?
Dear ParaView people: I'm also interested in using vtkClipClosedSurface, but it makes my ParaView (3.98—linux64) crash as well. Anybody with some experience on that? Thanks! Martin ___ 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
[Paraview] Streamline a surface instead of a line
Hello, If I have a vector field defined over some mesh, I can use the streamline filter to "follow" the vector field from one point, thus creating a line. That's super nice. But now, suppose I have two (orthogonal) vector fields defined over my mesh. Is there a way to create the surface that follows these two vectors from one point? That would quite awesome. Thanks! Martin ___ 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
[Paraview] RGB color coding
Dear ParaView people, I have a vector field V defined on some mesh, and I am trying to color-code it following the scheme: - R = |V.x| - G = |V.y| - B = |V.z| Does that make sense? Is there a way to do so? Thanks! Martin ___ 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://public.kitware.com/mailman/listinfo/paraview
[Paraview] RGB color coding
Dear ParaView people, I'm trying to make a periodic but non-symmetric color map. I tried the attached xml definition, but it seems that between red and magenta, ParaView interpolates "in the other direction", see attached png screenshot. Is that the expected behavior? Is there a way to interpolate differently? Thanks! Martin ___ 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://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] RGB color coding
Awesome, thanks! Martin On 12/09/2014 06:43 PM, Moreland, Kenneth wrote: You need to change your color space to "RGB". In the GUI, there is a combo box labeled Color Space that you probably have set to "HSV". Change that to "RGB". Alternately, in your xml file change the space attribute in the ColorMap tag to "RGB". -Ken Sent from my iPad so blame autocorrect. On Dec 9, 2014, at 8:43 AM, Martin Genet wrote: Dear ParaView people, I'm trying to make a periodic but non-symmetric color map. I tried the attached xml definition, but it seems that between red and magenta, ParaView interpolates "in the other direction", see attached png screenshot. Is that the expected behavior? Is there a way to interpolate differently? Thanks! Martin ___ 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://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 Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview