Re: [Paraview] Determine ParaView installation directory in Windows

2010-09-03 Thread Андрей Траченко
Thank you Robert, it works for me! Currently it's an experimental
minor feature in the application, so I don't care if there are
multiple installations of ParaView. (it's great when you can just
click a button and open your data in PV)

Andrew

2010/8/27 Robert Maynard :
> Hello,
> You have to go through the registry to find the correct path to the ParaView
> installation. You will also have to consider
> multiple installations of ParaView.
>
> HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Kitware Inc.\ParaView 3.8.X (64bit
> machines single user install)
> HKEY_CURRENT_USER\SOFTWARE\Kitware Inc.\ParaView 3.8.X (32bit machines
> single user install)
> HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Kitware Inc.\ParaView 3.8.X (64bit
> machines all users)
> HKEY_LOCAL_MACHINE\SOFTWARE\Kitware Inc.\ParaView 3.8.X (32bit machines all
> users)
>
> 2010/8/27 Андрей Траченко 
>>
>> Hello,
>>
>> In my application I'd like to have a "View in ParaView" button. Is
>> there a reliable way to determine path to ParaView in Windows? Should
>> I use registry, search it manually in Program Files or anywhere else?
>>
>> Thank you!
>> Andrew
>> ___
>> 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
>
>
>
> --
> Robert Maynard
>
___
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] Problems with Surface LIC

2010-09-03 Thread Richard GRENON

David E DeMarle wrote:

GPU drivers are frequently buggy. It is one of the reasons why they
come out so frequently.
  

Thank you for the answer.
So the GPU rule seems to be: "When you have got a good driver for LIC, 
please don't update it!" :D
These are not good news for people depending on system administrators 
who may have planned periodic GPU updates (although the period between 
two updates may be very long!) and may have other priorities than 
searching for the best driver to make a given software run, especially 
if this is only for a few number of more or less obsolete workstations.

This promises again sweat, blood an tears for some poor LIC users... :D
But indeed, LIC is a great plugin. I got some pretty pictures on some 
workstations and on my home computer (with a good driver!). The LIC 
developers have made a good job, and I hope they will be able to 
increase its robustness in the future releases.


--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:richard.gre...@onera.fr
http://www.onera.fr

___
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] Problems with Surface LIC

2010-09-03 Thread David E DeMarle
GPU drivers are frequently buggy. It is one of the reasons why they
come out so frequently.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Fri, Sep 3, 2010 at 5:35 AM, Richard GRENON  wrote:
> Hi all.
>
> I have often read here that reverting to older GPU drivers solves LIC
> problems.  Updating a GPU driver is supposed to improve the GPU performance.
> So if you have a driver that makes LIC work, I am wondering why LIC may fail
> when updating to the newest GPU drivers? Are those newest drivers some beta
> versions, or does LIC use some OpenGL features that are considered as
> obsolete by the GPU developpers ?
>
> Best regards.
>
> --
> Richard GRENON
> ONERA
> Departement d'Aerodynamique Appliquee - DAAP/ACI
> 8 rue des Vertugadins
> 92190 MEUDON - FRANCE
> phone : +33 1 46 73 42 17
> fax   : +33 1 46 73 41 46
> mailto:richard.gre...@onera.fr
> http://www.onera.fr
>
> ___
> 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] Animating camera in batch mode

2010-09-03 Thread Adriano Gagliardi

Thanks, Jean. I didn't actually check servermanager.animation options to see
what was available. 

Regards,

Adriano


===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 

-Original Message-
From: Favre Jean [mailto:jfa...@cscs.ch] 
Sent: 03 September 2010 13:35
To: agaglia...@ara.co.uk; paraview@paraview.org
Subject: RE: [Paraview] Animating camera in batch mode





I would like to be able to orientate the camera whilst running batch scripts
for generating animations, as you can do in interactive mode. However, I'm
stuck on what to use for the AnimatedProxy. I tried the following and I get
an error message:

#move camera
keyc1 = servermanager.animation.CompositeKeyFrame()
keyc1.Interpolation = "Ramp"
keyc1.KeyTime = 0
keyc1.KeyValues = [0,0,0]
keyc2 = servermanager.animation.CompositeKeyFrame()
keyc2.KeyTime = 1.0
keyc2.KeyValues = [0.1,0,0]

cue2 = servermanager.animation.KeyFrameAnimationCue()
cue2.AnimatedProxy = GetRenderView()
cue2.AnimatedPropertyName = "CameraPosition"
cue2.KeyFrames = [keyc1,keyc2]

ERROR: In
/usr/people/gagliard/Paraview/FILES/ParaView3-Original/Servers/ServerManager
/vtkSMRampKeyFrameProxy.cxx, line 53
vtkSMRampKeyFrameProxy (0x2aac712b3770): Cue does not have domain or
property set!


May I suggest to use the following:

cue2 = servermanager.animation.CameraAnimationCue()
keyc1 = servermanager.animation.CameraKeyFrame()
keyc2 = servermanager.animation.CameraKeyFrame()

keyc1.ListProperties() will give you all the properties you can animate;

['ClosedFocalPath', 'ClosedPositionPath', 'FocalPathPoints', 'FocalPoint',
'FocalPointMode', 'KeyTime', 'KeyValues', 'ParallelScale', 'Position',
'PositionMode', 'PositionPathPoints', 'ViewAngle', 'ViewUp']

The rest is up to you.
-
Jean M. Favre
Swiss National Supercomputing Center


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

**
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Animating camera in batch mode

2010-09-03 Thread Favre Jean




I would like to be able to orientate the camera whilst running batch scripts
for generating animations, as you can do in interactive mode. However, I'm
stuck on what to use for the AnimatedProxy. I tried the following and I get
an error message:

#move camera
keyc1 = servermanager.animation.CompositeKeyFrame()
keyc1.Interpolation = "Ramp"
keyc1.KeyTime = 0
keyc1.KeyValues = [0,0,0]
keyc2 = servermanager.animation.CompositeKeyFrame()
keyc2.KeyTime = 1.0
keyc2.KeyValues = [0.1,0,0]

cue2 = servermanager.animation.KeyFrameAnimationCue()
cue2.AnimatedProxy = GetRenderView()
cue2.AnimatedPropertyName = "CameraPosition"
cue2.KeyFrames = [keyc1,keyc2]

ERROR: In
/usr/people/gagliard/Paraview/FILES/ParaView3-Original/Servers/ServerManager
/vtkSMRampKeyFrameProxy.cxx, line 53
vtkSMRampKeyFrameProxy (0x2aac712b3770): Cue does not have domain or
property set!


May I suggest to use the following:

cue2 = servermanager.animation.CameraAnimationCue()
keyc1 = servermanager.animation.CameraKeyFrame()
keyc2 = servermanager.animation.CameraKeyFrame()

keyc1.ListProperties() will give you all the properties you can animate;

['ClosedFocalPath', 'ClosedPositionPath', 'FocalPathPoints', 'FocalPoint', 
'FocalPointMode', 'KeyTime', 'KeyValues', 'ParallelScale', 'Position', 
'PositionMode', 'PositionPathPoints', 'ViewAngle', 'ViewUp']

The rest is up to you.
-
Jean M. Favre
Swiss National Supercomputing Center
___
Powered by www.kitware.com

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

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

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


[Paraview] Animating camera in batch mode

2010-09-03 Thread Adriano Gagliardi

I would like to be able to orientate the camera whilst running batch scripts
for generating animations, as you can do in interactive mode. However, I'm
stuck on what to use for the AnimatedProxy. I tried the following and I get
an error message:

#move camera
keyc1 = servermanager.animation.CompositeKeyFrame()
keyc1.Interpolation = "Ramp"
keyc1.KeyTime = 0
keyc1.KeyValues = [0,0,0]
keyc2 = servermanager.animation.CompositeKeyFrame()
keyc2.KeyTime = 1.0
keyc2.KeyValues = [0.1,0,0]

cue2 = servermanager.animation.KeyFrameAnimationCue()
cue2.AnimatedProxy = GetRenderView()
cue2.AnimatedPropertyName = "CameraPosition"
cue2.KeyFrames = [keyc1,keyc2]

ERROR: In
/usr/people/gagliard/Paraview/FILES/ParaView3-Original/Servers/ServerManager
/vtkSMRampKeyFrameProxy.cxx, line 53
vtkSMRampKeyFrameProxy (0x2aac712b3770): Cue does not have domain or
property set!

Any ideas?

Adriano

===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 


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

**
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Problems with Surface LIC

2010-09-03 Thread Richard GRENON

Hi all.

I have often read here that reverting to older GPU drivers solves LIC 
problems.  Updating a GPU driver is supposed to improve the GPU 
performance. So if you have a driver that makes LIC work, I am wondering 
why LIC may fail when updating to the newest GPU drivers? Are those 
newest drivers some beta versions, or does LIC use some OpenGL features 
that are considered as obsolete by the GPU developpers ?


Best regards.

--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:richard.gre...@onera.fr
http://www.onera.fr

___
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