[Paraview] Animating trajectories of points

2016-06-28 Thread Janessa Tran
Hi,

This is my first time using ParaView and I am trying to get an animation of
a trajectory of points. I have the data stored in separate csv files (one
file for each time step). When I upload the data into ParaView, it is all
grouped together and I can do it all at once. I am able to use the filter
Table to Points to see the outcome of all the points together. What i am
looking to do, however, is to animate a trajectory of the points over time.

Do you know how I should approach doing this? I assumed that i would be
able to click "play" and it would work once I uploaded the data, however,
this does not seem to be doing anything.

Thank you very much in advance!

This is what I have so far:

[image: Inline image 1]

- Janessa
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Visualization of strata in ParaView

2016-06-28 Thread Scott, W Alan
Ryan/ Steve,
I don't believe that it is possible to change the opacity of NAN data to 
transparent.  I added a bug, here:  
http://www.paraview.org/Bug/view.php?id=16759.

Alan


-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Jamison, 
Ryan Dale
Sent: Tuesday, June 28, 2016 2:14 PM
To: Steve Lamont 
Cc: paraview@paraview.org
Subject: Re: [Paraview] [EXTERNAL] Visualization of strata in ParaView

I know this is thread is already a couple of weeks old, but I was curious if 
you ever figured out how to set the NaN color to have an opacity of zero? I’ve 
been wanting to something very similar. 
Best, Ryan Jamison

> On Jun 15, 2016, at 7:36 AM, Steve Lamont  wrote:
> 
> Before starting, I should state that I'm a complete noob to ParaView, having 
> only worked with it for a couple of weeks, so if this is a FAQ, I will be 
> humbly abashed if pointed to somewhere rather obvious.
> 
> I have a dataset which is somewhat different than those which I believe are 
> normally visualized with ParaView.  It is of geological strata and the 
> samples are of discrete layers, rather than samples of some continuous 
> function.  Furthermore, there are missing data or void regions.
> 
> I would like to display cross sections of these data showing the layers 
> without color interpolation.  Is there a way to tell ParaView to display the 
> colors in a step function rather than as a "continuous tone?"
> 
> Also, is there a way to tell ParaView to display the missing data as 
> completely transparent -- in other words, setting the NaN color to having an 
> opacity of zero?
> 
> Thanks for your attention and helpful RTFMs.
> 
> Regards.
> 
>   spl
> 
> ___
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
> 
> Search the list archives at: http://markmail.org/search/?q=ParaView
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview

___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] A Potential Bug About Glyph (Paraview 5.1.0)

2016-06-28 Thread Scott, W Alan
Huangrui Mo,

Try outputting a glyph every point.  On the Properties tab, under Masking, 
Glyph Mode, change this to off.

Alan


From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Huangrui Mo
Sent: Tuesday, June 28, 2016 3:48 PM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] A Potential Bug About Glyph (Paraview 5.1.0)


Dear Paraview Developer,

When using the Glyph function to rend point sets, it may skip some points, as 
shown below

[cid:image002.jpg@01D1D159.6CD64010]

This happens either in steady case or a unsteady case. In the latter, Glyph 
works at first and then disappear afterward.

The .vtp file for generating the above point set has been attached in this 
email.

Thank you very much for taking time to read this email.

Sincerely,

Huangrui Mo


___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] A Potential Bug About Glyph (Paraview 5.1.0)

2016-06-28 Thread Huangrui Mo

Dear Paraview Developer,

When using the Glyph function to rend point sets, it may skip some 
points, as shown below


This happens either in steady case or a unsteady case. In the latter, 
Glyph works at first and then disappear afterward.


The .vtp file for generating the above point set has been attached in 
this email.


Thank you very much for taking time to read this email.

Sincerely,

Huangrui Mo




  

  

  0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.00736 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.007392 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.00742 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007447 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007472 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007496 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 0.007518 

Re: [Paraview] Minor bug in OPENFOAM import filter

2016-06-28 Thread David Lonie
On Tue, Jun 28, 2016 at 3:06 PM, David Lonie 
wrote:

