Re: [Paraview] Question to Printing Postscriptfile

2008-08-18 Thread Moreland, Kenneth
There is no direct way to print from within ParaView.  However, you can save a 
snapshot of the screen to a variety of formats including pdf.  Just go to File 
- Save Screenshot.  From there you should find it easy to print the image.

-Ken

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Harald und Sigrid Rieger
 Sent: Sunday, August 17, 2008 3:23 PM
 To: paraview@paraview.org
 Subject: [Paraview] Question to Printing Postscriptfile

 Hello
 I downloaded the File paraview-3.3.1-Linux-i686 for testing Paraview.
 When I try to print out the result view I can not find the print
 option?!
 How can make a picture with good quality in paraview?

 Harald

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Parallel Paraview

2008-08-19 Thread Moreland, Kenneth
When you say speed, I assume you are referring to rendering speed.  It sounds 
like there might be a problem with the X servers on your server machine.  
Verify that you can properly create OpenGL X windows on each of the nodes of 
your server.  See the ParaView wiki for more information.

  http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#X_Connections

If your server does not have rendering hardware, then use OSMesa and circumvent 
the whole X windows issues altogether (details of that are on the Wiki as well).

-Ken


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Biao She
Sent: Monday, August 18, 2008 5:35 PM
To: paraview@paraview.org
Subject: [Paraview] Parallel Paraview

Hi there.
I successfully installed paraview with MPI support and managed to connect to 
the server. But the speed is strangely slow.
I got the following two types of errors, I am wondering if these are the 
reasons for a slow speed:

1. xlib: extension XFree86-DRI missing on display HostMachineIP.
2. pvserver(5037): unaligned access to Ox624e54oc, ip = 
ox23568e0

Thanks for your help!

Aaron
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Can sources use filenames in property panels?

2008-08-26 Thread Moreland, Kenneth
To try to solve your problem another way, you can create multiple readers that 
read files with the same extension and resolve which one to use by implementing 
a CanReadFile method.  Before assigning a file to a particular VTK reader 
class, ParaView will try to run a method called CanReadFile that takes a const 
char* filename argument.  If that method exists and returns false, that reader 
is not used.  This process works outside of the server manager functions, so 
you don't need to make any modifications to the server manager XML.

There are several examples of readers in VTK/IO that implement the CanReadFile 
convention.  You can look at those for more details.

As I recall, first reader found that either has no CanReadFile or a CanReadFile 
that returns true is used, and the readers are traversed from the last 
registered to the first.  This is so that readers defined by plugins can 
conditionally override readers for file extensions that already exist.

-Ken

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Samuel Crow
 Sent: Monday, August 25, 2008 1:21 PM
 To: paraview@paraview.org
 Subject: [Paraview] Can sources use filenames in property panels?

 Hello again,

 I'm trying to make a source that can read in two files and generate output
 based on those files and a few other selection boxes on the panel
 describing the file processing.  I cannot use file readers for the two
 files because there are already readers registered to both file types and
 they produce inappropriate data conversions for the type of data
 processing I have to do on the files.  As such, I also cannot use a filter
 to process the input files due to that fact.

 Whenever I try to make a string gadget on the source's properties panel it
 doesn't register on the sources menu.  When I comment out the
 FileListDomain from each of the filename gadgets, the string gadgets don't
 appear at all but the plugin registers as a source.  Whether I do or don't
 comment out the FileListDomain, everything compiles correctly and loads
 correctly under the CVS version of Paraview for Windows from last
 Wednesday.

 How can I make a source that can read a file?




 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] crash problems

2008-08-26 Thread Moreland, Kenneth
I think I see the problem.  I'll test a fix tonight, probably check in a fix 
tomorrow, and this should work in ParaView 3.4.

-Ken


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gang
Sent: Tuesday, August 26, 2008 9:40 AM
To: paraview
Subject: [Paraview] crash problems




   Hi ,everyone, long time have not submitted emails for the long 
summer holiday.


   Recently, when practise Paraview 3.2.2, it suddently crashed.


   as follows:


   open, e.g the containing file with Paraview can.ex2

   in the Properties tab , at the buttom, Check Has Mode Shapes

   drag the Mode slider to some position

   Press  Refresh

   firstly Error messagebox, then crashed..

   Just report my experience.

   Thanks.

   Gang
2008-08-26

Gang
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] 64 bit

2008-08-28 Thread Moreland, Kenneth
To be honest, I'm not sure.  I've only ever done it on Mac.  I think you may 
have to set the CFLAGS and CXXFLAGS to add a gcc flag to compile 32-bit 
(probably using the -march flag or something equivalent).  Of course, you would 
have to make sure the variable is set at the beginning of the first invocation 
of CMake to ensure that the TRY_RUNs provide the right information.

-Ken


From: Biao She [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2008 3:24 PM
To: Moreland, Kenneth
Subject: Re: [Paraview] 64 bit

Thanks for your advice. I really appreciate.
This might be a silly question, but I don't know how to control the 64 bit or 
32 bit compile. Is there an cmake option for that or should I try to compile it 
on a 32 bit system?
Cheers,

Aaron
On Thu, Aug 28, 2008 at 3:15 PM, Moreland, Kenneth [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:

That is correct.  From your description of the error, I thought you might have 
been trying to run mpirun -np 4 ./paraview, which will not work.



I've never run into your error (although I have little experience with 64-bit 
builds).  From the details you gave I cannot know what might be causing the 
rendering slowness, but have you tried compiling everything 32-bit?  That would 
at least give you comparison timing and help you narrow down whether the 
problem is related to the 64-bit build.



-Ken





From: Biao She [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 28, 2008 3:10 PM
To: Moreland, Kenneth
Subject: Re: [Paraview] 64 bit



Hi Ken.
Thanks for you reply. Sorry for the confusion.
I am not sure if I get what you mean. but I run the paraview server program in 
an MPI job and then run the paraview executable to connect to the server. The 
command which I use to start paraview server is: mpirun -np 4 ./pvserver.
Is this the information you want from me? Please let me know if I am wrong.
Thanks again!

Aaron

On Thu, Aug 28, 2008 at 7:09 AM, Moreland, Kenneth [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:

What do you mean by running ParaView in parallel?  You are not trying to run 
the paraview executable in an MPI job, are you?



-Ken





From: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] [mailto:[EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED]] On Behalf Of Biao She
Sent: Wednesday, August 27, 2008 4:26 PM
To: paraview@paraview.orgmailto:paraview@paraview.org
Subject: [Paraview] 64 bit



Hi there.
I try to use a 64 bit linux to run paraview and I can compile and install it 
successfully. The problem is when I run the software in the parallel mode, I 
get errors like this:
paraview(15611): unaligned access to 0x234381cc, ip=0x21d84ca1
The rendering speed is quiet slow even when I use lots of CUPs. I don't know if 
these errors are reponsible for the slow speed. Does anyone know how to fix the 
problem?
Thanks a lot!

Aaron



--
She, Biao
Department of Computing Science,
University of Alberta, Edmonton, Canada



--
She, Biao
Department of Computing Science,
University of Alberta, Edmonton, Canada
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] casting vtkPointData* to double*

2008-09-05 Thread Moreland, Kenneth
Note that ParaView does not really use the active scalars, so there is a
good chance that you will be unpleasantly surprised when you don't get the
array you expect.

ParaView uses a newer convention of vtkAlgorithm to specify input arrays:
the vtkAlgorithm::SelectInputScalars() method.  The SelectInputScalars
method has a 5 argument signature which I won't get into, but can be set
through the server manager with a StringVectorProperty that has an
ArrayListDomain assigned to it.  The XML for defining this property looks
something like this.

 StringVectorProperty
name=SelectInputScalars
command=SetInputArrayToProcess
number_of_elements=5
element_types=0 0 0 0 2
animateable=0
label=Contour By
  ArrayListDomain name=array_list attribute_type=Scalars
RequiredProperties
   Property name=Input function=Input/
/RequiredProperties
  /ArrayListDomain
  Documentation
Doing something with this array...
  /Documentation
 /StringVectorProperty

See the ParaView guide for more information on these tags.

From within your filter, you can use the
vtkAlgorithm::GetInputArrayToProcess method to get the selected array from
the input.

  vtkDataArary *input_array = this-GetInputArrayToProcess(0, input);

By the way, I notice that you are using the old-style filter convention of
overriding Execute and calling GetInput and GetOutput on yourself.  New
filters should really override RequestData and get the inputs and outputs
from the inputVector and outputVector arguments, respectively.  The data
objects have convenience methods to get the data objects from the
information vectors.

  vtkStructuredGrid *input = vtkStructuredGrid::GetData(inputVector[0]);
  vtkStructuredGrid *output = vtkStructuredGrid::GetData(outputVector);

-Ken


On 9/4/08 6:57 AM, David E DeMarle [EMAIL PROTECTED] wrote:

 vtkPointData is a collection of arrays (for example temperature,
 density, velocity), each of which may have multiple components (for
 example VEL_X, VEL_Y, VEL_Z) and multiple tuples (the temperature at
 the first point, the temperature at the second point, ..., the
 temperature at the millionth point). vtkPointData::GetScalars() will
 give you access to the currently active scalar array. You will then
 have to get access to the raw pointer or use element indexing (both of
 which are descibed in the vtkDataArray documentation) to do element
 wise arithmetic. Lastly, you may want to look at the calculator
 filter.

 cheers,
 Dave DeMarle


 On Thu, Sep 4, 2008 at 3:23 AM, Natalie Happenhofer
 [EMAIL PROTECTED] wrote:
 Hi!
 I´m writing a filter and I want to perform arithmetic operations, i.e. +=
 with the scalar data associated to each point of my grid. So I get the Point
 Data from the input file:

 void vtkHorizontalAverage::Execute()
 {vtkStructuredGrid *input = this-GetInput();
 vtkStructuredGrid *output = this-GetOutput();

  vtkPointData *inPtr = input-GetPointData();
  vtkPointData *outPtr = output-GetPointData();
 ...

 here and now I want to apply the += operator, but I have no idea how to cast
 my vtkPointData - object, since I do not really know where to fit the cast
 operator in, to the vtkPointData class or to the vtkDataArray..

 I could also use a reinterpretcast, but I´m not sure if the format of the
 data in vtkPointData is double or float..

 So, any help would be apreciated!
 thx,
 NH



 
 Express yourself instantly with MSN Messenger! MSN Messenger
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Read one exodus file among many

2008-09-05 Thread Moreland, Kenneth
Try scrolling down to the bottom of the object inspector panel and modify
the filename pattern properties.  I usually find it easiest to just set the
start and end indices.

-Ken


On 9/5/08 12:49 PM, Scott, W Alan [EMAIL PROTECTED] wrote:

 If I have an 8 exodus file dataset, how do I only read in one of these files?
 Is the only way to copy this file to a temp directory?  Even if I try to open
 one file, they all are loaded in.

 Thanks,

 Alan






___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] custom filter?

2008-09-05 Thread Moreland, Kenneth
It is part of the ParaView test data.  You can get it from the ParaView
download web page.

-Ken


On 9/5/08 2:24 PM, Dominik Szczerba [EMAIL PROTECTED] wrote:

 Where can I find the file can.ex2 to try? I dont see it on the page.
 -- Dominik


 On Friday 05 September 2008 08:41:14 pm Moreland, Kenneth wrote:
 I suspect the problems you are having with transient data is the same bug
 reported in issue #7586.

   http://www.paraview.org/Bug/view.php?id=7586

 -Ken

 On 9/4/08 9:25 AM, Dominik Szczerba [EMAIL PROTECTED] wrote:
 Thanks for the detailed explanation.

 This does not seem ti work for transient datasets (it does the job for a
 given timestep only).
 In addition, display properties can not be stored (opacity, active color
 scalars etc).
 Or did I overlook something? Or do I need a more recent CVS? (mine is
 early August)

 Thanks a lot,
 Dominik

 On Thursday 04 September 2008 03:35:54 pm Utkarsh Ayachit wrote:
 Custom filter mechanism is designed to be used to combine a sub-pipeline
 into a single filter (or source) (with all the a paramter settings for
 each of the individual filters/sources) exposing a subset of the
 parameters to the user.

 Eg. Here's my pipeline:
 Sphere - Shrink -- Extract Edges

 Suppose we want to combine the Shrink--ExtractEdges into a new custom
 filter ShrunkEdges.

 * Select the Shrink and the Extract Edges filter in the pipeline browser
 (use Ctrl key for multiple selections).
 * With the two filters selected, go to Tools menu and choose Create
 Custom Filter
 * The Create Custom Filter wizard will show up.
 * First give our filter a new name. This name must be unique and if
 conflicting an error message will be shown. We are calling this one
 ShrunkEdges (step1.png). Then click Next.
 * We now choose what are the inputs to the custom filter that the user
 can set. By default, paraView will find the first filter in the
 sub-pipeline (in this case Shrink) and expose it's Input property as
 the input to this custom filter. Since that's exactly what we want here
 (step2.png), click Next.
 * Next we need to choose the outputs from this filter. By default,
 paraview will choose the last filter in the subpipeline (in this case
 'ExtractEdges'. Let's say we want this custom filter to have two
 outputs, the output after the shrink stage as well as the one after
 extracting edges. ExtractEdges is already exposed as an output, we now
 expose the shrink filter as well. Select the Shrink in the left-side
 tree. It's output ports will be shown the Output Port combo. Choose
 the output port (relevant if the filter itself had more than 1 output
 ports), the assign it some unique name, say ShrunkOutput then press
 + to add it to the exposed outputs list (step3.png).  Click Next.
 * Next we expose the subset of parameters on this custom filter that the
 user can change at run-time. Let's say we want to allow the user to
 change the Shrink Factor on the shrink filter. Select the Shrink
 filter in the tree and then select the property to expose in the
 Property combo, assign it some name (or use the default) and the hit
 + to expose it (step4.png). Once all required properties are exposed,
 click Finish to create a definition for the custom filter.

 The Custom Filter Manager will popup showing the newly defined custom
 filter. The manager is also available under the Tools menu. It can be
 used to remove/export/import custom filters.

 Close this dialog.

 Now to instantiate our new custom filter, simply look under the
 Filters|Alphabetical menu, we see our new ShrunkEdges filter. Now
 you can create it simply as if it were a normal filter.

 Same is true with sources, if no input property is exposed, it's treated
 as a source and is available under Sources menu.

 Utkarsh

 Dominik Szczerba wrote:
 I have a complicated layout of filters on the left panel. How do I go
 about saving them as a filter in PV CVS? (saving state does not work
 for transient, fixing number current time steps). I tried 'create a
 custom filter' but it is not comprehensive. I clicked around and ended
 up nowhere. Any hints are appreciated.
 PS. I dd not find anything on wiki, and can again no longer find a
 search link to ML archives.

 best regards

 --
 Dominik Szczerba, Ph.D.
 Computational Physics Group
 Foundation for Research on Information Technologies in Society
 http://www.itis.ethz.ch
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



 --
 Dominik Szczerba, Ph.D.
 Computational Physics Group
 Foundation for Research on Information Technologies in Society
 http://www.itis.ethz.ch



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] pvclient on Mac OS

2008-09-08 Thread Moreland, Kenneth
I suggest consulting the ParaView wiki for more information on how to set up
ParaView client/server connections, starting with this page:

  http://www.paraview.org/Wiki/Starting_the_server

-Ken


On 9/8/08 7:55 AM, Utkarsh Ayachit [EMAIL PROTECTED] wrote:

 It opens a socket connection to the root node.

 Utkarsh

 Robert Kubrick wrote:
 Thanks. How does the server connection work, does the client open an MPI
 intercomm to node 0 on the server or just a flat socket connection?

 On Sep 8, 2008, at 8:07 AM, Utkarsh Ayachit wrote:

 Since ParaView 3.0 there's no pvclient executable. You simply use the
 paraview executable to connect either to a remote server(to act like
 the old pvclient) or connect to a builtin server (similar to the old
 standalone paraview)

 Utkarsh

 Robert Kubrick wrote:
 Greetings, I can't find the client binary pvclient in the 3.2.1
 Darwin distribution. Do I have to recompile the source code to run
 pvclient?
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Calculator speed

2008-09-09 Thread Moreland, Kenneth
Tobias,

I would agree that the parsing of calculator expressions is probably slowing
down the calculations.  I also agree that a custom filter would be the
easiest way to fix the problem (and would probably simplify things for
users).

-Ken


On 9/9/08 6:58 AM, Tobias Brandvik [EMAIL PROTECTED] wrote:

 Hi,

 I've written a CFD solver that uses Paraview in parallel mode with
 hdf5/xdmf. Currently, the application writes out the primary variables
 and lets the user calculate any desired secondary variables using the
 calculator. However, this procedure is very slow -- it seems to be an
 order of magnitude faster to calculate the data in the solver itself
 and have Paraview read it from disk. I suspect this is because the
 calculator expressions get translated to python code, but I might also
 be doing something wrong.

 Am I correct in thinking that the easiest way to fix this would be to
 write a custom filter in C++?

 Cheers,
 Tobias

 --
 Tobias Brandvik
 PhD Student
 Whittle Laboratory
 1 JJ Thomson Avenue
 Cambridge CB3 0DY, UK
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Internalisation of, 2D vs 3D

2008-09-09 Thread Moreland, Kenneth
All coordinates of all data sets are defined in 3D Cartesian coordinates.
That's just the way VTK was designed.  Allowing for variable length
coordinates would be a significant burden on many developers.

You will have to pad your coordinates with 0's in the Z components.

-Ken


On 9/9/08 8:15 AM, philippe DAVID [EMAIL PROTECTED] wrote:

 ok,
 when I load a 2D vtu, Paraview complains about  number of components is
 different and crashes.
 all my Z components can be set to 0, but I would like to avoid setting for
 instance a probe
 line in a 3D env, where the only relevant plane is X*Y : in this last case the
 probe is not
 aligned with the X*Y plane.


 thanks anyway
 Philippe DAVID
 Sciences Computers Consultants
 Direct:(33)-4-77-49-75-81
 Std:(33)-4-77-49-75-80


 Moreland, Kenneth said the following on 09/09/2008 15:42:


 does somebody have been heard about internationalisation in Paraview (or
 internationalised version) ?




 Not to my knowledge.  I don't think this has achieved a high enough priority
 on anyone's list to implement yet.




 Is it possible to load a 2D vtu rather a 3D in Paraview ?




 Neither ParaView nor VTK treats 2D unstructured grids differently than 3D
 unstructured grids.  I can only assume that you mean a vtu file containing
 only 2D cells that lie on a plane.  Simply load it into ParaView as you
 normally would.

 -Ken








___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Adding Keyframes with no recognition of zooming

2008-09-11 Thread Moreland, Kenneth
This looks like a bug.  The camera keyframes are not recording the zoom
level of a parallel projection.  I submitted a bug report:

  http://www.paraview.org/Bug/view.php?id=7657

You can work around that problem by turning of parallel projection.

-Ken


On 9/11/08 11:57 AM, Patrick Shane Calhoun [EMAIL PROTECTED] wrote:

 Hello,

 I am currently running Paraview 3.2.1 on Redhat Linux version 5.2 and I
 have run into a possible bug while I zoom in and out and add keyframes to
 make a video.

 Using the animation inspector with my selected object as the Camera,
 whenever I zoom in or out and try to add a keyframe, the numbers
 associated with the position of my current keyframe will not change.

 For example, if I start up close to a set of data and continually move out
 and add several keyframes along the way, the camera will stay at the last
 position that I left it at and not start close and span back as the movie
 progresses.

 However, if I were to rotate the camera rather than strictly zoom in or
 out, the keyframes that I save will work in a video if I were to play if
 from the beginning. Zooming out while rotating will yield a result where
 the keyframes only remember the rotating part of the camera's motion and
 therefore the keyframes still do not register that the camera isn't at a
 fixed distance from the origin.

 I'm not sure if there is an option that controls what I have described
 above or if this is genuinely a bug. Let me know what I can do about this
 problem.

 Thanks for the help,
 Patrick Calhoun

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] 3D view update issue

2008-09-15 Thread Moreland, Kenneth
Recently I have been noticing an update issue with the 3D views.  For
example, create a sphere source and hit apply.  Nothing is shown in the 3D
view until you click in it.

Has anyone else been seeing this?

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] 3D view update issue

2008-09-15 Thread Moreland, Kenneth
I have been experiencing it on my Mac.  I also saw it from a Linux machine when 
hosting back to my Mac desktop.

-Ken


On 9/15/08 10:11 AM, Utkarsh Ayachit [EMAIL PROTECTED] wrote:

Is this on Mac? Berk and Dave D. have been seeing this on their Macs.

Utkarsh

Moreland, Kenneth wrote:
 Recently I have been noticing an update issue with the 3D views.  For
 example, create a sphere source and hit apply.  Nothing is shown in the 3D
 view until you click in it.

 Has anyone else been seeing this?

 -Ken

  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: [EMAIL PROTECTED]
 **  ***  **  phone: (505) 844-8919
 ***  fax:   (505) 845-0833



 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] filter

2008-09-16 Thread Moreland, Kenneth
It might help if you ran your code in a debugger and found out exactly where
the error occurred.

I think the for loops are wrong.  The conditions should be , not =.  You
might be mixing up dimension lengths and extent values.

-Ken


