[Paraview] Getting the axis-aligned bounding box of an object with Python

2012-03-03 Thread Olumide

Hi -

Would someone kindly tell me how to compute the axis-aligned bounding 
box of an object with Python.


Thanks,

- Olumide


___
Powered by www.kitware.com

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

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

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


[Paraview] Grouping a texturable and an untexturable object

2012-02-27 Thread Olumide

Hi -

I've got two objects -- vtp meshes actually. One has texture coordinates 
and the other doesn't. I'd like to group both objects and apply a common 
transform to them. Is there a way to do this in Paraview? I've tried 
placing both objects in a pvd file. Unfortunately, this pvd file cannot 
be textured. Is there a way around this problem?


Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Getting Python object reference to representation/proxy of each object loaded in Paraview.

2012-02-27 Thread Olumide

On 2/27/2012 3:00 PM, Deij, Menno wrote:

In that case you want to use a Transform filter. Add it after your
source and
then open the Animation view. In your animation view add the transform
rotation,
for instance Rotate(0). Animate it from the first to the last value in the
desired amount of steps & save the animation.


Thanks.

BTW, how can I get all the sources in a scene, using Python.

___
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] Getting Python object reference to representation/proxy of each object loaded in Paraview.

2012-02-27 Thread Olumide

On 27/02/2012 12:59, Deij, Menno wrote:

I'd do something like this:

view = GetRenderView()

for angle in range(0,360,10):
 for rep in view.Representations:
 rep.Orientation = [angle,0,0] #rotate to your liking
 view.StillRender()
 view.WriteImage('image'+str(angle)+'.png', 'vtkPNGWriter', 1)



Thanks Menno. However I'm trying to rotate the objects in the scene and 
not the camera. I've got two objects side by side and I'd like to rotate 
both of them while keeping the camera still.


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

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


[Paraview] Getting Python object reference to representation/proxy of each object loaded in Paraview.

2012-02-27 Thread Olumide

Hi,

I'd like to get the reference to representation or proxy (not sure which 
I need) to each object loaded in Paraview via Python.


The big picture: I'd like to rotate each object stepwise about its 
vertical axis, turntable style. I'm trying to produce an animation. 
Orbiting the camera will merely circle all objects which isn't what I want.


Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] CoProcessing/Client-Server Paraview

2011-03-04 Thread Olumide

Thanks Marion.


Whoops. I meant Pat.

___
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] CoProcessing/Client-Server Paraview

2011-03-04 Thread Olumide

Thanks Marion.

Perhaps the developers would consider a Paraview command port. A frozen 
GUI in the first option is not particularly appealing.


- Olumide
___
Powered by www.kitware.com

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

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

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


[Paraview] CoProcessing/Client-Server Paraview

2011-03-04 Thread Olumide
This email was originally sent as a reply to a thread 
http://markmail.org/message/t22jsckztvnoyafz?q=Paraview started by 
Alexander. For some reason no one responded to my comments. Nevertheless 
the important question Andy Bauer raised is if Paraview is used for 
tasks that do not require the VTK pipeline (paraphrasing). To this I can 
reply and emphatic yes. I use Paraview for visualization because the VTK 
format is the only graphics file format the supports points, line, and 
surfaces and as a ready-made viewer (Paraview). Therefore my programs 
(I'm doing geometry processing) save point, line and surface data as VTK 
files and no pipeline is required -- just a viewer. What would be nice 
would be a *simple* communication mechanism with which my program can 
instruct Paraview to just load processed data as soon as they become 
available.




I'd like to know the difference between CoProcessing and the following 
feature that is currently being implemented:


http://paraview.uservoice.com/forums/11350-general/suggestions/456005-writing-to-paraview-from-an-external-program?ref=title
(an ETA on this feature would be nice)

From a cursory glance and my experience with other 3d apps (namely 
AutoDesk Maya) I find the current CoProcessing(?) implementation a bit 
too complicated.


AutoDesk Maya, a highend 3d animation program, has a commandPort feature 
that very simple to use. All it requires is a single command that 
creates a socket and binds a specified port number to it. Thereafter any 
external app can send commands to Maya in its primary scripting language 
(MEL) and I suspect now also python. For example, I've configured my 
toolchain/IDE (Visual Studio) to send Maya a command, via the 
commandPort channel, to unload plugins before attempting to rebuild 
them. After building the toolchain/IDE sends another command to Maya 
asking it to reload the plugin. Basically, any scripting command that 
Maya accepts can be sent by and external app via the commandPort.


http://download.autodesk.com/us/maya/2011help/CommandsPython/commandPort.html

Can communication between Paraview and external apps be made this simple?



- Olumide


___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Paraview network interface

2011-02-27 Thread Olumide
I'd like to know the difference between CoProcessing and the following 
feature that is currently being implemented:


http://paraview.uservoice.com/forums/11350-general/suggestions/456005-writing-to-paraview-from-an-external-program?ref=title

From a cursory glance and my experience with other 3d apps (namely 
AutoDesk Maya) I find the current CoProcessing(?) implementation a bit 
too complicated.


AutoDesk Maya, a highend 3d animation program, has a commandPort feature 
that very simple to use. All it requires is a single command that 
creates a socket and binds a specified port number to it. Thereafter any 
external app can send commands to Maya in its primary scripting language 
(MEL) and I suspect now also python. For example, I've configured my 
toolchain/IDE (Visual Studio) to send Maya a command, via the 
commandPort channel, to unload plugins before attempting to rebuild 
them. After building the toolchain/IDE sends another command to Maya 
asking it to reload the plugin. Basically, any scripting command that 
Maya accepts can be sent by and external app via the commandPort.


http://download.autodesk.com/us/maya/2011help/CommandsPython/commandPort.html

Can communication between Paraview and external apps be made this simple?

- Olumide


___
Powered by www.kitware.com

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

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

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


[Paraview] Improvement in memory usage (no more leakage)

2010-05-01 Thread Olumide
A few moons ago, I wrote about what seemed to me to be memory leaks in 
Paraview -- that was back in the days of version 3.6.2.

See: http://markmail.org/message/julmjsirhzf3mosz

Fast forwad to today. I've loading datasets in Paraview all day and I'm 
pleased to observe that the memory issues I flagged have gone away. In 
the past I would have had to restart Paraview after a few data loads, 
but that's now a thing of the past, and I would like to thank the 
developers for a job well done.


- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] [Bug] color edits in toolbar not visible in object inspector

