[Paraview] add scalar and color by scalar?

2012-06-12 Thread Chris
Hello people, I want to add a scalar with the calculator and do the coloring afterwards by scalar data. Can someone help me out and explain me how it works please? Thx, Chris ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Sebastien Jourdain
What you try to do is the most complex solution, in the case you really need a single mesh node inside your VRML file. If you don't need that, then the actions are load the files, set colors, export and done. Seb Action 1: In the menu: File Open + In the Properties tab click on Apply Action 2:

Re: [Paraview] add scalar and color by scalar?

2012-06-12 Thread Chris
Okay I found it. Just if someone needs it. Here are the points. Properties: Result Array Name change to scalars and add a value by the calculator. Furthermore: display- color by scalar and add a color list. Hello people, I want to add a scalar with the calculator and do the coloring

Re: [Paraview] trouble compiling paraviewweb

2012-06-12 Thread Sebastien Jourdain
Hi Stuart, the issue is related to the fact that ParaView master is using the latest VTK that break some backward compatibility. To solve the issue, you have two choices. 1) Either update ParaViewWeb from its repository so it could work with ParaView/master. 2) Downgrade the ParaView that is

[Paraview] Relative paths in state file

2012-06-12 Thread Alexander Grayver
Hello, In state files there are absolute paths stored. If I try to change it to relative (the files just in the same folder): Property name=FileNames id=2794.FileNames number_of_elements=30 Element index=0 value=data_1.vtk/ ... It doesn't work anymore: ERROR: In

Re: [Paraview] Relative paths in state file

2012-06-12 Thread Utkarsh Ayachit
relative paths are not supported currently. On Tue, Jun 12, 2012 at 8:34 AM, Alexander Grayver agray...@gfz-potsdam.de wrote: Hello, In state files there are absolute paths stored. If I try to change it to relative (the files just in the same folder): Property name=FileNames

Re: [Paraview] help about the animation of image and mesh sequences

2012-06-12 Thread Utkarsh Ayachit
Please keep the responses to the mailing list. Try applying the Temporal Interpolator filter. Utkarsh On Mon, Jun 11, 2012 at 6:23 PM, Zhijun Zhang zjzh...@gmail.com wrote: hi Utkarsh:      Thank you very much.  It seems I did not open the file as *.vtk format. when I open the fille

Re: [Paraview] Relative paths in state file

2012-06-12 Thread Alexander Grayver
Is there any plans to implement this? This feature seems to be easy to implement and particularly useful, taking into account that ParaView is cross-platform. On 12.06.2012 15:09, Utkarsh Ayachit wrote: relative paths are not supported currently. On Tue, Jun 12, 2012 at 8:34 AM, Alexander

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Chris
Hello Sebastien, thx for your help. You are right it works great with a solid color. I only would like to have a bigger selection for them. Cann´t I take a color table? Or can I import colors? I tried to add a scalar but the scalar disappears after the export. Is there a opportunity to save

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Sebastien Jourdain
Hello Chris, I don't understand how you can't choose any color that you want. Basically on my Mac, I have access to the 16 Billions choices... Do you need more ? For the opacity, scroll down in the display tab and change the opacity slider. For the opacity in VRML, I don't know, but I think that

[Paraview] Simple script severe slowdown in loop

2012-06-12 Thread Andrew Pearson
Hi all. I'm a newbie to both ParaView and Python scripting. I have a large number of *.raw files that I wish to load, visualize and save via a screenshot. To do this, I used the start/stop trace feature to produce a python script for one instance, edited the python script by adding a for loop,

Re: [Paraview] Simple script severe slowdown in loop

2012-06-12 Thread Pat Marion
Hi Andrew, You're loading new data each loop, and never removing it. For starters, you could try adding a Delete call inside the loop after WriteImage: Delete(rho_180x180x180_frame0010_subs01_total_raw) Pat On Tue, Jun 12, 2012 at 1:03 PM, Andrew Pearson andrew.j.pear...@gmail.comwrote:

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Chris
Hello Sebastien, thank you very much, I just realized that I can change the color if I click on the solid button. For the style options like opacity I tried it to but it does not work to save these parameters neither with vtk nor with vrml files. Is there a trick how I can save them? What

Re: [Paraview] [EXTERNAL] Simple script severe slowdown in loop

2012-06-12 Thread Pat Marion
In ParaView GUI, each object in the Pipeline Browser is called a source proxy. The call to ImageReader() constructs a new source proxy, just like using File -- Open in the gui. There is something called the Proxy Manager which keeps track of the source proxies, whether they are assigned to

Re: [Paraview] [EXTERNAL] Simple script severe slowdown in loop

2012-06-12 Thread Weirs, V Gregory
Oh, I see. How about if I change the ImageReader line: for count in range(2,204): filename='/home/andy/Desktop/L2-1 Dicom/data8/rho_180x180x180_frame%04d_subs01_total.raw' % (count) rho_180x180x180_frame0010_subs01_total_raw.FilePrefix=filename filename_out='/home/andy/Desktop/L2-1

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Chris
Hello Sebastien, what do you mean with edit a text file? Can you give an example? Thx, Chris Can't you just edit a text file ? (meaning replacing the opacity inside the VRML file itself by something else ?) Otherwise, you will have to edit the vtkVRMLExporter.cxx file... And find why the

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Sebastien Jourdain
If you open the VRML file that you generated you will see inside something like that: material Material { ambientIntensity 0 diffuseColor 1 1 1 specularColor 0 0 0 shininess 0.0078125 transparency 0 } just replace transparency 0 by transparency 0.5 Does that make sense to you now

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Chris
Okay I tried it and it does not work. :-( I tried it with transparency 0.1, 0.5 and 0.9. Maybe I also have to change another parameter? Thx, Chris vi, vim, emacs, textedit, wordpad... On Tue, Jun 12, 2012 at 4:14 PM, Chris chris.schweigho...@gmx.net wrote: Yeah thanks that makes sense. :)

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Sebastien Jourdain
Which viewer did you used ? On Tue, Jun 12, 2012 at 4:35 PM, Chris chris.schweigho...@gmx.net wrote: Okay I tried it and it does not work. :-( I tried it with transparency 0.1, 0.5 and 0.9. Maybe I also have to change another parameter? Thx, Chris vi, vim, emacs, textedit, wordpad...

Re: [Paraview] one 3d model transparent color + one 3d model normal color for vrml

2012-06-12 Thread Chris
What program would you recommend to adopt vrml 3D models? Thx, Chris Am 12.06.2012 um 22:51 schrieb Sebastien Jourdain: ParaView do not read or write any opacity information in VRML. On Tue, Jun 12, 2012 at 4:50 PM, Chris chris.schweigho...@gmx.net wrote: Hello Sebastien, I used