On 9/16/08 11:08 AM, Natalie Happenhofer [EMAIL PROTECTED] wrote:

 Hi!
 I´m still encountering problems with my filter, it does compile and link
 neatly with paraview, but at runtime  an error occurs which causes paraview to
 shut down. I´m pretty sure that the problem is how I define the output, that
 this is not done correctly. Lastly, I commented just the algorithm out to test
 the in- and output, and it looks like this:

 void vtkHorizontalAverage::Execute()
 {vtkDataSet *input = this - GetInput();
  vtkStructuredGrid *output = this - GetOutput();

  int DataSetType;
  DataSetType = input - GetDataObjectType();

  if(DataSetType != VTK_RECTILINEAR_GRID) { vtkErrorMacro(unsupported DataSet
 format);}



  int dims[3],i,j,k;
  // pointer for casting
  vtkSmartPointervtkRectilinearGrid rect_input =
 vtkSmartPointervtkRectilinearGrid::New();
  //vtkStructuredGrid *structgrid_input = vtkStructuredGrid::New();


  vtkPointData *scaldat = input - GetPointData();
  vtkDataArray *new_scaldat;

  vtkSmartPointervtkFloatArray scalars =
 vtkSmartPointervtkFloatArray::New();
  vtkSmartPointervtkFloatArray new_scalars =
 vtkSmartPointervtkFloatArray::New();

  scalars = vtkFloatArray::SafeDownCast(scaldat); //this is now the input as
 vtkFloatArray
  scaldat - Delete();
  int numbOfComp = scalars - GetNumberOfComponents();
  if(numbOfComp ==1) vtkErrorMacro(Number of Components of Input Array bigger
 than 1!); //
  int numOfTuples = scalars - GetNumberOfTuples();


  new_scalars - SetNumberOfComponents(1);
  new_scalars - SetNumberOfTuples(numOfTuples);


  rect_input = vtkRectilinearGrid::SafeDownCast(input);

  if(!rect_input) {vtkErrorMacro(SafeDownCast to Rectilinear Grid failed);}

 else {  rect_input - GetDimensions(dims);

//get the points:
/*vtkDataArray *XCoord = vtkDataArray::New();
vtkDataArray *YCoord = vtkDataArray::New();
vtkDataArray *ZCoord = vtkDataArray::New();*/

vtkDataArray *XCoord = rect_input - GetXCoordinates();
vtkDataArray *YCoord = rect_input - GetYCoordinates();
vtkDataArray *ZCoord = rect_input - GetZCoordinates();

 output - SetDimensions(dims);
 vtkSmartPointervtkPoints pts = vtkSmartPointervtkPoints::New();
 pts - SetNumberOfPoints(numOfTuples);


 for(int i=0;i=dims[2];i++)
 { for(int j=0;j=dims[1];j++)
 {for(int k=0;k=dims[0];k++)
 {pts - InsertNextPoint(XCoord - GetTuple1(k),YCoord -
 GetTuple1(j), ZCoord - GetTuple1(i));
 }//for (int k
 }//for(int j
 }//for (int i

 XCoord - Delete();
 YCoord - Delete();
 ZCoord - Delete();

 output - SetPoints(pts); //Now the points are set
 //output - GetPointData()- CopyAllocate(new_scalars,0,new_scalars -
 GetNumberOfTuples());
 output - GetPointData() - PassData(input - GetPointData());
 new_scalars - Delete();


 Here I get as an input a data set, cast it down to rectilinear grid and
 compute the points for the structured grid. As I said, Paraview shuts down
 (Access violation my debugger says) when I execute it.

 Any help would be appreciated!
 thx,
 NH


 Express yourself instantly with MSN Messenger! MSN Messenger
 http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/


     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Filter with Personalized Properties tab

2008-09-22 Thread Moreland, Kenneth
 Huum...I still don't know if I should program a QT presonalized properties
 tab, or
 if I should adopt the simplest solution; to change it through the XML of my
 filter.

The general approach used by the ParaView developers is to use the
auto-generated panel from the XML unless there is something unique about the
filter that requires customization with C++/Qt code.

 I feel that QT code would give me more freedom to change the layout of the
 components, for instance, or to organize Widgets with borders, tabs and so on.
 Do you know if it's possible to do this kind of stuff through the XML ?

No, you generally do not have that level of control with the XML.  There are
some cases where you can get properties to group, for example when using 3D
widgets.

 And which method or class should I use to program the interaction of the
 ObjectPanel and The UnstructuredGrid displayed in the screen; if I choose the
 QT programming solution ?

I'm not an expert on this, but I think the easiest thing to do if you want
to create your panel in Qt Designer is to first make sure that all your
widget names are consistent with the XML property names (use _X to refer to
a particular component of a vector property).  Then subclass
pqNamedObjectPanel.  In the constructor, setup the GUI and then call
this-linkServerManagerProperties().

-Ken


 Thanks again !
 Rafael March.

 --- On Fri, 9/19/08, Samuel Crow [EMAIL PROTECTED] wrote:
 From: Samuel Crow [EMAIL PROTECTED]
 Subject: Re: [Paraview] Filter with Personalized Properties tab
 To: paraview@paraview.org, [EMAIL PROTECTED]
 Date: Friday, September 19, 2008, 6:47 PM

 Hello Rafael March,

 If you have the ParaView Guide version 3 I've found chapter 18 on Server
 Manager XML to be a good reference to all of the different tags that are
 supported.  I haven't even had to write a custom GUI panel since the default
 gadgets work well enough for most instances.

 What kinds of gadgets are you using in your panel?

 --Sam Crow

 --- On Fri, 9/19/08, Rafael March [EMAIL PROTECTED] wrote:

 From: Rafael March [EMAIL PROTECTED]
 Subject: Re: [Paraview] Filter with Personalized Properties
 tab
 To:
  paraview@paraview.org
 Date: Friday, September 19, 2008, 6:39 PM
 Ok,

 thanks a lot, Kenneth ! One problem at a time ! :)

 I've managed to add some QT Widgets in the properties
 tab by extending the pqAutoGeneratedObjectPanel. Now, how
 can I handle events generated by the GUI, in order to change
 properties of the model displayed in the screen ? I mean,
 how can I really connect my filter with the ObjectPanel ?

 Thanks again !
 Rafael March.

 --- On Thu, 9/18/08, Moreland, Kenneth
 [EMAIL PROTECTED] wrote:
 From: Moreland, Kenneth [EMAIL PROTECTED]
 Subject: Re: [Paraview] Filter with Personalized
 Properties tab
 To: [EMAIL PROTECTED]
 [EMAIL PROTECTED],
 paraview@paraview.org
 paraview@paraview.org
 Date: Thursday, September 18,
  2008, 2:48 PM

 You can customize the GUI somewhat by modifying the server
 manager XML that
 describes your filter.  For example, you can create a combo
 box in the GUI
 by adding an EnumerationDomain to an IntVectorProperty or
 you could create a
 checkbox by adding a BooleanDomain.

 You can also create your own properties panel using Qt
 code.  The wiki page
 on ParaView plugins has a simple example of customizing the
 auto-generated
 panel.  You can provide even more customization (for
 example, by using your
 own panel created in Qt Designer) by subclassing either
 pqNamedObjectPanel
 or pqObjectPanel.

 -Ken


 On 9/18/08 8:28 AM, Rafael March
 [EMAIL PROTECTED]
 wrote:

 Hey all,

 I have my own filter running
  well in Paraview. I would
 like to extend it
 to
 enable adding  scalar or vector properties, as well as
 changing existing
 data
 of nodes and cells. I would like to implement this
 feature through a
 customized GUI, like buttons, combo boxes and so on in
 the properties tab
 of
 the filter.

 How can I access and modify this tab ? Should I do it
 inside my filters
 code ?

 Any suggestions ?

 Thanks all,
 Rafael March.



  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: [EMAIL PROTECTED]
 **  ***  **  phone: (505) 844-8919
 ***  fax:   (505) 845-0833







  ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview







     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview on SGI Altix 4000

2008-09-22 Thread Moreland, Kenneth
It sounds like it could be a rendering problem.  Perhaps the offscreen
rendering is misbehaving.  What happens when you run without the
--use-offscreen-rendering flag?

-Ken


On 9/22/08 11:28 AM, Biao She [EMAIL PROTECTED] wrote:

 Hi folks.
 Has anyone ever installed paraview on SGI Altix 4000? If I compiled
 paraview with PARAVIEW_USE_MPI option setting to ON, the paraview
 didn't work properly. For example, I first started the MPI version
 pvserver on the supercomputer by issuing DISPLAY=:0 mpirun -np 4
 ./pvserver --use-offscreen-rendering,  then I launched paraview
 locally and connected it to the pvserver on the supercomputer.
 Normally, at the center of paraview display area, there should have
 three reference lines of a coordinate system. However, my paraview
 just displayed a black square.
 I have also tried the non-MPI version and the precompiled version of
 Paraview. They worked fine. I don't know if the problem is MPI
 implementation problem. I have heard that SGI's MPI implementation is
 kind of different. However, other programs, such as glxgears, worked
 fine by using the SGI implementation. Also, if I use the x forwarding
 to start the MPI version of pvserver, the rendering result is also
 correct. So, I am not quite convinced that the problem is MPI problem
 and I am quiet confused.
 I will highly appreciate any of your comments.
 Thanks!

 Aaron
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview on SGI Altix 4000

2008-09-23 Thread Moreland, Kenneth
I mean the vendor-specific graphics driver provided by your system.  Often
we find render specific problems that are attributed to bugs in the system
graphics drivers, which are typically updated at a much faster rate than the
OpenGL or GLX standard changes.

When we see a graphics problem like this, it is hard to determine the actual
cause.  Thus, the first course of action is usually to update the vendor's
graphics driver to rule that out.  If the problem persists, then we look
elsewhere.

-Ken


On 9/22/08 9:14 PM, Biao She [EMAIL PROTECTED] wrote:

 Hi Ken.
 Which OpenGL verison does paraview need? Also, by saying OpenGL
 drivers, do you mean the GLX version of the supercomputer? Coz my
 paraview server is running on a linux machine. The version of GLX on
 the machine is 1.2. The latest GLX version is 1.4. Do I need to update
 the glx to 1.4? Thanks!

 Aaron

 On Mon, Sep 22, 2008 at 11:51 AM, Moreland, Kenneth [EMAIL PROTECTED] wrote:
 It sounds like you are having a framebuffer readback issue.  Can you check
 to see if your OpenGL drivers are up to date?

 -Ken


 On 9/22/08 11:39 AM, Biao She [EMAIL PROTECTED] wrote:

 Thanks for you reply, Ken.
 In stead of black square, the result is even more strange if I run
 without the --use-offscreen-rendering flag. It is basically a huge
 collection of random dots, and if I move the camera, the glxgears even
 appears in the display.

 Aaron

 On Mon, Sep 22, 2008 at 11:33 AM, Moreland, Kenneth [EMAIL PROTECTED]
 wrote:
 It sounds like it could be a rendering problem.  Perhaps the offscreen
 rendering is misbehaving.  What happens when you run without the
 --use-offscreen-rendering flag?

 -Ken


 On 9/22/08 11:28 AM, Biao She [EMAIL PROTECTED] wrote:

 Hi folks.
 Has anyone ever installed paraview on SGI Altix 4000? If I compiled
 paraview with PARAVIEW_USE_MPI option setting to ON, the paraview
 didn't work properly. For example, I first started the MPI version
 pvserver on the supercomputer by issuing DISPLAY=:0 mpirun -np 4
 ./pvserver --use-offscreen-rendering,  then I launched paraview
 locally and connected it to the pvserver on the supercomputer.
 Normally, at the center of paraview display area, there should have
 three reference lines of a coordinate system. However, my paraview
 just displayed a black square.
 I have also tried the non-MPI version and the precompiled version of
 Paraview. They worked fine. I don't know if the problem is MPI
 implementation problem. I have heard that SGI's MPI implementation is
 kind of different. However, other programs, such as glxgears, worked
 fine by using the SGI implementation. Also, if I use the x forwarding
 to start the MPI version of pvserver, the rendering result is also
 correct. So, I am not quite convinced that the problem is MPI problem
 and I am quiet confused.
 I will highly appreciate any of your comments.
 Thanks!

 Aaron
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



     Kenneth Moreland
***  Sandia National Laboratories
 ***
 *** *** ***  email: [EMAIL PROTECTED]
 **  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833







     Kenneth Moreland
***  Sandia National Laboratories
 ***
 *** *** ***  email: [EMAIL PROTECTED]
 **  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833







     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Unstructured Grids

2008-09-24 Thread Moreland, Kenneth
That is a pretty open ended question.  Unstructured grids are defined by an
array of point coordinates and a separate array of cell topologies.  In your
case, the list of points will simply correspond to each particle, and each
cell will be a 0D cell (a vertex) that points to a single point.  There are
actually two types of unstructured data supported, poly data and
unstructured grid.  All things being equal, I would probably use the poly
data type because you won't have to identify each cell type.

ParaView supports multiple file formats for this type of data.  One you can
use is the legacy data format.  It's not an optimal file format, but it's
easy to make these files and the documentation is readily available from the
VTK User's Guide and the ParaView wiki
((http://www.paraview.org/Wiki/images/5/51/VTK-File-Formats.pdf).  This
format does not support time natively, but you can write out a sequence of
files with incremental numbering, and ParaView will read that as a time
series.  The files could look something like the following (with the ..
replaced with an appropriate value).

# vtk DataFile Version 2.0
A descriptive comment
ASCII

DATASET POLYDATA
POINTS num_particles double
P0x P0y P0z
P1x P1y P1z
...
Pn-1x Pn-1y Pn-1z

VERTICES num_particles 2*num_particles
1 0
1 1
...
1 n-1

POINT_DATA num_particles
SCALARS field_name double 1
LOOKUP_TABLE default
S0 S1 ... Sn-1

-Ken


On 9/24/08 3:18 AM, christopher mccabe [EMAIL PROTECTED] wrote:



 Hi

 I am new to using Paraview and would like some assistance if possible.  I am
 researching particle dynamics and need to create files for unstructured grids.
 For the moment as I have just started all I have are particle locations, but I
 will later require several physcial variables for view.

 So I have a problem in which X number of particles are initially static and
 after an initial shock the particles dissipate. I would like to view the
 simulation of this by a Paraview animation of the particle locations recorded
 at fixed time intervals.

 What do I need to write in the vtk file for this , and why?

 I am using Paraview 3.2.2

 Thanks in advance

 Chris


 _
 Discover Bird's Eye View now with Multimap from Live Search
 http://clk.atdmt.com/UKM/go/111354026/direct/01/
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] unstructured trasient format

2008-09-25 Thread Moreland, Kenneth
Could you clarify your question?  Are you asking how to store in a file an
unstructured grid that changes over time?

-Ken


On 9/25/08 11:58 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hello,

 How is the format for paraview in trasient for unstructured grid??

 Thanks
 Pablo

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Off topic : Multiple Graphics cards (display:0 display:1) on windows

2008-09-29 Thread Moreland, Kenneth
As you have guessed, we have run pvserver on nodes with quad cores and dual
GPUs under Linux and got it working fine.  I don't think many people use
windows boxes for pvserver nodes (and I would personally discourage it in
general), so you might be on your own here.  Is it possible to have one
process create a window that spans the display of both graphics cards and
have the rest render offscreen?

I don't see the WGL_NV_gpu_affinity extension in the OpenGL extensions
registry, so it will probably be a while before it becomes available in
vtkgl/vtkOpenGLExtensionManager.  That's another stumbling block.

Sorry I don't have anything more constructive.

-Ken


On 9/26/08 8:10 AM, John Biddiscombe [EMAIL PROTECTED] wrote:

 On linux, an X server will provide display:0, display:1 for two graphics
 cards on a single node. This works fine.

 Can the same thing be done on windows in a reasonably straightforward
 manner?

 I'd like to know if it's possible to have a dual/quad cpu machine with
 dual graphics cards and use 2 instances of pvserver as I would do under
 linux.

 Google tells me that this extension WGL_NV_gpu_affinity exists, but I
 would expect we'd need to muck about inside vtkWin32OpenGlRenderWindow
 and/or related classes to make this work.

 Has anyone any experience of this or similar technologies that would
 make the job easy/possible.

 thanks

 JB

 --
 John Biddiscombe,email:biddisco @ cscs.ch
 http://www.cscs.ch/
 CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
 Via Cantonale, 6928 Manno, Switzerland  | Fax:  +41 (91) 610.82.82


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] pvserver --use-offscreen-rendering

2008-09-30 Thread Moreland, Kenneth
Have you taken a look at this ParaView Wiki page?

  http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server

-Ken


On 9/30/08 4:44 AM, Robert Mueller [EMAIL PROTECTED]
wrote:

 Hi all,
 I want to visualize simple 3d voxel data: creating iso surfaces, slices etc...
 First interactive and later in batch mode.
 As the data sets tend to get quite large (up to 1000x1000x1000 voxels) I
 probably have to use some parallel computation. pvserver/pvbatch seem the
 right tools for this, but the computing nodes don't have graphic cards I can
 use. So I tried compiling pvserver with osmesa and using
 the --use-offscreen-rendering switch. I tried some combinations of paraview
 version/mesa-lib with and without mpi. It's always the same:
 Stand alone paraview can open the (small) test files und display everything I
 want. When using the client/server mode, the server crashes at the point when
 more than a simple outline of the data has to be displayed.

 Can somebody give instructions how to get a working pvserver fpr use without
 without graphics hardware (versions, linux distribution, compiler version)?
 Maybe I could build this system in virtual machine, just to have a valid
 starting point.
 I'm using ubuntu, amd64, 7.10

 thank you
 Robert Mueller
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Interaction between customized ObjectPanel and Model Display

2008-09-30 Thread Moreland, Kenneth
I believe you can access the VTK object(s) indirectly with the vtkSMProxy
object returned from pqLoadedFormObjectPanel::proxy().  In general, your
object panels will not have direct access to the VTK objects they control
(that is, you cannot get pointers to the VTK objects) because they are
frequently not on the same process as the GUI.

-Ken


On 9/30/08 9:52 AM, Rafael March [EMAIL PROTECTED] wrote:

 Hey folks,

 I'm programming a plugin that has a customized ObjectPanel, which I'm
 designing with QT Designer. I am able to include Widgets and link them with
 the ServerManager Properties. Everything works just fine.

 I was just wondering, how could I interact with my model WITHOUT hitting the
 apply button. In my case, for instance, I have a comboBox which enumerates a
 list of integer values. It would be really nice, if when I choose a number, I
 could get the cells which have this value as a scalar property selected, or
 just colored in a different manner. I mean automatically, without having to
 hit the apply button of the filter to process the state of the comboBox.

 How can I do this? I can't see a connection between my customized panel class
 (which contains QT code and extends pqLoadedFormObjectPanel) and my filter
 class.

 Thanks,
 Rafael March.




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Rendering mixed translucent and opaque surfaces in parallel

2008-10-02 Thread Moreland, Kenneth
If I understand your email correctly, you are defining a lookup table in a
VTK Legacy file and expecting to use that table is ParaView.  To be
honest, that mode of operation is not well supported by ParaView and I'm a
little surprised that it works at all.  There must be a VTK rendering
component grabbing that LUT without ParaView noticing it.  That would also
explain why it stops working when rendering translucent in parallel.  The
translucent parallel rendering does a redistribution of data, at the lookup
table could easily get stripped during that process.

My advice is to not attempt to define a lookup table in the data file.  Use
the color map editor provided by the ParaView GUI (which also allows you to
save and restore maps and to import from and export to XML.  If you really
want to assign colors in the data files, then declare a field array
consisting of 3 or 4-tuple unsigned chars and then render them in dependent
mode (uncheck the Map Scalars button in the Display panel).

-Ken


On 10/2/08 10:24 AM, Gregory D Abram [EMAIL PROTECTED] wrote:

 I might be doing this wrong, but here goes.  I have a set of points and
 associated atomic numbers, and a volume field.  I want to render spheres
 colored appropriately for the atom type, and combine them together with
 translucent isosurfaces of the volume.

 In a filter, I map the atomic numbers to an index (called mapped atomic
 number), and attach a color lookup table to that point data set which maps
 the indices to the color thats appropriate for the atomic number.  Thats a bit
 awkward; my LUT has three elements per index, essentially mapping
 (index-0.333) to (index+0.333) to the color for that index.  Then I pass that
 through the Glyph3D filter and render, and when I tell it to color by mapped
 atomic number I get what I expect, both when I tell it to composite and not,
 parallel or not.

 Unfortunately, when I embed the glyphs in a translucent isosurface it seems to
 drop the lookup table.  If I run on 2 nodes and tell it to composite, half the
 glyphs are colored without regard for the LUT.  If I tell it not to composite,
 none of the glyphs are rendered using the LUT.

 Fooling around in the debugger, it seems it uses vtkPolyDataWriter and
 vtkPolyDataReader to serialize and de-serialize the data thats being exchanged
 between nodes.  I coded up a little experiment that creates a
 vtkUnstructuredGrid similar to my input data with a LUT, glyphs it and
 vtkPolyDaWriter's it.  The output vtk file doesn't show the LUT, making me
 think the LUT is getting dropped when PV moves the data from node to node.

 Help!  Is there another way I should be doing this?  Alas, for the moment I
 need to use PV2.

 Greg



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] advice for 3d visualization?

2008-10-09 Thread Moreland, Kenneth
You could run your data through the Delaunay 3D filter to generate
tetrahedra connecting the nodes.

-Ken


On 10/9/08 11:37 AM, John Doe [EMAIL PROTECTED] wrote:

 Hello,

 I am solving problems of the nodes and edges of a tetrahedral mesh.
 Since nodes and edges are the only entities I am writing out to the
 vtu file, I am only seeing the color data on the individual lines.

 Is there anyway to visualize the data so the node and edge data is
 visualized over the entire volume?  It would be great to see a solid
 block of colors, which I can slice through and see a continuous
 surface, instead of a bunch of points.

 Thanks in advance,

 Juan
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Annotate Time with legacy vtk series

2008-10-10 Thread Moreland, Kenneth
No, that is the wrong way to go about it.  Changing the timekeeper time will
adjust the times sent to the reader.  You will still have the mismatch
ParaView will not load in all of the time steps that you want.

Instead, apply the Temporal Shift Scale filter to your data to adjust its
range to the desired values.  You will probably also have to change the
animation mode to Sequence to force ParaView to ignore the timesteps
reported from the original reader.

-Ken