2010-04-28 Thread Olumide

Would someone please log the bug  bug.

I would like to do this myself, but I'm having difficulty logging into 
mantis. The first time I tried to create an account, I got no response 
(perhaps the system did not like my number-heavy email address). Now 
mantis tells me that my address is use. I've ask for my password but 
none was mailed to me.


- Olumide

___
Powered by www.kitware.com

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

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

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


Re: [Paraview] [Bug] color edits in toolbar not visible in object inspector

2010-04-28 Thread Olumide
Just to clarify, although a related bug report was filed, the bug has 
not been fixed.


My OP tries to get to the heart of the matter. I believe that the 
problem with saved states is only a side-effect of the problem I 
highlighted.

___
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] [Feature request] Expanding PVD File Components

2010-04-28 Thread Olumide

Thanks.

Erm ... what does a *.vts file look like?

(VTM and VTS files are not described in the file formats document.)
___
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] [Feature request] Expanding PVD File Components

2010-04-26 Thread Olumide

Marsan, what does a VTM file look like?

In addition to expanding the VTP (and VTM) files. It is possible to add 
more object/primitive detail in the statistics inspector. It may useful 
to expand an object so that point values, poly-face coordinates etc. can 
be read/seen.


___
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] [Feature request] Expanding PVD File Components

2010-04-26 Thread Olumide
I don't know what you mean by multiblock dataset, but here's an example 
of how I use PVD files -- to compose multiple files:











It would be nice to be able to expand the PVD file in the pipeline 
browser in order to see its various file components and optionally hide 
some of them. For example, if the view is cluttered, I may wish to 
suppress the display of Data_Patch_1.vtp.


Regards,

- Olumide

___
Powered by www.kitware.com

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

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

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


[Paraview] [Feature request] Expanding PVD File Components

2010-04-25 Thread Olumide

Hi -

Would the developers consider making PVD files expandable (and 
collapsable)? It would be nice to be able to see the contents of a PVD 
file and possible hide/suppress the display of parts of the the PVD 
file. This would be a great way to reduce clutter.


- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] [Bug] color edits in toolbar not visible in object inspector

2010-04-25 Thread Olumide

On 4/26/2010 2:36 AM, Olumide wrote:

I first reported this bug back when 3.6.1 was the current version, but
it appears not to have been fixed in the current version 3.8 (RC1).

Basically, color changes made with in the (active variables) toolbar's
"edit color map" button, are not picked up by object inspector "set
solid color" dialog.


I believe this issue is related to the following bug:
http://www.paraview.org/Bug/view.php?id=9200
___
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] [Bug] color edits in toolbar not visible in object inspector

2010-04-25 Thread Olumide
I first reported this bug back when 3.6.1 was the current version, but 
it appears not to have been fixed in the current version 3.8 (RC1).


Basically, color changes made with in the (active variables) toolbar's 
"edit color map" button, are not picked up by object inspector "set 
solid color" dialog.


To reproduce:

- create a simple object
- using the toolbar, reset the color (to red for example)
- check the color of the object in the object inspector -- the color 
remains the default white.


Note:
- Color changes made with the object inspector register in the toolbar.
- Because the save state file menu option/command saves the color that 
is registered in the object inspector, the default color is saved as 
part of the state, not the new, updated color.


- Olumide





___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Creating Animations in Paraview, where's the Animation Inspector

2010-04-22 Thread Olumide
Thanks. I've experimented with keyframes dialog. And you are right: the 
animation curve isn't nearly as nice as I'd expected.


The standard solution to camera control in 3d software is to give the 
user access to the animation curves created by setting keyframes, so 
that the user than can set or correct the tangent/tension at the keyframes.


Orbits are nice but they are very limited. Paths too are nice but they 
are extremely difficult to create define "by hand". I'd vote for 
animation curves.


- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Creating Animations in Paraview, where's the Animation Inspector

2010-04-22 Thread Olumide
I would like to create an animation in which the camera literally 
inspects various parts my model/scene. The sort of camera paths I need 
to specify are hard to manually describe as an animation curve (even 
very simple camera paths are hard to manually describe as animation 
curves).


Is it possible to manually move the camera to various locations, and set 
a keyframe at each location as is the practice in 3d applications? This 
would be a _lot_ simpler than specifying animation curves by hand.


Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Use existing texture map for 3D surface

2010-04-21 Thread Olumide

HI Eric,

What you see in the image http://tinyurl.com/y3sqtbt are the faces of 
the model in UV space. The image is therefore an explicit specification 
of texture coordinates on a per-face basis. That is to say, the 
representation allows texture coordinates to independently specified for 
each face. And as a result, seams appear in the UV space representation 
whenever a vertex has more than 1 texture coordinate e.g. a diffuerent 
texture coordinate for each face or group of faces.


CGI artists refer to this process of creating this representation as 
UV-unwrapping. See:

http://www.blender.org/development/release-logs/blender-234/uv-unwrapping/

But I see what you mean. It is possible to export each UV patch of my 
model as a different sub-object, where each vertex of the sub-object has 
one texture coordinate.


Back on track ...

Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Export Fullscreen Screenshot/Export Fullscreen Animation

2010-04-20 Thread Olumide

Thanks Alan.

Just to be absolutely sure I'm understood, I'm referring to the ability 
to export screenshots and and animations at fullscreen resolutions.


I'm aware that Paraview 3.8 (RC1) has a fullscreen feature. The problem 
is that its not possible to export screenshots and animations at that 
resolution.


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

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


Re: [Paraview] Use existing texture map for 3D surface

2010-04-20 Thread Olumide

Erm ... it appears I spoke in haste ...

The some of the vertices of the objects I'm trying to texture have more 
than one texture coordinates. For example, refer to the right part of 
the screenshot (not mine): http://tinyurl.com/y3sqtbt


You will see that vertices in the midline of the face gave two texture 
coordinates, while most of the others have just one.


As such a per-face texture mapping will be required. And, from what I 
see of the example written out by Paraview, the one-vertex one-texture 
coordinate approach will not work in this case.


What do you advise?

Thanks,

- Olumide

___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Fullscreen Screenshot/Animation

2010-04-20 Thread Olumide

Does this feature exist?

If not, would Paraview developers kindly consider it for future 
releases? It would be a much welcome.


Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Use existing texture map for 3D surface

2010-04-20 Thread Olumide

Thanks Eric. It worked like magic :) .
___
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] Fullscreen Screenshot/Animation

2010-04-19 Thread Olumide

Hi -

Now that Paraview has a fullscreen feature. Is it possible to save a 
screen shot or export animations at fullscreen resolution?


Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Use existing texture map for 3D surface

2010-04-19 Thread Olumide

Hi Eric,

Thanks for the example. I've textured my very first sphere :)

I've taken another look at the VTK file format and I now realize that it 
is possible embed extra scalar (UV)  information in a VTK/VTP 
file (I'm a novice, but I'm learning).


I've got a mesh with texture coordinates, and I can modify my external 
VTP file writer to embed texture coordinates in my VTP file, so that the 
programmable filter extracts it. Is this the correct approach? And will 
the line:


Uarray = pdi.GetPointData().GetArray('U')

in your script extract U coordinates in the file?

Regards,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Creating Animations in Paraview, where's the Animation Inspector

2010-04-19 Thread Olumide
I'm running Paraview 3.8.0 (RC1). I've found the Animation View and I'm 
trying to figure out how it works.


On a not too unrelated note, is it possible to use the "Record Test" 
Tool feature to record a work session so that it can be rendered out as 
an animation?


Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Use existing texture map for 3D surface

2010-04-19 Thread Olumide

Eric,

I too am interested in texture mapping a 3d mesh object (having texture 
coordinates). How to I use the script you provided?


In addition, I know the mesh can be in PVD format, but how do I specify 
the texture coordinates as well as the texture?


Thanks,

- Olumide


# SCRIPT 
# =
pdi = self.GetPolyDataInput()
pdo = self.GetPolyDataOutput()

numPts = pdi.GetPoints().GetNumberOfPoints()
Uarray = pdi.GetPointData().GetArray('U')
Varray = pdi.GetPointData().GetArray('V')

tc = vtk.vtkDoubleArray()
tc.SetNumberOfComponents(2)
tc.SetNumberOfTuples(numPts)
tc.SetName('TCoords')

for ii in range(numPts):
  Uval = Uarray.GetTuple1(ii)
  Vval = Varray.GetTuple1(ii)
  tc.SetTuple2(ii,Uval,Vval)

pdo.ShallowCopy(pdi)
pdo.GetPointData().AddArray(tc)
pdo.GetPointData().SetActiveTCoords('TCoords')
# =
___
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] Creating Animations in Paraview, where's the Animation Inspector

2010-04-19 Thread Olumide
I'm looking to create animations of datasets in Paraview by settig 
keyframes, and the doc mentions the Animation Inspector (under the view 
menu), but I can't find such an inspector.


Can someone please give me any pointers?

Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


[Paraview] Paraview 3.8 (RC1) -- Feature List?

2010-04-15 Thread Olumide

Hi,

Thanks to all the developers of Paraview. I've just installed the latest 
version 3.8 (RC1), and I can see a few changes a fee changes such as 
fullscreen have been implemented. But I'm not sure what other features 
have been implemented. The fact that we've gone from version 3.6 to 3.8 
suggest that the current release has got a large number of new features. 
It would be nice to have a full feature list (just like Mozilla does 
with Firefox), so that users can know if any long-awaited features have 
been implemented. I for one have been waiting for the native in-situ 
feature. I'd like to have another applications ask Paraview to load a 
new data set as soon as it becomes available. Does Paraview now have 
this feature?


Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


Re: [Paraview] connectiong to pvserver from an external python shell

2010-02-08 Thread Olumide

What's the relationship between this feature and In-situ/co-processing?

If possible, it would be nice to follow progress/status of these 
much-waited features on the developer blog :)


___
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] Tab group in script dialog is not resizable

2010-02-01 Thread Olumide

Hi,

The following screenshot is self-explanatory:
http://i17.photobucket.com/albums/b52/videohead/ParaviewScriptDialog.png

- Olumide

 Possible memory leak in script dialog 


I typically use python to load groups (sometimes up to a dozen) of VTK
files generated by each run of my experiment -- opening files manually
is very tiring. However, whenever I clear the currently displayed files
(using the "delete all" Edit menu option) Paraview never seems to give
back all the memory it allocated. As such, after loading and unloading
10-20 simulations, Paraview's memory consumption is so high that I
either have to terminate the program or it crashes.

Here's the result of my typical run. I saved a small simulation to a
state file and tried opening it and then clearing the data. The reported
data is from the Windows Task manager (for some weird reason the task
manager lists that the memory allocated to the Paraview process is
greater than the process' virtual memory!?)

Initial (new instance of Paraview):
Mem usage: 75,272Kb VM: 56,256Kb

After loading state file:
Mem usage: 89,512Kb VM: 70,224Kb

After deleting all objects
Mem usage: 84,476Kb VM: 65,132Kb

Another run, this time the python scripts are used to load the two
simulation datasets. Growth in memory usage is more aggressive:

Initial (new instance of Paraview):
Mem usage: 75,304Kb VM: 56,276Kb

After loading data set 1 via Python shell/script:
Mem usage: 113,264Kb VM: 88,704Kb

After deleting all objects
Mem usage: 114,456Kb VM: 89,688Kb

After loading dataset 2 via Python shell/script:
Mem usage: 126,116Kb VM: 101,196Kb

After deleting all objects
Mem usage: 126,284Kb VM: 101,388Kb

I'm aware that memory is dynamically allocated for the python shell and
GUI, and their corresponding objects are probably kept in memory to make
future launches of the python shell faster. This would explain why some
memory isn't returned after the initial launch. However as this should
done just once, the memory consumption should not grow each time a
dataset is loaded using a Python script/GUI.

Also, after deleting a dataset and a new one is loaded, the following
the message is frequently displayed.

qDrawShadeRect: Invalid parameters
qDrawShadeRect: Invalid parameters
qDrawShadeRect: Invalid parameters
..
qDrawShadeRect: Invalid parameters
qDrawShadeRect: Invalid parameters

A few other questions/suggestions:

1. Does the python command shell have a "run python script" command? For
example: RunPythonScript("C:/Work/Data/Foo.py"). Such a feature would be
a productivity boost. Clicking on the Tools menu and pressing the run
script button is okay for loading a few datasets but tiring when there
are lots of datasets to be evaluated. Also, it would be nice if the
python command were dockable, with an autohide feature like Visual
studio. Again this would be productivity boost. In fact it would be nice
if most views had an autohide feature. This would be a quick way of
increasing the size of the view window.

2. Does Paraview 3.6.2 have a disable offset feature as
proposed/discussed here (I've searched but I can't find one):
http://tinyurl.com/yf86vwy

3. When can we expect to be able to have an external program send data
to a Paraview, in the manner suggested in the following thread:
http://tinyurl.com/yfdyp7w

I hope I'm not being too greedy. I believe I speak for the entire
community when I say we appreciate all your hard work.

Thanks,

- Olumide

 Original Message 
Subject: Re: [Paraview] Memory leak in Paraview 3.6.1(?)
Date: Mon, 18 Jan 2010 18:30:41 GMT
From: Utkarsh Ayachit (utka...@kitware.com)
List: org.paraview.paraview

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

Utkarsh

On Sat, Jan 16, 2010 at 1:34 AM, Olumide <502...@web.de> wrote:

This issue persists in Paraview 3.6.2, with which I've just viewed a
relatively small data set (one polysphere and about a 40 line segments).
However, after disconnecting the server, thereby unloading the data,
Paraview's memory consumption remains at 103Kb -- that's not right. Why
isn't Paraview releasing memory from purged objects. If it matters, the
objects were imported using a python script.

- Olumide



___
Powered by www.kitware.com

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

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

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


Re: [Paraview] controlling paraview GUI client pipeline from external python script

2010-01-24 Thread Olumide

Hi Boris,

I too would like to see interested such a feature. See my post, 
http://tinyurl.com/yfdyp7w


I recently requested this feature, and it's receiving some attention. 
Check out http://tinyurl.com/ygsp84f and perhaps vote.


- Olumide

 Original Message 
Subject: 	[Paraview] controlling paraview GUI client pipeline from 
external python script

Date:   Fri, 22 Jan 2010 22:37:04 GMT
From:   Boris (bor...@dustomsails.com)
List:   org.paraview.paraview

Hi

I have solver which is often updating data. I would like to extend
paraview so that it can respond to those updates and reload updated
data. My idea create external python script to control paraview GUI
client pipeline and reloads data when data changes. Is that possible and
how (just short guidelines)?

Tnx

Boris

___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Memory leak in Paraview 3.6.1(?)

2010-01-23 Thread Olumide

On 1/23/2010 8:00 AM, Olumide wrote:

Here's the result of my typical run. I saved a small simulation to a
state file and tried opening it and then clearing the data. The reported
data is from the Windows Task manager (for some weird reason the task
manager lists that the memory allocated to the Paraview process is
greater than the process' virtual memory!?)

Initial (new instance of Paraview):
Mem usage: 75,272Mb VM: 56,256Mb

After loading state file:
Mem usage: 89,512Mb VM: 70,224Mb



Small correction. Memory usage values are in Kb, not Mb.

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

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


Re: [Paraview] Memory leak in Paraview 3.6.1(?)

2010-01-23 Thread Olumide

Utkarsh,

I typically use python to load groups (sometimes up to a dozen) of VTK 
files  generated by each run of my experiment -- opening files manually 
is very tiring. However, whenever I clear the currently displayed files 
(using the "delete all" Edit menu option) Paraview never seems to give 
back all the memory it allocated. As such, after loading and unloading 
10-20 simulations, Paraview's memory consumption is so high that I 
either have to terminate the program or it crashes.


Here's the result of my typical run. I saved a small simulation to a 
state file and tried opening it and then clearing the data. The reported 
data is from the Windows Task manager (for some weird reason the task 
manager lists that the memory allocated to the Paraview process is 
greater than the process' virtual memory!?)


Initial (new instance of Paraview):
Mem usage: 75,272Mb  VM: 56,256Mb

After loading state file:
Mem usage: 89,512Mb  VM: 70,224Mb

After deleting all objects
Mem usage: 84,476Mb  VM: 65,132Mb

Another run, this time the python scripts are used to load the two 
simulation datasets. Growth in memory usage is more aggressive:


Initial (new instance of Paraview):
Mem usage: 75,304Mb  VM: 56,276Mb

After loading data set 1 via Python shell/script:
Mem usage: 113,264Mb  VM: 88,704Mb

After deleting all objects
Mem usage: 114,456Mb  VM: 89,688Mb

After loading dataset 2 via Python shell/script:
Mem usage: 126,116Mb  VM: 101,196Mb

After deleting all objects
Mem usage: 126,284Mb  VM: 101,388Mb

I'm aware that memory is dynamically allocated for the python shell and 
GUI, and their corresponding objects are probably kept in memory to make 
future launches of the python shell faster. This would explain why some 
memory isn't returned after the initial launch. However as this should 
done just once, the memory consumption should not grow each time a 
dataset is loaded using a Python script/GUI.


Also, after deleting a dataset and a new one is loaded, the following 
the message is frequently displayed.


qDrawShadeRect: Invalid parameters
qDrawShadeRect: Invalid parameters
qDrawShadeRect: Invalid parameters
..
qDrawShadeRect: Invalid parameters
qDrawShadeRect: Invalid parameters

A few other questions/suggestions:

1. Does the python command shell have a "run python script" command? For 
example: RunPythonScript("C:/Work/Data/Foo.py"). Such a feature would be 
a productivity boost. Clicking on the Tools menu and pressing the run 
script button is okay for loading a few datasets but tiring when there 
are lots of datasets to be evaluated. Also, it would be nice if the 
python command were dockable, with an autohide feature like Visual 
studio. Again this would be productivity boost. In fact it would be nice 
if most views had an autohide feature. This would be a quick way of 
increasing the size of the view window.


2. Does Paraview 3.6.2 have a disable offset feature as 
proposed/discussed here (I've searched but I can't find one):

http://tinyurl.com/yf86vwy

3. When can we expect to be able to have an external program send data 
to a Paraview, in the manner suggested in the following thread:

http://tinyurl.com/yfdyp7w

I hope I'm not being too greedy. I believe I speak for the entire 
community when I say we appreciate all your hard work.


Thanks,

- Olumide

 Original Message 
Subject:Re: [Paraview] Memory leak in Paraview 3.6.1(?)
Date:   Mon, 18 Jan 2010 18:30:41 GMT
From:   Utkarsh Ayachit (utka...@kitware.com)
List:   org.paraview.paraview

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

Utkarsh

On Sat, Jan 16, 2010 at 1:34 AM, Olumide <502...@web.de> wrote:

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

- Olumide

___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Memory leak in Paraview 3.6.1(?)

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


- Olumide

___
Powered by www.kitware.com

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

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

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


[Paraview] Memory leak in Paraview 3.6.1(?)

2010-01-09 Thread Olumide

Hi -

My typical work-flow involves generating a batch of VTK files, for which 
I also generate a python script for the VTK files.


In preparation for the next simulation, I clear Paraview with the 
disconnect icon. My experience with Paraview 3.6.1 in this scenario is 
that, the memory consumption steadily grows, even though no objects 
currently loaded/displayed.


Is there a way to configure Paraview so that it releases memory in the 
same way Firefox can be configured to use less memory (see for example 
http://windhair1000.blogspot.com/2009/03/how-to-fix-firefox-memory-leak.html 
-- BTW, I recently made these changed to my FF config, and it made a 
massive difference).


Thanks,

- Olumide
___
Powered by www.kitware.com

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

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

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


[Paraview] Communicating with a Paraview (GUI) server

2009-10-26 Thread Olumide

Hi -

I'm aware that Paraview operates/implements a client-server paradigm. 
This suggests that it may be possible for an external (e.g. C++ 
application) to communicate with a running instance of Paraview, by 
sending it commands (e.g. open legacy VTK file) via the port attached to 
the server.


I'd appreciate pointers on how to do this.

Thanks,

- Olumide


___
Powered by www.kitware.com

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

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

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


[Paraview] Disabling polygon offset (z-fighting prevention) in Paraview

2009-10-25 Thread Olumide

Hi -

I use Paraview not for visualizing datasets, but for inspecting 
polygonal meshes and the operations I perform on them. My work involves 
computing various points and line segments on meshes, and I use 
VTK/Paraview to see if the points and line segments are where they ought 
to be (if not, I conclude that there's a bug in my code and then proceed 
to hunt it down).



Why I use VTK for this task: VTK is the the only publicly available 3d 
graphics file format I'm aware of that explicitly supports and points, 
lines, and meshes, and has a viewer for viewing these entities. Most 
other 3d graphics file formats either support surfaces alone or have no 
ready-made viewers.



Lately however, upon closer inspection, I've noticed that many of the 
points and line segments that I compute appear to hover above the mesh 
they are computed from and never quite touch it, and points never seem 
to lie on the line segments they are supposed to. For example, see:

http://i17.photobucket.com/albums/b52/videohead/SurfaceError.png
(note that the yellow line segment hover above the blue surface in the 
horizon)


After much experimentation, debugging and consultation, I now suspect 
that this is caused by polygon offset in Paraview, designed to prevent 
z-fighting. I would therefore like to know:


(i.) if my suspicion is correct i.e. Paraview implement polygon offset 
for preventing z-fighting in this case


(ii.) if the above is true, how polygon offset can be disabled without 
recompiling the source


Thanks,

- Olumide

___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Bug: saving screenshot with screen or print palette resets background color

2009-09-29 Thread Olumide

Utkarsh,

the problem appears to occur *only* when one of the objects in the scene 
uses the wireframe representation, *and* the resolution of the exported 
screenshot is larger than that of the current view.


- Olumide




___
Powered by www.kitware.com

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

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

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


[Paraview] [Bug?] Loading/importing a Paraview state resets the colors & representation of existing scene objects

2009-09-29 Thread Olumide

Hi -

I may have found another Paraview (3.6.1) bug -- not sure if it a bug or 
a feature, or if it has been reported. Basically, when a Paraview state 
is loaded into a non-empty scene, the color attributes of the existing 
objects are reset to the default white. Here's how to reproduce this bug 
(note, all the color changes below are done in the object inspector):


1. create a sample object e.g. a sphere, set its color (to red for 
example), and save the state to a *.pvsm file


2. Clear the scene and create a new object e.g. a cube, set its color 
(to blue for example), and its representation to wireframe.


3. Import/load the state saved in step 1. The process hides the blue, 
wireframe cube (nice feature).


4. Make the existing object visible. Result: its color has been reset to 
white, and its representation (from wireframe) to surface


On the subject of color, here's something odd that I noticed. Again, it 
may be a matter of design but it seems a bit inconsistent to me. Its 
best demonstrated by the following two-part example:


Part I:
  - create an object e.g. a sphere
  - set its (solid) color (to blue for example)
  - switch the representation to wireframe
  - Result: wireframe appears white!

Part II:
  - Still in wireframe mode, set the ambient color to red
  - Switch to surface with edges' representation
  - Result: wireframe and surface appear blue!!

BTW, I'm aware that color type in wireframe representation is given the 
name "ambient", as opposed to "solid" as in the surface representation.


- Olumide

___
Powered by www.kitware.com

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

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

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


[Paraview] Displaying continuously updated data in realtime

2009-09-22 Thread Olumide

Hi,

Can Paraview be made to listen for and display data generated by an 
external process or simulation in in realtime. I'm working on a number 
of simulations, and I would like to have Paraview automatically display 
data generated by the each step of the process as soon each step is 
complete.


Thanks,

- Olumide


___
Powered by www.kitware.com

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

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

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


Re: [Paraview] [Bug?] Color information not saved/restored as part of state

2009-09-22 Thread Olumide
I reported this a few months ago:- 
http://www.paraview.org/Bug/view.php?id=9200


Thanks Paul. I'll use the object inspector from now on.

Clearly, the problem is that the toolbar "edit color map" and the object 
inspector's "set solid color" buttons are not in synch i.e. changes made 
by the former are not visible to the latter.


Thanks for the workaround.


___
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] [Bug?] Color information not saved/restored as part of state

2009-09-21 Thread Olumide

Hi,

Even in the simplest cases, Paraview (version 3.6.1) does not appear to 
save or restore color information about objects. The following simple 
case illustrates this problem:


1. Create a cube objects set its color to red, or any color other than 
the default


2. Save the state (File -> Save State)

3. Delete the builtin server (this is my favorite method of clearing a 
scene) and load the saved state


4. Box object appears in the default color, customized color information 
lost.


Would someone please if this is this a bug or a feature? If it a bug 
I'll post a report on the tracker.


- Olumide

___
Powered by www.kitware.com

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

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

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


Re: [Paraview] Bug: saving screenshot with screen or print palette resets background color

2009-09-14 Thread Olumide
I'm not sure if this has been reported/logged. This bug is easy to 
reproduce. Here's how to:


1. Open a new Paraview scene, and set the background color (to white for 
example)


2. Import or create a VTK object

3. Export screenshot with the screen or print palette.

Result: the Paraview background color is reset to the default value.


Update:
This bug is affects more than just the background color. It also resets 
the wireframe color of a geometric object. Here's how to reproduce it:


1. create an object e.g. sphere primitive

2. set its representation to wireframe, and color to red (or any color 
other than the default)


3. set background to white

4. save screenshot with print palette

Result: the mesh and background are reset to their default colors. In 
addition, the wireframe color of object in the screenshot is black.


Note: this issue affects only objects with wireframe representations in 
a scene. Objects with surface or surface with edges representations in 
the same scene are unaffected, even though the background color is reset.


___
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] Bug: saving screenshot with screen or print palette resets background color

2009-09-12 Thread Olumide

Hi,

I'm not sure if this has been reported/logged. This bug is easy to 
reproduce. Here's how to:


1. Open a new Paraview scene, and set the background color (to white for 
example)


2. Import or create a VTK object

3. Export screenshot with the screen or print palette.

Result: the Paraview background color is reset to the default value.

- Olumide

___
Powered by www.kitware.com

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

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

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


[Paraview] Possible Bug: cross drawn over upsampled screenshot

2009-09-07 Thread Olumide

Hello,

I may have discovered a bug in Paraview's (version 3.6.1) save 
screenshot feature. It seems to affect only wireframe representations. 
Would someone please try to reproduce it. Here's how to do so:


1. Load any geometric object into Paraview, or create a geometric 
primitive e.g. from the sources menu


2. Change the representation of the object to wireframe

3. Open the save screenshot dialog (File -> Save screenshot), and 
increase the default width or height of the output image by at least one 
pixel.


4. Complete the export and examine the output image. A cross is drawn 
across the output image as shown in the url/image:

http://i17.photobucket.com/albums/b52/videohead/ParaviewScreenshot_Resolution_Bug.png

This artifact only observed when the default dimensions are increased. A 
 reduction in the default dimensions generates no such artifact.


Thanks,

- Olumide


___
Powered by www.kitware.com

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

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

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


Re: [Paraview] OpenGL Hardware acceleration of Paraview display

2009-07-13 Thread Olumide

Olesen, Mark wrote:

Would someone please tell me if Paraview supports HW (OpenGL)
acceleration and how to enable it.


Sure it supports OpenGL. You just need to have the appropriate hardware
drivers working.
Assuming you are using Linux (you didn't say which OS you have), check
these things:


I'm running Paraview on Windows XP, and OpenGL is correctly set up for 
my machine.


What got me wondering about HW acceleration was my experience using 
Paraview to present results at a conference a few months ago. The 
display just seemed to drag, even though only a few apps (very basic) 
were running. This experience made me wonder if Paraview was compiled 
with Mesa, the software implementation of OpenGL.


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

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


[Paraview] OpenGL Hardware acceleration of Paraview display

2009-07-12 Thread Olumide
Would someone please tell me if Paraview supports HW (OpenGL) 
acceleration and how to enable it.


Thanks,

- Olumide

___
Powered by www.kitware.com

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

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

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


[Paraview] Fullscreen mode?

2009-05-17 Thread Olumide

Hello,

I'd like to know if Paraview has a fullscreen mode. Such a feature would 
come in handy during presentations.


- Olumide

___
Powered by www.kitware.com

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

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

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


[Paraview] VTK-Python script or Paraview server manager script?

2009-05-11 Thread Olumide

Hello,

Being a bit of a VTK/Paraview newbie, I'm having a little difficulty 
selecting the right tool for the job. I've got a number of polygonal 
primitives; lines, spheres, cylinders etc, in a 3d application and I 
would like to export and view these objects in Paraview. Because the 3d 
app is scriptable, I can write a plugin to export the primitives as VTK 
geometry data, but I shrink at the thought of handling low level 
operations that would be required. Therefore I'm considering another 
option namely: to have the 3d app write a VTK-Python or 
Paraview-Servermanager script based on the primitives in the scene. The 
problem now, is which scripting technique is better for the task, 
bearing in mind that what I would like to do is to view the primitives 
in Paraview.


Initially, I started out writing a Paraview-Servermanager script, but I 
later realized that a VTK-Python script might do the job as well, _if_ 
VTK-Python scripts can export programmatically created scene data.


Please advise.

Thanks.

- Olumide

___
Powered by www.kitware.com

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

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

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


[Paraview] Errors in console

2009-05-11 Thread Olumide

Hello,

I'm having problems with the console. Everything I try to do in it 
causes an error. For example:


>>> from paraview import servermanager
Traceback (most recent call last):
  File "", line 1, in 
  File "C:\Program Files\ParaView 
3.4.0\lib\paraview-3.4\paraview\servermanager.py", line 43, in 

import re, os, new, exceptions, sys, vtk
  File "C:\Program Files\ParaView 
3.4.0\lib\paraview-3.4\paraview\vtk.py", line 9, in 

from vtkCommonPython import *
ImportError: DLL load failed: The specified procedure could not be found.

How can I fix this problem?

Thanks,

- Olumide

___
Powered by www.kitware.com

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

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

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


[Paraview] Turning files in a PVD files on/off

2008-11-29 Thread Olumide

Hello -

Is there a way of turning parts of a PVD file on or off? (in cases of 
clutter)


Thanks,

- Olumide

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


[Paraview] Error on opening python shell in Paraview 3.4.0

2008-11-29 Thread Olumide

Two questions:

1. I get the following error as I open the python shell in Paraview 3.4.0

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit 
(Intel)] on win32

>>> from paraview import servermanager
Traceback (most recent call last):
  File "", line 1, in 
  File "C:\Program Files\ParaView 
3.4.0\lib\paraview-3.4\paraview\servermanager.py", line 43, in 

import re, os, new, exceptions, sys, vtk
  File "C:\Program Files\ParaView 
3.4.0\lib\paraview-3.4\paraview\vtk.py", line 9, in 

from vtkCommonPython import *
ImportError: DLL load failed: The specified procedure could not be found.

What's gone wrong?


2. With which servermanager source should VTP files be read? I've tried 
XMLPPolyDataReader but it didn't work i.e. 
servermanager.sources.XMLPPolyDataReader(...)


Thanks,

- Olumide



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


Re: [Paraview] Help needed debugging VTP file

2008-10-08 Thread Olumide

Thanks David! (It worked)

One final question: do the newer VTK/XML file formats support color like 
the legacy format? I'd like to attribute colors to the various entities 
in my files.


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


Re: [Paraview] Help needed debugging VTP file

2008-10-07 Thread Olumide
Here's another small vtp file that Paraview won't open. I'm getting the 
error: "Cannot read cell connectivity from Polys in piece 0 because the 
"connectivity" array is not long enough."


Can someone please tell me what I'm missing.

Thanks

% Small File %








 0.395507 0.427410 0.812954
 0.457372 0.349573 0.817686
 0.541530 0.349630 0.764529
 0.563762 0.427524 0.706680
 0.501819 0.505304 0.702030
 0.417690 0.505133 0.755232

 0.417690 0.505133 0.755232
 0.395507 0.427410 0.812954
 0.482041 0.429542 0.763630





 0 1 2 3 4 5


6





6 7 8


 10







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


[Paraview] Help needed debugging VTP file

2008-10-07 Thread Olumide

Hello -

I'm having difficulty debugging the following brief VTP file generated 
by my custom exporter -- I can't seem to figure out why Paraview won't 
open it. Is there some sort of syntax error in it?


Thanks,

- Olumide

 VTP File 




		NumberOfStrips="0" NumberOfPolys="6">





 0.395507 0.427410 0.812954
 0.457372 0.349573 0.817686
 0.541530 0.349630 0.764529
 0.563762 0.427524 0.706680
 0.501819 0.505304 0.702030
 0.417690 0.505133 0.755232
 0.417690 0.505133 0.755232
 0.395507 0.427410 0.812954
 0.482041 0.429542 0.763630
 0.395507 0.427410 0.812954
 0.457372 0.349573 0.817686
 0.482041 0.429542 0.763630
 0.457372 0.349573 0.817686
 0.541530 0.349630 0.764529
 0.482041 0.429542 0.763630
 0.541530 0.349630 0.764529
 0.563762 0.427524 0.706680
 0.482041 0.429542 0.763630
 0.563762 0.427524 0.706680
 0.501819 0.505304 0.702030
 0.482041 0.429542 0.763630
 0.501819 0.505304 0.702030
 0.417690 0.505133 0.755232
 0.482041 0.429542 0.763630





 0 1 2 3 4 5


6






 6 7 8 9 10 11 12 13 14 15 16 17 18 19 
20 21 22 23


 9 12 15 18 21 24







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