> On Sat, Jun 25, 2016 at 1:02 PM, Eugene de Villiers <
> e.devilli...@engys.com> wrote:
>
>> Hi Takuya, David,
>>
>> That would be perfect. What kind of timeline are we looking at to see
>> this in a release version?
>>
>
> It's difficult to say for sure. It might be out in the next patch release,
> but it might have to wait for the next major/minor release. The openFOAM
> reader is a complicated bit of code, I'm still investigating the best way
> to go about implementing this. I'll update this thread once I know more.
>

Good news -- I found an easy fix. Instead of failing outright when

(scalar (scalar scalar))

is found because the internal data structures can't handle nested lists
following scalar data, I patched the reader to simply read the nested list,
discard it, print a warning, and continue reading the file.

You'll still see a warning pop up in paraview, but the file should still
read successfully as long as the unsupported list does not appear in a
field used for visualization.

The patch is here: https://gitlab.kitware.com/vtk/vtk/merge_requests/1598

If this is agreeable to everyone, we'll get it merged and incorporated into
a future release.

Dave
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Visualization of strata in ParaView

2016-06-28 Thread Jamison, Ryan Dale
I know this is thread is already a couple of weeks old, but I was curious if 
you ever figured out how to set the NaN color to have an opacity of zero? I’ve 
been wanting to something very similar. 
Best, Ryan Jamison

> On Jun 15, 2016, at 7:36 AM, Steve Lamont  wrote:
> 
> Before starting, I should state that I'm a complete noob to ParaView, having 
> only worked with it for a couple of weeks, so if this is a FAQ, I will be 
> humbly abashed if pointed to somewhere rather obvious.
> 
> I have a dataset which is somewhat different than those which I believe are 
> normally visualized with ParaView.  It is of geological strata and the 
> samples are of discrete layers, rather than samples of some continuous 
> function.  Furthermore, there are missing data or void regions.
> 
> I would like to display cross sections of these data showing the layers 
> without color interpolation.  Is there a way to tell ParaView to display the 
> colors in a step function rather than as a "continuous tone?"
> 
> Also, is there a way to tell ParaView to display the missing data as 
> completely transparent -- in other words, setting the NaN color to having an 
> opacity of zero?
> 
> Thanks for your attention and helpful RTFMs.
> 
> Regards.
> 
>   spl
> 
> ___
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
> 
> Search the list archives at: http://markmail.org/search/?q=ParaView
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview

___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Minor bug in OPENFOAM import filter

2016-06-28 Thread David Lonie
On Sat, Jun 25, 2016 at 1:02 PM, Eugene de Villiers 
wrote:

> Hi Takuya, David,
>
> That would be perfect. What kind of timeline are we looking at to see this
> in a release version?
>

It's difficult to say for sure. It might be out in the next patch release,
but it might have to wait for the next major/minor release. The openFOAM
reader is a complicated bit of code, I'm still investigating the best way
to go about implementing this. I'll update this thread once I know more.

Dave
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Interpolating Point Clouds

2016-06-28 Thread Utkarsh Ayachit
The "Point Interpolation" filters need a scalar array to be present on
the dataset.

On Tue, Jun 28, 2016 at 4:38 AM, stephaneンドング メファネ
 wrote:
> Hello,
>
> On what kind of input does the "interpolating point cloud" does work?
> I imported a VRML point cloud and even extracted the points of interest, but
> the interpolation tools are grayed out and cannot be used.
>
> Ndong-Mefane Stephane, Dr.Eng
> Basic Design Sec.
> Steam Turbine Dept.
> Kawasaki Factory
>
> Fuji Electric Co., Ltd
> 1-1, Tanabeshinden, Kawasaki-ku,
> Kawasaki-city 210-9530, Japan
> Phone: +81-44-329-2155
> Fax: +81-44-329-2394
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] boundary export data

2016-06-28 Thread Samuel Key

Marina,

Have you tried ParaViews Extract Block filter followed by Save Data?

Sam


On 6/27/2016 4:35 PM, Mariana Rodriguez wrote:

Hello,
I have a file with certani values of p and T. I want to export to a .e file 
that data, but also the boundaries of my mesh (keeping the names and the 
definition).
Does anyone know how to do this?
My .e file contain all the data but not the boundaries. I need the boundaries 
to start another simulation from this .e file.
Thank you,
Mariana
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-06-28 Thread Peter Debuchev
Dear Utkarsh,
I tried to reproduce the error as described in my previous email, but
haven't been able to until now, don't know what happend. The attached code
attaches to a pvserver at localhost:1 and adds a sphere every half
second. Unfortunately it crashes as soon as I connect ParaView to the same
server.
I guess I'll have to give up programming ParaView and work the old way,
writing VTK files and loading them in ParaView. It is way too complicated.

Peter

2016-06-24 7:08 GMT+02:00 Peter Debuchev :

> Thank you for the patch. There is still something missing. If I modify the
> custom client such that it adds an object every half second or so, then
> first start this clients and then ParaView after a few seconds, ParaView
> misses one of the objects. ParaView finds those objects that are added
> before ParaView starts and those that are added later. But during ParaView
> startup one of the objects is lost.
> I'll see if I can make this reproducible and send a code example in the
> next days.
>
> Peter
>
> 2016-06-22 17:25 GMT+02:00 Utkarsh Ayachit :
>
>> > can you give a quick update whether the suggested bug fix is likely to
>> be
>> > solved:
>>
>> Here you go:
>> https://gitlab.kitware.com/paraview/paraview/merge_requests/844
>>
>> Once the dashboards come back clean, this will get merged. If do get
>> around to testing it, I'd suggest getting involved and giving the
>> merge-request a +1 ;).
>>
>> Utkarsh
>>
>
>
#include "vtkSMSession.h"
#include "vtkSMSessionClient.h"
#include "vtkProcessModule.h"
#include "vtkPVOptions.h"
#include "vtkInitializationHelper.h"
#include "vtkSMProxy.h"
#include "vtkSMProxyManager.h"
#include "vtkSMSessionProxyManager.h"
#include "vtkSMProxy.h"
#include "vtkSMPropertyHelper.h"
#include "vtkSMParaViewPipelineController.h"
#include "vtkSMProxy.h"
#include "vtkSMRepresentationProxy.h"
#include "vtkCollection.h"
#include "vtkSMRenderViewProxy.h"

#include "vtkSMCollaborationManager.h"
#include "vtkSMMessage.h"
#include "vtkCommand.h"
#include "vtkNetworkAccessManager.h"

#include "vtkRenderWindowInteractor.h"
#include 

using namespace std;

vtkSMSessionProxyManager* pxm;
vtkSMRenderViewProxy *view=NULL;

void createView(){
  vtkCollection *coll=vtkCollection::New();
  // try to find view
  pxm->GetProxies("views",coll);
  view=vtkSMRenderViewProxy::SafeDownCast(coll->GetItemAsObject(0));
  // if not found, create new view
  if (view==NULL){
view=vtkSMRenderViewProxy::SafeDownCast(pxm->NewProxy("views","RenderView"));
  }
  view->UpdateVTKObjects();
  pxm->RegisterProxy("views","View1",view);
}

void createObject(int n){
  if (view==NULL) return;
  vtkSMSourceProxy *sphere=vtkSMSourceProxy::SafeDownCast(pxm->NewProxy("sources","SphereSource"));
  double pos[3]={(double)n,0.,0.};
  vtkSMPropertyHelper(sphere,"Center").Set(pos,3);
  sphere->UpdateVTKObjects();

  //vtkSMRepresentationProxy *repr=view->CreateDefaultRepresentation(sphere,0);
  vtkSMRepresentationProxy *repr=vtkSMRepresentationProxy::SafeDownCast(pxm->NewProxy("representations","SurfaceRepresentation"));
  vtkSMPropertyHelper(repr,"Input").Set(sphere,0);

  vtkSMPropertyHelper(view,"Representations").Add(repr);
  view->UpdateVTKObjects();
  repr->UpdateVTKObjects();

  stringstream name;
  name<<"Sphere"<RegisterProxy("sources",name.str().c_str(),sphere);
  name<<"Repr"<RegisterProxy("representations",name.str().c_str(),repr);
}