On 10/10/08 5:25 AM, Jason Hoogland [EMAIL PROTECTED] wrote:

 Is there a way in 3.2.1 to change the time tag mapped to a sequence number
 so that if you have a legacy vtk series (with default time sequence n=1..N),
 then Source  Annotate Time will display your tag rather than n?  I tried View
  Animation View  Timekeeper - Time with Variable Time and:

 Time Interpolation Value
 1   0Ramp  4575
 2   97 7000

 Is this valid or is there a better way.  Problem here was that when moving
 frames with the vcr controls, everything but the Annotate Time source text
 changed - all other display objects remained on n=97.  Is this a bug or am I
 doing something wrong with animations?

 hoogs




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Annotate Time with legacy vtk series

2008-10-13 Thread Moreland, Kenneth
As I mentioned before, go to the animation view and change the mode from
Snap to TimeSteps to either Sequence or Real Time.  Then change the
start time and end time to the correct values.

The issue you are working around is that ParaView is not smart enough to
determine that you don't really want to see the time steps for the original
data set.  See bug 7799 for more details
(http://www.paraview.org/Bug/view.php?id=7799).

-Ken


On 10/11/08 7:55 AM, Jason Hoogland [EMAIL PROTECTED] wrote:

 Hi Ken,

 Ok, I tried that.  I have a N=98 legacy vtk series and want to map the 0-97
 time steps to 4575-7000.  So when TemporalShiftScale is applied, from trial
 and error it seems to m=n*a+m0 where n=1..N, a is the scale, m0 is the shift.
 But in the Animation Inspector Start is still shown as 0 even though End
 is now 7000 (for any Play Mode) - first problem.  Even so, second problem
 (same as before) is that when an Annotate Time source text is added, with the
 Sequence Play Mode, again, moving the animation forward (pressing | button)
 increments the time display (i.e. 777.77.., 1555.55..., ... 7000) but keeps
 the data view on the final data series.  Feels like a bug but maybe I have to
 set up keyframes.  Normally its all automatic.

 hoogs


 -Original Message-
 From: Moreland, Kenneth [mailto:[EMAIL PROTECTED]
 Sent: Sat 11/10/2008 12:08 AM
 To: Jason Hoogland; paraview@paraview.org
 Subject: Re: [Paraview] Annotate Time with legacy vtk series

 No, that is the wrong way to go about it.  Changing the timekeeper time will
 adjust the times sent to the reader.  You will still have the mismatch
 ParaView will not load in all of the time steps that you want.

 Instead, apply the Temporal Shift Scale filter to your data to adjust its
 range to the desired values.  You will probably also have to change the
 animation mode to Sequence to force ParaView to ignore the timesteps
 reported from the original reader.

 -Ken


 On 10/10/08 5:25 AM, Jason Hoogland [EMAIL PROTECTED] wrote:

 Is there a way in 3.2.1 to change the time tag mapped to a sequence number
 so that if you have a legacy vtk series (with default time sequence n=1..N),
 then Source  Annotate Time will display your tag rather than n?  I tried
 View
 Animation View  Timekeeper - Time with Variable Time and:

 Time Interpolation Value
 1   0Ramp  4575
 2   97 7000

 Is this valid or is there a better way.  Problem here was that when moving
 frames with the vcr controls, everything but the Annotate Time source text
 changed - all other display objects remained on n=97.  Is this a bug or am I
 doing something wrong with animations?

 hoogs




  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: [EMAIL PROTECTED]
 **  ***  **  phone: (505) 844-8919
 ***  fax:   (505) 845-0833







     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] widen listings

2008-10-13 Thread Moreland, Kenneth
Have you tried resizing the open file dialog box?  It works for me on my Mac
and when I xhost from Linux.

-Ken


On 10/13/08 3:28 PM, John Doe [EMAIL PROTECTED] wrote:

 Hello,

 I have some long file names, which are differentiated by the last few
 characters.  Unfortunately, they are impossible to differentiate on
 the file open menu.  Likewise field names in the pull down menu can't
 easily be distinguished in the last character.

 Is there any way I can get paraview to widen the text fields when they
 are displayed?

 Juan
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] unstructured trasient format

2008-10-22 Thread Moreland, Kenneth
Now that I read this again, I am unsure if you are speaking directly of the
native VTK .vtu files (or perhaps legacy .vtk files) or if you are asking
generally about the file formats that ParaView supports.  I will answer
both.

The native VTK unstructured grid files do not directly support data that
changes over time.  However, you can write out each time step in its own
file them sequentially (e.g. file0.vtu, file1.vtu, file2.vtu, ...).
ParaView will recognize this as a file series and read it as data that
changes over time.

There are some other formats read by ParaView that directly support
unstructured data that changes over time.  The Exodus and EnSight data
formats are both examples.

-Ken


On 10/22/08 8:44 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Sorry,

 I was out of office, yes how store in a file an unstructured grid changing
 over time.

 Best regards

 Pablo

 Could you clarify your question?  Are you asking how to store in a file an
 unstructured grid that changes over time?

 -Ken


 On 9/25/08 11:58 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hello,

 How is the format for paraview in trasient for unstructured grid??

 Thanks
 Pablo

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: [EMAIL PROTECTED]
 **  ***  **  phone: (505) 844-8919
 ***  fax:   (505) 845-0833











     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Crash when extracting surface in a big mesh

2008-10-28 Thread Moreland, Kenneth
Paul,

Have you compiled with VTK_USE_64BIT_IDS set to on?  I wouldn't think you
would be needing an id  2^31, but if you did that could cause problems.

-Ken


On 10/28/08 2:12 AM, Paul Edwards [EMAIL PROTECTED] wrote:

 This is running the latest CVS version, linux (Suse 9.3) and 64bit.
 It is definitely not a problem with memory allocation - the machine
 has 64GB of RAM and it was only using about 14GB for the mesh with
 solution (even less for the example in the last email).  I did have a
 quick try changing the variable to unsigned int but there were other
 problems.I understand people use ParaView for much bigger meshes
 but it must just be because it is all in one block.

 Regards,
 Paul

 2008/10/27 Michael Jackson [EMAIL PROTECTED]:
 Looks like you may be running into a 32/64 bit bug. Does the program crash
 because it can not allocate enough memory or something else. Your gdb
 session below seems to indicate that the length variable needs to be a 64
 bit value, or at least unsigned.

 What system/compiler is this on?
 _
 Mike Jackson  [EMAIL PROTECTED]
 BlueQuartz Softwarewww.bluequartz.net
 Principal Software Engineer  Dayton, Ohio



 On Oct 27, 2008, at 12:28 PM, Paul Edwards wrote:

 Has anyone else experienced this problem?  Is it just because I have
 so many cells in one block?  To reproduce: compile structured grid
 generator that is attached, create grid with dimensions 1000 x 1000 x
 80, use clean to grid to make unstructured, and then try viewing the
 surface.

 Note: this uses quite a bit of memory

 Regards,
 Paul

 2008/10/17 Edwards, Paul [EMAIL PROTECTED]:

 I think this int needs to be unsigned (or more bits)S..



 (gdb) frame 3

 #3  0x2aaab2c053ea in vtkDataSetSurfaceFilter::NewFastGeomQuad
 (this=0x14fe670, numPts=4)

   at

 /tmp/padramgui-1.1/tmp/src/paraview/VTK/Graphics/vtkDataSetSurfaceFilter.cx
 x:1730

 1730this-FastGeomQuadArrays[this-NextArrayIndex]

 (gdb) list

 1720}

 1721  }

 1722delete [] this-FastGeomQuadArrays;

 1723this-FastGeomQuadArrays = newArrays;

 1724this-NumberOfFastGeomQuadArrays = num;

 1725}

 1726

 1727  // Next: allocate a new array if necessary.

 1728  if (this-FastGeomQuadArrays[this-NextArrayIndex] == NULL)

 1729{

 1730this-FastGeomQuadArrays[this-NextArrayIndex]

 1731  = new unsigned char[this-FastGeomQuadArrayLength];

 1732}

 1733

 1734  vtkFastGeomQuad* q = reinterpret_castvtkFastGeomQuad*

 1735(this-FastGeomQuadArrays[this-NextArrayIndex] +
 this-NextQuadIndex);

 1736  q-numPts = numPts;

 1737

 1738  this-NextQuadIndex += polySize;

 1739

 (gdb) print this-FastGeomQuadArrayLength

 $2 = -1721647736

 (gdb) whatis this-FastGeomQuadArrayLength

 type = int

 (gdb)



 More than just that variable needs to be updated though.



 I experienced this when viewing the surface of a mesh with 90M cells on a
 single machine.  Cuts worked without any problems.



 Regards,

 Paul

 The data contained in, or attached to, this e-mail, may contain
 confidential
 information. If you have received it in error you should notify the
 sender
 immediately by reply e-mail, delete the message from your system and
 contact
 +44 (0) 1332 242424 (the Rolls-Royce IT Security Director) if you need
 assistance. Please do not copy it for any purpose, or disclose its
 contents
 to any other person.

 An e-mail response to this address may be subject to interception or
 monitoring for operational reasons or for lawful business practices.

 (c) 2008 Rolls-Royce plc

 Registered office: 65 Buckingham Gate, London SW1E 6AT Company number:
 1003142. Registered in England.

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



 vtkStructuredGridGenerator.hvtkStructuredGridGenerator.cxxvtkStructured
 GridGenerator.xml___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview and ICE-T

2008-10-28 Thread Moreland, Kenneth
The blackrose and amber5 dashboards all compile IceT, and they look like
they are working well enough.  You can use the dashboard to look at their
compile settings.

You may start by upgrading your CMake if you have not done so recently.

-Ken


On 10/28/08 2:30 AM, Mengda Wu [EMAIL PROTECTED] wrote:

 Hi,

Has anybody found problems when trying to build CVS version of paraview
 with ICE-T. I am trying to use CMake.
 But it gives the error messages
 CMake Error at Utilities/IceT/src/ice-t/CMakeLists.txt:26 (INSTALL): install
 library TARGETS gives no DESTINATION!
 CMake Error at Utilities/IceT/src/communcation/CMakeLists.txt:21 (INSTALL):
 install library TARGETS gives no DESTINATION!
 CMake Error at Utilities/IceT/src/strategies/CMakeLists.txt:21 (INSTALL):
 install library TARGETS gives no DESTINATION!

 BTW, it was totally OK without ICE-T.

 Thanks,
 Mengda



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Simple Visualization

2008-10-30 Thread Moreland, Kenneth
To be honest, ParaView doesn't make loading in a simple list of coordinates
as easy as it should.  It's something we will be working on in the near
future (e.g. bug #5016, http://www.paraview.org/Bug/view.php?id=5016).
However, it is still possible to do what you want, it just takes a few more
steps than it should.

I think the easiest way to get your data into ParaView is to convert it to a
legacy VTK file.  From what you attached below, all you need to do is add
some header in front of it.  Below I have included a modified form of your
data that conforms to the legacy VTK file format (hopefully line endings are
preserved again, because they matter in the header).  Copy the data into a
file with a .vtk extension and you will be able to load it into ParaView.

When you first load this into ParaView, you will not actually see anything
drawn.  This is because I was too lazy to add cells to the data.  However,
you can use the Glyph filter to add the exact geometry you described (a
sphere of radius 0.5).  After loading the data (don't forget to hit the
Apply button), add the Glyph filter (there is a convenient toolbar button
with an image of a large sphere covered by smaller green spheres).  Change
the Glyph Type to Sphere.  The default radius happens to be 0.5, so you
are good to hit the Apply button and you should see your particles.

Hope that helps.

-Ken

# vtk DataFile Version 2.0
Some example 50 particles.
ASCII
DATASET POLYDATA
POINTS 50 double
5.48863849104857e+01 4.53328553919903e+01 5.99006734083120e+01
5.50763464564315e+01 4.69005502035816e+01 6.20581694225068e+01
5.61192430253119e+01 4.58448586076732e+01 6.29292673919986e+01
5.64175902288174e+01 4.34089334741770e+01 5.89538253994299e+01
5.69361817764978e+01 4.48921882962874e+01 6.41036861660280e+01
5.55593930283059e+01 4.36278097902884e+01 5.95132835980101e+01
5.55435061700057e+01 4.18848251845682e+01 5.87838160647988e+01
5.60442750555645e+01 4.64960980572111e+01 6.21070535447117e+01
5.53004829314949e+01 4.62449456607913e+01 5.95986334446902e+01
5.467705995490995718e+01 4.35567867895204e+01 5.87556828506774e+01
5.62186945838140e+01 4.43958322164232e+01 5.92490388908141e+01
5.56199812207973e+01 4.39460597294995e+01 5.85148973505007e+01
5.69092185869334e+01 4.58250051062256e+01 6.36209209650806e+01
5.47509891430998e+01 4.61912632474200e+01 6.04912061173263e+01
5.64163531108292e+01 4.24334141953748e+01 5.85491938915342e+01
5.62183012224094e+01 3.99154876919924e+01 5.86388790493161e+01
5.71936116603021e+01 4.17406366859020e+01 5.83593064901337e+01
5.61668935459717e+01 4.32547036348202e+01 5.79525872096899e+01
5.57906948922122e+01 4.49816392580129e+01 5.84891590077788e+01
5.48183077206824e+01 4.70717976505242e+01 6.10582253235855e+01
5.56411034662058e+01 3.91224642414300e+01 5.90102118316773e+01
5.62145728352203e+01 4.15279763341812e+01 5.80695783497689e+01
5.71948868878274e+01 3.99412470060934e+01 5.90016206397048e+01
5.66553266268910e+01 4.49542623187790e+01 6.30929028211915e+01
5.58095257661193e+01 4.72148451742060e+01 6.13758494267032e+01
5.56133283432741e+01 4.67900754170884e+01 6.04366397014898e+01
5.51854574684277e+01 4.45713661468264e+01 5.92367987455335e+01
5.64799734197675e+01 4.15438454721278e+01 5.90953459706038e+01
5.76519914747908e+01 4.51279515983102e+01 6.33749776598721e+01
5.58430270504815e+01 4.53537886650328e+01 5.94695147183925e+01
5.56239691585312e+01 4.23693753579921e+01 5.78571625443773e+01
5.55194257304184e+01 4.29310015717131e+01 5.87318005377342e+01
5.53643925362045e+01 4.58643205015350e+01 6.44654438210560e+01
5.60158087462117e+01 4.5321511084e+01 6.383980378760995222e+01
5.52218327022863e+01 4.59133084385788e+01 6.23903623507203e+01
5.552475736130995188e+01 4.67188474679988e+01 6.29918204840156e+01
5.56930029888823e+01 4.57412482192740e+01 6.04318679225862e+01
5.50578965931885e+01 4.67264282435268e+01 6.39444634574949e+01
5.64788895248781e+01 4.05561000639889e+01 5.94482718878894e+01
5.51243561570113e+01 4.33009674489338e+01 5.78400260813311e+01
5.58783437139143e+01 4.74953307836828e+01 6.23858568692952e+01
5.55456146690723e+01 4.00849203451692e+01 5.94196969616325e+01
5.51333229581261e+01 4.79123024462646e+01 6.17773779767687e+01
5.68037734918124e+01 4.07669068972194e+01 5.84762524153295e+01
5.52025132135963e+01 4.58291273557719e+01 6.34321918978746e+01
5.49960096233910e+01 4.55414463785989e+01 5.88803914407687e+01
5.57757575047783e+01 4.08568634574291e+01 5.87373814763128e+01

[Paraview] Building a plugin that works with Mac binary distribution

2008-11-03 Thread Moreland, Kenneth
Does anyone have experience building a plugin on Mac that will work with the
binary distribution of ParaView?  I tried getting the 3.4.0 source,
compiling with the same dependent libraries as listed on the Wiki, and then
compiling my plugin against that, but it did not work.

I think the issue is with getting the libraries to link.  If I compile
ParaView with rpath off, the plugin fails to load with an unhelpful error
saying that it is not a valid Qt plugin.  If I compile ParaView with rpath
on, then the libraries get hard coded against my build.  If I try to load
the plugin on my machine, I get an error about Qt objects being in different
threads, which I think is because the plugin is using a different set of
Qt/VTK/ParaView libraries then the application.  I suspect it would not load
at all on another machine.

How do you get the libraries to resolve correctly?

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problem starting the pvserver

2008-11-06 Thread Moreland, Kenneth
I am a bit confused by your question.  Are you saying the first example works 
and the second does not?  I am also confused by what you are trying to set up.  
Are you trying to run the server on one of your machines and the client on the 
other, or are you trying to run a parallel server using both machines?

In the second example, it looks like your OpenMPI install is messed up.  In the 
4th line (1st error), it complains about not finding orted, which is a daemon 
that the OpenMPI version of mpirun uses to launch processes.  It does not look 
like pvserver is being run at all.

I cannot claim to have a lot of experience in setting up MPI installs, 
especially ones on heterogeneous nodes like you are setting up.  My advice 
would be to first make sure that you can launch a job locally on each 
machine, then try to launch a job only one the opposite computer (i.e. launch 
only on the 32 bit machine from the 64 bit machine and vice versa), and then 
finally launch a single job on both.

-Ken


On 11/6/08 1:32 AM, yewyong [EMAIL PROTECTED] wrote:

Hi all,

i managed to compile the paraview 3.4.0 in both a 64bit dual core machine and a 
32bit quad core machine.
having trouble starting the pvserver when linking 2 machines. Below are the 
konsole lines..

[EMAIL PROTECTED]:~/installer/ParaView-3.4.0_build/bin 
../../openmpi-1.2.8_build/bin/mpirun -hostfile 
../../openmpi-1.2.8_build/etc/frodo -np 2 ./pvserver --use-offscreen-rendering
Listen on port: 1
Waiting for client...
^Cmpirun: killing job...

mpirun noticed that job rank 0 with PID 27000 on node 192.168.0.16 
http://192.168.0.16  exited on signal 15 (Terminated).
1 additional process aborted (not shown)

everything looks good when there is no linking of 2 machines. (this is the 
64bit dual core machine)
but,

[EMAIL PROTECTED]:~/installer/ParaView-3.4.0_build/bin 
../../openmpi-1.2.8_build/bin/mpirun -hostfile 
../../openmpi-1.2.8_build/etc/frodo_quadcore -np 6 ./pvserver 
--use-offscreen-rendering
Password:
bash: orted: command not found
[frodo:27009] [0,0,0] ORTE_ERROR_LOG: Timeout in file 
base/pls_base_orted_cmds.c at line 275
[frodo:27009] [0,0,0] ORTE_ERROR_LOG: Timeout in file pls_rsh_module.c at line 
1166
[frodo:27009] [0,0,0] ORTE_ERROR_LOG: Timeout in file errmgr_hnp.c at line 90
[frodo:27009] ERROR: A daemon on node 192.168.0.10 http://192.168.0.10  
failed to start as expected.
[frodo:27009] ERROR: There may be more information available from
[frodo:27009] ERROR: the remote shell (see above).
[frodo:27009] ERROR: The daemon exited unexpectedly with status 127.
[frodo:27009] [0,0,0] ORTE_ERROR_LOG: Timeout in file 
base/pls_base_orted_cmds.c at line 188
[frodo:27009] [0,0,0] ORTE_ERROR_LOG: Timeout in file pls_rsh_module.c at line 
1198
--
mpirun was unable to cleanly terminate the daemons for this job. Returned value 
Timeout instead of ORTE_SUCCESS.
--

i can't start the pvserver when involving 2 machines.
192.168.0.16 http://192.168.0.16  = 64bit dual core
192.168.0.10 http://192.168.0.10  = 32bit quad core

Anyone faced this before?
Thanks in advance for helping.

Cheers,
yewyong
VRC UM




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  fax:   (505) 845-0833

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How to use Paraview to visualize large volume data in real-time on shared-memory supercomputer?

2008-11-15 Thread Moreland, Kenneth
Aaron,

You're on the right track.  In order to use ParaView on a shared memory
machine, you need to run pvserver with mpirun.  It might seem weird to use a
distributed memory program on a shared memory machine, but some basic tests
we have done suggest that it is actually a pretty efficient way of running
the program.

I think the rendering issues you are seeing are that all of the processes
are using the same GPU.  Not only is this inefficient, but the rendering
windows are probably stomping on each other's memory, giving you the invalid
results.

To launch multiple processes using different GPU's, you need to tell the
different processes to use different X windows displays.  That basically
means that you will need to instruct mpirun to run different commands for
different processes.  How you do this tends to be dependent on the MPI
implementation you are using, and each implementation often has multiple
ways to do it.  For our OpemMPI version of mpirun, I use something like
this:

mpirun -np 1 ./pvserver -display :0.0 : -np 1 ./pvserver -display :0.1

I don't know how to do it with MPICH, but I know there is a way to do it.

-Ken


On 11/13/08 5:07 PM, Biao She [EMAIL PROTECTED] wrote:

 Hello.

 I am kind of new to Paraview. Hope this question isn't a stupid one.
 I can access to a shared-memory SGI Altix 4700 supercomputer. It has 6 GPUs
 and 64 cpus. I have successfully installed the latest version of
 paraview(3.4.0) on it.
 To my understanding, if I ssh to the supercomputer and type the following
 command, I can use one GPU to do the rendering job in the server end:
 DISPLAY=:0.0 mpirun -np 1 ./pvserver
 The problem comes if I want to use multiple GPUs to render a large data, say
 Image data from CT(about 1G) in real-time. How can I do it? Do I need to
 manually assgin other GPUs(:0.1, for instance) to cpus? On cluster, I know
 it's not a problem coz each cpu has its own gpu.

 I also have tried to use multiple CPUs at the server end, for example:
 DISPLAY=:0.0 mpirun -np 4 ./pvserver
 However, the rendering results aren't correct in this case. No matter what
 data I opened, the rendering results were always some garbages(lots of dots
 with different color).  The garbages appeared roughly where the data should
 be. I have no idea about the reason for this. My client end is a windows
 machine and the server is a linux supercomputer. Could that be a problem or I
 simply can't use one GPU for multiple CPUs?

 I have tried to get paraview work on the supercomputer for a very long time,
 and I got really frustrated. Any of your help would be highly appreciated!

 Aaron




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Display number of cells over time

2008-11-15 Thread Moreland, Kenneth
Matthias,

There is no direct way to do this.  This is the first time I have heard a
request like this.  However, I have thought of a way to do what you want
without writing any code.  It's a real hack and a bit painful, but it works.

First, run you data through the histogram filter.  Make the bin count be 1.
The variable you select does not matter except to get a count of either
points (for point variables) or cells (for cell variables).  The result
should be a histogram with exactly one bin.  The bin count will be equal to
either the number of points or the number of cells.

Now, open a spreadsheet view.  Change the attribute combo box to be Cell
Data.  There should be one row.  Select that row, then choose the Plot
Selection Over Time filter.  Click the Copy Active Selection button and
Apply.  You should get the plot that you are looking for.

-Ken


On 11/14/08 6:38 AM, Matthias Moeller
[EMAIL PROTECTED] wrote:

 Hi all,

 I've got a time series of unstructured grid files. Besides the
 visualization of a scalar variable I would like to display some
 statistical data. In particular, I would like to display the number of
 elements over time (animation).

 My problem is as follows: I failed to display the number of cells as
 data array. Surely, I see the number of cells (and nodes) in the
 Statistics View and the Information tab of the Object Inspector. As an
 intermediate solution I would like to display the number of elements as
 text field (cf. Annotate Time). Ideally, the numbers of elements for
 all(!) time steps are displayed as xy-plot (number of elements vs. time)
 which develops in time. That is, the first unstructured grid file leads
 to a single value #nel0 at time 0. The K-th unstructured grid file
 yields K values #nel0..#nelK at times 0..K

 I tried paraview 3.4.0 official release and 3.5.0 top-of cvs build.

 Thanks in advance.

 Best regards
 Matthias
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] scalar to vector filter

2008-11-15 Thread Moreland, Kenneth
What do you mean did not work for transient data?  Do you mean that when you
change time steps the output of the calculator filter is not changing
appropriately?

-Ken


On 11/14/08 11:05 AM, Dominik Szczerba [EMAIL PROTECTED] wrote:

 I was able to achieve it using the Calculator filter and save my
 particular expression as a custom filter. This did not unfortunately
 work for transient data :(

 Dominik

 S. Levent Yilmaz wrote:
 In Paraview (any version),  is there a preset filter that appends
 scalar attributes to form a vector attiribute?
 If not how, if at all, can I write one using the programmable filter?

 thanks,
 Levent


 --
 Dominik Szczerba, PhD
 Computational Physics Group
 IT'IS Foundation
 http://www.itis.ethz.ch
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] scalar to vector filter

2008-11-16 Thread Moreland, Kenneth
Are we talking about the calculator filter specifically or reading the
transient data in general?  I just use ParaView 3.4 to load a time varying
data set, added a calculator filter that turned scalars to vectors and ran
it through time.  The data updated just fine.

Could you give more specifics on your data?  If you could post your data,
that would be helpful.

-Ken


On 11/16/08 1:53 AM, Dominik Szczerba [EMAIL PROTECTED] wrote:

 Exactly - it was not time-aware and was not updating.

 Dominik

 Moreland, Kenneth wrote:
 What do you mean did not work for transient data?  Do you mean that when you
 change time steps the output of the calculator filter is not changing
 appropriately?

 -Ken


 On 11/14/08 11:05 AM, Dominik Szczerba [EMAIL PROTECTED] wrote:

 I was able to achieve it using the Calculator filter and save my
 particular expression as a custom filter. This did not unfortunately
 work for transient data :(

 Dominik

 S. Levent Yilmaz wrote:
 In Paraview (any version),  is there a preset filter that appends
 scalar attributes to form a vector attiribute?
 If not how, if at all, can I write one using the programmable filter?

 thanks,
 Levent

 --
 Dominik Szczerba, PhD
 Computational Physics Group
 IT'IS Foundation
 http://www.itis.ethz.ch
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview





  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: [EMAIL PROTECTED]
 **  ***  **  phone: (505) 844-8919
 ***  web:   http://www.cs.unm.edu/~kmorel




 --
 Dominik Szczerba, PhD
 Computational Physics Group
 IT'IS Foundation
 http://www.itis.ethz.ch





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How to slice a 3D vector field?

2008-11-16 Thread Moreland, Kenneth
A simpler solution might be to change the seed type from Point Source to Line 
Source.  By default, the line should be embedded in the slice you created.

-Ken


On 11/16/08 5:10 PM, Jacques Papper [EMAIL PROTECTED] wrote:

Hi,
You could try using the custom source streamtracer and use the plane as the 
input. That will release streamlines form all the points in the plane.
If this is not what you want you can calculate points on your plane using the 
normal vector coordinates and the center coordinates...
Jacques

2008/11/16 Fred Fred [EMAIL PROTECTED]
Hello,
I would like to slice a 3D dataset with vector data attached to points but I 
would like to keep only the tangential part of the vectors, so as to compute 
streamlines lying on the plane then. If I use the slice tool, I can extract a 
place but with 3D vectors, which means that if I compute streamlines I get 
nothing because the is-in-domain test make the integration stooping immediatly 
(at least I suppose this is the reason). So I need to create a 2D vector field 
from a 3D one. Any advice?

 
http://www.windowslive.fr/hotmail/default.asphttp://www.windowslive.fr/hotmail/default.asp

Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre 
mobile ? la réponse en vidéo la réponse en vidéo 
http://www.microsoft.com/france/windows/bts/default.mspxhttp://www.microsoft.com/france/windows/bts/default.mspx

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview






     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Wireframe vs Surface representation

2008-11-18 Thread Moreland, Kenneth
I don't know if I totally understand what the question is (an image might 
help), but it sounds like parts of the wireframe object are coincident to the 
surface object (that is, they occupy the same space).  If so, chances are you 
are getting z-fighting; you probably see parts of the wireframe hidden and 
parts showing through.

There is no easy answer to this problem.  If you are only going to be viewing 
the object from a certain direction, you can use a transform to shift the 
wireframe slightly away from the viewer (or equivalently shift the surface 
toward the viewer).

-Ken


On 11/17/08 7:02 PM, Karthik Ram Srinivasan [EMAIL PROTECTED] wrote:

Hi,

I want to superpose two files, one with a wireframe representation and
the other with a surface rep. I want the wireframe to be in the
background and use the surface to cover up part of the wireframe. But
the wireframe always seems to show up. Any suggestions?

Thanks,

Karthik
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Extension from Plugin-Reader does not apper - QT 4.4 issue?

2008-11-19 Thread Moreland, Kenneth
There are not quite enough details here to say exactly what your problem might 
be.  Rather, I will try to answer your specific questions.

* The extension(s) you specify in the Reader tag of your GUI_RESOURCE_FILES 
(along with the file description) should show up in the file types combo box of 
the open file dialog.  Your extension will be at the bottom.  Repeats are OK 
(with caveats), so the extensions should show up regardless).
* I don't think there is anything wrong with your configuration so long as you 
are building ParaView and the plugin with the same configuration.
* I'm not sure what happens when you reload a plugin.  However, I just 
realized that I accidentally set up one of my reader plugins to be loaded into 
my ParaView twice on startup for about a week now, and it has worked fine.  In 
any case, if your plugin is properly loaded, it will show up in the Manage 
Plugins/Extensions dialog box.  If it is there, there should be no reason to 
need to load it again.
* I'm not familiar with the vtkGAMBITReader or the details of your format, it 
it sounds like a good enough place to start.  In any case, the choice should 
have no impact on whether you see the reader in the plugin show up in ParaView.

-Ken

From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Fabian Wein [EMAIL 
PROTECTED]
Sent: Wednesday, November 19, 2008 1:56 AM
To: paraview@paraview.org
Subject: [Paraview] Extension from Plugin-Reader does not apper - QT 4.4 issue?

Hi,

I want to write a Reader for Paraview (I guess a plugin is better than
directly
hacking into the Paraview source).

As I have to base on an vtkUnstructuredGridAlgorithm I cloned the
vtkGAMBITReader
as it was the shortest (Only change of name, no functionality yet).
I follwed the Plugin-HowTO and with the help of the XML files
in the examples section and was able to compile a plugin. The
extension I use is .h5
(but we do not want to use the HDF5 reader but our own stuff).
SYSTEM_HDF5 is disabled.

When I load the Plugin no .h5 extension appears in the file open dialog.

I have several (starters) questions:

* Shall the extension appear there?
* I use OpenSuse 11.0 64bit with QT 4.4 - Paraview compiles nice after
commenting
  the WARNING() in the cmake file.
  - Can this be the reason for the problem?
  - What actually is the QT 4.4 issue? It compiles ...
* When I load a plugin again, is it reloaded?
* Is vtkGAMBITReader a good start? I found no appropriate extension in
file open.

I just started with the mailing list and did not find something
appropriate yet.

Thanks a lot,

Fabian

P.S.: I have no experience with ParaView yet (we have first to read
our data :))
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview 3.4 cross-compilation (Cray XT4) : pvserver

2008-11-24 Thread Moreland, Kenneth
Someone who actually did the technical work can correct me, but I believe the 
the current version of the Cray XT port was done against the Cray XT3 running 
catamount.  Catamount does not support sockets, so all the socket code and 
anything relying on it was disabled.  Thus, the first step is to turn the 
sockets back on.  It sounds like you have already done that.

Not having used a Cray XT4, I cannot profess to understand all the technical 
details.  It sounds like all you may need to do is establish a reverse 
connection.  That is, the client will listen on a port and the server will 
connect back to it.  To set up a reverse connection, simply make a client 
connection with a reverse connection type and launch pvserver with the -rc flag 
and the appropriate --client-host flag.

-Ken


On 11/21/08 7:09 AM, Asimina Maniopoulou [EMAIL PROTECTED] wrote:

Dear all,
I have cross compiled Paraview 3.4 on a Cay XT4 machine following mostly
the instructions on page
http://www.paraview.org/Wiki/Compiling_ParaView3_for_Cray_supercomputers
Firstly I tested pvbatch using the coloredSphere.py I found on the page
above , which seems to have worked fine.

I have also installed on the login node the paraview GUI and I was
trying to set up paraview and pvserver to work together.
It seems though that pvserver that runs on the computed nodes is trying
to open IP sockets to establish communication with the login node.
CNL (the operating system on the compute node) supports sockets but  is
not configured  to open  ports (while opening a port on the computing
node from a server  running on the login node is possible)
Is there any way round this as far as the configuration of pvserver is
concerned?

Thanks



The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How to view the multiple slices on a volumn rendered object?

2008-11-24 Thread Moreland, Kenneth
Weicheng,

The Auto Accept option mostly does what you want.  Open up the ParaView 
options dialog box (Edit - Settings or ParaView - Preferences on Mac), go to 
the General page and click on the Auto Accept checkbox.  Once you turn this on, 
you will never have to hit Apply; all changes get applied as soon as you make 
it.  This change is system wide, it will happen for any reader, source, or 
filter, not just the slice filter.  Also, slice filter will only update once 
you let go of the 3D widget; it will not continuously change as you move it 
around.

Another option you might be interested in is the slice offset values option in 
the slice filter.  The slice filter allows you to place multiple slices at 
once.  Just scroll to the bottom of the object inspector and add a new range of 
slice offset values.

Yet another option you might be interested in is the ability to animate the 
slice plane.  Open the animation view (View - Animation View) and add a track 
for the Slice Offset Values parameter of the slice filter.  The default values 
will animate the slice plane along the normal direction of the slice widget.

-Ken


On 11/21/08 4:51 PM, SHEN, WEICHENG . [EMAIL PROTECTED] wrote:

I have a volume rendered 3D cube (uniform rectilinear grid data), which
is rendered by loading the data into the Paraview and applying a
threshold filter on it. Now I apply a slice filter on this volume
rendered 3D cube. However, in order to see that 2D plane cut by the
slice, I have to click at the apply button wherever I place the
slice on the 3D cube.
Is it possible that I can see the 2D plane cut by the slice as I move
the slice on the 3D cube?

Thanks!

Weicheng Shen


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Example of displaying information

2008-11-24 Thread Moreland, Kenneth
A straightforward way of implementing this would be to add a custom view via a 
plugin.  The Plugin HowTo Wiki page describes how to make a plugin with a 
custom view in it.  The implementation to get the data you need to display in 
the view is up to you.

  http://www.paraview.org/Wiki/Plugin_HowTo

-Ken


On 11/24/08 10:24 AM, Bryn Lloyd [EMAIL PROTECTED] wrote:

Hi

I have been looking for an example, which would help me understand how
I can get some information about a dataset and display it in a GUI
element (e.g. in a QLabel).

E.g. as an example, I would like to have a panel or some other gui
element, which displays certain values which it gets from a data set
(e.g. number of lines in a polydata, or total volume of a unstructured
grid, or ...)

Can you please suggest how I could achieve this?

Thanks,
Bryn






___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Multiple temporal shifts still not working right

2008-11-24 Thread Moreland, Kenneth
Nuts.  I guess it wasn't fixed after all.  I submitted a new bug report with 
your new description.

  http://www.paraview.org/Bug/view.php?id=8156

Note that I think I found a workaround using the temporal cache filter.  
(Details in the bug report.)

-Ken


On 11/21/08 8:15 AM, Eric E. Monson [EMAIL PROTECTED] wrote:

Hey,

Sorry for the long email, but I find this problem difficult to
describe succinctly...

In February I was trying to use multiple Temporal Shift Scale filters
as input to a Python Programmable Filter to do on-the-fly point
velocity calculations (for diffusing particles in my simulation
output). There were troubles with the pipeline updating properly, and
Ken Moreland came up with a nice self-contained test case and filed
the bug 6307:

http://www.paraview.org/Bug/view.php?id=6307

which was listed in August as fixed because the test case seemed to
work now. But, I don't think this is really resolved yet.

If you load in the TimeShiftTest2.pvsm state file, the animation seems
to play correctly, but I think that's a red herring. If you turn off
the visibility of the TemporalShiftScale filters, you can see that no
boxes move until after t=1.0, whereas if the temporal filters are
turned on, and the group filter is turned off, one box moves and then
the other.

I don't know if this helps, but if you look at the Output printed by
the Python filter in TimeShiftTest1.pvsm, you can see that the
temporal data sets have the correct time, but the ImageData within
them doesn't match.
..

All of this is much more clear to me when I load in a simple data set
with one point moving in time (attached Xdmf data set -- I'll also
attach a link to a state file which sets this pipeline up, but you'll
have to change the path for the data file in the state file manually
if you want to use it).

The pipeline is: Load data. Add a Temporal Shift Scale with (post)
shift=0. Add another TSS off the original data set with (post) shift =
1. Highlight both TSSs and route into a Python Programmable Filter
with Unstructured Grid output and this script:

in0 = self.GetInputDataObject(0,0)
ds0 = in0.GetTimeStep(0)
in1 = self.GetInputDataObject(0,1)
ds1 = in1.GetTimeStep(0)
print 'in1 t = %.1f' % in1.GetInformation().Get(in1.DATA_TIME_STEPS(),0)
print 'ds1 t = %.1f' % ds1.GetInformation().Get(ds1.DATA_TIME_STEPS(),0)
print 'in0 t = %.1f' % in0.GetInformation().Get(in0.DATA_TIME_STEPS(),0)
print 'ds0 t = %.1f' % ds0.GetInformation().Get(ds0.DATA_TIME_STEPS(),0)
out1 = self.GetOutputDataObject(0)
out1.ShallowCopy(ds0)
print 'out1 t = %.1f' %
out1.GetInformation().Get(out1.DATA_TIME_STEPS(),0)

When I animate this (PV CVS or 3.4, OS X 10.5.5), with the TSSs on and
the PPF off, I see the expected: two points, one following the other.
When the TSSs are off and the PPF is on, only one point shows up.
Also, the behavior is different if the animation is stepped backwards
rather than forwards. And, the printed Output times from the PPF show
one of the ImageData sets time doesn't match its temporal host.

As in Ken's example, this works very similarly with a Group filter in
place of the PPF.

This still seems very confusing, and I hope someone will have some clue!

Thanks,
-Eric

--
Eric E Monson
Duke Visualization Technology Group

Test data set:




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Bug in Color Scale

2008-11-25 Thread Moreland, Kenneth
Shi,

I have not run into this, nor have I heard of anyone else who has.  Could you 
tell us more about your data or, better yet, send us an example?

One thing that has changed with the rescale range feature recently is that the 
range is now computed based on the values that appear throughout an entire 
volume, not just what appears on the surface.  Thus, if you are rendering a 
volume of data with 1 in the middle but with the surface only having up to 
0.01, the range is still going to be up to 1.  Check the ranges in the 
Information panel.  The scalar bar range should agree with that.  If you don't 
know where the upper values are located, try using the threshold filter to find 
them.

-Ken


On 11/24/08 8:24 PM, Shi Jin [EMAIL PROTECTED] wrote:

Hi there,

I just upgraded my paraview from 3.10 to 3.40. Immediately I found that the 
same data was not colored correctly with the new version. It turned out that in 
the Display Tab, Rescale to Data Range button actually does nothing. If I 
clicked on Edit Color Map.., I found that the maximum of data range is always 1 
(minimum always 0), no matter what the real range is. I can of course uncheck 
Automatically Rescale to Fit Data Range, and set the range using Rescale Range 
button by hand. However, I think this is not what it is supposed to be.  I 
tried both the Linux-64bit binary found online and my own build on an ubuntu 
box and they have the same problem.  Please let me know if it is indeed a bug 
or just something I didn't get right. Thanks a lot.

Thanks a lot.
Shi



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Bug in Color Scale

2008-11-25 Thread Moreland, Kenneth
Nope.  I still can't replicate the problem.  I downloaded the binary you 
specify, loaded the data set you sent, and it set the range fine.

I notice from the image you sent that the color bar does not have the default 
colors.  Are you sure that you are actually using the version of ParaView you 
downloaded as opposed to another version that might be in your path?  Earlier 
versions of ParaView used that rainbow scalar bar as a default.  Either that or 
you have been playing with color scale editor dialog box.  In that case, you 
may have accidently changed the range without realizing it.

-Ken


On 11/25/08 9:35 AM, Shi Jin [EMAIL PROTECTED] wrote:

Hi Ken,

Thank you. I have attached my sample data file and a screenshot taken under 
paraview-3.4.0 under 64bit Linux.
Just now I tried the Windows version and it seems to be working fine. So I 
guess this is a problem only found in the Linux version. By looking at the 
range for the variable Rank in the information panel, we can see it is [3,3] 
however the color displays only for range [0,1].
Please let me know if you can reproduce this problem on Linux. The binary I 
used is paraview-3.4.0-Linux-x86_64.

Thanks a lot.
Shi



From: Moreland, Kenneth [EMAIL PROTECTED]
To: Shi Jin [EMAIL PROTECTED]; paraview@paraview.org paraview@paraview.org
Sent: Tuesday, November 25, 2008 7:50:42 AM
Subject: Re: [Paraview] Bug in Color Scale

Re: [Paraview] Bug in Color Scale Shi,

I have not run into this, nor have I heard of anyone else who has.  Could you 
tell us more about your data or, better yet, send us an example?

One thing that has changed with the rescale range feature recently is that the 
range is now computed based on the values that appear throughout an entire 
volume, not just what appears on the surface.  Thus, if you are rendering a 
volume of data with 1 in the middle but with the surface only having up to 
0.01, the range is still going to be up to 1.  Check the ranges in the 
Information panel.  The scalar bar range should agree with that.  If you don't 
know where the upper values are located, try using the threshold filter to find 
them.

-Ken


On 11/24/08 8:24 PM, Shi Jin [EMAIL PROTECTED] wrote:

Hi there,

I just upgraded my paraview from 3.10 to 3.40. Immediately I found that the 
same data was not colored correctly with the new version. It turned out that in 
the Display Tab, Rescale to Data Range button actually does nothing. If I 
clicked on Edit Color Map.., I found that the maximum of data range is always 1 
(minimum always 0), no matter what the real range is. I can of course uncheck 
Automatically Rescale to Fit Data Range, and set the range using Rescale Range 
button by hand. However, I think this is not what it is supposed to be.  I 
tried both the Linux-64bit binary found online and my own build on an ubuntu 
box and they have the same problem.  Please let me know if it is indeed a bug 
or just something I didn't get right. Thanks a lot.

Thanks a lot.
Shi



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel 
http://www.cs.unm.edu/%7Ekmorel





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Multiple temporal shifts still not working right

2008-11-25 Thread Moreland, Kenneth
I added this information to the bug report.

-Ken


On 11/25/08 11:33 AM, Eric E. Monson [EMAIL PROTECTED] wrote:

Hey Ken,

Thanks a lot for looking into this -- I'm sure it was a pleasure to see it pop 
up again! :)

Your workaround using the temporal cache filter seems to work as long as I do 
the grouping in the correct order. If I first click on the shift(0) filter, 
and then command-click to also select the shift(1) filter and then group the 
data sets, stepping forward in time only shows one point, but then backwards in 
time shows the correct thing: two points trailing each other. If I select the 
shift(1) first and then the shift(0), stepping forwards in time works, but not 
backwards. (Although, I still get a stutter sometimes where on the second 
click forwards after applying the group filter the points collapse for one 
step...)

If I select in the wrong order, but increase the size of the caches (up from 
the original 2), I can get the points to look right for one or two steps 
forwards sometimes. They always look right going forward if I've just stepped 
backwards through that time range so the data is in the caches.

So, temporal caching fixes it if the filters are selected in the right order 
for the order in which the time is going to be stepped...

Thanks,
-Eric


On Nov 24, 2008, at 6:58 PM, Moreland, Kenneth wrote:

Nuts.  I guess it wasn't fixed after all.  I submitted a new bug report with 
your new description.

   http://www.paraview.org/Bug/view.php?id=8156

 Note that I think I found a workaround using the temporal cache filter.  
(Details in the bug report.)

 -Ken


 On 11/21/08 8:15 AM, Eric E. Monson [EMAIL PROTECTED] wrote:


