[Paraview] Info about macros in new Python shell (version 3.6.2)

2010-01-18 Thread bassaidai
Hi Ken,
could you please give some information about using macros in new Python
shell (ParaView 3.6.2)?
If we check View - Tollbars - Macro Toolbar we can't see any new icon on
the toolbar; if we check Show menu in the Macros tab inside Python
shell, we can see the new menu Macros, but it is empty.

(The link http://www.itk.org/Wiki/Python_GUI_Tools#Macros didn't give any
information...)


Thank you very much
Luis
___
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] rescale each frame

2010-01-18 Thread Martin Genet
Dear Paraview's list,

I was looking for an option to rescale the data range at each frame of an 
animation. In the mailing list archives, I have found an exchange about this, 
where Ken asked:

 Furthermore, the result could be highly misleading. The constantly rescaled 
 colors would show shifts of the scalar over time that simply do not exist. Do 
 you have some use case in which these concerns do not apply?

And I do have a very simple one: in my non linear calculations, I want to 
emphasize the way the evolving internal variables modify the shape of some 
field of interest, independently of the field intensity evolution.

I hope I am clear enough.

Anyway, many thanks for all the work.

Cheers,

Martin.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] reverse connections from IP range?

2010-01-18 Thread Utkarsh Ayachit
This has now been fixed in  CVS. The GUI will no longer ask for a
hostname when configuring a reverse connection.

Utkarsh

On Sun, Jan 17, 2010 at 3:10 PM, Berk Geveci berk.gev...@kitware.com wrote:
 Hi Mark,

 This is an issue with the GUI. The client doesn't really care who is
 connecting - it accepts from any IP. The host field in the GUI is
 irrelevant.

 -berk

 On Fri, Jan 15, 2010 at 4:25 PM,  mvanm...@ncsa.illinois.edu wrote:
 Hello,

 Is there away to configure the client to accept reverse connections from the 
 entire IP range of a cluster? That is, I don't know which node on the 
 cluster will be assigned the job ahead of time so I don't know what to put 
 in for Host in the Configure New Server dialogue. As opposed to having to 
 add a new server every time a I get assigned a new node.

 Thanks,
 Mark
 ___
 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

___
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] Exporting ICEM CFD Mesh to ParaView

2010-01-18 Thread Rafael March
Hi,

I'm trying to export a mesh generated in ICEM CFD to ParaView. I realized that 
I can export the mesh to Exodus II format and then open it with ParaView, but 
no information about the parts of the mesh is loaded, just the blocks. 

Any reader available to export geometry and mesh from ICEM CFD to ParaView ? I 
would like that the MultiBlockDataSet generated as result have information 
about the parts created in ICEM CFD.

Regards,
Rafael March.



  ___
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] new plugin errors

2010-01-18 Thread Biddiscombe, John A.
Today after a CVS update, I'm getting the following error messages (lots of, 
but here's one example)

Question : Is linking one plugin to another plugin forbidden now? 
Setting CMAKE_BACKWARDS_COMPATIBILITY to 2.2 didn't seem to make any 
difference, errors persist. I will keep trying.

thanks

JB

CMake Error at CSCS/ESPHI/pv3-plugin/CMakeLists.txt:115 (TARGET_LINK_LIBRARIES):
  Target CSCS_Common of type MODULE_LIBRARY may not be linked into another
  target.  One may link only to STATIC or SHARED libraries, or to executables
  with the ENABLE_EXPORTS property set.

  If you are developing a new project, re-organize it to avoid linking to
  modules.  If you are just trying to build an existing project, set
  CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower to allow linking to modules.

-- 
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


Re: [Paraview] rescale each frame

2010-01-18 Thread Peter Brady
This is fairly easy to do if you're using python.

You could start off your time series with something like:
contacts/ui/ContactManager?js=RAWmaximize=truehide=trueposition=absolutehl=enemailsLink=truesk=truetitleBar=falseborder=NONEeventCallback=ParentStub1263830196859zx=9qx28f80odc0#
Show(someFilter)
dpsF = GetDisplayProperties(someFilter)
dpsF.ColorArrayName = 'someArray'
dpsF.LookupTable = MakeBlueToRedLT(lowValue,highValue)

and then each timestep you could update:

dpsF.LookupTable = MakeBlueToRedLT(newLowValue,newHighValue)

I'm not sure how you would do it through the GUI.

Good luck,

Peter.


On Mon, Jan 18, 2010 at 6:57 AM, Martin Genet 
martin.ge...@lmt.ens-cachan.fr wrote:

 Dear Paraview's list,

 I was looking for an option to rescale the data range at each frame of an
 animation. In the mailing list archives, I have found an exchange about
 this, where Ken asked:

  Furthermore, the result could be highly misleading. The constantly
 rescaled colors would show shifts of the scalar over time that simply do not
 exist. Do you have some use case in which these concerns do not apply?

 And I do have a very simple one: in my non linear calculations, I want to
 emphasize the way the evolving internal variables modify the shape of some
 field of interest, independently of the field intensity evolution.

 I hope I am clear enough.

 Anyway, many thanks for all the work.

 Cheers,

 Martin.
 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview

___
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] Exporting ICEM CFD Mesh to ParaView

2010-01-18 Thread Rafael Castaneda
Hi,

I'm trying to export a mesh generated in ICEM CFD to ParaView. I realized
that I can export the mesh to Exodus II format and then open it with
ParaView, but no information about the parts of the mesh is loaded, just the
blocks.

Any reader available to export geometry and mesh from ICEM CFD to ParaView ?
I would like that the MultiBlockDataSet generated as result have information
about the parts created in ICEM CFD.

Regards,
Castaneda.
___
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] Info about macros in new Python shell (version 3.6.2)

2010-01-18 Thread Moreland, Kenneth
Try going to View - Toolbars and clicking on Macro Toolbar.

This is a brand new feature, so we are still flushing out the functionality and 
documentation.

-Ken


On 1/18/10 1:58 AM, bassaidai bassaid...@gmail.com wrote:

Hi Ken,
could you please give some information about using macros in new Python shell 
(ParaView 3.6.2)?
If we check View - Tollbars - Macro Toolbar we can't see any new icon on the 
toolbar; if we check Show menu in the Macros tab inside Python shell, we 
can see the new menu Macros, but it is empty.

(The link http://www.itk.org/Wiki/Python_GUI_Tools#Macros didn't give any 
information...)


Thank you very much
Luis



     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] Selecting multiple points with Select points through

2010-01-18 Thread David Doria
If I use the select points on tool, I can select a point, then
release the mouse, hold control, select the select points on tool
again, select another point, and they will now both be in the
selection.

However, if I try to do this with the select points through tool,
the selection is simply replaced instead of appended.

Is this the expected behavior?

Thanks,

David
___
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] new plugin errors

2010-01-18 Thread Utkarsh Ayachit
There's a bug that got introduced while fixing the distribution issue
with plugins. For now, I've reverted that change.

Index: CMake/ParaViewPlugins.cmake
===
RCS file: /cvsroot/ParaView3/ParaView3/CMake/ParaViewPlugins.cmake,v
retrieving revision 1.63
diff -u -3 -p -r1.63 ParaViewPlugins.cmake
--- CMake/ParaViewPlugins.cmake 12 Jan 2010 19:36:36 -  1.63
+++ CMake/ParaViewPlugins.cmake 18 Jan 2010 17:03:46 -
@@ -986,7 +986,7 @@ FUNCTION(ADD_PARAVIEW_PLUGIN NAME VERSIO
 endif(MSVC)

 IF (PARAVIEW_BUILD_SHARED_LIBS)
-  ADD_LIBRARY(${NAME} MODULE ${GUI_SRCS} ${SM_SRCS}
${ARG_SOURCES} ${plugin_sources})
+  ADD_LIBRARY(${NAME} SHARED ${GUI_SRCS} ${SM_SRCS}
${ARG_SOURCES} ${plugin_sources})
 ELSE (PARAVIEW_BUILD_SHARED_LIBS)
   ADD_LIBRARY(${NAME} ${GUI_SRCS} ${SM_SRCS} ${ARG_SOURCES}
${plugin_sources})
 ENDIF (PARAVIEW_BUILD_SHARED_LIBS)


On Mon, Jan 18, 2010 at 11:03 AM, Biddiscombe, John A. biddi...@cscs.ch wrote:
 Today after a CVS update, I'm getting the following error messages (lots of, 
 but here's one example)

 Question : Is linking one plugin to another plugin forbidden now?
 Setting CMAKE_BACKWARDS_COMPATIBILITY to 2.2 didn't seem to make any 
 difference, errors persist. I will keep trying.

 thanks

 JB

 CMake Error at CSCS/ESPHI/pv3-plugin/CMakeLists.txt:115 
 (TARGET_LINK_LIBRARIES):
  Target CSCS_Common of type MODULE_LIBRARY may not be linked into another
  target.  One may link only to STATIC or SHARED libraries, or to executables
  with the ENABLE_EXPORTS property set.

  If you are developing a new project, re-organize it to avoid linking to
  modules.  If you are just trying to build an existing project, set
  CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower to allow linking to modules.

 --
 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

___
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] Selecting multiple points with Select points through

