[Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
As far as I can see, if I generate LIC with, say, shear then you have to
use shear as the variable on the surface below the LIC itself.  Would it be
possible, for example, to create the LIC using shear but display pressure
on the surface?


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
That is what I mean (so the surface of the object I've put LIC on to paint
as a scalar that's different to the vector I've made LIC with).

How is this done?


Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 June 2012 12:53, Utkarsh Ayachit  wrote:

> Are you saying LIC with one variable and coloring with another? (Not
> sure what you  mean by "display pressure on the surface"). You can
> indeed color using another variable.
>
> Utkarsh
>
> On Thu, Jun 7, 2012 at 6:51 AM, Joe Borġ  wrote:
> > As far as I can see, if I generate LIC with, say, shear then you have to
> use
> > shear as the variable on the surface below the LIC itself.  Would it be
> > possible, for example, to create the LIC using shear but display
> pressure on
> > the surface?
> >
> >
> > Regards,
> > Joseph David Borġ
> > http://www.jdborg.com
> >
> > ___
> > 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] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
Hi David,
I'm on 3.14.1 (64-bit) on both Linux and Mac.  Surface LIC is selected in
the same menu as Surface, Points etc.  The option you are mentioning (2
places left) is where you need to select the variable to make the LIC with
so if you change that, the LIC changes tool:

[image: Inline images 1]

So you can't change the do independently.


Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 June 2012 15:50, David E DeMarle  wrote:

> Just change the Color by entry from Solid Color to one of the fields.
>
> If this is not working for you, what paraview version and what
> platform are you on?
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Thu, Jun 7, 2012 at 10:46 AM, Joe Borġ  wrote:
> > That is what I mean (so the surface of the object I've put LIC on to
> paint
> > as a scalar that's different to the vector I've made LIC with).
> >
> > How is this done?
> >
> >
> >
> > Regards,
> > Joseph David Borġ
> > http://www.jdborg.com
> >
> >
> > On 7 June 2012 12:53, Utkarsh Ayachit 
> wrote:
> >>
> >> Are you saying LIC with one variable and coloring with another? (Not
> >> sure what you  mean by "display pressure on the surface"). You can
> >> indeed color using another variable.
> >>
> >> Utkarsh
> >>
> >> On Thu, Jun 7, 2012 at 6:51 AM, Joe Borġ  wrote:
> >> > As far as I can see, if I generate LIC with, say, shear then you have
> to
> >> > use
> >> > shear as the variable on the surface below the LIC itself.  Would it
> be
> >> > possible, for example, to create the LIC using shear but display
> >> > pressure on
> >> > the surface?
> >> >
> >> >
> >> > Regards,
> >> > Joseph David Borġ
> >> > http://www.jdborg.com
> >> >
> >> > ___
> >> > 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


Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
Ah thank, I now see they are on different tabs (I thought they were
linked).  Is it possible to change the opacity level of the LIC?


Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 June 2012 16:16, David E DeMarle  wrote:

> Go to the bottom of the Display tab. Change the Vectors field to something
> other than what is set in the Color By field.
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Thu, Jun 7, 2012 at 11:12 AM, Joe Borġ  wrote:
>
>> Hi David,
>> I'm on 3.14.1 (64-bit) on both Linux and Mac.  Surface LIC is selected in
>> the same menu as Surface, Points etc.  The option you are mentioning (2
>> places left) is where you need to select the variable to make the LIC with
>> so if you change that, the LIC changes tool:
>>
>> [image: Inline images 1]
>>
>> So you can't change the do independently.
>>
>>
>>
>> Regards,
>> Joseph David Borġ
>> http://www.jdborg.com
>>
>>
>> On 7 June 2012 15:50, David E DeMarle  wrote:
>>
>>> Just change the Color by entry from Solid Color to one of the fields.
>>>
>>> If this is not working for you, what paraview version and what
>>> platform are you on?
>>>
>>> David E DeMarle
>>> Kitware, Inc.
>>> R&D Engineer
>>> 21 Corporate Drive
>>> Clifton Park, NY 12065-8662
>>> Phone: 518-881-4909
>>>
>>>
>>> On Thu, Jun 7, 2012 at 10:46 AM, Joe Borġ  wrote:
>>> > That is what I mean (so the surface of the object I've put LIC on to
>>> paint
>>> > as a scalar that's different to the vector I've made LIC with).
>>> >
>>> > How is this done?
>>> >
>>> >
>>> >
>>> > Regards,
>>> > Joseph David Borġ
>>> > http://www.jdborg.com
>>> >
>>> >
>>> > On 7 June 2012 12:53, Utkarsh Ayachit 
>>> wrote:
>>> >>
>>> >> Are you saying LIC with one variable and coloring with another? (Not
>>> >> sure what you  mean by "display pressure on the surface"). You can
>>> >> indeed color using another variable.
>>> >>
>>> >> Utkarsh
>>> >>
>>> >> On Thu, Jun 7, 2012 at 6:51 AM, Joe Borġ  wrote:
>>> >> > As far as I can see, if I generate LIC with, say, shear then you
>>> have to
>>> >> > use
>>> >> > shear as the variable on the surface below the LIC itself.  Would
>>> it be
>>> >> > possible, for example, to create the LIC using shear but display
>>> >> > pressure on
>>> >> > the surface?
>>> >> >
>>> >> >
>>> >> > Regards,
>>> >> > Joseph David Borġ
>>> >> > http://www.jdborg.com
>>> >> >
>>> >> > ___
>>> >> > 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


Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
There is, thanks!


Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 June 2012 16:46, Utkarsh Ayachit  wrote:

> On the display tab, I believe there's a setting that allows you to change
> the "intensity" of the LIC.
>
>
> On Thu, Jun 7, 2012 at 11:42 AM, Joe Borġ  wrote:
>
>> Ah thank, I now see they are on different tabs (I thought they were
>> linked).  Is it possible to change the opacity level of the LIC?
>>
>>
>>
>> Regards,
>> Joseph David Borġ
>> http://www.jdborg.com
>>
>>
>> On 7 June 2012 16:16, David E DeMarle  wrote:
>>
>>> Go to the bottom of the Display tab. Change the Vectors field to
>>> something other than what is set in the Color By field.
>>>
>>> David E DeMarle
>>> Kitware, Inc.
>>> R&D Engineer
>>> 21 Corporate Drive
>>> Clifton Park, NY 12065-8662
>>> Phone: 518-881-4909
>>>
>>>
>>> On Thu, Jun 7, 2012 at 11:12 AM, Joe Borġ  wrote:
>>>
>>>> Hi David,
>>>> I'm on 3.14.1 (64-bit) on both Linux and Mac.  Surface LIC is selected
>>>> in the same menu as Surface, Points etc.  The option you are mentioning (2
>>>> places left) is where you need to select the variable to make the LIC with
>>>> so if you change that, the LIC changes tool:
>>>>
>>>> [image: Inline images 1]
>>>>
>>>> So you can't change the do independently.
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Joseph David Borġ
>>>> http://www.jdborg.com
>>>>
>>>>
>>>> On 7 June 2012 15:50, David E DeMarle  wrote:
>>>>
>>>>> Just change the Color by entry from Solid Color to one of the fields.
>>>>>
>>>>> If this is not working for you, what paraview version and what
>>>>> platform are you on?
>>>>>
>>>>> David E DeMarle
>>>>> Kitware, Inc.
>>>>> R&D Engineer
>>>>> 21 Corporate Drive
>>>>> Clifton Park, NY 12065-8662
>>>>> Phone: 518-881-4909
>>>>>
>>>>>
>>>>> On Thu, Jun 7, 2012 at 10:46 AM, Joe Borġ  wrote:
>>>>> > That is what I mean (so the surface of the object I've put LIC on to
>>>>> paint
>>>>> > as a scalar that's different to the vector I've made LIC with).
>>>>> >
>>>>> > How is this done?
>>>>> >
>>>>> >
>>>>> >
>>>>> > Regards,
>>>>> > Joseph David Borġ
>>>>> > http://www.jdborg.com
>>>>> >
>>>>> >
>>>>> > On 7 June 2012 12:53, Utkarsh Ayachit 
>>>>> wrote:
>>>>> >>
>>>>> >> Are you saying LIC with one variable and coloring with another? (Not
>>>>> >> sure what you  mean by "display pressure on the surface"). You can
>>>>> >> indeed color using another variable.
>>>>> >>
>>>>> >> Utkarsh
>>>>> >>
>>>>> >> On Thu, Jun 7, 2012 at 6:51 AM, Joe Borġ  wrote:
>>>>> >> > As far as I can see, if I generate LIC with, say, shear then you
>>>>> have to
>>>>> >> > use
>>>>> >> > shear as the variable on the surface below the LIC itself.  Would
>>>>> it be
>>>>> >> > possible, for example, to create the LIC using shear but display
>>>>> >> > pressure on
>>>>> >> > the surface?
>>>>> >> >
>>>>> >> >
>>>>> >> > Regards,
>>>>> >> > Joseph David Borġ
>>>>> >> > http://www.jdborg.com
>>>>> >> >
>>>>> >> > ___
>>>>> >> > 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] Use Immediate Mode Rendering in batch

2012-07-25 Thread Joe Borġ
Is there any way I can turn on *Use Immediate Mode Rendering *in batch?

http://www.itk.org/Wiki/ParaView/Users_Guide/Settings

Only explains about the GUI.


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] Pvbatch launches preview when rendering

2012-08-24 Thread Joe Borġ
Is there anyway to turn this off?


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] (no subject)

2012-08-24 Thread Joe Borġ
Different results for ViewSize when running on remote station.

See my test.py script.  If I run that on a localhost, then the image gets
made the correct size.  If I run this on a remote station (of exactly the
same spec and after setting the DISPLAY) I get a different size screenshot,
even though the image size is correct.

Regards,
Joseph David Borġ
http://www.jdborg.com


test.py
Description: Binary data
___
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] Lighting

2012-08-24 Thread Joe Borġ
I am trying to renders pictures of a geometry in batch.

However, when I play with the following view.BackLightAzimuth and
view.BackLightElevation, the light on the object does not move.

When I do these commands in the pyhton shell and then renders it works.

This is the part of the script where I set up the picture:

view = GetRenderView()
view.CameraParallelProjection = 1
view.CameraPosition = [1.58, 0, 10]
view.CameraFocalPoint = [1.58, 0, 0]
view.CameraViewUp = [0.0, 1.0, 0.0]
view.CameraParallelScale = 1.66
view.CenterAxesVisibility = 0
view.BackLightAzimuth = 0
view.BackLightElevation = 45
view.Background = [1,1,1]
view.ViewSize = [1700, 900]
Render()
WriteImage("test.png")



Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] Different pvbatch results when not on host

2012-08-27 Thread Joe Borġ
Different results for ViewSize when running on remote station.

See my test.py script.  If I run that on a localhost, then the image gets
made the correct size.  If I run this on a remote station (of exactly the
same spec and after setting the DISPLAY) I get a different size screenshot,
even though the image size is correct.


Regards,
Joseph David Borġ
http://www.jdborg.com


test.py
Description: Binary data
___
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] Different pvbatch results when not on host

2012-08-30 Thread Joe Borġ
Just to add to this, if I run this on a remote station, setting the DISPLAY
to my station, the image is fine.

Any help would be appreciated.


On 27 August 2012 09:11, Joe Borġ  wrote:

> Different results for ViewSize when running on remote station.
>
> See my test.py script.  If I run that on a localhost, then the image gets
> made the correct size.  If I run this on a remote station (of exactly the
> same spec and after setting the DISPLAY) I get a different size screenshot,
> even though the image size is correct.
>
>
> Regards,
> Joseph David Borġ
> http://www.jdborg.com
>
___
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] PNG compression when making screenshot

2012-09-04 Thread Joe Borġ
I'm trying to reduce the size of the screenshots made in batch.  Using
trace, I found

view = GetRenderView()
view.CompressorConfig = 'vtkZlibImageCompressor 0 9 4 0'
WriteImage('test.png')

...but they're the same size with and without the compression.  The
dimension is 1700x900 and I'm getting 1.4MB per image.  When I make a
similar image in Ensight, I can use the max compression setting to get the
image down to 400KB.

I'm not sure if it's the command or the compression lib that are wrong.


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] PNG compression when making screenshot

2012-09-04 Thread Joe Borġ
Would this be an easy feature to add?  Running PNG optimisation per image
will take a very long time.


Regards,
Joseph David Borġ
http://www.jdborg.com


On 4 September 2012 16:09, Burlen Loring  wrote:

> **
> Hi Joseph,
>
> Those settings you mention affect the image during transfer from the
> server to the client. They are used to fine tune remote rendering
> performance. Unfortunately the vtkPNGWriter does not expose any options for
> tuning compression.
>
> Burlen
>
>
> On 09/04/2012 06:16 AM, Joe Borġ wrote:
>
> I'm trying to reduce the size of the screenshots made in batch.  Using
> trace, I found
>
> view = GetRenderView()
> view.CompressorConfig = 'vtkZlibImageCompressor 0 9 4 0'
> WriteImage('test.png')
>
> ...but they're the same size with and without the compression.  The
> dimension is 1700x900 and I'm getting 1.4MB per image.  When I make a
> similar image in Ensight, I can use the max compression setting to get the
> image down to 400KB.
>
> I'm not sure if it's the command or the compression lib that are wrong.
>
>
> Regards,
> Joseph David Borġ
> http://www.jdborg.com
>
>
> ___
> 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] Inconsistent results with the stream trace filter

2012-10-11 Thread Joe Borġ
Hi guys,

I've got an odd issue with the stream trace and stream trace custom source
filters in Paraview (3.14.1 64bit).  No matter what settings I use, the
traces die off very soon and some even carry on straight (even when there's
no fluid).

See the two screenshots I've got from Paraview.

http://jdborg.com/images/paraview/pv_inlet.png
http://jdborg.com/images/paraview/pv_outlet.png


Not sure if this is a setting that's easy to miss or if it's more terminal.

Thanks,


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] Inconsistent results with the stream trace filter

2012-10-17 Thread Joe Borġ
Pipe.tar.gz attached to the bug report below, in the form of an Ensight
Case.  First extract the archive and to open in Paraview, use "All files
(*)" when browsing and select the .encas, then select "EnSight Files".


Regards,
Joseph David Borġ
http://www.jdborg.com


On 12 October 2012 03:28, Yuanxin Liu  wrote:

> Hi,
>Is it possible for you to upload the data?  By the way, if the cell
> type is polyhedron, then this is quite likely the same bug as this:
> http://paraview.org/Bug/view.php?id=13442
>
> Leo
>
> On Thu, Oct 11, 2012 at 6:17 AM, Joe Borġ  wrote:
>
>> Hi guys,
>>
>> I've got an odd issue with the stream trace and stream trace custom
>> source filters in Paraview (3.14.1 64bit).  No matter what settings I use,
>> the traces die off very soon and some even carry on straight (even when
>> there's no fluid).
>>
>> See the two screenshots I've got from Paraview.
>>
>> http://jdborg.com/images/paraview/pv_inlet.png
>> http://jdborg.com/images/paraview/pv_outlet.png
>>
>>
>> Not sure if this is a setting that's easy to miss or if it's more
>> terminal.
>>
>> Thanks,
>>
>>
>> Regards,
>> Joseph David Borġ
>> http://www.jdborg.com
>>
>> ___
>> 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] Inconsistent results with the stream trace filter

2012-10-17 Thread Joe Borġ
Thanks Magician,

Thanks for testing.  What are you using to convert to tet?  Is it a
ParaView feature?

Leo, can the priority of the bug be raised please?


Regards,
Joseph David Borġ
http://www.jdborg.com


On 17 October 2012 14:20, Magician  wrote:

> Hi Joseph,
>
>
> I tried your data and got a result as yours.
> Your data only includes Hex, Wedge, Tet and Pyramid,
> but streamlines are stopped earlier.
>
> Same as my polyhedral pipe sample, I applied Tetrahedralize filter
> to your pipe source, and I could get valid streamlines.
>
>
> Magician
>
>
> > Pipe.tar.gz attached to the bug report below, in the form of an Ensight
> > Case.  First extract the archive and to open in Paraview, use "All files
> > (*)" when browsing and select the .encas, then select "EnSight Files".
> >
> >
> > Regards,
> > Joseph David Borġ
> > http://www.jdborg.com
> >
> >
> > On 12 October 2012 03:28, Yuanxin Liu  wrote:
> >
> > > Hi,
> > >Is it possible for you to upload the data?  By the way, if the cell
> > > type is polyhedron, then this is quite likely the same bug as this:
> > > http://paraview.org/Bug/view.php?id=13442
> > >
> > > Leo
> > >
> > > On Thu, Oct 11, 2012 at 6:17 AM, Joe Borġ  wrote:
> > >
> > >> Hi guys,
> > >>
> > >> I've got an odd issue with the stream trace and stream trace custom
> > >> source filters in Paraview (3.14.1 64bit).  No matter what settings I
> use,
> > >> the traces die off very soon and some even carry on straight (even
> when
> > >> there's no fluid).
> > >>
> > >> See the two screenshots I've got from Paraview.
> > >>
> > >> http://jdborg.com/images/paraview/pv_inlet.png
> > >> http://jdborg.com/images/paraview/pv_outlet.png
> > >>
> > >>
> > >> Not sure if this is a setting that's easy to miss or if it's more
> > >> terminal.
> > >>
> > >> Thanks,
> > >>
> > >>
> > >> Regards,
> > >> Joseph David Borġ
> > >> http://www.jdborg.com
>
___
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] Inconsistent results with the stream trace filter

2012-10-18 Thread Joe Borġ
Hi Leo,

You don't seem to have used the Tetrahedralise filter?  How have you got
this to work without that?

Mine works fine after setting the fluid as input and source as the inlet,
but I must first use the Tetrahedralise filter.


Regards,
Joseph David Borġ
http://www.jdborg.com


On 17 October 2012 18:14, Yuanxin Liu  wrote:

> Hi Joe,
>
> I am not seeing exactly what you are seeing.  In the attached image
> produced with the current master, I created a stream tracer with outlet
> block as the seeds and the fluid block as the input, and the streamlines
> seem right.
>
> But I think there is a bug in how the stream tracer handles multiblock
> data, because if I change the stream tracer input to the whole pipe data
> set, instead of just the fluid block, some stream lines go straight to the
> void like you described.
>
> Can you try setting up the pipeline as I did using ExtractBlock and
> compare with my image?
>
> Leo
>
> On Wed, Oct 17, 2012 at 10:51 AM, Magician  wrote:
>
>> Hi Joe,
>>
>>
>> "Tetrahedralize" filter is applicable.
>> All cells are splitted into Tetrahedral ones.
>> Try it.
>>
>>
>> Magician
>>
>>
>> On 2012/10/17, at 23:40, Joe Borġ wrote:
>>
>> > Thanks Magician,
>> >
>> > Thanks for testing.  What are you using to convert to tet?  Is it a
>> ParaView feature?
>> >
>> > Leo, can the priority of the bug be raised please?
>> >
>> >
>> > Regards,
>> > Joseph David Borġ
>> > http://www.jdborg.com
>> >
>> >
>> > On 17 October 2012 14:20, Magician  wrote:
>> > Hi Joseph,
>> >
>> >
>> > I tried your data and got a result as yours.
>> > Your data only includes Hex, Wedge, Tet and Pyramid,
>> > but streamlines are stopped earlier.
>> >
>> > Same as my polyhedral pipe sample, I applied Tetrahedralize filter
>> > to your pipe source, and I could get valid streamlines.
>> >
>> >
>> > Magician
>> >
>> >
>> > > Pipe.tar.gz attached to the bug report below, in the form of an
>> Ensight
>> > > Case.  First extract the archive and to open in Paraview, use "All
>> files
>> > > (*)" when browsing and select the .encas, then select "EnSight Files".
>> > >
>> > >
>> > > Regards,
>> > > Joseph David Borġ
>> > > http://www.jdborg.com
>> > >
>> > >
>> > > On 12 October 2012 03:28, Yuanxin Liu  wrote:
>> > >
>> > > > Hi,
>> > > >Is it possible for you to upload the data?  By the way, if the
>> cell
>> > > > type is polyhedron, then this is quite likely the same bug as this:
>> > > > http://paraview.org/Bug/view.php?id=13442
>> > > >
>> > > > Leo
>> > > >
>> > > > On Thu, Oct 11, 2012 at 6:17 AM, Joe Borġ 
>> wrote:
>> > > >
>> > > >> Hi guys,
>> > > >>
>> > > >> I've got an odd issue with the stream trace and stream trace custom
>> > > >> source filters in Paraview (3.14.1 64bit).  No matter what
>> settings I use,
>> > > >> the traces die off very soon and some even carry on straight (even
>> when
>> > > >> there's no fluid).
>> > > >>
>> > > >> See the two screenshots I've got from Paraview.
>> > > >>
>> > > >> http://jdborg.com/images/paraview/pv_inlet.png
>> > > >> http://jdborg.com/images/paraview/pv_outlet.png
>> > > >>
>> > > >>
>> > > >> Not sure if this is a setting that's easy to miss or if it's more
>> > > >> terminal.
>> > > >>
>> > > >> Thanks,
>> > > >>
>> > > >>
>> > > >> Regards,
>> > > >> Joseph David Borġ
>> > > >> http://www.jdborg.com
>> >
>>
>>
>
___
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] Open .cpal palette in ParaView / Convert to XML

2012-10-18 Thread Joe Borġ
Is there anyone who knows if this is possible?

I've got the palette files from EnSight (.cpal) and would like to import
them into ParaView which is expecting XML.


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] Inconsistent results with the stream trace filter

2012-10-23 Thread Joe Borġ
Thanks for the info Leo,

I am, however, having trouble building the source that I've downloaded.

Could you point me to any instructions on how to build?
http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Install&oldid=46445#On_Unix-like_operating_systems_2doesn't
seem to tie up with the files I get.

These are the files I've pulled from Git:

-rw-r--r--  1 joe.borg root  364 Oct 23 09:43 ParaViewConfigVersion.cmake.in
-rw-r--r--  1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in
-rw-r--r--  1 joe.borg root  15K Oct 23 09:43 License_v1.2.txt
-rw-r--r--  1 joe.borg root  583 Oct 23 09:43 DartConfig.cmake
-rw-r--r--  1 joe.borg root  539 Oct 23 09:43 CTestConfig.cmake
-rw-r--r--  1 joe.borg root  24K Oct 23 09:43 CMakeLists.txt
-rw-r--r--  1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in
-rw-r--r--  1 joe.borg root 5.0K Oct 23 09:43 cave.pvx
drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:54 Examples/
drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/
drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/
drwxr-xr-x  2 joe.borg root  12K Oct 23 09:56 CMake/
drwxr-xr-x 11 joe.borg root  12K Oct 23 09:56 SuperBuild/
drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/
drwxr-xr-x  2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/
drwxr-xr-x  4 joe.borg root 4.0K Oct 23 09:56 Wrapping/
drwxr-xr-x  3 joe.borg root 4.0K Oct 23 09:56 Common/
drwxr-xr-x  7 joe.borg root 4.0K Oct 23 09:57 Qt/
drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/
drwxr-xr-x  5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/
drwxr-xr-x  9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/
drwxr-xr-x  3 joe.borg root 4.0K Oct 23 10:02 Applications/

Thanks.

Regards,
Joseph David Borġ
http://www.jdborg.com


On 19 October 2012 21:43, Yuanxin Liu  wrote:

> Hi, Joe,
>   Berk reminded me that Andy Bauer has put in some fixes for gradient
> interpolation for pyramids (5a7dc931c54d868).  Since your data contain
> pyramids, this is quite likely the fix for this bug.
> Leo
>
> On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu  wrote:
>
>> Hi, Joe,
>>   It looks like this was indeed a bug in 3.14.1 but the bug has been
>> fixed in the current development branch. I am not entirely sure which
>> commit explicitly did it.
>>
>> Leo
>>
>> On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ  wrote:
>>
>>> Hi,
>>>
>>> I am using 3.14.1 64-bit on a single core (if I enable multi-core, it
>>> becomes very unstable).
>>>
>>> Adding tets to this small case works, but I've got a bigger duct with a
>>> more refined mesh and adding tets don't fix the problem (make it better
>>> though).
>>>
>>> See attached PVSM.
>>>
>>>
>>>
>>> Regards,
>>> Joseph David Borġ
>>> http://www.jdborg.com
>>>
>>>
>>> On 18 October 2012 19:00, Yuanxin Liu  wrote:
>>>
>>>> No, I did not use Tetrahedralize.
>>>>
>>>> Are you using the lastest development version?  Are you running
>>>> paraview as a single process?
>>>>
>>>> Do you mind saving a state file of your session and post it?
>>>>
>>>> thanks!
>>>>
>>>> Leo
>>>>
>>>>
>>>>
>>>> On Thu, Oct 18, 2012 at 4:31 AM, Joe Borġ  wrote:
>>>>
>>>>> Hi Leo,
>>>>>
>>>>> You don't seem to have used the Tetrahedralise filter?  How have you
>>>>> got this to work without that?
>>>>>
>>>>> Mine works fine after setting the fluid as input and source as the
>>>>> inlet, but I must first use the Tetrahedralise filter.
>>>>>
>>>>>
>>>>> Regards,
>>>>> Joseph David Borġ
>>>>> http://www.jdborg.com
>>>>>
>>>>>
>>>>> On 17 October 2012 18:14, Yuanxin Liu  wrote:
>>>>>
>>>>>> Hi Joe,
>>>>>>
>>>>>> I am not seeing exactly what you are seeing.  In the attached image
>>>>>> produced with the current master, I created a stream tracer with outlet
>>>>>> block as the seeds and the fluid block as the input, and the streamlines
>>>>>> seem right.
>>>>>>
>>>>>> But I think there is a bug in how the stream tracer handles
>>>>>> multiblock data, because if I change the stream tracer input to the whole
>>>>>> pipe data set, instead of just the fluid block, some stream lines go
>>>>>> straight to the void like you described.
>>>>>>

Re: [Paraview] Inconsistent results with the stream trace filter

2012-10-24 Thread Joe Borġ
Hi guys, sorry to keep finding problems, but I'm stuck here:

  X11_Xt_LIB could not be found.  Required for VTK X lib.

Can you give me an example of a lib that should be in there so I can search
for that to get the dir please?


Regards,
Joseph David Borġ
http://www.jdborg.com


On 23 October 2012 13:55, Utkarsh Ayachit wrote:

> Joe,
>
> Use the latest revision of the wiki page to build the source from
> git-master (http://paraview.org/Wiki/ParaView:Build_And_Install).
>
> Utkarsh
>
> On Tue, Oct 23, 2012 at 7:18 AM, Joe Borġ  wrote:
> > Thanks for the info Leo,
> >
> > I am, however, having trouble building the source that I've downloaded.
> >
> > Could you point me to any instructions on how to build?
> >
> http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Install&oldid=46445#On_Unix-like_operating_systems_2
> > doesn't seem to tie up with the files I get.
> >
> > These are the files I've pulled from Git:
> >
> > -rw-r--r--  1 joe.borg root  364 Oct 23 09:43
> ParaViewConfigVersion.cmake.in
> > -rw-r--r--  1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in
> > -rw-r--r--  1 joe.borg root  15K Oct 23 09:43 License_v1.2.txt
> > -rw-r--r--  1 joe.borg root  583 Oct 23 09:43 DartConfig.cmake
> > -rw-r--r--  1 joe.borg root  539 Oct 23 09:43 CTestConfig.cmake
> > -rw-r--r--  1 joe.borg root  24K Oct 23 09:43 CMakeLists.txt
> > -rw-r--r--  1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in
> > -rw-r--r--  1 joe.borg root 5.0K Oct 23 09:43 cave.pvx
> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:54 Examples/
> > drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/
> > drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/
> > drwxr-xr-x  2 joe.borg root  12K Oct 23 09:56 CMake/
> > drwxr-xr-x 11 joe.borg root  12K Oct 23 09:56 SuperBuild/
> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/
> > drwxr-xr-x  2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/
> > drwxr-xr-x  4 joe.borg root 4.0K Oct 23 09:56 Wrapping/
> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 09:56 Common/
> > drwxr-xr-x  7 joe.borg root 4.0K Oct 23 09:57 Qt/
> > drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/
> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/
> > drwxr-xr-x  9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/
> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 10:02 Applications/
> >
> > Thanks.
> >
> >
> > Regards,
> > Joseph David Borġ
> > http://www.jdborg.com
> >
> >
> > On 19 October 2012 21:43, Yuanxin Liu  wrote:
> >>
> >> Hi, Joe,
> >>   Berk reminded me that Andy Bauer has put in some fixes for gradient
> >> interpolation for pyramids (5a7dc931c54d868).  Since your data contain
> >> pyramids, this is quite likely the fix for this bug.
> >> Leo
> >>
> >> On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu 
> wrote:
> >>>
> >>> Hi, Joe,
> >>>   It looks like this was indeed a bug in 3.14.1 but the bug has been
> >>> fixed in the current development branch. I am not entirely sure which
> commit
> >>> explicitly did it.
> >>>
> >>> Leo
> >>>
> >>> On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ  wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> I am using 3.14.1 64-bit on a single core (if I enable multi-core, it
> >>>> becomes very unstable).
> >>>>
> >>>> Adding tets to this small case works, but I've got a bigger duct with
> a
> >>>> more refined mesh and adding tets don't fix the problem (make it
> better
> >>>> though).
> >>>>
> >>>> See attached PVSM.
> >>>>
> >>>>
> >>>>
> >>>> Regards,
> >>>> Joseph David Borġ
> >>>> http://www.jdborg.com
> >>>>
> >>>>
> >>>> On 18 October 2012 19:00, Yuanxin Liu  wrote:
> >>>>>
> >>>>> No, I did not use Tetrahedralize.
> >>>>>
> >>>>> Are you using the lastest development version?  Are you running
> >>>>> paraview as a single process?
> >>>>>
> >>>>> Do you mind saving a state file of your session and post it?
> >>>>>
> >>>>> thanks!
> >>>>>
> >>>>> Leo
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Thu, Oct 18, 

Re: [Paraview] Inconsistent results with the stream trace filter

2012-10-24 Thread Joe Borġ
Ok, looking at the superbuild.  I'm behind a firewall, so all git commands
need to be over http:// rather than git://

Which makefile can I mod this path in?

[ 90%] Performing download step (git clone) for 'paraview'
Initialized empty Git repository in
/cfd/software/ParaView/ParaView-3.14.1-SuperBuild/build/paraview/src/paraview/.git/
error: RPC failed; result=22, HTTP code = 407


Regards,
Joseph David Borġ
http://www.jdborg.com


On 24 October 2012 16:01, Utkarsh Ayachit wrote:

> This include libXt.so and include files such as
> /usr/include/X11/Core.h. On debian-based systems, it's available as
> the package "libxt-dev". Also you can try the nightly binaries
> directly, if you don't want to build from source. The instructions to
> download the binaries are:
> http://paraview.org/Wiki/ParaView/Superbuild#Obtaining_the_source
>
> On Wed, Oct 24, 2012 at 10:47 AM, Joe Borġ  wrote:
> > Hi guys, sorry to keep finding problems, but I'm stuck here:
> >
> >   X11_Xt_LIB could not be found.  Required for VTK X lib.
> >
> > Can you give me an example of a lib that should be in there so I can
> search
> > for that to get the dir please?
> >
> >
> >
> > Regards,
> > Joseph David Borġ
> > http://www.jdborg.com
> >
> >
> > On 23 October 2012 13:55, Utkarsh Ayachit 
> > wrote:
> >>
> >> Joe,
> >>
> >> Use the latest revision of the wiki page to build the source from
> >> git-master (http://paraview.org/Wiki/ParaView:Build_And_Install).
> >>
> >> Utkarsh
> >>
> >> On Tue, Oct 23, 2012 at 7:18 AM, Joe Borġ  wrote:
> >> > Thanks for the info Leo,
> >> >
> >> > I am, however, having trouble building the source that I've
> downloaded.
> >> >
> >> > Could you point me to any instructions on how to build?
> >> >
> >> >
> http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Install&oldid=46445#On_Unix-like_operating_systems_2
> >> > doesn't seem to tie up with the files I get.
> >> >
> >> > These are the files I've pulled from Git:
> >> >
> >> > -rw-r--r--  1 joe.borg root  364 Oct 23 09:43
> >> > ParaViewConfigVersion.cmake.in
> >> > -rw-r--r--  1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in
> >> > -rw-r--r--  1 joe.borg root  15K Oct 23 09:43 License_v1.2.txt
> >> > -rw-r--r--  1 joe.borg root  583 Oct 23 09:43 DartConfig.cmake
> >> > -rw-r--r--  1 joe.borg root  539 Oct 23 09:43 CTestConfig.cmake
> >> > -rw-r--r--  1 joe.borg root  24K Oct 23 09:43 CMakeLists.txt
> >> > -rw-r--r--  1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in
> >> > -rw-r--r--  1 joe.borg root 5.0K Oct 23 09:43 cave.pvx
> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:54 Examples/
> >> > drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/
> >> > drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/
> >> > drwxr-xr-x  2 joe.borg root  12K Oct 23 09:56 CMake/
> >> > drwxr-xr-x 11 joe.borg root  12K Oct 23 09:56 SuperBuild/
> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/
> >> > drwxr-xr-x  2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/
> >> > drwxr-xr-x  4 joe.borg root 4.0K Oct 23 09:56 Wrapping/
> >> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 09:56 Common/
> >> > drwxr-xr-x  7 joe.borg root 4.0K Oct 23 09:57 Qt/
> >> > drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/
> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/
> >> > drwxr-xr-x  9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/
> >> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 10:02 Applications/
> >> >
> >> > Thanks.
> >> >
> >> >
> >> > Regards,
> >> > Joseph David Borġ
> >> > http://www.jdborg.com
> >> >
> >> >
> >> > On 19 October 2012 21:43, Yuanxin Liu  wrote:
> >> >>
> >> >> Hi, Joe,
> >> >>   Berk reminded me that Andy Bauer has put in some fixes for gradient
> >> >> interpolation for pyramids (5a7dc931c54d868).  Since your data
> contain
> >> >> pyramids, this is quite likely the fix for this bug.
> >> >> Leo
> >> >>
> >> >> On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu 
> >> >> wrote:
> >> >>>
> >> >>> Hi, Joe,
> >> >>>   It looks like this was 

Re: [Paraview] Inconsistent results with the stream trace filter

2012-11-01 Thread Joe Borġ
Hi Everyone,

Seems the latest build (please check build number) has kept the problem.

http://jdborg.com/images/paraview/pv_test.png

Thanks,
Joe



Regards,
Joseph David Borġ
http://www.jdborg.com


On 19 October 2012 17:05, Yuanxin Liu  wrote:

> Hi, Joe,
>   It looks like this was indeed a bug in 3.14.1 but the bug has been fixed
> in the current development branch. I am not entirely sure which commit
> explicitly did it.
>
> Leo
>
> On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ  wrote:
>
>> Hi,
>>
>> I am using 3.14.1 64-bit on a single core (if I enable multi-core, it
>> becomes very unstable).
>>
>> Adding tets to this small case works, but I've got a bigger duct with a
>> more refined mesh and adding tets don't fix the problem (make it better
>> though).
>>
>> See attached PVSM.
>>
>>
>>
>> Regards,
>> Joseph David Borġ
>> http://www.jdborg.com
>>
>>
>> On 18 October 2012 19:00, Yuanxin Liu  wrote:
>>
>>> No, I did not use Tetrahedralize.
>>>
>>> Are you using the lastest development version?  Are you running paraview
>>> as a single process?
>>>
>>> Do you mind saving a state file of your session and post it?
>>>
>>> thanks!
>>>
>>> Leo
>>>
>>>
>>>
>>> On Thu, Oct 18, 2012 at 4:31 AM, Joe Borġ  wrote:
>>>
>>>> Hi Leo,
>>>>
>>>> You don't seem to have used the Tetrahedralise filter?  How have you
>>>> got this to work without that?
>>>>
>>>> Mine works fine after setting the fluid as input and source as the
>>>> inlet, but I must first use the Tetrahedralise filter.
>>>>
>>>>
>>>> Regards,
>>>> Joseph David Borġ
>>>> http://www.jdborg.com
>>>>
>>>>
>>>> On 17 October 2012 18:14, Yuanxin Liu  wrote:
>>>>
>>>>> Hi Joe,
>>>>>
>>>>> I am not seeing exactly what you are seeing.  In the attached image
>>>>> produced with the current master, I created a stream tracer with outlet
>>>>> block as the seeds and the fluid block as the input, and the streamlines
>>>>> seem right.
>>>>>
>>>>> But I think there is a bug in how the stream tracer handles multiblock
>>>>> data, because if I change the stream tracer input to the whole pipe data
>>>>> set, instead of just the fluid block, some stream lines go straight to the
>>>>> void like you described.
>>>>>
>>>>> Can you try setting up the pipeline as I did using ExtractBlock and
>>>>> compare with my image?
>>>>>
>>>>> Leo
>>>>>
>>>>> On Wed, Oct 17, 2012 at 10:51 AM, Magician  wrote:
>>>>>
>>>>>> Hi Joe,
>>>>>>
>>>>>>
>>>>>> "Tetrahedralize" filter is applicable.
>>>>>> All cells are splitted into Tetrahedral ones.
>>>>>> Try it.
>>>>>>
>>>>>>
>>>>>> Magician
>>>>>>
>>>>>>
>>>>>> On 2012/10/17, at 23:40, Joe Borġ wrote:
>>>>>>
>>>>>> > Thanks Magician,
>>>>>> >
>>>>>> > Thanks for testing.  What are you using to convert to tet?  Is it a
>>>>>> ParaView feature?
>>>>>> >
>>>>>> > Leo, can the priority of the bug be raised please?
>>>>>> >
>>>>>> >
>>>>>> > Regards,
>>>>>> > Joseph David Borġ
>>>>>> > http://www.jdborg.com
>>>>>> >
>>>>>> >
>>>>>> > On 17 October 2012 14:20, Magician  wrote:
>>>>>> > Hi Joseph,
>>>>>> >
>>>>>> >
>>>>>> > I tried your data and got a result as yours.
>>>>>> > Your data only includes Hex, Wedge, Tet and Pyramid,
>>>>>> > but streamlines are stopped earlier.
>>>>>> >
>>>>>> > Same as my polyhedral pipe sample, I applied Tetrahedralize filter
>>>>>> > to your pipe source, and I could get valid streamlines.
>>>>>> >
>>>>>> >
>>>>>> > Magician
>>>>>> >
>>&

Re: [Paraview] problem using 'stream tracer with custom source' filter

2012-11-01 Thread Joe Borġ
Hi Hang,

I had the same issue, try using the Tetrahedralize filter before the
extracts.



Regards,
Joseph David Borġ
http://www.jdborg.com


On 23 October 2012 21:21, Hang Deng  wrote:

> Dear all,
>
> I was trying to plot streamlines in paraview (3.10.1 64bit) for my
> openfoam cases. What I did is to import the inlet and internalmesh
> separately, apply 'mask point' on the inlet, and use filter 'stream tracer
> with custom source', with mask point as source and internalmesh as the
> input. At some point, I got a satisfactory streamline plot, everything
> looks nice. However, I could not duplicate the plot. I went back and did
> everything the same, the resultant streamlines became extremely short, only
> 1/10 of length of the flow pathway. And tuning the parameters didn't give
> me better results either.
>
> Anyone has any idea on why this happens or how to make a streamline in
> paraview correctly?
>
> I truly appreciate your help.
>
> Best,
>
> Hang
>
> ___
> 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] Inconsistent results with the stream trace filter

2012-11-05 Thread Joe Borġ
Yes, you're right.  After increasing that, I get the result I expect.

Thanks for this fix, it's very helpful.



Regards,
Joseph David Borġ
http://www.jdborg.com


On 2 November 2012 16:36, Yuanxin Liu  wrote:

> I assume you are using the same parameters?  In particular,  did you set
> the Maximum Streamline Length to be large enough?  The default is too
> small.
>
> Leo
>
>
> On Thu, Nov 1, 2012 at 12:04 PM, Joe Borġ  wrote:
>
>> Hi Everyone,
>>
>> Seems the latest build (please check build number) has kept the problem.
>>
>> http://jdborg.com/images/paraview/pv_test.png
>>
>> Thanks,
>> Joe
>>
>>
>>
>> Regards,
>> Joseph David Borġ
>> http://www.jdborg.com
>>
>>
>> On 19 October 2012 17:05, Yuanxin Liu  wrote:
>>
>>> Hi, Joe,
>>>   It looks like this was indeed a bug in 3.14.1 but the bug has been
>>> fixed in the current development branch. I am not entirely sure which
>>> commit explicitly did it.
>>>
>>> Leo
>>>
>>> On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ  wrote:
>>>
>>>> Hi,
>>>>
>>>> I am using 3.14.1 64-bit on a single core (if I enable multi-core, it
>>>> becomes very unstable).
>>>>
>>>> Adding tets to this small case works, but I've got a bigger duct with a
>>>> more refined mesh and adding tets don't fix the problem (make it better
>>>> though).
>>>>
>>>> See attached PVSM.
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Joseph David Borġ
>>>> http://www.jdborg.com
>>>>
>>>>
>>>> On 18 October 2012 19:00, Yuanxin Liu  wrote:
>>>>
>>>>> No, I did not use Tetrahedralize.
>>>>>
>>>>> Are you using the lastest development version?  Are you running
>>>>> paraview as a single process?
>>>>>
>>>>> Do you mind saving a state file of your session and post it?
>>>>>
>>>>> thanks!
>>>>>
>>>>> Leo
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Oct 18, 2012 at 4:31 AM, Joe Borġ  wrote:
>>>>>
>>>>>> Hi Leo,
>>>>>>
>>>>>> You don't seem to have used the Tetrahedralise filter?  How have you
>>>>>> got this to work without that?
>>>>>>
>>>>>> Mine works fine after setting the fluid as input and source as the
>>>>>> inlet, but I must first use the Tetrahedralise filter.
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Joseph David Borġ
>>>>>> http://www.jdborg.com
>>>>>>
>>>>>>
>>>>>> On 17 October 2012 18:14, Yuanxin Liu  wrote:
>>>>>>
>>>>>>> Hi Joe,
>>>>>>>
>>>>>>> I am not seeing exactly what you are seeing.  In the attached image
>>>>>>> produced with the current master, I created a stream tracer with outlet
>>>>>>> block as the seeds and the fluid block as the input, and the streamlines
>>>>>>> seem right.
>>>>>>>
>>>>>>> But I think there is a bug in how the stream tracer handles
>>>>>>> multiblock data, because if I change the stream tracer input to the 
>>>>>>> whole
>>>>>>> pipe data set, instead of just the fluid block, some stream lines go
>>>>>>> straight to the void like you described.
>>>>>>>
>>>>>>> Can you try setting up the pipeline as I did using ExtractBlock and
>>>>>>> compare with my image?
>>>>>>>
>>>>>>> Leo
>>>>>>>
>>>>>>> On Wed, Oct 17, 2012 at 10:51 AM, Magician wrote:
>>>>>>>
>>>>>>>> Hi Joe,
>>>>>>>>
>>>>>>>>
>>>>>>>> "Tetrahedralize" filter is applicable.
>>>>>>>> All cells are splitted into Tetrahedral ones.
>>>>>>>> Try it.
>>>>>>>>
>>>>>>>>
>>>>>>>> Magician
>>>>>>>>
>>>>>>>>
>>>>>>>> On 2012/10/17, at 23:40, Joe Borġ wrote