Hey,

 Sorry for the long email, but I find this problem difficult to
 describe succinctly...

 In February I was trying to use multiple Temporal Shift Scale filters
 as input to a Python Programmable Filter to do on-the-fly point
 velocity calculations (for diffusing particles in my simulation
 output). There were troubles with the pipeline updating properly, and
 Ken Moreland came up with a nice self-contained test case and filed
 the bug 6307:

 http://www.paraview.org/Bug/view.php?id=6307

 which was listed in August as fixed because the test case seemed to
 work now. But, I don't think this is really resolved yet.

 If you load in the TimeShiftTest2.pvsm state file, the animation seems
 to play correctly, but I think that's a red herring. If you turn off
 the visibility of the TemporalShiftScale filters, you can see that no
 boxes move until after t=1.0, whereas if the temporal filters are
 turned on, and the group filter is turned off, one box moves and then
 the other.

 I don't know if this helps, but if you look at the Output printed by
 the Python filter in TimeShiftTest1.pvsm, you can see that the
 temporal data sets have the correct time, but the ImageData within
 them doesn't match.
 ..

 All of this is much more clear to me when I load in a simple data set
 with one point moving in time (attached Xdmf data set -- I'll also
 attach a link to a state file which sets this pipeline up, but you'll
 have to change the path for the data file in the state file manually
 if you want to use it).

 The pipeline is: Load data. Add a Temporal Shift Scale with (post)
 shift=0. Add another TSS off the original data set with (post) shift =
 1. Highlight both TSSs and route into a Python Programmable Filter
 with Unstructured Grid output and this script:

 in0 = self.GetInputDataObject(0,0)
 ds0 = in0.GetTimeStep(0)
 in1 = self.GetInputDataObject(0,1)
 ds1 = in1.GetTimeStep(0)
 print 'in1 t = %.1f' % in1.GetInformation().Get(in1.DATA_TIME_STEPS(),0)
 print 'ds1 t = %.1f' % ds1.GetInformation().Get(ds1.DATA_TIME_STEPS(),0)
 print 'in0 t = %.1f' % in0.GetInformation().Get(in0.DATA_TIME_STEPS(),0)
 print 'ds0 t = %.1f' % ds0.GetInformation().Get(ds0.DATA_TIME_STEPS(),0)
 out1 = self.GetOutputDataObject(0)
 out1.ShallowCopy(ds0)
 print 'out1 t = %.1f' %
 out1.GetInformation().Get(out1.DATA_TIME_STEPS(),0)

 When I animate this (PV CVS or 3.4, OS X 10.5.5), with the TSSs on and
 the PPF off, I see the expected: two points, one following the other.
 When the TSSs are off and the PPF is on, only one point shows up.
 Also, the behavior is different if the animation is stepped backwards
 rather than forwards. And, the printed Output times from the PPF show
 one of the ImageData sets time doesn't match its temporal host.

 As in Ken's example, this works very similarly with a Group filter in
 place of the PPF.

 This still seems very confusing, and I hope someone will have some clue!

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group

 Test data set:





     Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: [EMAIL PROTECTED]
 **  ***  **  phone: (505) 844-8919
 ***  web:   http://www.cs.unm.edu/~kmorel

Re: [Paraview] problem displaying ZoY points

2008-11-26 Thread Moreland, Kenneth
I sent a response last Monday (attached).  Did you not get it?

-Ken


On 11/26/08 10:21 AM, Ricardo Reis [EMAIL PROTECTED] wrote:

On Mon, 24 Nov 2008, Ricardo Reis wrote:

 I have a group of points in the ZoY plane. I want to display them as a
 surface.

 If they were in any other plane a Delaunay2D, using best fitting plane
 would work (at least, has been working) but for this plane nothing shows up.

 Any ideas?

No ideas?



  Ricardo Reis

  'Non Serviam'

  PhD student @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/rreis/



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

---BeginMessage---
To be honest, I have never understood the behavior of the best fitting plane 
for the Delaunay2D filter.  I would be tempted to fix it, but there could be a 
reason for its implementation.

This is a bit of a hack, but you can get around the problem by first applying 
the transform filter to rotate the data by 90 degrees around the Y axis to 
align it with the X-Y plane.

-Ken


On 11/24/08 9:03 AM, Ricardo Reis [EMAIL PROTECTED] wrote:



  Hi

  I have a group of points in the ZoY plane. I want to display them as a
surface.

  If they were in any other plane a Delaunay2D, using best fitting plane
would work (at least, has been working) but for this plane nothing shows
up.

  Any ideas?

  best,

  Ricardo Reis

  'Non Serviam'

  PhD student @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/rreis/



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

---End Message---
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] comparing z= constant planes

2008-12-01 Thread Moreland, Kenneth
You can translate the output of the slice filter in the Z direction (or any 
other direction) using the Transform filter.

-Ken


On 11/28/08 8:20 AM, Stephen Wornom [EMAIL PROTECTED] wrote:

I have to parallel planes offset by a constant z. I slice twice to get
the two planes, z1 and z2 (z2= z1+ conste).
I would like to overlay the wire frames (remove the z-offset from plane
z2), how does one do this?
Stephen

--
[EMAIL PROTECTED]
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX

Tel: 04 92 38 50 54
Fax: 04 97 15 53 51




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] FW: vtkTree file problem with Paraview

2008-12-01 Thread Moreland, Kenneth
I am forwarding this on to the InfoVis list where the developers of OverView 
are probably paying more attention right now.

-Ken

-- Forwarded Message
From: Matteo Campana [EMAIL PROTECTED]
Date: Sun, 30 Nov 2008 14:45:15 -0700
To: paraview@paraview.org
Subject: [Paraview] vtkTree file problem with Paraview

Dear all,

I'm developing an application using InfoVis package distributed with VTK.
With my application I succesfully generate and visualize some vtkTree files 
using vtkTreeWriter and setting the extension of the file to vtk (ex. 
MyTree.vtk).

Now I'd like to use paraview/overview (3.5.0) package in order to open the 
vtkTree files generated with my application.
I sucessufully compiled all paraview/overview pakage, I included all the plug 
in...but when I try to open my vtkTree files it give me an error.
It says it cant recognize the data type TREE.

Is it normal?..May it's becouse the vtkTreeReader is not included in the 
package?...

I also tryed to create a plug in for vtkTreeReader

Here is the code:
--
CMAKELIST
--
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})

ADD_PARAVIEW_PLUGIN(vtkTreeReader 1.0
   SERVER_MANAGER_XML vtkTreeReader.xml
   GUI_RESOURCE_FILES vtkTreeReaderGUI.xml)
-
vtkTreeReader.xml

ServerManagerConfiguration
  ProxyGroup name=sources
   SourceProxy name=vtkTreeReader
class=vtkTreeReader
label=VTK Tree reader
 Documentation
   short_help=Read a VTK Tree file.
   long_help=Read a VTK Tree file.
   Read a VTK Tree file The default file extension is .vtk.
 /Documentation
 StringVectorProperty
name=FileName
animateable=0
command=SetFileName
number_of_elements=1
FileListDomain name=files/
Documentation
  This property specifies the file name for the VTK TREE reader.
/Documentation
 /StringVectorProperty
   !-- End VTKTreeReader --
   /SourceProxy
  /ProxyGroup
/ServerManagerConfiguration
-
vtkTreeReaderGUI.xml

ParaViewReaders
  Reader name=TreeReader extensions=vtk file_description=VTK Trees
  /Reader
/ParaViewReaders



It sucessfully complile but when i try to open the file it give me the same 
error. The vtkTree file extension is also not present in the list of file type 
supported.
Any Idea?
I tryed to open the file also with overview but it  happen the same.

Thank you

Matteo



-- End of Forwarded Message


ATT1.txt
Description: ATT1.txt
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Ghost cells for standalone Paraview

2008-12-02 Thread Moreland, Kenneth
If you are not running in parallel, you do not need ghost cells.  If necessary, 
just run the Clean to Grid filter to restore connectivity.

-Ken


On 12/2/08 7:10 AM, Fabian Wein [EMAIL PROTECTED] wrote:

Hi,

To close my isosurfaces of my unstructured grid I need ghost cells.
I found that D3 is capable of doing this but I use a standalone ParaView.

What can I do? Shall I write a python filter?

Thanks,

Fabian
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] coloring by cell normals not preserved in undo stack

2008-12-02 Thread Moreland, Kenneth
Geoff,

The magnitude of the cell normals (which is what you are coloring by) should be 
1 for all of them.  The different  colors you are seeing initially are simply 
due to numerical error.  As you are doing undo/redo, some (non-significant) 
precision must be lost.  I don't know why there is a change, but it should not 
be an issue.  When I try the undo/redo with color mapping with changes in the 
significant digits, the results are consistent.  Let us know if you come with a 
counterexample.

-Ken


On 12/2/08 9:13 AM, Geoff Draper [EMAIL PROTECTED] wrote:

Hi all,

I'm not sure if this is a bug or not, but here's how to duplicate what I'm
seeing:

1. Create a basic object (Sources - Sphere, then click Apply)
2. On the Display tab, change Color by: Solid Color to Color by:
cellNormals. Notice the different colors on the faces of the sphere.
3. Click the Undo button. The sphere returns to the default color.
4. Click the Redo button. The sphere is now colored, but now each face has
the same color, instead of the mixture as before the Undo.

Is this expected/correct?  (I'm running yesterday's snapshot from CVS,
but have noticed this behavior in previous builds, too.  My OS is Windows
XP and my compiler is Visual C++ 2008 Express Edition.)

Thank you for any insight you could offer!
--Geoff
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Multiple Screens

2008-12-03 Thread Moreland, Kenneth
Christian,

Did you mistype the first mpirun command?  Running pvclient in mpirun has never 
worked in any ParaView version.

With ParaView 3.4, the following similar launch command should work (assuming 
that your version of mpirun supports the : argument):

 mpirun -np 1 ./pvserver -display :0.0 : -np 1 ./pvserver -display :0.1 : -np 1 
./pvserver -display :0.2

If this doesn't work, can you be more specific about what happens?  Do you get 
X host errors?  Do all the windows show up on display :0.0?

-Ken

On 12/3/08 7:10 AM, Christian Wohlschlager [EMAIL PROTECTED] wrote:

** Reply Requested When Convenient **

Hello !

I was using 2.6 paraview so i tought ist time to change --- but
displaying rending on another screen does no mor work (or work different)
I used to mpirun -np 1 ./pvclient -display :0.0 : -np 1 .pvclient -display :0.1 
: -np 1 ./pvclient -diplay :0.2

or

mpirun -np 3 ./pvserver config.pvx

in the config.pvx i gave the configuration of the screens

but neither of this options open a window on the dired screens.

Anyone who does that with 3.x version

thank you

christian

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Ghost cells for standalone Paraview

2008-12-03 Thread Moreland, Kenneth
OK, I understand now.  What you are asking for is not exactly what VTK/ParaView 
considers ghost cells.  You want add a layer of points around the boundary of 
an image data (i.e. 3D uniform regular grid) with minimum values to force the 
contour filter to create closed surfaces.  I don't know of an easy way to do 
this in ParaView (someone please correct me if I am wrong).

I think you can get the effect you want by using the clip by scalars feature.  
Instead of using the contour filter, use the clip filter.  Change the Clip 
Type to Scalar and set the value to the isosurface you want to see.  The 
advantage of this approach is that the data you see will show the surface right 
at the edge of the volume instead of the arbitrary rounding at the edges you 
see in the Amira screenshots.  The disadvantage is that the underlying data is 
a solid unstructured geometry which could take up much more memory than the 
original image data.  If memory is an issue, let me know and I can describe 
memory-light version that uses a combination of the contour, extract surface, 
and clip filters.

-Ken


On 12/3/08 1:16 AM, Fabian Wein [EMAIL PROTECTED] wrote:

Hi Ken,

  If you are not running in parallel, you do not need ghost cells.  If
  necessary, just run the Clean to Grid filter to restore connectivity.
  -Ken
  To close my isosurfaces of my unstructured grid I need ghost cells.
  I found that D3 is capable of doing this but I use a standalone
  ParaView.
 
  What can I do? Shall I write a python filter?


I could not figure out how the Clean to Grid filter can help me. The
problem is, that my isosurfaces don't close. In my master thesis
I used Amira for visualization of cell data but had ghost cells. There
the surface is closed.

I add screenshots of what I get from ParaView and what I desire. Thanks
a lot for help - this was one of the reasons for me to move from gmv.

Fabian



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Wtrlt: Antw: Re: Multiple Screens

2008-12-15 Thread Moreland, Kenneth
When in desktop delivery mode, ParaView does not make any effort to show
rendering results, so the windows might not behave as expected.  If you want
to be sure that pvserver can create windows on each display, you can start
it in tiled display mode.  Add the argments -tdx=3 -tdy=1 to pvserver.  If
you do not see a window opened on each display, there is genuinely a
problem.  Otherwise, pvserver is probably working fine.

-Ken


On 12/10/08 11:27 PM, Christian Wohlschlager
christian.wohlschla...@jku.at wrote:

 ** Reply Requested When Convenient **
 
 dear Paraviewers !
 
 one step forward two steps back. after switching compositing off i get windows
 opend on each screen , but each screen showing nothing
 
 i also try xmd screen nr:. :2 the everything is ok but when i try to move the
 window on screen nr:2  the window gets immediatly back to it old position and
 ist old size.
 
 
 
 thank you
 
 christian
 
 
 
 
 Christian Wohlschlager 09.12.2008 10:55 
 Dear Kenneth !
 
 Sorry for the delay , the screen :0.1  :0.2  :0.0  does not show anything,
 if i use another screen where i can watch the incomming X11 i can see that it
 gets in contact but
 it doesnt open any window.  the env DISPLAY=:0.1   etc i tried befor it wont
 help at all.
 Is there any switch in the pvserver where i can watch the exact log ?
 
 mfg
 
 christian 
 
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview
 
 


     Kenneth Moreland
***  Sandia National Laboratories
***  
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Not a valid QT plugin on windows

2008-12-16 Thread Moreland, Kenneth
Odd that only one of the two plugins get loaded.  Perhaps the server plugin is 
missing some symbols.  Try running the depends program on it and make sure it 
can find all of the dependent dlls.  Also make sure that the server manager 
initialization function is properly exported (I think it's called 
@plugin_n...@_initialize).

You could also try wrapping the client and server code into the same plugin 
(with checks to dump the client code when the GUI is not built).  I have never 
liked the idea of having separate client  server plugins; they make loading 
the plugin more cumbersome and confusing rather than helpful.

-Ken


On 12/16/08 10:54 AM, Jacques Papper jpap...@ara.co.uk wrote:

Hi all,

I have two plugins for Paraview that used to work fine with ParaView 3.2
under linux (I used to build them at the same time as ParaView.)
Now I am using Visual Studio and have compiled the plugins outside of
paraview. I am able to generate dll for both the server and client plugins.
(I had to switch the vtkIO_EXPORTS flag on to build the dlls)
When I launch paraview, only the client side is loaded and when I try to
load the server side it fails with the message :  * is not a valid Qt
plugin ...
I have found some threads dealing with this but nothing that I can try.
I have built ParaView and my plugins against the same version of Qt (4.4.3)
Any help would be greatly appreciated.

Jacques


---
This email contains information that is private and confidential and is 
intended only for the addressee.  If you are not the intended recipient please 
delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
196351245


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Not a valid QT plugin on windows

2008-12-17 Thread Moreland, Kenneth
The depends command (provided by MSVC) provides information on one dll both 
about the other libraries it depends on and the symbols (variables and 
functions) that it exports.  I believe the information is at the right at a bit 
below center in the GUI.  For a ParaView plugin, there are typically only one 
or two functions exported that provide the hooks to allow ParaView to load the 
plugin.

-Ken


On 12/17/08 1:16 AM, Jacques Papper jacques.pap...@gmail.com wrote:

Ok,

I removed the EXPORTS macro in my header, and it produces the same as setting 
the flag vtkIO_EXPORTS. The library is still not loaded though. So now I'm 
looking at the dependencies and the Initialize function.

Kenneth, how do I go about making sure that the server manager initialization 
function is properly exported ? I'm not sure I really understand what you mean 
?

Thanks
Jacques


2008/12/16 David E DeMarle dave.dema...@kitware.com
That sounds similar to a bug that Pat Marion fixed for the Streaming
ParaView plugin under windows. His change that fixed it was this:

Index: Client/pqGlobalStreamingViewOptions.h
===
RCS file: 
/cvsroot/ParaView3/ParaView3/Plugins/Streaming/Client/pqGlobalStreamingViewOptions.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
36d35
 #include pqComponentsExport.h
40c39
 class PQCOMPONENTS_EXPORT pqGlobalStreamingViewOptions : public
pqOptionsContainer
---
 class pqGlobalStreamingViewOptions : public pqOptionsContainer


On Tue, Dec 16, 2008 at 12:54 PM, Jacques Papper jpap...@ara.co.uk wrote:
 Hi all,

 I have two plugins for Paraview that used to work fine with ParaView 3.2
 under linux (I used to build them at the same time as ParaView.)
 Now I am using Visual Studio and have compiled the plugins outside of
 paraview. I am able to generate dll for both the server and client plugins.
 (I had to switch the vtkIO_EXPORTS flag on to build the dlls)
 When I launch paraview, only the client side is loaded and when I try to
 load the server side it fails with the message :  * is not a valid Qt
 plugin ...
 I have found some threads dealing with this but nothing that I can try.
 I have built ParaView and my plugins against the same version of Qt (4.4.3)
 Any help would be greatly appreciated.

 Jacques


 ---
 This email contains information that is private and confidential and is 
 intended only for the addressee.  If you are not the intended recipient 
 please delete it and notify us immediately by e-mailing the sender.
 Note: All email sent to or from this address may be accessed by someone other 
 than the recipient, for system management and security reasons.
 Aircraft Research Association Ltd.  Registered in England, Registration No 
 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
 196351245


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




--
David E DeMarle
Kitware, Inc.
RD Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] High Quality Triangulation

2008-12-22 Thread Moreland, Kenneth
Could you explain what you mean by bad triangulation?  I looked at the 
results with the cylinder and the box sources, and the triangulation looks 
perfect to me: Each polygon is broken up evenly into smaller triangles.  Were 
you expecting some other result?

-Ken


On 12/19/08 8:34 AM, Chaman Singh Verma csv...@gmail.com wrote:

Hello,

Although the problem is simple outside Paraview, but I was wondering if there 
is
some way to create very high quality triangulation of some of the primitive 
surfaces
defined in the Source such as cylinder, cubes etc directly in the Paraview.  
I tried
using two filters (1) First triangulate (2) and then Subdivide. but the output 
contained
bad quality triangulation.

thanks.
csv





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Random Colormap

2008-12-22 Thread Moreland, Kenneth
There is no easy way to create a random color map in ParaView, but it is not 
hard to make a random scalar field.  For example, you could use the Random 
Vectors filter.

-Ken


On 12/20/08 10:49 AM, Chaman Singh Verma csv...@gmail.com wrote:

Hello,

I have one specific requirement and hope ParaView can do a good job. I am 
interested in
Visualizing Graph Partitioned Domain. Since number of Partitions could be very 
large,
it is important that neighbouring domain to have high contrasting color. A 
smoothly
varying colormap doesn't do good job for large domains.

Is there any way to create random colormap in ParaView ?

Thanks.
csv




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Creating Plugins

2008-12-22 Thread Moreland, Kenneth
Benjamin,

I don't think any of the developers are aware of bug that causes the VTK 
wrapping parser to hang.  Could you send us a piece of code that demonstrates 
the problem?

-Ken


On 12/19/08 6:33 AM, Benjamin Schindler bschind...@student.ethz.ch wrote:

I just renamed the baseclass now (It is not inside a library so that's
no issue) and the parser seems to accept this. Adding //btx //etx works
but that's not really an ideal solution. IMHO, the grammar of the parser
should be changed for such things to be possible.

I'm using the svn version of paraview and the parser seems to hang but
it doesn't report an error. I assume that's a bug which will be fixed
pretty soon

Thanks
Benjamin
Michael Jackson wrote:
 Not sure about the multiple inheritance issue but for methods that
 don't take vtk type primitives surround the method declaration with
 the following:

 //btx
 void SomeFunction(... );
 //etx

 _
 Mike Jackson  mike.jack...@bluequartz.net
 BlueQuartz Softwarewww.bluequartz.net
 Principal Software Engineer  Dayton, Ohio



 On Dec 19, 2008, at 7:25 AM, Benjamin Schindler wrote:

 Hi

 I'm trying to create a paraview plugin out of a filter I'm currently
 writing for my own viewer. I'm hitting several roadblocks with the
 parser:

 *** SYNTAX ERROR found in parsing the header blablabla

 I currently found the following issues:

 class Something; // Not allowed because it does not start with the
 vtk Prefix

 class vtkMyFilter: public vtkSomeFilterClass, public MyBaseClass //
 Probably same as above, but I'm not sure
 {
   void SomeFunction(Eigen::Vector3f arg); // I assume I can't take
 arguments that are not primitive types or don't have the vtk prefix
 but I'm not sure
 }


 Is there anything I can do about these issues?

 Thanks
 Benjamin


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Confused over the term sort first and sort last rendering modes

2009-01-12 Thread Moreland, Kenneth
ParaView implements sort-last parallel rendering.  If the amount of geometry 
you are rendering is small, ParaView also has the ability to collect the 
geometry and render it wherever it is being displayed.  You could call that 
second mode sort-last rendering, but it is missing the screen decomposition 
that is usually characteristic of a true sort-first parallel rendering 
implementation.  The rendering mode ParaView uses is controlled by the Remote 
Render Threshold setting.

I'd rather not get into a more detailed description of sort-first/last parallel 
rendering or ParaView's implementation.  There are many papers on the subject.  
A good place to start is the following, which outlines the ParaView 
client/server rendering framework:

Andy Cedilnik, Berk Geveci, Kenneth Moreland, James Ahrens, and Jean Favre. 
Remote Large Data Visualization in the ParaView Framework. In Eurographics 
Parallel Graphics and Visualization 2006, pg. 163-170, May 2006.

You can get a copy of this paper from my website:

http://www.cs.unm.edu/~kmorel/documents/EGPGV2006Paper.pdf

-Ken


On 1/11/09 2:26 AM, Kalpana Kanthasamy kalpana0...@gmail.com wrote:

Hie everyone,

I have managed to run my paraview on a heterogeneous cluster. I have several 
questions, I ran the application on 4 nodes consisting of a quad core and three 
dual cores. I included display as an option in my command, but there were no 
display showed. However, when I ran paraview by using mpirun -np 4, there were 
display and each portion of my dataset appeared on all the 3 dual core nodes, 
the final composited image appeared on the master node, the quad core. There 
was no display when I used mpirun -np 10, but the final image did appear on my 
master node and it was load balanced, and each node shared the processing load, 
thus I am just assuming that the display is just a command and it does not 
matter whether it is included or not as the results are the same, the end 
results shows the each process does its work.

I am however, confused over my rendering mode.

Am I running my paraview in a sort first or sort last rendering mode.
According to paraview's wiki page,

a) sort first
Sort first (collection): Small objects can be collected to the first node and 
rendered locally. In this mode, the polygons are collected only when the source 
generating them is modified. Although this collection might take time, it is 
done only once and rendering is fast.

b) Sort last (distributed rendering): In this mode, first, each process renders 
their scene, then these scenes are composited using the depth buffer. This is 
done every render. Although this is slower for smaller datasets, it is the only 
scalable solution when the dataset become large.


According to another wiki page, http://en.wikipedia.org/wiki/Parallel_rendering
a) Sort-first rendering decomposes the final view in screen space, that is, 
each contributor renders a 2D tile of the final view.[1] This mode has a 
limited scalability due to the parallel overhead caused by objects rendered on 
multiple tiles.
The image to the right[image missing] shows an example of sort-first rendering 
on a video wall. Each computer in the video wall renders a portion of the 
viewing volume, or viewing frustum, and the final image is the summation of the 
images on the monitors that make up the video wall. The speedup comes from the 
fact that graphics libraries (OpenGL for example) will clip away pixels that 
would appear outside of the viewing volume. This happens very early in the 
graphics pipeline, which accelerates the rendering process by eliminating the 
unneeded rasterization and post-processing on primitives that will not appear 
anyway.
-  I don't really understand this, but the Each computer in the video wall 
renders a portion of the viewing volume seems to be like what I do

b) Sort-last rendering on the other hand decomposes the rendered database 
across all rendering units, and recombines the partially rendered frames. This 
modes scales the rendering very well, but the recomposition step is expensive 
due to the amount of pixel data processed during recomposition.
The image to the right[image missing] shows an example of sort-last rendering. 
The computer in the top left corner is the master computer. This means it is 
responsible for receiving the images created by the other computers, and then 
compositing them into the final image, which it displays on its own monitor.

I am coming to a conclusion that I am using sort last rendering,
I have included my log file here

Local Process
Execute vtkMPIMoveData id: 56525, 34.3637 seconds
Still Render, 13.1748 seconds
Still Render, 13.7901 seconds
Execute vtkMPIMoveData id: 56886, 39.0753 seconds
Still Render, 12.9629 seconds



Server, Process 0
Execute vtkXMLUnstructuredGridReader id, 17.8932 seconds
Execute vtkPVGeometryFilter id: 56413, 1.05276 seconds
Execute vtkMPIMoveData id: 56525, 29.4772 seconds
Dataserver gathering to 0, 9.52857 seconds

Re: [Paraview] Adding custom chart view

2009-01-13 Thread Moreland, Kenneth
Nehme,

It sounds like you do not need to create a custom view.  You should be able to 
create a filter that generates the data and then use the existing bar chart and 
x-y plot views.  You can specify a Hint in the server manager xml for a 
filter to tell it which view to go to.  See the implementation of 
vtkPExtractHistogram and the corresponding ExtractHistogram entry in 
filters.xml for more details.

-Ken


On 1/13/09 8:16 AM, Nehme Bilal nbi...@mirarco.org wrote:

Hello,

I'm trying yo create a filter to plot a histogram or a
curve. The output of this filter will look like the one
used for histogram filter.
I read the documentation on the wiki about how to create a
custom view, and I think this is my start point. Is that
true ? if yes, from witch class should myView inherits
from ? pqGenericViewModule ? pqChartLayer ? pqView ? pqxxx
?

How my pqMyView class will be linked to my vtkMyFilter
Class ? how to pass my vtkDataArrays from my vtkMyFilter
class to my pqMyView class ?

Thank you,

Nehme
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Difference between Compute Derivatives and Gradient (Unstructured)...

2009-01-13 Thread Moreland, Kenneth
 So its possible to change the gradient-filter to get a speedup? - nice.
 Please let me know when this change is checked in into the cvs-version
 of paraview - i will check it here again.

When I sent out my original email, I had already checked into CVS the
gradient filter optimization.  This morning I checked in another change that
allows you to run a faster but less accurate algorithm to get the point
gradients.

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***  
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Add support for PARAVIEW_EXTRA_EXTERNAL_PLUGINS?

2009-01-14 Thread Moreland, Kenneth
Perhaps Tim's plugins should also have an option to compile in statically.  
There is a lot of interest in running infovis capabilities on these platforms.

-Ken


On 1/14/09 8:31 AM, Berk Geveci berk.gev...@kitware.com wrote:

 My point is that PARAVIEW_EXTRA_EXTERNAL_PLUGINS may be unnecessary and at
 some point may be obsolete.

PARAVIEW_EXTRA_EXTERNAL_MODULES is useful when deploying ParaView with
 extensions on a platform that does not support shared libraries (for
example Cray Xts and IBM Blue Genes).

-berk


On Wed, Jan 14, 2009 at 9:56 AM, Moreland, Kenneth kmo...@sandia.gov wrote:
 John,

 You should talk to Tim Shead.  As part of his OverView work, he is
 implementing a mechanism is ParaView in which you can define a set of
 plugins which you want loaded upon program startup.  The vision is that one
 day the ParaView application will really be an empty shell the defines its
 GUI and implementation by opening a set of predefined plugins.

 My point is that PARAVIEW_EXTRA_EXTERNAL_PLUGINS may be unnecessary and at
 some point may be obsolete.

 -Ken


 On 1/14/09 6:46 AM, John Biddiscombe biddi...@cscs.ch wrote:

 There used to be a PARAVIEW_EXTRA_EXTERNAL_MODULES - which allowed you
 to compile modules into paraview - in fact it still exists, but probably
 nobody uses it any more since plugins have improved so much.

 I have some users who want to compile paraview, and a couple of selected
 plugins, and then do a single make install

 I've added PARAVIEW_EXTRA_EXTERNAL_PLUGINS to the main paraview cmake,
 which allows you to enter

 vtkCSCSCommon;vtkCSCSFluent;vtkCSCSNetCDF etc etc etc

 and then it prompts for paths to the sources, and compiles them at the
 same time as paraview itself.

 Does anyone else need this functionality? Shall I add it to cvs? It's
 very simple - but does make life easier for the less experienced users
 (to manage one build instead of two).

 JB

 --
 John Biddiscombe,email:biddisco @ cscs.ch
 http://www.cscs.ch/
 CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
 Via Cantonale, 6928 Manno, Switzerland  | Fax:  +41 (91) 610.82.82


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   http://www.cs.unm.edu/~kmorel


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview






     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] CVS head crashes on Leopard at vtkCarbonRenderWindow

2009-01-15 Thread Moreland, Kenneth
I have been having the same problems.  I vote we back out of the 1.75 changes 
and ignore the warnings.

-Ken


On 1/15/09 7:10 AM, Takuya OSHIMA osh...@eng.niigata-u.ac.jp wrote:

Yes it's a 32-bit binary as far as I understand in the same way.

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN

From: David Cole david.c...@kitware.com
Subject: Re: [Paraview] CVS head crashes on Leopard at vtkCarbonRenderWindow
Date: Thu, 15 Jan 2009 06:54:30 -0500

 * I'm assuming you are building a 32-bit binary (because there is no 64-bit
 Carbon to link to)

 Sean, would you mind (1) fixing this or (2) reverting your
 vtkCarbonRenderWindow change of 1.75 until somebody can figure out what it
 takes to fix this...?

 I think we should view vtkCarbonRenderWindow itself as largely deprecated and
 just ignore deprecation warnings from within it... Cocoa will be the new order
 of the day after the upcoming Qt 4.5 kinks are worked out...

 Thanks,
 David

 On Thu, Jan 15, 2009 at 6:40 AM, Takuya OSHIMA osh...@eng.niigata-u.ac.jp
 wrote:

 Hi,

 I updated and built my copy of cvs head for the first time this
 year. Unfortunately, it gets immediate crash after opening the main
 window at vtkCarbonRenderWindow::UpdateGLRegion(). Here's a part of
 gdb backtrace output:

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_PROTECTION_FAILURE at address: 0x0166
 0x9710968c in objc_msgSend ()
 (gdb) backtrace
 #0  0x9710968c in objc_msgSend ()
 #1  0x9186b256 in CFGetTypeID ()
 #2  0x95cae3ad in CGSCopyRegion ()
 #3  0x9539be15 in aglSetIntegerWindowRef ()
 #4  0x95399398 in aglSetInteger ()
 #5  0x0446d8ad in vtkCarbonRenderWindow::UpdateGLRegion ()
 #6  0x0446e6a0 in vtkCarbonRenderWindow::CreateAWindow ()
 #7  0x0446d4a4 in vtkCarbonRenderWindow::WindowInitialize ()
 #8  0x0446b7f5 in vtkCarbonRenderWindow::Start ()
 #9  0x043ae10b in vtkRenderWindow::DoStereoRender ()
 #10 0x043ae2d9 in vtkRenderWindow::DoFDRender ()

 However, if I revert ParaView3/VTK/Rendering/vtkCarbonRenderWindow.cxx
 from the current revision of 1.75 to revision 1.74, I get a compiler
 waring about a deprecated API but the produced binary runs fine. So
 I'm wondering if the compiler warning fix
 
 revision 1.75
 date: 2009-01-13 03:06:53 +0900;  author: seanmcbride;  state: Exp;
  lines: +10
 -1;  commitid: rPzETQM9lDA3Mbyt;
 COMP: fixed compiler warning related to bug 4001, by conditionally using
 newer n
 on-deprecated API
 
 of vtkCarbonRenderWindow.cxx is really correct.

 Am I the only one who is having this problem? I'm using an Intel Mac
 Pro, OS X 10.5.6, gcc 4.0.1 build 5490, Xcode 3.1.2.

 Thanks,

 Takuya OSHIMA, Ph.D.
 Faculty of Engineering, Niigata University
 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Problems with the new color legend

2009-01-15 Thread Moreland, Kenneth
 The minimum and the maximum values show up differently (not aligned with) from
 the rest of tick values. They seem to be different from vertical (see
 vertical.png) to horizontal (see horizontal.png).

That is by design.  The min/max labels are placed where they can be shown
with the maximum amount of precision (so that you get the most accurate
account of what the range is).

 Also, the Number of Labels
 field has no effect. There were always minimum+3middlevalues+maximum in the
 color legend, even though I used 7 (see editor1.png and editor2.png for the
 editor window I am using). I think this is a bug.

The field is working, but it really means the maximum number of (non
min/max) labels.  It will show less if it means the labels will be more
readable.  You have to bump up the number of labels to 11 before you get to
the next increment that the color bar will allow.  I changed the label next
to the field to better reflect what it means.

Note that the point of the changes to the scalar bar are to make it more
readable.  Even with only 5 labels, you can quickly pinpoint the color
precisely to the thousands place using the minor tick marks.  That's way
better than you could with the old labels.

-Ken


     Kenneth Moreland
***  Sandia National Laboratories
***  
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How can someone insert an image to animation?

2009-01-19 Thread Moreland, Kenneth
 The main question was:
 How could someone insert graphical object (*.png, *.eps) (for example legend
 which had been painted in Photoshop or text from Tex) into the ParaView
 stage?

In case it was not clear before, you can load up a .png file just like any
other data file (File - Open).  You can then manipulate it like any other
pipeline object.

There is no eps reader, so you will have to convert it to a raster format
like png.  There are several utilities that will do it for you.  Imagemagick
is one cross-platform solution.

 Another question, is any possibility to create more detail grid
 (Object Inspector, Annotation, Show cube axes)?

I assume you are talking about the grid and ticks of the cube axis.  I do
not see a way to change them.  I raised a feature request to do that.

  http://www.paraview.org/Bug/view.php?id=8401

Hope that helps.

-Ken


     Kenneth Moreland
***  Sandia National Laboratories
***  
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel



___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Isosurface

2009-01-21 Thread Moreland, Kenneth
Yes, you need cells to create an isosurface.  The cells specify how the scalar 
field should be interpolated between points.

The easiest way to impose cells on your points is to run the Delaunay 3D filter 
on them.

-Ken


On 1/20/09 8:17 PM, Mare Libero marelibe...@yahoo.com wrote:

Hi,

I am new to Paraview and I hope some of you can help me. I am trying to 
visualize an isosurface. I used to work with Matlab where I would input the 
data in 4D in the format: X Y Z Intensity
To use Paraview, I generated a dataset in VTK format as an unstructured grid 
with no cells. The Intensities are associated to the corners of the cells as 
follow:

# vtk DataFile Version 3.1 Volume ASCII DATASET UNSTRUCTURED_GRID POINTS 197173 
FLOAT 1 1 1 1 1 6 1 1 11 
...

POINT_DATA 197173 SCALARS Intensities float LOOKUP_TABLE default 
20799.3681311062 20803.8373905225 20806.6752675851..
When I open this file, Paraview correctly identifies minimum and maximum values 
and the number of points. But I can't manage to visualize the contours.
Any suggestion? Do I need to generate CELLS data to draw isosurfaces? Can 
Paraview generate an isosurface solely from POINTS data? Thanks in advance.
A






     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] animation with changing visibility

2009-01-21 Thread Moreland, Kenneth
Animating the visibility is the right thing to do.  If you have not already, 
try changing the interpolation from ramp to step.  That might be the problem.

-Ken


On 1/21/09 10:39 AM, Jared Hawkins jared.hawk...@tufts.edu wrote:

To All,

I have searched around a bit for some documentation on this (including
this mailing list), so my apologizes if it has been discussed before.

I am trying to create a simple animation using Paraview 3.4.0.  The
animation desired is: a 3D cube rotates for 5 seconds, becomes invisible
and is replaced with a new object (a slice from the center of the 3D
cube).

It seemed fairly straight forward but I have been running into some
problems.  I have no problem with the rotation (using the Transform
filter) for 5 seconds.  I am running into trouble with changing the
visibility.  Specifically, making the 3D sphere turn invisible and
making the slice become visible at the appropriate time.  I have tried
animating the visibility of an object but am not sure how to do this
properly or what values to set.  I tried working with the assumption
that a visibility value of 0 meant invisible, but that didn't seem to be
working.

Thanks for any help!

-jared


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] animation with changing visibility

2009-01-21 Thread Moreland, Kenneth
0 turns visibility off.  1 turns visibility on.

-Ken


On 1/21/09 11:20 AM, Jared Hawkins jared.hawk...@tufts.edu wrote:

Ken,

Thanks for the quick feedback.  I have tried this, with no luck yet. Using this 
approach, how do you toggle visibility??  Does a value of 0 turn visibility 
off?  If so, what value turns it back on??

Thanks again.

-jared

Moreland, Kenneth wrote:
Re: [Paraview] animation with changing visibility Animating the visibility is 
the right thing to do.  If you have not already, try changing the interpolation 
from ramp to step.  That might be the problem.

-Ken


On 1/21/09 10:39 AM, Jared Hawkins jared.hawk...@tufts.edu wrote:


To All,

I have searched around a bit for some documentation on this (including
this mailing list), so my apologizes if it has been discussed before.

I am trying to create a simple animation using Paraview 3.4.0.  The
animation desired is: a 3D cube rotates for 5 seconds, becomes invisible
and is replaced with a new object (a slice from the center of the 3D
cube).

It seemed fairly straight forward but I have been running into some
problems.  I have no problem with the rotation (using the Transform
filter) for 5 seconds.  I am running into trouble with changing the
visibility.  Specifically, making the 3D sphere turn invisible and
making the slice become visible at the appropriate time.  I have tried
animating the visibility of an object but am not sure how to do this
properly or what values to set.  I tried working with the assumption
that a visibility value of 0 meant invisible, but that didn't seem to be
working.

Thanks for any help!

-jared


___
ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview





    Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel 
http://www.cs.unm.edu/%7Ekmorel





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] basic python paraview setup question

2009-01-23 Thread Moreland, Kenneth
First, I would like to mention that the ParaView binaries come with a program 
called pvpython that is basically just a python interpreter with the paths set 
up.

That said, I understand that it is not always practical to use pvpython in lieu 
of the default python interpreter, so to actually answer your question, you 
also have to add this to your PYTHONPATH

/home/sree/paraview-3.4.0/Utilities/VTKPythonWrapping

After that, python should find the paraview module.

Although not strictly necessary, I also recommend calling 
paraview.servermanager.vtkInitializationHelper.Finalize() right before your 
script exits.  This will make sure that all the VTK object get cleaned up 
nicely and is one of the other things that pvpython will do for you.

-Ken


On 1/23/09 8:59 AM, Sreejith Kuttanikkad sreejit...@gmail.com wrote:

Dear Paraview,

I can't get python scripting working with paraview. I have downloaded paraview 
binary 3.4.0 for linux and set pythonpath by

export 
PYTHONPATH=/home/sree/paraview-3.4.0/lib/paraview-3.4/paraview/:/home/sree/paraview-3.4.0/bin/
   in .bashrc file

and in python when i printed the paths it showed the paraview paths:

print sys.path
['', '/home/sree/paraview-3.4.0/lib/paraview-3.4/paraview', 
'/home/sree/paraview-3.4.0/bin' ]

however when i followed commands as given in 
http://www.paraview.org/Wiki/ParaView/Python_Scripting
the following error occured.
 from paraview import servermanager
Traceback (most recent call last):
  File stdin, line 1, in module
ImportError: No module named paraview

what I am missing here.. ?

thanks,
Sreejith





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] basic python paraview setup question

2009-01-23 Thread Moreland, Kenneth
Sorry.  I was looking at my development build because I don't have the release 
installed on my system right now.  Try removing the final paraview from the lib 
directory path.

export 
PYTHONPATH=/home/sree/paraview-3.4.0/lib/paraview-3.4:/home/sree/paraview-3.4.0/bin

-Ken


On 1/23/09 9:45 AM, Sreejith Kuttanikkad sreejit...@gmail.com wrote:

On Fri, Jan 23, 2009 at 5:40 PM, Moreland, Kenneth kmo...@sandia.gov wrote:
First, I would like to mention that the ParaView binaries come with a program 
called pvpython that is basically just a python interpreter with the paths set 
up.

That said, I understand that it is not always practical to use pvpython in lieu 
of the default python interpreter, so to actually answer your question, you 
also have to add this to your PYTHONPATH

/home/sree/paraview-3.4.0/Utilities/VTKPythonWrapping

After that, python should find the paraview module.

Thank you for the quick reply.
But in the paraview-3.4 directory, I do not have a Utilities directory. I only 
have  bin/  and lib/
s...@durga:~/paraview-3.4.0$ ls
bin  lib



Although not strictly necessary, I also recommend calling 
paraview.servermanager.vtkInitializationHelper.Finalize() right before your 
script exits.  This will make sure that all the VTK object get cleaned up 
nicely and is one of the other things that pvpython will do for you.

-Ken



On 1/23/09 8:59 AM, Sreejith Kuttanikkad sreejit...@gmail.com 
http://sreejit...@gmail.com  wrote:

Dear Paraview,

I can't get python scripting working with paraview. I have downloaded paraview 
binary 3.4.0 for linux and set pythonpath by

export 
PYTHONPATH=/home/sree/paraview-3.4.0/lib/paraview-3.4/paraview/:/home/sree/paraview-3.4.0/bin/
   in .bashrc file

and in python when i printed the paths it showed the paraview paths:

print sys.path
['', '/home/sree/paraview-3.4.0/lib/paraview-3.4/paraview', 
'/home/sree/paraview-3.4.0/bin' ]

however when i followed commands as given in 
http://www.paraview.org/Wiki/ParaView/Python_Scripting
the following error occured.
 from paraview import servermanager
Traceback (most recent call last):
  File stdin, line 1, in module
ImportError: No module named paraview

what I am missing here.. ?

thanks,
Sreejith





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov http://kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel 
http://www.cs.unm.edu/%7Ekmorel





     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Compute cell area

2009-01-23 Thread Moreland, Kenneth
Is there an easy way to compute the area of a 2D cell?

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Adding python modules in plugins

2009-01-23 Thread Moreland, Kenneth
Is there a way to add a python module, implemented with python code, in a 
plugin (without jumping through a bunch of hoops finding a python script on the 
user's computer)?

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Exporting pictures in batch-mode...

2009-01-26 Thread Moreland, Kenneth
Stefan,

pvpython is what you want to use in this case.  If you have not used the 
ParaView python scripting, you should take a look at the documentation on the 
ParaView Wiki.

  http://www.paraview.org/Wiki/ParaView/Python_Scripting

Let us know if you run into any problems.

-Ken


On 1/26/09 5:01 AM, Stefan Melber stefan.mel...@dlr.de wrote:

Hi,


i have a huge number of cases with the same layout (state-file
available). Now i would like to run paraview (serial) from a
shell-script to process all this cases and write out a picture as a
result for each case.

What is the easiest way to do this? pvbatch? pvpython? Are there any
examples?

Best regards,

Stefan


---

Stefan Melber-Wilkending
  _/
_/_/Fields of activities:
  _/  _/-) High-Lift Research
  _/_/_/_/_/_/_/_/_/_/  -) Complex Configurations
_/_/_/_/-) Numerical Wind-Tunnel
  _/_/_/_/  -) Supercomputing
_/_/_/_/_/_/_/_/_/_/-) Glider-Aerodynamics
  _/  _/  _  _
  _/_/   | \ |  |_| German Aerospace Center, DLR
  _/ |_/ |_ | \ in the Helmholtz-Association

   Phone ..: +49 531/295-2836   Institute of Aerodynamics
   Fax. ...: +49 531/295-2320   and Flow Technology
   Email ..: stefan.mel...@dlr.de   Lilienthalplatz 7
   Web : http://www.dlr.de/AS   D-38106 Braunschweig/Germany
---























___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Compute cell area

2009-01-26 Thread Moreland, Kenneth
I didn't think of that filter.  Thanks, Clint.

-Ken


On 1/26/09 10:34 AM, Clinton Stimpson clin...@elemtech.com wrote:



What about the Mesh Quality filter?  You can select Area for
triangle and quadrilateral quality.  You get a cell data array with
results for each cell.
Clint

Moreland, Kenneth wrote:
 John,

 Thanks.  I already look into both of those filters.  Although both
 filters internally compute polygon area, I did not see a way to get
 the per-cell area (written out to a cell data array) from them.  When
 I run vtkIntegrateAttributes, I get a single value back that is the
 total area of all the cells.  I also did not see a clear way to get
 the data from vtkIntegrateFlowSurface.  Am I missing something?

 -Ken


 On 1/23/09 4:13 PM, John Biddiscombe biddi...@cscs.ch wrote:

 Ken

 I started writing this
 
 https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/vtkCSCSCommon/vtkCellPropertiesFilter.cxx
 header is also there.

 But although it does the area of triangulted data ok, I never used
 it as I ended up using the vtkIntegrateAttributes (this does areas
 for all 2D cell types) filter and IntegrateFlowThroughSurface

 JB

 Compute cell area Is there an easy way to compute the area of
 a 2D cell?

 -Ken

     Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   http://www.cs.unm.edu/~kmorel
 http://www.cs.unm.edu/%7Ekmorel
 http://www.cs.unm.edu/%7Ekmorel



 
 

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview





  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   http://www.cs.unm.edu/~kmorel
 http://www.cs.unm.edu/%7Ekmorel

 

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Compute cell area

2009-01-26 Thread Moreland, Kenneth
John,

Thanks.  I already look into both of those filters.  Although both filters 
internally compute polygon area, I did not see a way to get the per-cell area 
(written out to a cell data array) from them.  When I run 
vtkIntegrateAttributes, I get a single value back that is the total area of all 
the cells.  I also did not see a clear way to get the data from 
vtkIntegrateFlowSurface.  Am I missing something?

-Ken


On 1/23/09 4:13 PM, John Biddiscombe biddi...@cscs.ch wrote:

Ken

I started writing this
https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/vtkCSCSCommon/vtkCellPropertiesFilter.cxx
header is also there.

But although it does the area of triangulted data ok, I never used it as I 
ended up using the vtkIntegrateAttributes (this does areas for all 2D cell 
types) filter and IntegrateFlowThroughSurface

JB
Compute cell area Is there an easy way to compute the area of a 2D cell?

-Ken

    Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel 
http://www.cs.unm.edu/%7Ekmorel





___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview on a tiled display

2009-02-02 Thread Moreland, Kenneth
pvserver should be creating windows on the xhost specified by the DISPLAY 
environment variable.  Are you sure that your xhost is properly accepting and 
showing windows?  What happens if you replace pvserver with a program like 
glxgears in the mpirun call you show below?  Do you see an OpenGL window on 
each of the displays?

-Ken


On 1/30/09 8:21 AM, Camilo Marin igetmyjunkmailh...@gmail.com wrote:

Hi all,


We are trying to configure and run Paraview 3.4.0 on a tiled display with the 
following command:

mpirun -np 8 --mca btl ^openib,udapl --mca btl_tcp_if_exclude lo --hostfile 
/home/imagine/ParaView/hosts /bin/env DISPLAY=:0 
~/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/pvserver 
--server-port=1100 -tdx=1 -tdy=2

Then when we connect throught the paraview client it doesn't show in the two 
displays we requested.

So, is there a guideline or some kind of command/configuration we are missing 
so it can be displayed as wished?



Thnaks in advance.




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview on a tiled display

2009-02-03 Thread Moreland, Kenneth
OK, if I understand correctly, you have 6 nodes with 4 processors per node.  
You want to launch a job with 4 processes per node (one per processor).  When 
you do that, the first 4 processes are assigned to one node, and all try to 
create their own tile on the same node because ParaView assumes that you have 
arranged the first 6 processes on the display nodes.

Each implementation of MPI has its own way of specifying how to assign the 
processes in your job.  You have not said, but it looks like you are using 
OpenMPI.  You might want to try the -bynode flag to mpirun.  This flag is 
supposed to interleave the process allocation amongst nodes.  Thus, 136 should 
get process 0, 6, 12, and 18; 134 should get processes 1, 7, 13, and 19; and so 
on.

-Ken


On 2/3/09 8:04 AM, Camilo Marin igetmyjunkmailh...@gmail.com wrote:

Hi Moreland,

As i said when i tried running paraview on the tiled display with 6 procesors 
only everything worked right. I could see perfectly each model loaded on 
Paraview on the Tiled Display, even glgears i tested and run correctly on each 
screen. Now i corrected the Paraview's host file and it looks like this.

192.168.51.136 slots=4
192.168.51.134 slots=4
192.168.51.132 slots=4
192.168.51.135 slots=4
192.168.51.133 slots=4
192.168.51.131 slots=4

Each of the six computers comforming the cluster has 4 slots available meaning 
a total of 24 processors running in parallel. 192.168.51.136 is the first 
screen, 192.168.51.134 the second and so on... When i run the command with np 
24 then the mapping on each screen is incorrect, as it 136 was no longer 
associated with process 0 and so on. So at the end you see the model but the 
correspondance between the tiles and process is incorrect. I don't know if i am 
specifying wrong the arguments tdx and tdy as tdx=3 and tdy=2 and 3*2=6 which 
is different to 24...maybe there is something i am going over which is causing 
the incorrect mapping.


2009/2/2 Utkarsh Ayachit utkarsh.ayac...@kitware.com
I knew I should have looked it up before responding :), I stand corrected.

On Mon, Feb 2, 2009 at 1:00 PM, Moreland, Kenneth kmo...@sandia.gov wrote:
 Sorry, but that's not true at all.  It is in fact encouraged to have more
 processors than tiles when driving a tiled display.  All the processors,
 even the non-display ones, will be involved in the processing and parallel
 rendering work.

 -Ken


 On 1/30/09 11:43 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote:

 The number of processes must match the number of tiles (num of tiles =
 tdx * tdy). In your case you have 8 processes are only 2*1 = 3 tiles?

 Utkarsh

 On Fri, Jan 30, 2009 at 10:21 AM, Camilo Marin
 igetmyjunkmailh...@gmail.com wrote:
 Hi all,


 We are trying to configure and run Paraview 3.4.0 on a tiled display with
 the following command:

 mpirun -np 8 --mca btl ^openib,udapl --mca btl_tcp_if_exclude lo
 --hostfile
 /home/imagine/ParaView/hosts /bin/env DISPLAY=:0
 ~/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/pvserver
 --server-port=1100 -tdx=1 -tdy=2

 Then when we connect throught the paraview client it doesn't show in the
 two
 displays we requested.

 So, is there a guideline or some kind of command/configuration we are
 missing so it can be displayed as wished?



 Thnaks in advance.


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   http://www.cs.unm.edu/~kmorel 
 http://www.cs.unm.edu/%7Ekmorel






     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview on a tiled display

2009-02-03 Thread Moreland, Kenneth
This is just speculation, but it could be an issue with multiple processes 
opening windows on the same graphics card.  My guess is that a non display 
process is drawing a window in front of the display process.

I often run multiple processes on each node in our visualization cluster for 
desktop delivery.  I get around the problem of X windows on top of each other 
by using the --use-offscreen-rendering flag.  I don't know how that flag will 
behave in tile display mode.  Ideally, it will make all the rendering windows 
offscreen except for the display windows.  If you have to make changes to 
ParaView to get that to work, it seems reasonable to push those back into 
ParaView proper.

-Ken


On 2/3/09 11:59 AM, Camilo Marin igetmyjunkmailh...@gmail.com wrote:

Hi all,

Thank you very much for the tip on running mpi with --bynode option. We are 
nearer from a solution but it still bugging us.

The command is:

mpirun -bynode -np 24 --mca btl ^openib,udapl --mca btl_tcp_if_exclude lo 
--hostfile /home/imagine/ParaView/hosts /bin/env DISPLAY=:0 
~/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/pvserver 
--server-port=1100 -tdx=3 -tdy=2

Now, when we launch paraview the model is correctly positioned but not all the 
tiles show up. We have made several tests and it seems to be a random process 
as it turns some tiles on and off without reason. By the way we are using 
OpenMPI just as you said guys. This issue could be an OpenMPI problem or its a 
local cluster one? Could it be a problem when connecting paraview to the 
server? Even sometimes one of the cluster's machine stop responding which 
blocks paraview.

I have uploaded some screenshots pointing out the problem. The first image 
corresponds to a paraview run which only shows on 2 screens. The second one 
runs the same configuration as above but this time shows only on one screen. 
The last image corresponds when paraview blocks due to an unkonw (for the 
moment) network problem.







     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Warning reading ascii data

2009-02-04 Thread Moreland, Kenneth
I don't profess to be an expert on the VTK file reader, but looking at the 
source code leads me to believe that the number of entries in one of the arrays 
in your file does not match the number identified above it.  Specifically, 
there are probably less entries than declared.  For example, in the example 
below perhaps there are less than 3309568  point coordinates listed.  Without 
seeing the whole file I cannot be sure.

-Ken


On 2/4/09 3:15 AM, Thomas Gerard thger...@ulb.ac.be wrote:

Hi,

I know paraview for nearly one week and I'm trying to make the best use of it.
I'm working on 2Dpropagating fronts and it seems that paraview can be very 
usefull for me. I already succeeded to visualize the 2D results but that is not 
my last project. I want to have a 3D pislay of it by putting the rounded values 
in the third dimension. It works nearly perfect. I can see my results as I want 
(display points and color by elevation) but I always have a warning message :

Generic Warning: In /home/Arbaal/paraview/ParaView3/VTK/IO/vtkDataReader.cxx, 
line 1381
Error reading ascii data!

That is not a big probleme when I just look at one file at a time, but I'm 
looking to the temporal evolution of the fronts, and the warning appears for 
each display. What is my problem? Or how could I do to don't show this warning?

My matrix are large (smallest should be around 64*512 in 2D, I put 100points 
for my scalars) and my .vtk file looks like

# vtk DataFile Version 2.0
headplace
ASCII
DATASET STRUCTURED_GRID
DIMENSIONS 512 64 101
POINTS 3309568 float
0.00 0.00 20.275200
0.00 1.00 20.275200
0.00 2.00 20.275200
0.00 3.00 20.275200
0.00 4.00 20.275200
0.00 5.00 20.275200
0.00 6.00 20.275200
0.00 7.00 20.275200
..

My paraview version is the actual on CVS (3.5.0) and I work on Ubuntu 
(Unix-like)

If you have any idea on what is my problem, I'll be happy to hear it.

Thanks.

PS : I hope I didn't send this mail two times
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Trying to plot signals to paraview

2009-02-04 Thread Moreland, Kenneth
ParaView is capable of reading in a regular grid of data, mapping a color to 
it, and drawing it scaled on the screen.  If your data is simply a raw array 
written to disk, then ParaView can read that in directly.  Does that basically 
solve your problem?

There are two ways to erase the useless points.  The first way is to simply 
set the color map up so that these values are simply drawn in the background 
color.  The second way is to use the Threshold filter to remove the 
uninteresting points.  The Threshold filter will convert the data from a 
regular array to an unstructured grid.  A warning about using Threshold though: 
the unstructured grid it converts data to is a less efficient representation so 
it is possible to actually require more data for the result if not a lot is 
removed.

-Ken


On 2/4/09 2:30 AM, George Markomanolis parav...@markomanolis.com wrote:

Dear all,

I am newbie to Paraview and I want to ask you something. I am working with 
signals and I use gnuplot for plotting. Unfortunately it's slow for big 
signals. Our program is parallel so we can create files of many GBs. We do a 
tricky parallel plot, every cpu plots a part of the signal, otherwise we 
couldn't see the image from gnuplot (crash). So when I saw paraview I liked a 
lot but it isn't easy.

I must explain what I want to plot:
We use a techinque in order to cut the points that haven't energy. For example 
a specific signal with 12000 x 12000 mesh of points which is 8GB file it can go 
under of 1GB if we cut the useless points. So I give at the gnuplot only the 
points that I want to plot x,y,z and I use pm3d map because I want them in 2D 
not 3D for example see the image: 
http://www.markomanolis.com/files/plots/plot.jpg
I would like to ask. Is this unstructured grid? I show an easy signal it could 
be with more random points. I have tried unstructured grid for 2 columns only 
and there is no surface between the columns. I used triangle strip and it was 
ok but I don't know if I could see the details like here (here I don't cut any 
useless point, in first image see wave details in the center):
http://www.markomanolis.com/files/plots/62_0_0.jpg , 
http://www.markomanolis.com/files/plots/resFinal.jpg   .
Could I have these plots with paraview or it is good with more complicated 
plots?
I must write a script/ program to convert gnuplot file to paraview but I am not 
sure about the topology, I must declare the topolgy for every point, right?  I 
am confused because I have a lot of constrains for example if a point is alone 
then the topology is vertex if there is another point then line etc... Is there 
any way to plot this grid with something like image data. I want to give 
something like structured grid but NOT to give all the points (I don't need 
them).  The last two images I sent you are with all the points for education 
propose. I want to plot something like first image but witho more complicated 
topology

Thank you for your time,
George Markomanolis



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Trying to plot signals to paraview

2009-02-04 Thread Moreland, Kenneth
George,

If you don't want to save the full image data, then either poly data or 
unstructured data is the way to go.  (Poly data will probably be a bit more 
efficient in ParaView, but either will work).

If you are looking for a format to store the data in, you might consider the 
VTK legacy data format.  This format is documented in the VTK User's manual and 
here: http://www.paraview.org/Wiki/Image:VTK-File-Formats.pdf

As far as the topology is concerned, you have a couple of options.  One is just 
to define a bunch of vertices (0D cells).  These will just appear as points 
on the screen.  The advantage is that they are easy to specify: You just need 
coordinates and the data at that coordinate.  The disadvantage is that they are 
just drawn as a series of points.  You run the risk of holes appearing between 
the cells once the resolution of the data drops below the pixel level.  (That 
might not be a concern for you.)  The other option is to draw quadrilaterals 
either centered on each point or connecting 4 points.  The quads will make sure 
that the space is filled but require you to specify more connectivity 
information.  In either case, a Delaunay triangulation seems unnecessarily 
complicated.

-Ken


On 2/4/09 10:20 AM, George Markomanolis parav...@markomanolis.com wrote:

Dear Ken,

First of all thank you for your time. Unfortunately I don't want to save all 
the data to the files. For example I must save (and load, plot) 8GB of full 
image than 500mb If i erase useless points. I have no idea about the duration 
to plot 8GB and 500mb at paraview but I believe it's big (general the useless 
points are 85-95% of full image). I'll try of course to check it but we've 
developed a technique to erase useless data and I believe that it won't be 
accepted from the team except if it is fast with paraview. For example with 
gnuplot in order to have good quality I save data to eps format and after I 
convert it to jpg (plotting is done at the cluster and we download only the jpg 
files) but the convert is very low, for example 500mb may take 10-15 minutes to 
plot and save. I'll try to plot full image. For unstructured grid I don't know 
how to declare topology, I believe I need something like delaunay 
(triangulation) at matlab?

Thanks,
George Markomanolis

On Wed, Feb 4, 2009 at 4:18 PM, Moreland, Kenneth kmo...@sandia.gov wrote:
ParaView is capable of reading in a regular grid of data, mapping a color to 
it, and drawing it scaled on the screen.  If your data is simply a raw array 
written to disk, then ParaView can read that in directly.  Does that basically 
solve your problem?

There are two ways to erase the useless points.  The first way is to simply 
set the color map up so that these values are simply drawn in the background 
color.  The second way is to use the Threshold filter to remove the 
uninteresting points.  The Threshold filter will convert the data from a 
regular array to an unstructured grid.  A warning about using Threshold though: 
the unstructured grid it converts data to is a less efficient representation so 
it is possible to actually require more data for the result if not a lot is 
removed.

-Ken



On 2/4/09 2:30 AM, George Markomanolis parav...@markomanolis.com 
http://parav...@markomanolis.com  wrote:

Dear all,

I am newbie to Paraview and I want to ask you something. I am working with 
signals and I use gnuplot for plotting. Unfortunately it's slow for big 
signals. Our program is parallel so we can create files of many GBs. We do a 
tricky parallel plot, every cpu plots a part of the signal, otherwise we 
couldn't see the image from gnuplot (crash). So when I saw paraview I liked a 
lot but it isn't easy.

I must explain what I want to plot:
We use a techinque in order to cut the points that haven't energy. For example 
a specific signal with 12000 x 12000 mesh of points which is 8GB file it can go 
under of 1GB if we cut the useless points. So I give at the gnuplot only the 
points that I want to plot x,y,z and I use pm3d map because I want them in 2D 
not 3D for example see the image: 
http://www.markomanolis.com/files/plots/plot.jpg
I would like to ask. Is this unstructured grid? I show an easy signal it could 
be with more random points. I have tried unstructured grid for 2 columns only 
and there is no surface between the columns. I used triangle strip and it was 
ok but I don't know if I could see the details like here (here I don't cut any 
useless point, in first image see wave details in the center):
http://www.markomanolis.com/files/plots/62_0_0.jpg , 
http://www.markomanolis.com/files/plots/resFinal.jpg   .
Could I have these plots with paraview or it is good with more complicated 
plots?
I must write a script/ program to convert gnuplot file to paraview but I am not 
sure about the topology, I must declare the topolgy for every point, right?  I 
am confused because I have a lot of constrains for example if a point is alone 
then the topology is vertex

Re: [Paraview] Using real timesteps in pvd files

2009-02-04 Thread Moreland, Kenneth
I would vote yes on that.  Although localization like this is good in a UI, it 
seems to be a pointless complicate to a data file in which people generally 
don't look at the contents.

-Ken


On 2/4/09 3:48 PM, Berk Geveci berk.gev...@kitware.com wrote:

Hmmm. Weird. We are using strtod to make the conversion from string to
double. That must somehow obey localization settings. Looking at here
http://www.mkssoftware.com/docs/man3/strtod.3.asp I see that we need
to somehow set the localization properly for the right radix. Should
we always set it to . ?

-berk


On Thu, Jan 29, 2009 at 7:21 AM, Christian Wellmann
wellm...@ikm.uni-hannover.de wrote:
 Hi all. As I now figured out, the problem with my real timestep values
 seems to be the decimal separator. Strangely my ParaView 3.4
 installation seems to require a comma as decimal separator. So

 DataSet timestep=0,5e-5 group=0 part=0
 file=hour_5121_fall_se000.vtp/

 is interpreted correctly and gives the time value 0.5e-5.
 The idea of using a comma as decimal separator came into my mind
 using the Annotate Time filter, which shows comma separated values
 in my installation.


 2009/1/29 Christian Wellmann wellm...@ikm.uni-hannover.de:
 Thanks Stephen and John for your quick answers.
 Unfortunately any changes to the group and/or part tag not seem to
 solve the problem.
 What is strange is that, although ParaView seems to read an int value,
 it is able
 to handle

 DataSet timestep=-922337203685477580825263735124730 group=
 part=0 file=sp_test000.vtp/
 DataSet timestep= 922337203685477580825263735124730 group=
 part=0 file=sp_test0002498.vtp/

 correctly, what gives me

 Index  Value
 0-9.22337e+32
 1 9.22337e+32

 in the time table although the values are out of range of any standard
 integer representation I guess.
 However, as a workaround -considering the large range of representable
 integer values- I will simpliy
 change my scale to micro- or even nano-seconds to get integer time values.


 2009/1/29 John Biddiscombe biddi...@cscs.ch:
 Christian

 ?xml version=1.0?
 VTKFile type=Collection version=0.1 byte_order=LittleEndian
  Collection
  DataSet timestep=1.08267 file=1800_001-static-0.vtmb/
  DataSet timestep=1.08367 file=1800_001-static-1.vtmb/
  DataSet timestep=1.08467 file=1800_001-static-2.vtmb/
 ...
  DataSet timestep=1.34967 file=1800_001-static-00267.vtmb/
  /Collection
 /VTKFile

 This works for me. Can't comment on why you are having trouble, but maybe
 try to remove the group, part unused tags.

 I use CVS paraview (3.4 should work)

 JB

 Dear all,

 I'm using ParaView 3.4 to load the results of a transient simulation
 via a pvd file and a set
 of vtp XML PolyData files. Each vtp file corresponds to a particular real
 time
 value which are not evenly spaced. I tried to provide the real time
 values via the timestep key
 in the pvd file:

 ?xml version=1.0?
 VTKFile type=Collection version=0.1 byte_order=LittleEndian
 Collection
 DataSet timestep=1.23  group= part=0 file=sp_test000.vtp/
 DataSet timestep=2.34  group= part=0 file=sp_test0002498.vtp/
 DataSet timestep=3.15  group= part=0 file=sp_test0004496.vtp/
 /Collection
 /VTKFile

 It seems that ParaView expects integer values for the timestep key,
 because
 it loads the files like expected but the time table in the Object
 Inspector - Information
 tab shows for the above pvd file:
 Index   Value
 0 1
 1 2
 2 3

 I would be grateful for any help/suggestions.

 Thanks,
 Christian Wellmann
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview



 --
 John Biddiscombe,email:biddisco @ cscs.ch
 http://www.cscs.ch/
 CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
 Via Cantonale, 6928 Manno, Switzerland  | Fax:  +41 (91) 610.82.82







 --
 Christian Wellmann
 Institute of Continuum Mechanics
 Leibniz Universitaet Hannover
 Appelstr. 11
 30167 Hannover, Germany
 phone: +49 511 762 2285
 fax: +49 511 762 5496
 email: wellm...@ikm.uni-hannover.de
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] remote rendering with paraview

2009-02-05 Thread Moreland, Kenneth
You need the DISPLAY environment variable because the standard way to get a gfx 
context on *nix is through an X server.  To create an off-screen rendering 
context you first have to connect to an X server.  It is also a convenient way 
to specify which GPU you want to use if a system has more than one.

There is one exception to the DISPLAY/X server requirement.  ParaView supports 
the use of OSMesa, which allows you to open a Mesa 3D rendering context without 
an X server.  This simplifies running pvserver a great deal, but works 
exclusively with software only rendering.  Thus, we recommend it if and only if 
you have no graphics hardware.

-Ken


On 2/5/09 1:26 PM, Jim Montine jmont...@sgi.com wrote:

In case 2 below (where the server optionally renders the polygons), why is it 
necessary to set the
DISPLAY to the gfx head of the server (things are displayed on the PC) Why is 
the DISPLAY environment
needed at all for this off-screen rendering case?


     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] C++ Reader execution

2009-02-05 Thread Moreland, Kenneth
I don't know the answer to this question, but you may want to look at the code 
for the pqObjectInspectorWidget::accept() method.  This is the method that gets 
called when you hit the Apply button.

-Ken


On 2/5/09 2:49 PM, Juan Fernando Duque Lombana jduqu...@eafit.edu.co wrote:

Good day,

I'm a newbie in this big paraview world and I would like to know if there's a 
way to do the following:

I'm trying to load a VRML 2.0 file using the following command:


myVRML=builder-createReader(QString(sources), 
QString(vrmlreader),QStringList(temp), s);

Where temp contains the filename and s the pqServer.
The VRML is now shown in the pipeline browser BUT it is needed for me to press 
by hand the Accept button in the correspondant Object Inspector.

The question is: is there any way to call that button by code? I haven't found 
a way and its killing me.

Hope anyone can help me! It will be really appreciated,

... Juan Fernando Duque Lombana.



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] remote rendering with paraview

2009-02-05 Thread Moreland, Kenneth
Yes, yes, yes, and yes.

-Ken


On 2/5/09 3:47 PM, Jim Montine jmont...@sgi.com wrote:

So in this case, pvserver is using the hardware GPU to render to an off-screen 
context?

It must also then be doing a pixel readback before it sends the image to the 
client?

On my server I have several proceesors and one gfx card.  If I do something 
like:

mpirun -np 4 pvserver --use-offscree-rendering

will each process create an off-screen rendering conext using the same gfx card?

In this case are the four images read back and combined before they are sent to 
the client?

Thanks for the answers.


From: Moreland, Kenneth [mailto:kmo...@sandia.gov]
Sent: Thu 2/5/2009 2:27 PM
To: Jim Montine; David E DeMarle
Cc: paraview@paraview.org
Subject: Re: [Paraview] remote rendering with paraview

You need the DISPLAY environment variable because the standard way to get a gfx 
context on *nix is through an X server.  To create an off-screen rendering 
context you first have to connect to an X server.  It is also a convenient way 
to specify which GPU you want to use if a system has more than one.

There is one exception to the DISPLAY/X server requirement.  ParaView supports 
the use of OSMesa, which allows you to open a Mesa 3D rendering context without 
an X server.  This simplifies running pvserver a great deal, but works 
exclusively with software only rendering.  Thus, we recommend it if and only if 
you have no graphics hardware.

-Ken


On 2/5/09 1:26 PM, Jim Montine jmont...@sgi.com wrote:

In case 2 below  (where the server optionally renders the polygons), why is it 
necessary to set  the
DISPLAY to the gfx head of the server (things are displayed on the PC)  Why is 
the DISPLAY environment
needed at all for this off-screen rendering  case?


     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Question on distributed processing and rendering using Paraview and MPI

2009-02-06 Thread Moreland, Kenneth
Chewping,

Let me start with a nomenclature normalization.  What you call master/slave 
nodes we call client/server nodes.  We make this distinction because the client 
needs to be nowhere near the server nodes (I have attached a client to a server 
running on the other side of the country).

Your question is difficult to answer succinctly because it depends on the type 
of data.  In general, load balancing does not happen through MPI but through 
file I/O.  The parallel readers in ParaView each read in a partition of data, 
and that partition is fixed to the process.  For structured types of data (data 
with a regular grid topology), this partitioning can be very even.  For 
unstructured data, the partitioning is usually limited to how the data is lain 
out in the data files, so even partitioning is not guaranteed.  There is a 
filter, D3, that will use MPI to redistribute an unstructured data set.  No 
data is passed through the client in this process.

For more information, you can consult The ParaView Guide, which has a couple of 
chapters on parallel processing and rendering: 
http://www.kitware.com/products/books.html

You may also take a look at the Supercomputing tutorial, which talks about the 
parallel visualization from a User's perspective: 
http://www.paraview.org/Wiki/SC08_ParaView_Tutorial

-Ken


On 2/5/09 9:51 PM, chew ping lcp8...@msn.com wrote:

Hi,



My name is chewping and I'm doing my master's research in the University of 
Malaya, Malaysia. I'm using ParaView and MPI to visualize a relatively large 
medical data set in a homogeneous cluster environment. It consists of one 
master node and 9 slave nodes in a Local Area Network with class C IP address. 
Most nodes are similar to each other (32 bits processor, running on Linux). I 
would like to manipulate MPI to make the performance better (faster 
distributions of data and collections of results). As I am new to MPI and 
parallel processing system, there are a few questions that I would like to ask:



1.  How MPI distribute the work load?

2.  Does the master node divide the work load evenly first, then distribute 
to each slave node?

3.  Or the master node pass the whole chunk of work load to every slave 
node, then the slave node 'take' their own piece of work to process?

4.  Can the work load being distributed according to priority (load 
balancing)? Or give a bigger portion of work load to the node with higher 
processing speed?



Can MPI do the above and how? Where can I learn more on how to use MPI to tune 
for best performance for distributed processing and rendering?



Thanks in advance for your feedback!



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Filter Plugin in Client/Server ParaView

2009-02-09 Thread Moreland, Kenneth
If your filter has any C++ code (and by your description it does) then you will 
have to compile the plugin on the SGI Cluster and load it there.  As a general 
rule, it is usually safest to compile the plugin for both client and server and 
load it both places.

-Ken


On 2/9/09 7:03 AM, Rafael March rafaelmar...@yahoo.com wrote:

Hi,

I've finished recently to program a ParaView filter. I developed it under 
windows, and now I want to run it in a distributed environment: a client 
running in a windows machine, and a server running in a SGI Cluster.

I thought it should work, 'cause i've programmed following the paraview client 
server architecture (using server manager properties, and so on). But when I 
open paraview (I can see my plugin loaded in Local Plugins in the Plugin 
Manager dialog), and try to use my filter, it crashes and close.

The question is: do I have to load my plugin as a Remote Plugin, or it is 
enough to generate my dll under windows and load it as a local plugin ? Must I 
compile it under linux and load it in the Cluster ? Or maybe this is just a 
programming bug ?

Regards,
Rafael March.




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] Setting defaults for users (Was: Paraview Questions)

2009-02-09 Thread Moreland, Kenneth
The settings for LOD threshold and default color maps are stored in the user's 
settings file (~/.config/ParaView/ParaView3.X.ini on *nix machines).  You could 
try installing a default version of the settings file for your in-house 
distribution.  Another solution is to hack the defaults in the code.  Perhaps 
someone on the mailing list has a better solution.

I know of no way to change the default edge color (short of changing it in the 
code, of course).  I could not find a feature request for it either, so I 
created one.

  http://www.paraview.org/Bug/view.php?id=8489

-Ken


On 2/6/09 3:59 PM, Greg Schussman schuss...@slac.stanford.edu wrote:

How would I change the default edge color from blue to black, for all users?  
How would I set the default thresholds for level of detail for all users?   How 
would I set the default colormap for all users?  How would I specify the 
default mesh color for all users?


     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] particle tracking

2009-02-12 Thread Moreland, Kenneth
That's a really cool solution.  Bravo Jean.

-Ken


On 2/12/09 6:58 AM, Jean Favre jfa...@cscs.ch wrote:

Berk Geveci wrote:
 To animate particles in a
 steady-state flow field, I'd think that you would generate streamlines
 and then somehow animate particles along those.

this is exactly the technique I use. Generate streamlines. Then
iso-contour the streamline object with the scalar field
IntegrationTime. Use a single threshold. Then animate the threshold
value. Use Mode=Sequence, get a ramp between minimum time and maximun time.
Use Glyphs (small spheres or arrows) attached to the iso-valued contours
and they will animate their position along the streamlines.

Jean
Swiss national Supercomputing Center
___
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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] particle tracking

2009-02-12 Thread Moreland, Kenneth
This conversation has basically become academic, but it would also be pretty 
easy to create a filter that reported a bunch of time steps and just passed the 
same data every time.  The particle tracer would thing it was a time varying 
data even though it was not.

Jean's solution is still easier (and more clever), though.

-Ken


On 2/12/09 7:00 AM, Berk Geveci berk.gev...@kitware.com wrote:

Interesting. I guess the biggest challenge of doing this in our
pipeline would be finding the time range. Ideally, the integration
should continue until all particles leave the domain or get stuck in a
stagnant region. That would require integrating them first and then
looking at the largest integration time.

While I was writing this, Jean's response showed up. It is pretty
ingenious :-) This is why I love ParaView. It allows you to do things
in ways developers did not foresee.

-berk

On Thu, Feb 12, 2009 at 8:42 AM, John Biddiscombe biddi...@cscs.ch wrote:
 Berk

 Oops. I didn't notice that it was a steady state flow field. The
 TemporalStremTRacer expects unsteady flows, however it would be quite simple
 to modify it to use a single step. (I think easier than taking streamlines
 and animating particles along them - though thinking about it, the
 streamtracer code does have all that conversion of cell units to time which
 would be useful).

 One could subclass the temporaltreamtracer, suppress the time requests and
 interpolate over a single step, then output time dependent data where the
 particles animate along the path (- how many steps would one want?) -
 clicking the play button would just advect them along.

 (Just thinking out loud).

 JB

 I don't think this answers Pei's question. To my knowledge the
 temporal stream tracer (i.e. particle tracker) works only for
 time-dependent data. Am I wrong? To animate particles in a
 steady-state flow field, I'd think that you would generate streamlines
 and then somehow animate particles along those. I can't think of
 anything that would do this out-of-box but writing a  filter that does
 this would be pretty easy. Is this something more than a few users
 would want?

 -berk

 On Thu, Feb 12, 2009 at 12:22 AM, David E DeMarle
 dave.dema...@kitware.com wrote:


 Hi Pei-Ying,

 You may want to try ParaView Meshless
 (https://twiki.cscs.ch/twiki/bin/view/ParaViewMeshless). It is a
 version of ParaView with the cutting edge of John Biddiscombe's
 particle tracking work in it. Some of those features will be/have been
 integrated into the main paraview code, but I can not vouch for when
 that will happen.

 cheers,
 Dave DeMarle


 2008/12/25 Pei-Ying Hsieh phsieh2...@yahoo.com:


 Dear PVers:

 I have a steady state flow field.  I am wondering if PV can do particle
 tracking animation.

 what I am looking for is similar to pathlines, but, instead of showing the
 lines, I would like to do an animation of seed particles flowing through
 the flow field.  Is this possible?

 Thanks! and wish everyone here a Happy New Year!


 Pei


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




 --
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 28 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-371-3971 x109
 ___
 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


 --
 John Biddiscombe,email:biddisco @ cscs.ch
 http://www.cscs.ch/
 CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
 Via Cantonale, 6928 Manno, Switzerland  | Fax:  +41 (91) 610.82.82
___
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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 

Re: [Paraview] Extract cell type from unstructured grid

2009-02-18 Thread Moreland, Kenneth
Paul,

I don't know of any existing filter to do that, but a pretty simple 
programmable filter can do it.  Here is the script that will achieve it.  Just 
create a custom filter and copy this into the script.

input = self.GetUnstructuredGridInput() output = 
self.GetUnstructuredGridOutput() 
output.GetPointData().PassData(input.GetPointData()) 
output.GetCellData().PassData(input.GetCellData()) cellTypes = 
vtk.vtkUnsignedCharArray() cellTypes.DeepCopy(input.GetCellTypesArray()) 
cellTypes.SetName(Cell Types) output.GetCellData().AddArray(cellTypes)
If you plan to use this multiple times, you probably want to wrap this in a 
custom filter.

-Ken


On 2/18/09 5:07 AM, Paul Edwards paul.m.edwa...@gmail.com wrote:

Hello,

Does anyone know an easy way to extract all cells of a particular type from an 
unstructured grid (without writing code either a plugin or python script)?  I 
was thinking it be possible with the calculator and the number of points in a 
cell but I can't get access to that.

Thanks,
Paul



     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] MPI performance and VGL error

2009-02-18 Thread Moreland, Kenneth
I will have to guess at why, say, contour is running slower.  I can think of 
two possibilities (but not claiming that either is necessarily correct).


 1.  Perhaps the data is not distributed.  If the reader is naive (you didn't 
specify what data you were reading), it could be just loading all of it on node 
0.  The poor performance could simply be that the data is really being 
processed in serial.  Run the Process Id Scalars filter on the output of 
contour to make sure that the cells are distributed amongst the processes.
 2.  Some filters (contour included) need ghost cells.  When you add them, they 
will send a request up the pipeline to load another layer of ghost cells.  
Assuming the reader supports it, the reader will usually reload the entire data 
set from file on each process to include the ghost cells.  There is a good 
chance that reading the data from disk is taking a lot longer than contouring 
the data.  Open the timer log (Tools - Timer Log) and see how much time each 
component is taking.  If the contour filter is reported to run really fast (or 
missing from the timings if faster than the threshold) and the reader is 
running multiple times, then that is probably it.

As far as your problems with vglconnect, I am afraid I cannot be much help as I 
am unfamiliar with that hardware.  (Perhaps someone else on this list has run 
into this hardware.)  It sounds like the pvserver nodes are having trouble 
connecting to the appropriate X displays.  Usually this is a matter of getting 
your DISPLAY environment variables (or -display command line flags) correct.

-Ken


On 2/18/09 2:31 AM, Orlando Rivera orlando.riv...@lrz.de wrote:

Dear all,


We have compiled paraview server  with  MPICH2 and parastation ,   when
we deploy the server  , it starts with no troubles , the clients
connects  easily as well .

However , when  we do some calculations , like a contour,   it takes
much more time (~3x)to represent the surfaces   as  when  using the
client  alone


Another thing that bothers us,  when I start the client  with  vglrun
(through vglconnect  )   We get this warning :
[VGL] ERROR: Cannot obtain a Pbuffer-enabled 24-bit FB config on the
VirtualGL
[VGL]server.  This is most likely because the 3D X Server :1.2
[VGL]is not configured for 24-bit color or does not have accelerated 3D
[VGL]drivers installed.

but we have drivers installed and cmake found them .

I don't know   whether these two problems are related or not , I would like

1)  a benchmark  or a way to determinate  that the server does in fact
internal calculations when using mpi

2) How to solve the client issue with VGL

our hardware is a Sun x4600 server with 16 CPU cores (8x2 opteron )
with   SLES  10 SP2   and  four Quadro FX5500 graphics cards.


Any help is  gladly appreciated,  request  if you  need more
information form us

Thanks


--
Orlando Rivera
E-mail: orlando.riv...@lrz.de
web:http://www.lrz.de
Leibniz-Rechenzentrum
Abteilung: Hochleistungssysteme
Boltzmannstrasse 1, 85748 Garching
Telefon: +49 89 35831-8827
Fax: +49 89 35831-9700



___
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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] Emissive polygons?

2009-02-18 Thread Moreland, Kenneth
I'm afraid not.  It looks like that functionality is not even support in VTK.  
Implementing light emission that is constant for whole objects would be pretty 
straightforward, but would require modifying code all the way to VTK's 
rendering layer.

-Ken


On 2/18/09 1:55 PM, Eric E. Monson emon...@cs.duke.edu wrote:

Hello,

I'm not sure if I'm using the proper terminology, but is it possible
in ParaView to give polygons or 3d cells an emissive property for
the lighting, so they give off light instead of reflecting it?

Thanks,
-Eric

--
Eric E Monson
Duke Visualization Technology Group



___
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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] Emissive polygons?

2009-02-19 Thread Moreland, Kenneth
No, they are different (although you might be able to get a similar effect).  
The ambient light represents a base level of lighting coming from all 
directions that is formed (in real life) by light coming actual light sources 
and bouncing around the objects in the room.  It is the light that illuminates 
an object that is in shadow from all light sources.  Because OpenGL does not 
compute the amount of light that gets scattered around the scene, for each 
light you specify an ambient parameter representing the amount you expect the 
light to be bouncing around the scene.  OpenGL also allows you to specify 
different colors for ambient and diffuse reflection of materials.  In real 
life, these are always the same, but changing them sometimes allows you to work 
around some of the approximations that OpenGL makes.

Emission is light that originates directly from an object.  It is a color that 
is completely impendent of any lights (because the light is coming from the 
object itself).  Objects like turned on light bulbs or glow-in-the-dark toys 
have emission.  Unlike in real life, light from polygons with emission in 
OpenGL do not affect other objects (another approximation introduced by OpenGL).

For more information, check out the chapter on Lighting in the red OpenGL book.

-Ken


On 2/19/09 7:45 AM, Berk Geveci berk.gev...@kitware.com wrote:

I am probably confused here but isn't setting ambient to larger than 0
in vtkProperty supposed to do that?

-berk

On Wed, Feb 18, 2009 at 4:23 PM, Moreland, Kenneth kmo...@sandia.gov wrote:
 I'm afraid not.  It looks like that functionality is not even support in
 VTK.  Implementing light emission that is constant for whole objects would
 be pretty straightforward, but would require modifying code all the way to
 VTK's rendering layer.

 -Ken


 On 2/18/09 1:55 PM, Eric E. Monson emon...@cs.duke.edu wrote:

 Hello,

 I'm not sure if I'm using the proper terminology, but is it possible
 in ParaView to give polygons or 3d cells an emissive property for
 the lighting, so they give off light instead of reflecting it?

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group



 ___
 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




  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   http://www.cs.unm.edu/~kmorel


 ___
 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






     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] vtkCompositeDataSet - memory ?

2009-02-20 Thread Moreland, Kenneth
You can share the points by simply creating one vtkPoints object and then 
passing those points to all the unstructured grids in your data object.  Then 
all the blocks will be sharing that data.

Note, however, that ParaView will not actually check that.  Thus it will 
probably incorrectly count the number of points and the amount of memory the 
points take up multiple times, one for each block.  Also, if you pass the data 
through a filter that changes the points, those downstream filters will 
replicate their point data.

-Ken


On 2/20/09 12:23 PM, Jacques Papper jpap...@ara.co.uk wrote:

Hi all,

I'm writing a reader for a dataset which has boundary faces (tri and quads)
as well as volume cells (tets etc..).
In would like to use a CompositeDataSet as a container, so that I can easily
extract boundary faces which are groupesd in named zones (for ex: upper_surf
lower_surf etc...).

The problem I encounter is that if I us a vtkMultiblockDataSet composed of
vtkUnstructuredGrid there is no relationship between the separate blocks.
This means that I need to duplicate points which are shared between the
different blocks, duplicate the data associated to thes points etc ...

Is there a vtkCompositeDataSet where all the points and data are shared
between the branches and the only difference is the cells ?

Thank you for your guidance.

Jacques PAPPER
Applied CFD Team Leader
Tel: +44 (0) 1234 324677


---
This email contains information that is private and confidential and is 
intended only for the addressee.  If you are not the intended recipient please 
delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
196351245


___
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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] paraview plugin

2009-02-23 Thread Moreland, Kenneth
Offhand, I don't specifically recognize this error.  I'm not sure there is 
enough information here to adequately diagnose the problem.

-Ken


On 2/23/09 9:47 AM, Biao She sheb...@gmail.com wrote:

Hi everyone.
I have successfully created a plugin for paraview in Linux. Now I want to move 
it to Windows.
CMake vs8 2005 code generator is used for generating the plugin project. 
Nothing went wrong before I tried to build the project. I got the following two 
building errors:
1C:\Program Files\Microsoft Visual Studio 8\VC\include\cstdlib(18) : error 
C2143: syntax error : missing ';' before 'namespace'
1vtkMyDICOMReader.cxx
1C:\Program Files\Microsoft Visual Studio 8\VC\include\string(15) : error 
C2143: syntax error : missing ';' before 'namespace'

I have tried to add semicolons before the namespaces, but it leads me to more 
errors. My source code should be fine since it works for Linux. Does anyone 
have an idea about how to fix the problem? Thanks.

Biao




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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] Legacy FIELD files

2009-02-24 Thread Moreland, Kenneth
That's bug 5887: http://www.paraview.org/Bug/view.php?id=5887

Do you have a particular reason to need this functionality?  This bug has never 
been high priority because there does not seem to be any real need for it.  
That file is the only example I have ever run into of a legacy VTK file with no 
DATASET type specified.

-Ken


On 2/24/09 3:17 PM, Steven Janzou sjan...@gmail.com wrote:

I cannot get the legacy financial.vtk (in the vtk data files) to read
into Paraview.

The file has six FIELD values and no DATASET type specified:

# vtk DataFile Version 2.0
Financial data in vtk field format
ASCII

FIELD financialData 6
TIME_LATE 1 3188 float



How does one read in FIELD data from legacy VTK files?

Thanks,

Steve
___
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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
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


  1   2   3   4   5   6   7   8   9   >