2010-01-18 Thread Utkarsh Ayachit
Selection * Through does not support appending to the selection. It's
a known limitation.

Utkarsh



On Mon, Jan 18, 2010 at 11:35 AM, David Doria daviddo...@gmail.com wrote:
 If I use the select points on tool, I can select a point, then
 release the mouse, hold control, select the select points on tool
 again, select another point, and they will now both be in the
 selection.

 However, if I try to do this with the select points through tool,
 the selection is simply replaced instead of appended.

 Is this the expected behavior?

 Thanks,

 David
 ___
 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


[Paraview] ExtractSelection loses selection order

2010-01-18 Thread David Doria
If I select 3 points and then use the ExtractSelection filter, I would
expect the IDs of the points to be 0,1,2, in the order selected.
Instead, they are 2, 0, 1.

Is there any way to prevent this? I am trying to set corresponding
landmarks, so the order is important, and it is being lost.

Thanks,

David
___
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] Memory leak in Paraview 3.6.1(?)

2010-01-18 Thread Utkarsh Ayachit
Is it reproducible without using Python for creating the objects?
Easiest way to try that is create the objects using python, then save
the state out, then restart paraview and load the state file to create
the objects.

Utkarsh

On Sat, Jan 16, 2010 at 1:34 AM, Olumide 50...@web.de wrote:
 This issue persists in Paraview 3.6.2, with which I've just viewed a
 relatively small data set (one polysphere and about a 40 line segments).
 However, after disconnecting the server, thereby unloading the data,
 Paraview's memory consumption remains at 103Mb -- that's not right. Why
 isn't Paraview releasing memory from purged objects. If it matters, the
 objects were imported using a python script.

 - Olumide

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] plugins don't load unless auto loaded

2010-01-18 Thread David Doria
On Mon, Jan 18, 2010 at 1:26 PM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 I could not reproduce this. I tried the Moments plugin. Does that
 plugin work for you?

 On Mon, Jan 18, 2010 at 11:12 AM, David Doria daviddo...@gmail.com wrote:
 If I go to Tools-manage plugins and load a plugin, although it says
 Loaded under Property in the Local Plugins list, it does not
 appear in the filters list. However, if I check auto load and then
 restart Paraview, it appears in the list.

 Is this a bug?

 Thanks,

 David

Hm, I tried another one and it worked as expected.

This is the one that doesn't work:
http://www.rpi.edu/~doriad/Paraview_List/ICP/

It doesn't seem like there is anything wrong with the code though
because after some monkeying around (disabling/enabling a few times
and restarting paraview) it works as expected.

Does anything jump out at you?

Thanks,

David
___
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] tube filter, surfaces aren't closed?

2010-01-18 Thread burlen
Yes, that is the case. There are 200 lines , each a single cell , and 
the pvtp reader splits them up fairly evenly amongst processes to begin 
with. D3 is moving stuff around but it doesn't noticeably change the result.


Moreland, Kenneth wrote:
Looking at the mesa-artifacts-decomp.png image, it appears that you 
have many tubes that are coincident (or at least close to coincident). 
 There might be z-buffer resolution problems.  What happens if you run 
the geometry through D3?


-Ken


On 1/15/10 10:28 AM, burlen burlen.lor...@gmail.com wrote:

FYI, I re-organized the images illustrating the bug, and made a
comparison of nvidia to mesa rendering on two cases 1) the
artifacts 2)
the parallel inconsistency, and removed the older images.

1)

http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/mesa-artifacts.png

http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/nvidia-no-artifacts-decomp.png

2)

http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/mesa-artifacts-decomp.png

http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/nvidia-no-artifacts.png

burlen wrote:
 So you are right these are artifacts not holes. Nasty looking ones at
 that. zooming in enough makes the artifacts receded toward the egdes
 of the tube. After some experimentation I'm finding that this has
 something to do with mesa. It is reproducible only when using mesa.
 Hardware rendering works fine, no artifacts.

 There also looks to be two things going on, 1) the artifacts, 2)
 inconsistent selection of the visible faces on parallel runs.
 This is
 shown here:
 
http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/decomp-8-procs.png


 I was using PV on this cluster fine back in dec to make very similar
 figures with stream tubes and didn't see any of these issues...

 I added the dataset to reproduce to the bug report.

 Moreland, Kenneth wrote:
 It could be a rendering artifact.  What happens when you zoom into
 the problem area?

 -Ken


 On 1/14/10 12:24 AM, burlen burlen.lor...@gmail.com wrote:

 Any ideas as to why tubes from the tube filter aren't closed
 surfaces
 now? screenshot:
 http://public.kitware.com/Bug/view.php?id=10139

 ___
 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
http://www.cs.unm.edu/%7Ekmorel
 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 
http://www.cs.unm.edu/%7Ekmorel




___
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] tube filter, surfaces aren't closed?

2010-01-18 Thread Moreland, Kenneth
I'm guessing that this is a z-buffer precision issue.  The nVidia card must be 
using a higher precision z-buffer or doing something else that is preventing 
the z-fighting that appears to be happening in the Mesa implementation.

-Ken


On 1/18/10 11:47 AM, burlen burlen.lor...@gmail.com wrote:

Yes, that is the case. There are 200 lines , each a single cell , and
the pvtp reader splits them up fairly evenly amongst processes to begin
with. D3 is moving stuff around but it doesn't noticeably change the result.

Moreland, Kenneth wrote:
 Looking at the mesa-artifacts-decomp.png image, it appears that you
 have many tubes that are coincident (or at least close to coincident).
  There might be z-buffer resolution problems.  What happens if you run
 the geometry through D3?

 -Ken


 On 1/15/10 10:28 AM, burlen burlen.lor...@gmail.com wrote:

 FYI, I re-organized the images illustrating the bug, and made a
 comparison of nvidia to mesa rendering on two cases 1) the
 artifacts 2)
 the parallel inconsistency, and removed the older images.

 1)
 
 http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/mesa-artifacts.png
 
 http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/nvidia-no-artifacts-decomp.png

 2)
 
 http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/mesa-artifacts-decomp.png
 
 http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/nvidia-no-artifacts.png

 burlen wrote:
  So you are right these are artifacts not holes. Nasty looking ones at
  that. zooming in enough makes the artifacts receded toward the egdes
  of the tube. After some experimentation I'm finding that this has
  something to do with mesa. It is reproducible only when using mesa.
  Hardware rendering works fine, no artifacts.
 
  There also looks to be two things going on, 1) the artifacts, 2)
  inconsistent selection of the visible faces on parallel runs.
  This is
  shown here:
  
 http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/decomp-8-procs.png
 
 
  I was using PV on this cluster fine back in dec to make very similar
  figures with stream tubes and didn't see any of these issues...
 
  I added the dataset to reproduce to the bug report.
 
  Moreland, Kenneth wrote:
  It could be a rendering artifact.  What happens when you zoom into
  the problem area?
 
  -Ken
 
 
  On 1/14/10 12:24 AM, burlen burlen.lor...@gmail.com wrote:
 
  Any ideas as to why tubes from the tube filter aren't closed
  surfaces
  now? screenshot:
  http://public.kitware.com/Bug/view.php?id=10139
 
  ___
  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
 http://www.cs.unm.edu/%7Ekmorel
  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
 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

___
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] holes in distributed polydata

2010-01-18 Thread Moreland, Kenneth
I can't find anything wrong other then there must be some sort of precision 
issue that is interfering with the decision of when to draw a polygon that is 
smaller than a pixel.  I just checked in a change to IceT that prevents 
shifting around the projection matrix in single-display mode.  That should fix 
the problem.

-Ken


On 1/15/10 11:07 AM, burlen burlen.lor...@gmail.com wrote:

Using the dataset below I can reproduce the issue on my workstation
using 4 processes and both hardware and mesa rendering.

burlen wrote:
 Ken,

 Here is a dataset that I am able to reproduce with:
 http://nashi-submaster.ucsd.edu/movies/PV/holes.tar.gz

 run with 96 procs. Set the view to +y. If the long holes aren't
 appearing in your view I found that smaller holes can show up by
 rotating the plane in small increments about either the x or z axis.
 These ones are pretty small so you have to look closely.

 Burlen

 Moreland, Kenneth wrote:
 Burlen,

 Is there any possible way you can send me some data or replicate the
 problem with something like the Mandelbrot source? So far I have not
 been able to replicate it exactly.

 -Ken


 On 1/5/10 2:34 PM, burlen burlen.lor...@gmail.com wrote:

 Ken,
 Some bad news, this patch didn't solve the problem, the holes
 returned
 on my first run.
 Burlen


 Moreland, Kenneth wrote:
  That was not intended to be a solution, but rather a
 diagnostic. My
  guess is that there are precision errors in the rasterization
 when the
  viewport is shifted. Could you restore vtkIceTRenderManager and
 try
  the attached patch to IceT?
 
  -Ken
 
 
  On 12/10/09 12:26 PM, burlen burlen.lor...@gmail.com wrote:
 
  Hi Ken,
 
  it seems to have solved the problems. I say that with fingers
  crossed, I
  haven't seen holes any since your suggested changes, where before
  I was
  seeing them quite often, popping up from time to time.
 
  Burlen
 
  Moreland, Kenneth wrote:
   Hmm. It is possible that the floating viewport feature of IceT
  could
   be causing troubles with precision. Could you try adding
  
   icetDisable(ICET_FLOATING_VIEWPORT);
  
  
   somewhere in the vtkIceTRenderManager::UpdateIceTContext()
 method and
   see if the problem goes away?
  
   -Ken
  
  
   On 12/7/09 10:11 AM, burlen burlen.lor...@gmail.com wrote:
  
   Hi Ken,
   For that figure you mention I turned on surface with edges to
   show the
   cell size better. Sorry I can see how that could be
 confusing. But
   just
   to clarify, there aren't actually any holes in the surface.
  
   Here is another zoom in of the same area where surface with
  edges is
   off and you can see that there are no holes.
   http://nashi-submaster.ucsd.edu/movies/PV/bug-zoom.png
  
   Now I also have hit a case where after running through D3 I
 got a
  hole
   at the process boundary. this run had 80 processes, the surface
 shown
   has dimensions of 5.5 x 10 units with 1500 x 2727quads with side
   0.0036
   units.
   http://nashi-submaster.ucsd.edu/movies/PV/bug-d3.png
  
   I am only seeing this with the small quads and in parallel at
 process
   boundaries.
  
   Burlen
  
  
   Moreland, Kenneth wrote:
Burlen,
   
For the zoom in, you say there are no holes/lines, but in the
  image I
see a grid of lines. It looks like you have a bunch of little
 quads
with spacing in between them. Is this the case? If so, then
 the
   hole
artifacts you see on the bottom of the screen are probably
 simply
aliasing artifacts. They are places where the pixel happens to
  align
right where the gap is.
   
I can't think of an easy way around this (other than to
 modify your
data to remove the gaps, if that makes sense). Anti-aliasing
techniques such as oversampling or smoothing would probably
 fix the
problem, but they would also break the parallel rendering so
  they are
no good.
   
-Ken
   
   
On 12/5/09 12:18 AM, burlen burlen.lor...@gmail.com wrote:
   
its ugly but I get a lot better performance by splitting the
  work up
dynamically with a small grain size. in the run shown below
  there are
only 16 processes but there are a whole lot of process
 boundaries.
   
I was able to reproduce it on a second system today.
   
these holes are pretty non-deterministic in where they show
 up.
   moving
the camera they can show up in different places. Which makes
  sense if
this is related to some parallel rendering/finite precision
 issue
   with
all those process boundaries. The small size of the quads are
  

Re: [Paraview] netCDF reader

2010-01-18 Thread Moreland, Kenneth
 I'm not sure vtkImageData (and everything that uses it) really supports
 negative spacing.  See, for example, this email thread:
 http://www.vtk.org/pipermail/vtkusers/2009-May/100989.html.
  
 I agree. And that's why I have added the function fabs to make positive the
 tolerance variable.
 
  From ParaView3/VTK/IO/vtkNetCDFCOARDSReader.cxx (line 105...)
 this-Spacing
   = (this-Coordinates-GetValue(dimLen-1) - this-Origin)/(dimLen-1);
 this-HasRegularSpacing = true; // Then check to see if it is false.
 double tolerance = 0.01*this-Spacing;
 for (size_t i = 1; i  dimLen; i++)
   {
   double expectedValue = this-Origin + i*this-Spacing;
   double actualValue = this-Coordinates-GetValue(i);
   if (   (actualValue  expectedValue-tolerance)
   || (actualValue  expectedValue+tolerance) )
 {
 this-HasRegularSpacing = false;
 fprintf(stderr,HasRegularSpacing = false);
 break;
 }
   }
 
 As I have written, if a coordinate variable goes from 90 to -90
 (decreasing) with dimLen=7
 (-90, -60, -30, 0, 30, 60, 90)
 then Spacing variable is (-90 -90)/6 = -30 so negative, as tolerance
 value equals to -0.3
 expectedValue for i equals  90 +30 = 120 instead of 60 !
 Consequence you get a HasRegularSpacing = false  whereas the grid is
 regular.
 Put a simple fabs solves the problem
 double tolerance = fabs(0.01*this-Spacing);
 Is it clearer ?

No.  I already understand that if the tolerance gets a negative value, the
HasRegularSpacing check will fail even if the spacing really is regular.
And I understand how using abs will fix that.

My point is that if the spacing is negative, then you cannot use a
vtkImageData because vtkImageData does not support negative spacing.  And
the only reason for the HasRegularSpacing check is there in the first place
is to decide whether to use a vtkImageData.

So, the code would be clearer if there was a statement like
if(this-Spacing=0.0) { skip HasRegularSpacing check and use
vtkRectilinearGrid instead of vtkImagedata }.  But regardless, the code ends
up doing the right thing even if technically HasRegularSpacing is set to
false instead of true.

  
 - Test on units should be case independant
 line 133, units.find( since )
 I have netCDF files where since is typed with uppercase (generated by
 ferret software from the NOAA/PMEL).

 
 That is easy enough to change.
  
 Do you mean that the user have to change it by himself using ncrename
 (netcdf operators).
 I hope not and I consider that it should be treated within the reader. A
 user does not care
 about a typology of an attribut.
 Having said that, I don't know how to lowercase a vtkStdString.

I mean it is an easy fix in the code.  I checked in a fix this morning.

-Ken

     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] A simple question

2010-01-18 Thread Fred Fred

Consider an arbitrary surface with tangent vectors defined on it. How do you do 
for computing streamlines on such a surface? I mean how do you place seed 
points? Placing seeds on a shere or on a line does not work since of course 
seed points are not on the surface.

  
_
Téléchargez Internet Explorer 8 et surfez sans laisser de trace !
http://clk.atdmt.com/FRM/go/182932252/direct/01/___
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] A simple question

2010-01-18 Thread Utkarsh Ayachit
Try using Stream Tracer With Custom Source, and passing an extract
selection from the surface as the seed input. There are some caveats
to this if working in parallel.

Utkarsh

On Mon, Jan 18, 2010 at 4:03 PM, Fred Fred stan1...@hotmail.fr wrote:
 Consider an arbitrary surface with tangent vectors defined on it. How do you
 do for computing streamlines on such a surface? I mean how do you place seed
 points? Placing seeds on a shere or on a line does not work since of course
 seed points are not on the surface.


 
 Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !
 ___
 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


[Paraview] Exporting ICEM CFD Mesh to ParaView

2010-01-18 Thread Rafael Castaneda
Hi,

I'm trying to export a mesh generated in ICEM CFD to ParaView. I realized
that I can export the mesh to Exodus II format and then open it with
ParaView, but no information about the parts of the mesh is loaded, just the
blocks.

Any reader available to export geometry and mesh from ICEM CFD to ParaView ?
I would like that the MultiBlockDataSet generated as result have information
about the parts created in ICEM CFD.

Regards,
Castaneda.
___
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