[Paraview] Can you use bands in colour maps?

2012-11-06 Thread Joe Borġ
Hi All,

By default, all the colour maps in ParaView are continuous between points.
I'd like to have only one colour in between points I set in the XML map, is
this possible?


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] Converting an XML colour scale to a list for RGBPoints in batch

2012-11-06 Thread Joe Borġ
In the GUI, this is easy, you just click "Edit color map" -> "Choose
preset" -> "Import", select the xml file and you're away.  I can't seem to
be able to do this in batch though.  Is there any way I can?

Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] Can you use bands in colour maps?

2012-11-07 Thread Joe Borġ
Hi David,

Thanks for the reply.  I got the desired effect with the "Use Discrete
Colors" method.

I'll look forward to the later release with the discrete maps.

Cheers,
Joe



Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 November 2012 00:46, David Thompson  wrote:

> Hi Joe,
>
> > By default, all the colour maps in ParaView are continuous between
> points.  I'd like to have only one colour in between points I set in the
> XML map, is this possible?
>
> In the current release of ParaView, you can click on the "Edit color map"
> button in the toolbar and turn on "Use Discrete Colors" in the color
> editor. By changing the number of colors with the neighboring slider,
> uniform ranges of scalar values will be assigned a single color.
>
> In an upcoming release, discrete color maps will be available. Discrete
> colormaps do not interpolate colors; instead they are looked up in a table,
> so a single large difference in values will not force any small variations
> to be lumped into a single color band. However, this requires your scalar
> field to take on a small number of distinct values (32 or fewer); colors
> are assigned to a single value, not a range.
>
> To map non-uniform ranges of values to a single color each, you really
> should create a derived, integer-valued variable and use it for coloring --
> regardless of whether you use continuous colormaps in the current release
> or plan to use categorical color maps later. The calculator filter's floor,
> ceil, and round functions might be worth a try in creating the derived
> field; if there's not a simple expression to convert each range of interest
> to an integer, the Python calculator will let you apply a tabular function.
>
> Finally, it *may* also be possible to achieve what you desire with a
> custom XML color map by placing control points with different colors very
> close to each other to create a discontinuous color map. This would be
> difficult to adjust in the color editor should the control points need to
> be repositioned, but might be the easiest thing to do if the bands are
> fixed values or fixed fractions of the total range.
>
> 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] problem compiling Qt 4.6.2 (Ubuntu / Mint)

2012-11-07 Thread Joe Borġ
If it helps, I've installed the latest Qt (4.8.3) before compiling and it
worked fine.





Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 November 2012 10:25, Herbert J. MUTHSAM
wrote:

> Hi,
>
> when trying to install Qt 4.6.2 for later on compiling Paraview I seem
> to run in a problem with qcups (error messages at the end).
>
> OS Ubuntu 12.04 (rather Linux Mint Maya) 64 bit
> according to the synaptic package manager anything it list when entering
> cups is up to date, as is the system.
>
> Out of a few messages in the internet which seem related I could not
> really make a sense.
>
> The error messages are these:
>
> In file included from ../../include/QtGui/private/qcups_p.h:1:0, from
> painting/qpdf.cpp:47:
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:78:11:
> error: ‘ppd_file_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:80:11:
> error: ‘ppd_file_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:81:11:
> error: ‘ppd_option_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:84:11:
> error: ‘ppd_option_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:34:
> error: ISO C++ forbids declaration of ‘type name’ with no type
> [-fpermissive]
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:47:
> error: template argument 1 is invalid
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:56:
> error: ‘ppd_group_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:77:
> error: ISO C++ forbids declaration of ‘group’ with no type
> [-fpermissive]
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:62:
> error: ‘ppd_group_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:75:
> error: ISO C++ forbids declaration of ‘group’ with no type
> [-fpermissive]
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:108:11:
> error: ‘ppd_option_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:110:5:
> error: ‘ppd_file_t’ does not name a type
> painting/qpdf.cpp: In member function ‘virtual void
> QPdfBaseEngine::setProperty(QPrintEngine::PrintEnginePropertyKey, const
> QVariant&)’:
> painting/qpdf.cpp:1460:5: warning: case value ‘65024’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1454:5: warning: case value ‘65025’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1457:5: warning: case value ‘65026’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1463:5: warning: case value ‘65027’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp: In member function ‘virtual QVariant
> QPdfBaseEngine::property(QPrintEngine::PrintEnginePropertyKey) const’:
> painting/qpdf.cpp:1563:5: warning: case value ‘65024’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1557:5: warning: case value ‘65025’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1560:5: warning: case value ‘65026’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1566:5: warning: case value ‘65027’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> make1: *** [.obj/release-shared/qpdf.o] Error 1
> make1: Leaving directory
>
> `/media/truecrypt1/aaa_AKTUELL/ParaViewQt/qt-everywhere-opensource-src-4.6.2/src/gui’
> make: *** [sub-gui-make_default-ordered] Error 2
>
> Thanks for help,
>
> Herbert
>
> --
> Herbert J. MUTHSAM   herbert.muth...@univie.ac.at
> ACOREhttp://www.univie.ac.at/acore
> Faculty of Mathematics   University of Vienna
>
> ___
> 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] Converting an XML colour scale to a list for RGBPoints in batch

2012-11-08 Thread Joe Borġ
Hi David,

All you get with that is the RGBPoints=[] (with populated RGB values), but
not showing the actual method to convert the XML file into RGB values.



Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 November 2012 16:58, David Thompson  wrote:

> Hi Joe,
>
> > In the GUI, this is easy, you just click "Edit color map" -> "Choose
> preset" -> "Import", select the xml file and you're away.  I can't seem to
> be able to do this in batch though.  Is there any way I can?
>
> I don't know of a way offhand, but you might try using Tools->Start Trace
> and Tools->Stop Trace to load a dataset and import a colormap to color it.
> That's how I discover Python equivalents for many things in ParaView.
>
> 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] ANN: ParaView 3.98.0, Release Candidate 1 now available for download

2012-11-08 Thread Joe Borġ
Should we write down bugs here or in Mantis?



Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 November 2012 19:40, Utkarsh Ayachit wrote:

> Folks,
>
> In preparation of the next ParaView release, the ParaView 3.98.0, RC1 is
> now available for download (
> http://paraview.org/paraview/resources/software.php).
>
> We will have a detailed summary for the new features and enhancements in
> this release soon. In the mean time, a complete list of features
> implemented and bugs fixed in this release can be found on the bug tracker (
> http://paraview.org/Bug/changelog_page.php).
>
> A couple of caveats about the binaries currently uploaded at this time:
> - We are awaiting 32-bit Linux binaries. They will be uploaded within the
> next day or so.
> - MacOSX binaries currently don't support Mountain Lion (10.8). We're
> working on a fix and we will have updated binaries soon. The current
> binaries work on Snow Leopard (10.6) and Lion (10.7).
>
> The ParaView Team
>
> ___
> 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] Extract indices not allowing multiple selection in 3.98

2012-11-08 Thread Joe Borġ
The screenshot posted to http://paraview.org/Bug/view.php?id=13630 shows
the correct functionality in 3.14. This same, drag to select multiple,
feature is not working in 3.98. On the surface, very trivial, but uses up a
lot of time on large cases.

Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] PV 3.98 Large geometry representation being set to surface instead of outline by default

2012-11-08 Thread Joe Borġ
In ParaView 3.14, if you load a large dataset, the representation would
automatically be set to "Outline". If the dataset was smaller, or you use
ExtractBlock to get the size down, ParaView selects "Surface" by default.
In 3.98 however, everything is set to "Surface", so if you load a dataset
with a huge flow field, it takes ages to load or crashes.

See http://paraview.org/Bug/view.php?id=13632


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] Equivalent to GetRenderView.ViewSize for CreateXYPlotView

2012-11-21 Thread Joe Borġ
It seems to be a valid attribute (CreateXYPlotView.ViewSize), but it's not
having any affect when the image is saved (they all come out in the default
300x300.

For a normal 3D view, this would be GetRenderView.ViewSize = [1200, 800],
for example.  But how is this done whilst in plot view?

Thanks.


Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] [ParaViewWeb]

2012-11-28 Thread Joe Borġ
Hi All,

I'm trying to install ParaViewWeb.  If I launch any of the example classes,
I get

Error: ReferenceError: Paraview is not defined

Has anyone got any ideas on what I've missed?

Thanks,

Regards,
Joseph David Borġ
http://www.jdborg.com
___
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] [ParaViewWeb]

2012-11-29 Thread Joe Borġ
Hi Seb,

I've followed this
http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package step by
step, without any obvious issues.  It's being run as my user, so hopefully
isn't a permissions problem.

This is on CentOS 6.1

Thanks for the help,



Regards,
Joseph David Borġ
http://www.jdborg.com


On 28 November 2012 18:52, Sebastien Jourdain <
sebastien.jourd...@kitware.com> wrote:

> Hi Joe,
>
> Could you explain slightly what you've done so far to install and run the
> examples ?
> Moreover, are you running tomcat as your user or are you relying on the
> system package of your linux box ?
> Oh wait, what OS are you trying that out ?
>
> Thanks,
>
> Seb
>
>
>
> On Wed, Nov 28, 2012 at 10:04 AM, Joe Borġ  wrote:
>
>> Hi All,
>>
>> I'm trying to install ParaViewWeb.  If I launch any of the example
>> classes, I get
>>
>> Error: ReferenceError: Paraview is not defined
>>
>> Has anyone got any ideas on what I've missed?
>>
>> Thanks,
>>
>> Regards,
>> Joseph David Borġ
>> http://www.jdborg.com
>>
>> ___
>> 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] [ParaViewWeb]

2012-11-29 Thread Joe Borġ
Seb,

Further to this, (if I open in Chrome) I get this error Resource Not Found:
http://localhost:8080/PWService/js/ParaViewWeb.js.  I can confirm that the
file is where it should be and is 775, so should be fine.  If I try and go
to that address, I get 404 from Tomcat:

HTTP Status 404 -
--

*type* Status report

*message*

*description* *The requested resource () is not available.*
--
 Apache Tomcat/6.0.24



Regards,
Joseph David Borġ
http://www.jdborg.com


On 29 November 2012 11:45, Joe Borġ  wrote:

> Hi Seb,
>
> I've followed this
> http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package step
> by step, without any obvious issues.  It's being run as my user, so
> hopefully isn't a permissions problem.
>
> This is on CentOS 6.1
>
> Thanks for the help,
>
>
>
> Regards,
> Joseph David Borġ
> http://www.jdborg.com
>
>
> On 28 November 2012 18:52, Sebastien Jourdain <
> sebastien.jourd...@kitware.com> wrote:
>
>> Hi Joe,
>>
>> Could you explain slightly what you've done so far to install and run the
>> examples ?
>> Moreover, are you running tomcat as your user or are you relying on the
>> system package of your linux box ?
>> Oh wait, what OS are you trying that out ?
>>
>> Thanks,
>>
>> Seb
>>
>>
>>
>> On Wed, Nov 28, 2012 at 10:04 AM, Joe Borġ  wrote:
>>
>>> Hi All,
>>>
>>> I'm trying to install ParaViewWeb.  If I launch any of the example
>>> classes, I get
>>>
>>> Error: ReferenceError: Paraview is not defined
>>>
>>> Has anyone got any ideas on what I've missed?
>>>
>>> Thanks,
>>>
>>> Regards,
>>> Joseph David Borġ
>>> http://www.jdborg.com
>>>
>>> ___
>>> 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] Pvbatch 4.1.0 core dumps when loading LIC plugin on server and client

2014-04-16 Thread Joe Borġ
 Create a Python file with the following commands:

from paraview.simple import *

print 'Loading on server...'
LoadPlugin('/opt/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/libSurfaceLIC.so',
True, globals())
print '...loaded.'
print 'Loading on client...'
LoadPlugin('/opt/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/libSurfaceLIC.so',
False, globals())
print '...loaded.

And then run it to see:

$ pvbatch pv_lic_plugin_test.py
Loading on server...
...loaded.
Loading on client...
Segmentation fault (core dumped)

It doesn't work the other way around, either.

Thanks,
Joe
___
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] Optimise PNGs

2014-04-16 Thread Joe Borġ
Currently, when running pvbatch, I am running a thread with optipng
running.  When an image is saved from ParaView, optipng picks the image up
and optimises it.

Just wondering why there is no built in PNG optimisation?  I'm saving ~50%
per image.


Regards,
Joseph David Borġ
josephb.org
___
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