class Callback: public vtkCommand{
private:
  int count;
public:
  static Callback* New(){
Callback *cb=new Callback;
cb->count=0;
return cb;
  }
  virtual void Execute(vtkObject* caller, unsigned long event, void* data) {
count++;
if (event==vtkCommand::TimerEvent){ //create new sphere at xyz={count,0.,0.}  
createObject(count);
}
while(vtkProcessModule::GetProcessModule()->GetNetworkAccessManager()->ProcessEvents(1)){
}
  }
};

int main(int argc, char* argv[]){
  vtkPVOptions *options=vtkPVOptions::New();
  vtkInitializationHelper::Initialize(argc,argv,vtkProcessModule::PROCESS_CLIENT,options);

  vtkSMSessionClient *session=vtkSMSessionClient::New();
  session->Connect("cs://localhost:1");

  vtkSMParaViewPipelineController* smcontroller=vtkSMParaViewPipelineController::New();
  smcontroller->InitializeSession(session);

  pxm = session->GetSessionProxyManager();

  //Collaboration:
  vtkSMCollaborationManager *collaboration=session->GetCollaborationManager();
  collaboration->SetSession(session);
  collaboration->UpdateUserInformations();

  createView();
  createObject(0);

view->MakeRenderWindowInteractor(true);
vtkRenderWindowInteractor *iren=view->GetInteractor();
iren->Initialize();
Callback *timer=Callback::New();
iren->AddObserver(vtkCommand::TimerEvent,timer);
iren->CreateRepeatingTimer(500);
view->GetInteractor()->Start();

  cout<<"Closing Session..."<CloseSession();

  

Re: [Paraview] [EXTERNAL] Client-server mode fails with 5.0.1

2016-06-28 Thread Utkarsh Ayachit
> As soon as I set the threshold to 0 the warning about the OpenGL 3.2 context
> pops up (but no segfault in this case).

No segfault just means that the scene didn't attempt to rendering
something that needed newer OpenGL.

> I tried a very minimal example that creates a 3.2 context (using SDL) and
> that fails as well, so maybe something strange is going in with our nvidia
> driver installation. I'll see if I can do some more tests.

Cool. Thanks.
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Issues with ParaView 5.1.0 and VGL (UNCLASSIFIED)

2016-06-28 Thread Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
CLASSIFICATION: UNCLASSIFIED

Hello,

I am experiencing an error when running ParaView 5.1.0 using VGL

When starting ParaView 5.1.0 I get the following warnings

[VGL] WARNING: The OpenGL rendering context obtained on X display
[VGL]:0.0 is indirect, which may cause performance to suffer.
[VGL]If :0.0 is a local X display, then the framebuffer device
[VGL]permissions may be set incorrectly.

And then ParaView 5.1.0 seg faults.

ParaView 5.0.1 when run under VGL does not produce the same
warnings and works just fine.

Is their some new requirement for VGL support that ParaView 5.1.0 has
over version 5.0.1?

Thanks,

Joe

~~~
Joseph G. Hennessey Ph.D., Lockheed Martin
Army Research Lab
DOD Supercomputing Resource Center
Email:  joseph.g.hennessey2@mail.mil



CLASSIFICATION: UNCLASSIFIED


smime.p7s
Description: S/MIME cryptographic signature
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Client-server mode fails with 5.0.1

2016-06-28 Thread Paul Melis

Hi Utkarsh,

On 06/27/2016 07:15 PM, Utkarsh Ayachit wrote:

Paul,

Can you try this:
1. Connect to pvserver started with  --use-offscreen-rendering
2. From Edit | Settings, Render View tab, set "Remote Render
Threshold" to 0.  Accept the change using OK.
As soon as I set the threshold to 0 the warning about the OpenGL 3.2 
context pops up (but no segfault in this case).


I tried a very minimal example that creates a 3.2 context (using SDL) 
and that fails as well, so maybe something strange is going in with our 
nvidia driver installation. I'll see if I can do some more tests.


Paul

3. Interact with render view.

Do you get the same segfault? If so, it's independent of what you're
rendering, but just the fact that remote rendering kicks in. We can
then debug further.

Utkarsh

On Mon, Jun 27, 2016 at 11:37 AM, Paul Melis  wrote:


On 06/27/2016 05:29 PM, Paul Melis wrote:

On 04/19/2016 01:04 PM, Paul Melis wrote:

Hi Utkarsh,

On 18-04-16 20:04, Utkarsh Ayachit wrote:

This has always worked for me with earlier versions of
ParaView, but something seems to have changed. It could be the newer
NVidia
driver we use since a few weeks, but like I said, I don't see issues
with
any other OpenGL application.


Paul, can you try with ParaView 5.0.0 and 4.4 binaries as well? Since
those worked before, let's see if it's a NVIdia driver change that's
affecting ParaView.


4.4 works without problem in client-server mode (although I can't seem to
get subsampled rendering during interaction working, no matter what remote
render settings I try). 5.0.0 shows the same GLX-related issue as 5.0.1.

It smells like an interaction between the new OpenGL2 backend and the
NVidia driver we use (361.28): I tested 5.0.1 on my workstation (running
both client and server there) with driver 364.16 and there it works without
a problem. A test between my workstation (PV client) and a different machine
(PV server) with driver 352.79 also works.

I just tried on a node with an updated nvidia driver (367.27, latest for
the specific model of GPU used) and get the same error on the server side
with 5.0.1.

Trying 5.1.0 (binary from paraview.org for both client and server) and I
no longer get the error and PV seems work fine in client-server mode.

This might or might not be related, but while retesting
http://www.paraview.org/Bug/view.php?id=13802 with 5.1.0 I get an error
relating to the OpenGL context on the server when switching to slice mode:

paulm@s37n2:~/software/ParaView-5.1.0-Qt4-OpenGL2-MPI-Linux-64bit/bin$
./pvserver --use-offscreen-rendering
Waiting for client...
Connection URL: cs://s37n2.int.elvis.surfsara.nl:1
Accepting connection(s): s37n2.int.elvis.surfsara.nl:1
Client connected.
Warning: In
/home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx,
line 616
vtkXOpenGLRenderWindow (0x30b0eb0): VTK is designed to work with OpenGL
version 3.2 but it appears it has been given a context that does not support
3.2. VTK will run in a compatibility mode designed to work with earlier
versions of OpenGL but some features may not work.

Segmentation fault (core dumped)

The supported OpenGL version is 4.2.0, so I don't understand why the context
is not 3.2 compatible:

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
...
client glx vendor string: NVIDIA Corporation, NVIDIA Corporation
client glx version string: 1.4
...
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 780 Ti/PCIe/SSE2
OpenGL version string: 4.5.0 NVIDIA 367.27


The nvidia driver used is 367.27, Debian 7.11 (wheezy), 64-bit

Paul


___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Interpolating Point Clouds

2016-06-28 Thread stephaneンドング メファネ
Hello,

On what kind of input does the "interpolating point cloud" does work?
I imported a VRML point cloud and even extracted the points of interest,
but the interpolation tools are grayed out and cannot be used.

Ndong-Mefane Stephane, Dr.Eng
Basic Design Sec.
Steam Turbine Dept.
Kawasaki Factory

Fuji Electric Co., Ltd
1-1, Tanabeshinden, Kawasaki-ku,
Kawasaki-city 210-9530, Japan
Phone: +81-44-329-2155
Fax: +81-44-329-2394
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Import of .PLY fails in Paraview 5.1

2016-06-28 Thread stephaneンドング メファネ
Hello,

Paraview crashes everytime I try to import a point cloud (.PLY) file.The
same problem occurs when it is a .PLY file exported from Paraview. Any idea
on how to solve that problem?

Ndong-Mefane Stephane, Dr.Eng
Basic Design Sec.
Steam Turbine Dept.
Kawasaki Factory

Fuji Electric Co., Ltd
1-1, Tanabeshinden, Kawasaki-ku,
Kawasaki-city 210-9530, Japan
Phone: +81-44-329-2155
Fax: +81-44-329-2394
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview