Re: [Paraview] ParaviewWeb4 Jetty Session manager - Out of memory error
Hi Sebastian, Understood, thanks for the kind and quick reply. As you mentioned, we will probably have to do some rework of this part of the session manager. Best regards, Bogdan On 21.11.2013 21:58, Sebastien Jourdain wrote: The issue is related to the web socket proxy section which was there to show the feasibility not the robustness. For that you rather use apache 2.4+. On Thu, Nov 21, 2013 at 9:52 AM, Bogdan Daqui Herrera bda...@simscale.de mailto:bda...@simscale.de wrote: Hello all, Thanks for the useful answers to my previous questions. I am encountering a problem with the Jetty Session Manager and the fact that the java process runs out of memory, under what could be a memory leak. 1. Description: * The Problem: The (java) Jetty session manager runs out of memory after establishing multiple sessions either sequentially or simultaneously. For example the error could manifest itself after 30 paraview sessions being started and terminated. The stacktrace appended at the end of the e-mail: * Repeatability: always. It happens much sooner on jvms on 32-bit machines than on 64-bit ones. * My changes to the Session Manager: In SessionManager/src/main/java/com/kitware/paraviewweb/external/SimpleWebSocketProxyManager.java: DEFAULT_MAX_MESSAGE_SIZE - From 2 to 4 MB (Increased the websocket message size) DEFAULT_FACTORY_BUFFER_SIZE - From 1 to 2 MB * session manager started with: java -jar SessionManager.jar default-config.properties Using the -Xms and -Xmx options to increase allocated memory when launching the process only delays the final error for a little longer, as sooner or later it shows up. 2. Questions -Do you perhaps know how this issue could be addressed, or any advice on how to mitigate it and where to look for a possible memory leak? -From your experience with the current implementation of the Session Manager, what would be the current practical limit on the number of concurrent (I have specified a maximum of 80 in the config file) and sequential sessions? 3. Error Stacktrace java.lang.OutOfMemoryError: Java heap space at org.eclipse.jetty.io.ByteArrayBuffer.init(ByteArrayBuffer.java:38) at org.eclipse.jetty.io.nio.IndirectNIOBuffer.init(IndirectNIOBuffer.java:32) at org.eclipse.jetty.io.AbstractBuffers.newBuffer(AbstractBuffers.java:94) at org.eclipse.jetty.io.ThreadLocalBuffers.getBuffer(ThreadLocalBuffers.java:64) at org.eclipse.jetty.websocket.WebSocketBuffers.getBuffer(WebSocketBuffers.java:48) at org.eclipse.jetty.websocket.WebSocketParserRFC6455.parseNext(WebSocketParserRFC6455.java:132) at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.handle(WebSocketConnectionRFC6455.java:225) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:679) 2013-11-21 14:58:15.030:WARN:oeji.nio: java.lang.OutOfMemoryError: Java heap space at org.eclipse.jetty.io.ByteArrayBuffer.init(ByteArrayBuffer.java:38) at org.eclipse.jetty.io.nio.IndirectNIOBuffer.init(IndirectNIOBuffer.java:32) at org.eclipse.jetty.io.AbstractBuffers.newBuffer(AbstractBuffers.java:94) at org.eclipse.jetty.io.ThreadLocalBuffers.getBuffer(ThreadLocalBuffers.java:64) at org.eclipse.jetty.websocket.WebSocketBuffers.getBuffer(WebSocketBuffers.java:48) at org.eclipse.jetty.websocket.WebSocketGeneratorRFC6455.addFrame(WebSocketGeneratorRFC6455.java:77) at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.closeOut(WebSocketConnectionRFC6455.java:382) at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455$WSFrameConnection.close(WebSocketConnectionRFC6455.java:489) at com.kitware.paraviewweb.websocket.WebSocketForwarder.onClose(WebSocketForwarder.java:64) at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.closeOut(WebSocketConnectionRFC6455.java:358) at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455$WSFrameConnection.close(WebSocketConnectionRFC6455.java:489) at com.kitware.paraviewweb.websocket.WebSocketForwarder.onClose(WebSocketForwarder.java:64) at
[Paraview] In-situ file/image output on Titan with 18k cores
I have done several simulation runs linked with ParaView Catalyst for in-situ visualization on Titan with 18k cores and have the following observations/questions hoping to seek input from this list. 1. It appears IceT-based image compositing for 18k cores takes such a long time that it becomes unpractical to output images in-situ. Specifically, in our case, it takes about 14 minutes for coprocessing for one time point that output a composited image while simulation alone for one time point only takes about 7 seconds. I have also done a simulation run with in-situ visualization on Titan with 64 cores on a much lower resolution mesh (10 million element mesh as opposed on 167 million element mesh for 18k core run), in which case coprocessing with image output for 64 cores takes about 25 seconds. Question: is there any way to improve performance of image compositing for 18k cores for in-situ visualization? 2. I also tried to avoid image output, but output polydata extracts using XMLPPolyDataWriter instead on 18k cores. In this case, in-situ coprocessing only takes about 20 seconds (compared to 14 minutes with image output). However, too many files are generated to a point that breaks the hard limit on maximal number of files in a directory since the parallel writer writes a vtp file from each of 18k cores. So the output data files have to be broken up into different directories. However, I got cannot find file error when I put a directory name as a parameter in coprocessor.CreateWriter() function call in my python script. I tried initially to put data/vorticity_%t.pvtp as a parameter, but it fails with cannot find file error. Not sure whether this is a bug or I need to put absolute full path in rather than a relative path to the current directory. Another question is whether there are ways to composite these files generated from different cores into one single file while doing coprocessing so only one composite file is generated rather than a huge number of files when running on large number of cores. Thanks for any input, suggestions, and comments! Regards, Hong ___ 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] In-situ file/image output on Titan with 18k cores
Hi Hong, Can you describe the type of view you're trying to output? If I remember correctly it was volume rendering of an image data. Also, some details on the grid would be helpful. As for the parallel XML polydata writer, we were talking about changing it so that it would only write out files for polydata with points and cells in them which may help alleviate this issue some. I'm not sure what's going on with the file -- you may need to share more information to help diagnose the problem. Is it a writing problem during your run or a reading problem during post-processing? The XML writers won't create a directory if it doesn't exists yet in order to write a file. As for reducing the number of processes that are writing, you could use the vtkAllToNRedistributePolyData filter to reduce the number of processes that contain any points and cells and then create another vtkMPIController that is used by the parallel XML writer to make sure only the proper processes write out any data. This would take quite a bit of custom coding though. Andy On Tue, Nov 26, 2013 at 10:31 AM, Hong Yi hon...@renci.org wrote: I have done several simulation runs linked with ParaView Catalyst for in-situ visualization on Titan with 18k cores and have the following observations/questions hoping to seek input from this list. 1. It appears IceT-based image compositing for 18k cores takes such a long time that it becomes unpractical to output images in-situ. Specifically, in our case, it takes about 14 minutes for coprocessing for one time point that output a composited image while simulation alone for one time point only takes about 7 seconds. I have also done a simulation run with in-situ visualization on Titan with 64 cores on a much lower resolution mesh (10 million element mesh as opposed on 167 million element mesh for 18k core run), in which case coprocessing with image output for 64 cores takes about 25 seconds. Question: is there any way to improve performance of image compositing for 18k cores for in-situ visualization? 2. I also tried to avoid image output, but output polydata extracts using XMLPPolyDataWriter instead on 18k cores. In this case, in-situ coprocessing only takes about 20 seconds (compared to 14 minutes with image output). However, too many files are generated to a point that breaks the hard limit on maximal number of files in a directory since the parallel writer writes a vtp file from each of 18k cores. So the output data files have to be broken up into different directories. However, I got “cannot find file” error when I put a directory name as a parameter in coprocessor.CreateWriter() function call in my python script. I tried initially to put “data/vorticity_%t.pvtp” as a parameter, but it fails with “cannot find file” error. Not sure whether this is a bug or I need to put absolute full path in rather than a relative path to the current directory. Another question is whether there are ways to composite these files generated from different cores into one single file while doing coprocessing so only one composite file is generated rather than a huge number of files when running on large number of cores. Thanks for any input, suggestions, and comments! Regards, Hong ___ 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] Session Manager with Apache front-end - session.map
Hello all, I am also testing a deployment of ParaviewWeb with the Apache front-end and am encountering a problem with the configuration. The guide describing the process makes reference to the file session.map, which should be generated by the session manager. The session manager does not generate one by default and have been unable to find how and where in the settings its path can be written or whether it has to be created. Looking through the source code of the session manager, there are two classes that should generate this file: JsonFileProxyConnectionAdapter and ApacheModRewriteMapFileConnectionAdapter. Could you please help me with a quick explanation of how to configure the session manager so the session.map file is generated? Kind regards, Bogdan Daqui -- Bogdan Daqui Software Development SimScale GmbH Lichtenbergstraße 8 85748 Garching bei München Phone: +49 (0)89 3398 4078 Email: bda...@simscale.de Amtsgericht München, HRB 201813 Geschäftsführer: Vincenz Dölle David Heiny http://www.simscale.de ___ 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] Session Manager with Apache front-end - session.map
The answer is available in that online guide http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/paraviewweb_on_aws_ec2 In this section: pw.factory.proxy.adapter=com.kitware.paraviewweb.external.ApacheModRewriteMapFileConnectionAdapter pw.factory.proxy.adapter.file=/opt/apache-2.4.6/pv-mapping-file/mapping.txt Seb On Tue, Nov 26, 2013 at 9:22 AM, Bogdan Daqui Herrera bda...@simscale.dewrote: Hello all, I am also testing a deployment of ParaviewWeb with the Apache front-end and am encountering a problem with the configuration. The guide describing the process makes reference to the file session.map, which should be generated by the session manager. The session manager does not generate one by default and have been unable to find how and where in the settings its path can be written or whether it has to be created. Looking through the source code of the session manager, there are two classes that should generate this file: JsonFileProxyConnectionAdapter and ApacheModRewriteMapFileConnectionAdapter. Could you please help me with a quick explanation of how to configure the session manager so the session.map file is generated? Kind regards, Bogdan Daqui -- Bogdan Daqui Software Development SimScale GmbH Lichtenbergstraße 8 85748 Garching bei München Phone: +49 (0)89 3398 4078 Email: bda...@simscale.de Amtsgericht München, HRB 201813 Geschäftsführer: Vincenz Dölle David Heiny http://www.simscale.de ___ 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] Session Manager with Apache front-end - session.map
Thanks! On 26.11.2013 17:31, Sebastien Jourdain wrote: The answer is available in that online guide http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/paraviewweb_on_aws_ec2 In this section: |pw.factory.proxy.adapter=com.kitware.paraviewweb.external.ApacheModRewriteMapFileConnectionAdapter| | |pw.factory.proxy.adapter.file=/opt/apache-2.4.6/pv-mapping-file/mapping.txt| | Seb On Tue, Nov 26, 2013 at 9:22 AM, Bogdan Daqui Herrera bda...@simscale.de mailto:bda...@simscale.de wrote: Hello all, I am also testing a deployment of ParaviewWeb with the Apache front-end and am encountering a problem with the configuration. The guide describing the process makes reference to the file session.map, which should be generated by the session manager. The session manager does not generate one by default and have been unable to find how and where in the settings its path can be written or whether it has to be created. Looking through the source code of the session manager, there are two classes that should generate this file: JsonFileProxyConnectionAdapter and ApacheModRewriteMapFileConnectionAdapter. Could you please help me with a quick explanation of how to configure the session manager so the session.map file is generated? Kind regards, Bogdan Daqui -- Bogdan Daqui Software Development SimScale GmbH Lichtenbergstraße 8 85748 Garching bei München Phone: +49 (0)89 3398 4078 tel:%2B49%20%280%2989%203398%204078 Email: bda...@simscale.de mailto:bda...@simscale.de Amtsgericht München, HRB 201813 Geschäftsführer: Vincenz Dölle David Heiny http://www.simscale.de ___ Powered by www.kitware.com http://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] screenshots in png format are big
it could be a bug if you saw a big increase in file size of saved png images between versions when rendering exactly the same scene. It'd be helpful if you could create a bug report, with steps to reproduce, and two png images that are different size. On 11/25/2013 05:24 PM, Gena Bug wrote: On 11/26/2013 05:03 AM, Burlen Loring wrote: that's generally expected because png's compression is loss-less while jpg's lossy. png uses zlib which does have a few options for adjusting compression vs decode/encode speed but looks like they're not exposed in PV. So is this a bug? For me it is because in previous version of PV (4.0.1) I'm getting much smaller png file (almost 3 times smaller than jpg). On 11/25/2013 02:42 PM, Gena Bug wrote: Hi! I've noticed that screenshot in png format has too big size compared to, for example, jpg. Tried to play with output image quality -- size didn't changed. For jpg all works as expected... P.S. ParaView 4.1.0-RC1 64-bit downloaded from the site, OS: Debian testing amd64 ___ 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] Volumetric slice with transparency?
Greetings, And if more information is needed, please let me know. We're looking to see if Paraview can create a volumetric slice with transparency of the following image created in Paraview. I saved the state file if needed, and have the data too, but since I'm a newbie here, I'm not too sure what to do. Thanks! Jesse___ 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] In-situ file/image output on Titan with 18k cores
Hi Andy, I am attaching the python coprocessing script that outputs data (rather than images) so that you can easily have an idea on what type of views I am trying to output. Basically, it is an image with vorticity contours overlaid on subchannel wall contours identified by zero velocity so that researchers can see how flow vorticity changes going through subchannel walls. The grid is unstructured grid. In fact, the simulation software is a variant of PHASTA that allows multi-phase turbulence simulation. Let me know if you need more information. That explains it - The XML writers won't create a directory if it doesn't exists yet in order to write a file. I did not create the directory beforehand, so that must be the reason. I already suspected that is the reason, many thanks for confirming it. Thanks for the suggestion on reducing the number of processes that are writing. I will investigate this further when I have time. Let me know if you are aware of any example on using these filters to achieve this purpose. Thanks again for the helpful information and let me know if you have other suggestions. Best regards, Hong From: Andy Bauer [mailto:andy.ba...@kitware.com] Sent: Tuesday, November 26, 2013 10:57 AM To: Hong Yi Cc: paraview@paraview.org Subject: Re: [Paraview] In-situ file/image output on Titan with 18k cores Hi Hong, Can you describe the type of view you're trying to output? If I remember correctly it was volume rendering of an image data. Also, some details on the grid would be helpful. As for the parallel XML polydata writer, we were talking about changing it so that it would only write out files for polydata with points and cells in them which may help alleviate this issue some. I'm not sure what's going on with the file -- you may need to share more information to help diagnose the problem. Is it a writing problem during your run or a reading problem during post-processing? The XML writers won't create a directory if it doesn't exists yet in order to write a file. As for reducing the number of processes that are writing, you could use the vtkAllToNRedistributePolyData filter to reduce the number of processes that contain any points and cells and then create another vtkMPIController that is used by the parallel XML writer to make sure only the proper processes write out any data. This would take quite a bit of custom coding though. Andy On Tue, Nov 26, 2013 at 10:31 AM, Hong Yi hon...@renci.orgmailto:hon...@renci.org wrote: I have done several simulation runs linked with ParaView Catalyst for in-situ visualization on Titan with 18k cores and have the following observations/questions hoping to seek input from this list. 1. It appears IceT-based image compositing for 18k cores takes such a long time that it becomes unpractical to output images in-situ. Specifically, in our case, it takes about 14 minutes for coprocessing for one time point that output a composited image while simulation alone for one time point only takes about 7 seconds. I have also done a simulation run with in-situ visualization on Titan with 64 cores on a much lower resolution mesh (10 million element mesh as opposed on 167 million element mesh for 18k core run), in which case coprocessing with image output for 64 cores takes about 25 seconds. Question: is there any way to improve performance of image compositing for 18k cores for in-situ visualization? 2. I also tried to avoid image output, but output polydata extracts using XMLPPolyDataWriter instead on 18k cores. In this case, in-situ coprocessing only takes about 20 seconds (compared to 14 minutes with image output). However, too many files are generated to a point that breaks the hard limit on maximal number of files in a directory since the parallel writer writes a vtp file from each of 18k cores. So the output data files have to be broken up into different directories. However, I got cannot find file error when I put a directory name as a parameter in coprocessor.CreateWriter() function call in my python script. I tried initially to put data/vorticity_%t.pvtp as a parameter, but it fails with cannot find file error. Not sure whether this is a bug or I need to put absolute full path in rather than a relative path to the current directory. Another question is whether there are ways to composite these files generated from different cores into one single file while doing coprocessing so only one composite file is generated rather than a huge number of files when running on large number of cores. Thanks for any input, suggestions, and comments! Regards, Hong ___ Powered by www.kitware.comhttp://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:
Re: [Paraview] Volumetric slice with transparency?
I am not sure what you mean by volumetric slice. Does it mean multiple slices parallel to the one slice you have in your image? If so, the Slice filter does allow specifying additional offsets to slice. Switch the Properties panel to show advanced properties ( http://www.kitware.com/blog/home/post/491) or search for offset in the search box at the top of the Properties panel. Now you can add offsets around the default slice. Utkarsh On Tue, Nov 26, 2013 at 11:54 AM, Jesse Samluk seven...@udel.edu wrote: Greetings, And if more information is needed, please let me know. We're looking to see if Paraview can create a volumetric slice with transparency of the following image created in Paraview. I saved the state file if needed, and have the data too, but since I'm a newbie here, I'm not too sure what to do. Thanks! Jesse ___ 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 EM31outputforParaview.jpeg___ 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] Volumetric slice with transparency?
If this is a structured dataset, try using Extract Subset filter. Otherwise, you'll have to use a pair of Clip filters to get the desired effect. Utkarsh On Tue, Nov 26, 2013 at 12:24 PM, Jesse Samluk seven...@udel.edu wrote: Utkarsh, Thanks for the response. By volumetric slice - see how the slice is now? Isn't there a way to make it thicker and move it up and down to show the changes? What about the clip option? Thanks! Jesse On Nov 26, 2013, at 12:00 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: I am not sure what you mean by volumetric slice. Does it mean multiple slices parallel to the one slice you have in your image? If so, the Slice filter does allow specifying additional offsets to slice. Switch the Properties panel to show advanced properties (http://www.kitware.com/blog/home/post/491) or search for offset in the search box at the top of the Properties panel. Now you can add offsets around the default slice. Utkarsh On Tue, Nov 26, 2013 at 11:54 AM, Jesse Samluk seven...@udel.edu wrote: Greetings, And if more information is needed, please let me know. We're looking to see if Paraview can create a volumetric slice with transparency of the following image created in Paraview. I saved the state file if needed, and have the data too, but since I'm a newbie here, I'm not too sure what to do. Thanks! JesseEM31outputforParaview.jpeg ___ 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] [EXTERNAL] Re: Volumetric slice with transparency?
Also, since you mention transparency, there are two ways I know of (using PV 4.1.0-RC1) to get transparency. One is down on the Properties panel - you can change the transparency of the whole slice. The other is on the new, nifty color editor. Open the color editor, then turn on Enable Opacity Mapping. Alan From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Utkarsh Ayachit Sent: Tuesday, November 26, 2013 10:01 AM To: Jesse Samluk Cc: ParaView Subject: [EXTERNAL] Re: [Paraview] Volumetric slice with transparency? I am not sure what you mean by volumetric slice. Does it mean multiple slices parallel to the one slice you have in your image? If so, the Slice filter does allow specifying additional offsets to slice. Switch the Properties panel to show advanced properties (http://www.kitware.com/blog/home/post/491) or search for offset in the search box at the top of the Properties panel. Now you can add offsets around the default slice. Utkarsh On Tue, Nov 26, 2013 at 11:54 AM, Jesse Samluk seven...@udel.edumailto:seven...@udel.edu wrote: Greetings, And if more information is needed, please let me know. We're looking to see if Paraview can create a volumetric slice with transparency of the following image created in Paraview. I saved the state file if needed, and have the data too, but since I'm a newbie here, I'm not too sure what to do. Thanks! Jesse[cid:image001.jpg@01CEEA93.4A5B69C0] ___ Powered by www.kitware.comhttp://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 inline: image001.jpg___ 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] Volumetric slice with transparency?
As with many things in ParaView, there are lots of ways to do what you are asking, each with a slightly different behavior. I'll list through the ones I can think of. * Like Utkarsh said, if your data is structured, you can use the Extract Subset filter. This will be the most efficient option, but the UI will be pretty crummy. * Also like Utkarsh said, you can use a pair of clip filters (instead of slice) to grab a reason. Use the Inside Out option on one of the clip filters so that the intersection of the half spaces become a slab. * You can change the Clip Type of the clip to a Box region. This will allow you clip a slab in one operation. The disadvantage is that the box clip operation can introduce more artifacts than a Plane clip. Also, you need to make sure the clip is Inside Out. * You should also try the Extract Cells By Region filter in place of the clip filter. Rather than cutting up cells, it will keep full cells that intersect a region you specify. Like Clip, Extract Cells By Region allows you to define cells by planes and boxes (although the inside/outside semantics are reversed). I suspect the Extract Cells By Region filter with a Box intersection will be the closest to what you want. -Ken On 11/26/13 10:37 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: If this is a structured dataset, try using Extract Subset filter. Otherwise, you'll have to use a pair of Clip filters to get the desired effect. Utkarsh On Tue, Nov 26, 2013 at 12:24 PM, Jesse Samluk seven...@udel.edu wrote: Utkarsh, Thanks for the response. By volumetric slice - see how the slice is now? Isn't there a way to make it thicker and move it up and down to show the changes? What about the clip option? Thanks! Jesse On Nov 26, 2013, at 12:00 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: I am not sure what you mean by volumetric slice. Does it mean multiple slices parallel to the one slice you have in your image? If so, the Slice filter does allow specifying additional offsets to slice. Switch the Properties panel to show advanced properties (http://www.kitware.com/blog/home/post/491) or search for offset in the search box at the top of the Properties panel. Now you can add offsets around the default slice. Utkarsh On Tue, Nov 26, 2013 at 11:54 AM, Jesse Samluk seven...@udel.edu wrote: Greetings, And if more information is needed, please let me know. We're looking to see if Paraview can create a volumetric slice with transparency of the following image created in Paraview. I saved the state file if needed, and have the data too, but since I'm a newbie here, I'm not too sure what to do. Thanks! JesseEM31outputforParaview.jpeg ___ 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] screenshots in png format are big
http://paraview.org/Bug/view.php?id=14426 (Did I choose the wrong Project -- ParaViewPro? Should it be ParaViS?) On 11/26/2013 08:52 PM, Burlen Loring wrote: it could be a bug if you saw a big increase in file size of saved png images between versions when rendering exactly the same scene. It'd be helpful if you could create a bug report, with steps to reproduce, and two png images that are different size. On 11/25/2013 05:24 PM, Gena Bug wrote: On 11/26/2013 05:03 AM, Burlen Loring wrote: that's generally expected because png's compression is loss-less while jpg's lossy. png uses zlib which does have a few options for adjusting compression vs decode/encode speed but looks like they're not exposed in PV. So is this a bug? For me it is because in previous version of PV (4.0.1) I'm getting much smaller png file (almost 3 times smaller than jpg). On 11/25/2013 02:42 PM, Gena Bug wrote: Hi! I've noticed that screenshot in png format has too big size compared to, for example, jpg. Tried to play with output image quality -- size didn't changed. For jpg all works as expected... P.S. ParaView 4.1.0-RC1 64-bit downloaded from the site, OS: Debian testing amd64 ___ 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] screenshots in png format are big
It's okay. Users are not expected to choose any project. On Tue, Nov 26, 2013 at 1:20 PM, Gena Bug archaero...@mail.ru wrote: http://paraview.org/Bug/view.php?id=14426 (Did I choose the wrong Project -- ParaViewPro? Should it be ParaViS?) On 11/26/2013 08:52 PM, Burlen Loring wrote: it could be a bug if you saw a big increase in file size of saved png images between versions when rendering exactly the same scene. It'd be helpful if you could create a bug report, with steps to reproduce, and two png images that are different size. On 11/25/2013 05:24 PM, Gena Bug wrote: On 11/26/2013 05:03 AM, Burlen Loring wrote: that's generally expected because png's compression is loss-less while jpg's lossy. png uses zlib which does have a few options for adjusting compression vs decode/encode speed but looks like they're not exposed in PV. So is this a bug? For me it is because in previous version of PV (4.0.1) I'm getting much smaller png file (almost 3 times smaller than jpg). On 11/25/2013 02:42 PM, Gena Bug wrote: Hi! I've noticed that screenshot in png format has too big size compared to, for example, jpg. Tried to play with output image quality -- size didn't changed. For jpg all works as expected... P.S. ParaView 4.1.0-RC1 64-bit downloaded from the site, OS: Debian testing amd64 ___ 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] Blog: Using the Color Map Editor panel in ParaView 4.1
Ah! I see what's happening. ColorMap XMLs have a mechanism to say of the control points are absolute or must be treated as normalized and should be scaled to data range. erdc_rainbow_bright Color Map specifies explicit control point locations and hence those are used rather than scaling them automatically. I'll see how this can be made more explicit/easier to comprehend from the user's point of view. Utkarsh ___ 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] programmable filter in a python script
Hi, I am guessing that there must be a trivial way of doing this, but I have yet to discover exactly how. I have a python script that I pass to pvbatch, which includes a ProgrammableFilter. I originally generated this from the GUI, where I could fairly easily edit the script of the ProgrammableFilter in the text box on the GUI. After saving this as a python state file, the script of the Programmable filter becomes one big long string with \n characters rather than actual carriage returns. Which makes sense, but makes the script terribly difficult to parse and edit. So, my question is, can I create the script of the Programmable filter as a separate python script, and then just give the Programmable filter the path to this external python script? 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] Show scalar range on a slider bar
Hi, I'd like to expose a double variable in the form of slider. In the Wiki example, the range of the scalar values are hard-coded. I wonder if there's any why to read the scalar range in my code and reflect that back to the the slider. 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
Re: [Paraview] programmable filter in a python script
or you can use the execfile('myfiltersource.py') instruction of python, and you put all you filter's code in the file. Le 26 nov. 13 à 21:03, Utkarsh Ayachit a écrit : my question is, can I create the script of the Programmable filter as a separate python script, and then just give the Programmable filter the path to this external python script? Yup, you indeed can. In fact, the programmable filter/source also has a property named PythonPath that you can set to the location where you'll have the python script you want to import in the filter code (you may have to put the path in quotes). State file attached. It will import foo in the Python programmable source when foo.py is put in /tmp. Utkarsh foo.pysample.pvsm___ 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] Compiling ParaView: OSMesa, Gallium, llvmpipe
Hi paraviewers, I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here: http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase: Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so - libOSMesa.so.8.0.0 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib total 34252 drwxr-xr-x 3 root root 4096 Nov 26 10:45 . drwxr-xr-x 4 root root 4096 Nov 26 10:45 .. -rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so - libOSMesa.so.8.0.0 lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 - libOSMesa.so.8.0.0 -rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0 drwxr-xr-x 2 root root 4096 Nov 26 10:45 pkgconfig As demonstrated above, the library is right where make says it can't find it. However, I'm not familiar with this form of specifying a library with the '-l' flag. Usually, I would say something like '-l OSMesa', if I wanted to link against 'libOSMesa.so', then I would say where it is located with the 'L' flag. Anyway, does anyone have any idea what I could have done wrong to achieve this error? I have included my CMakeCache.txt, but I can provide other information if it would be useful. Thanks! Cheers, Scott ___ 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] Compiling ParaView: OSMesa, Gallium, llvmpipe
What does make VERBOSE=1 say the exact compilation line is? David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 26, 2013 at 4:27 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: Hi paraviewers, I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here: http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase: Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so - libOSMesa.so.8.0.0 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib total 34252 drwxr-xr-x 3 root root 4096 Nov 26 10:45 . drwxr-xr-x 4 root root 4096 Nov 26 10:45 .. -rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so - libOSMesa.so.8.0.0 lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 - libOSMesa.so.8.0.0 -rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0 drwxr-xr-x 2 root root 4096 Nov 26 10:45 pkgconfig As demonstrated above, the library is right where make says it can't find it. However, I'm not familiar with this form of specifying a library with the '-l' flag. Usually, I would say something like '-l OSMesa', if I wanted to link against 'libOSMesa.so', then I would say where it is located with the 'L' flag. Anyway, does anyone have any idea what I could have done wrong to achieve this error? I have included my CMakeCache.txt, but I can provide other information if it would be useful. Thanks! Cheers, Scott ___ 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] Problem in setting up data/render server model
Deal all, I want to use the pvdataserver and pvrenderserver model. I start up them separately. And I got output like this : Connection URL: cdsrs://data-server-hostname:1/johnny-M15x:1 How can I set data-server-hostname for render server? I can't find any arguments for this. By the way I found -m argument is used before. Does it exist any more? Best wishes, Junyi Han ___ 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] Compiling ParaView: OSMesa, Gallium, llvmpipe
You're using VirtualBox, what is the host os? I wonder if this has something to do with the fact that it's a symlink? I'd try rm'ing the symlink and making a copy of the library named libOSMesa.so. If that doesn't help you could always restore the symlink. On 11/26/2013 1:27 PM, Scott Wittenburg wrote: Hi paraviewers, I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here: http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase: Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so http://libvtkftgl-pv4.1.so /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so - libOSMesa.so.8.0.0 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib total 34252 drwxr-xr-x 3 root root 4096 Nov 26 10:45 . drwxr-xr-x 4 root root 4096 Nov 26 10:45 .. -rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so - libOSMesa.so.8.0.0 lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 - libOSMesa.so.8.0.0 -rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0 drwxr-xr-x 2 root root 4096 Nov 26 10:45 pkgconfig As demonstrated above, the library is right where make says it can't find it. However, I'm not familiar with this form of specifying a library with the '-l' flag. Usually, I would say something like '-l OSMesa', if I wanted to link against 'libOSMesa.so', then I would say where it is located with the 'L' flag. Anyway, does anyone have any idea what I could have done wrong to achieve this error? I have included my CMakeCache.txt, but I can provide other information if it would be useful. Thanks! Cheers, Scott ___ 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] programmable filter in a python script
Thanks for the pointers. Another naive follow up question.. The script of my programmable filter starts with: input = inputs[0] This works fine when the script is defined inline, but when I import it from an external file, inputs is not defined. How do I get around this? Thanks, joe On Nov 26, 2013, at 2:55 PM, Felipe Bordeu Weldt wrote: or you can use the execfile('myfiltersource.py') instruction of python, and you put all you filter's code in the file. Le 26 nov. 13 à 21:03, Utkarsh Ayachit a écrit : my question is, can I create the script of the Programmable filter as a separate python script, and then just give the Programmable filter the path to this external python script? Yup, you indeed can. In fact, the programmable filter/source also has a property named PythonPath that you can set to the location where you'll have the python script you want to import in the filter code (you may have to put the path in quotes). State file attached. It will import foo in the Python programmable source when foo.py is put in /tmp. Utkarsh foo.pysample.pvsm___ 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] Generate Programmable Sources with Timesteps
Hi all, I'm trying to generate programmable sources with timesteps. The URL may describe how to do them: http://www.paraview.org/Wiki/Here_are_some_more_examples_of_simple_ParaView_3_python_filters.#Producing_Data_with_Timesteps_.28Source.29 But when I try the code, I got an error as below: Traceback (most recent call last): File string, line 19, in module File string, line 14, in RequestData File string, line 5, in GetUpdateTimesteps AttributeError: UPDATE_TIME_STEPS I have Mac OS 10.9 and ParaView 4.0.1. The attached pvsm file is what I coded. # just copied the sample code How can I run it exactly? Magician ps_with_time.pvsm 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] Can't get Volume by using dara/render server mode, is this a bug?
Dear all, I want to try the render server - data server mode. It works well when the representation is surface, but when I change the representation to Volume, it only shows the outline. Then I use the pvserver to test the data. The result is that the Volume shows well when using the pvserver. Is this a bug or I miss something? Best wishes, Junyi Han ___ 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] Compiling ParaView: OSMesa, Gallium, llvmpipe
Hi Dave, Here's the stuff near the end of make VERBOSE=1: make -f VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build.make VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build make[2]: Entering directory `/home/scott/projects/ParaView-bin-make' Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so cd /home/scott/projects/ParaView-bin-make/VTK/ThirdParty/ftgl /usr/bin/cmake -E cmake_link_script CMakeFiles/vtkftgl.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wno-deprecated -w -g -Wl,--fatal-warnings -Wl,--no-undefined -lc-shared -Wl,-soname,libvtkftgl-pv4.1.so.1 -o ../../../lib/libvtkftgl-pv4.1.so.1 CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTCharmap.cpp.o CMakeFiles/vtkftgl.dir/src/FTFace.cpp.o CMakeFiles/vtkftgl.dir/src/FTFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyphContainer.cpp.o CMakeFiles/vtkftgl.dir/src/FTLibrary.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTSize.cpp.o -l /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so ../../../lib/libvtkfreetype-pv4.1.so.1 ../../../lib/libvtkzlib-pv4.1.so.1 -Wl,-rpath,/opt/mesa/9.2.2/llvmpipe/lib:/home/scott/projects/ParaView-bin-make/lib: /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[2]: Leaving directory `/home/scott/projects/ParaView-bin-make' make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make[1]: Leaving directory `/home/scott/projects/ParaView-bin-make' make: *** [all] Error 2 So I'm looking suspiciously at that -l right before the /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so near the end of the command. I think I may have misunderstood the instructions, because I put empty double quotes in that OPENGL_gl_LIBRARY instead of just nothing. I'll try another configure with nothing there instead. Cheers, Scott On Tue, Nov 26, 2013 at 3:06 PM, David E DeMarle dave.dema...@kitware.comwrote: What does make VERBOSE=1 say the exact compilation line is? David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 26, 2013 at 4:27 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: Hi paraviewers, I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here: http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase: Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so - libOSMesa.so.8.0.0 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib total 34252 drwxr-xr-x 3 root root 4096 Nov 26 10:45 . drwxr-xr-x 4 root root 4096 Nov 26 10:45 .. -rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so - libOSMesa.so.8.0.0 lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 - libOSMesa.so.8.0.0 -rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0 drwxr-xr-x 2 root root 4096 Nov 26 10:45 pkgconfig As demonstrated above, the library is right where make says it can't find it. However, I'm not familiar with this form of specifying a library with the '-l' flag. Usually, I would say something like '-l OSMesa', if I wanted to link against 'libOSMesa.so', then I would say where it is located with the 'L' flag. Anyway, does anyone have any idea what I could have done wrong to achieve this error? I have included my CMakeCache.txt, but I can provide other information if it would be useful. Thanks! Cheers, Scott ___ 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] Compiling ParaView: OSMesa, Gallium, llvmpipe
The host os is OS X, version 10.9. I'll try the thing I just responded to Dave about first, then I'll try replacing that library symlink with a copy of the library. Thanks for the tip. Cheers, Scott On Tue, Nov 26, 2013 at 3:12 PM, Burlen Loring burlen.lor...@gmail.comwrote: You're using VirtualBox, what is the host os? I wonder if this has something to do with the fact that it's a symlink? I'd try rm'ing the symlink and making a copy of the library named libOSMesa.so. If that doesn't help you could always restore the symlink. On 11/26/2013 1:27 PM, Scott Wittenburg wrote: Hi paraviewers, I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here: http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase: Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so - libOSMesa.so.8.0.0 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib total 34252 drwxr-xr-x 3 root root 4096 Nov 26 10:45 . drwxr-xr-x 4 root root 4096 Nov 26 10:45 .. -rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so - libOSMesa.so.8.0.0 lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 - libOSMesa.so.8.0.0 -rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0 drwxr-xr-x 2 root root 4096 Nov 26 10:45 pkgconfig As demonstrated above, the library is right where make says it can't find it. However, I'm not familiar with this form of specifying a library with the '-l' flag. Usually, I would say something like '-l OSMesa', if I wanted to link against 'libOSMesa.so', then I would say where it is located with the 'L' flag. Anyway, does anyone have any idea what I could have done wrong to achieve this error? I have included my CMakeCache.txt, but I can provide other information if it would be useful. Thanks! Cheers, Scott ___ 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] Compiling ParaView: OSMesa, Gallium, llvmpipe
That does look suspicious. Type that command in manually without and see if it succeeds. If so, then something is fishy with your cmake config that you should correct. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 26, 2013 at 5:55 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: Hi Dave, Here's the stuff near the end of make VERBOSE=1: make -f VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build.make VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build make[2]: Entering directory `/home/scott/projects/ParaView-bin-make' Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so cd /home/scott/projects/ParaView-bin-make/VTK/ThirdParty/ftgl /usr/bin/cmake -E cmake_link_script CMakeFiles/vtkftgl.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wno-deprecated -w -g -Wl,--fatal-warnings -Wl,--no-undefined -lc-shared -Wl,-soname,libvtkftgl-pv4.1.so.1 -o ../../../lib/libvtkftgl-pv4.1.so.1 CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTCharmap.cpp.o CMakeFiles/vtkftgl.dir/src/FTFace.cpp.o CMakeFiles/vtkftgl.dir/src/FTFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyphContainer.cpp.o CMakeFiles/vtkftgl.dir/src/FTLibrary.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTSize.cpp.o -l /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so ../../../lib/libvtkfreetype-pv4.1.so.1 ../../../lib/libvtkzlib-pv4.1.so.1 -Wl,-rpath,/opt/mesa/9.2.2/llvmpipe/lib:/home/scott/projects/ParaView-bin-make/lib: /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[2]: Leaving directory `/home/scott/projects/ParaView-bin-make' make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make[1]: Leaving directory `/home/scott/projects/ParaView-bin-make' make: *** [all] Error 2 So I'm looking suspiciously at that -l right before the /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so near the end of the command. I think I may have misunderstood the instructions, because I put empty double quotes in that OPENGL_gl_LIBRARY instead of just nothing. I'll try another configure with nothing there instead. Cheers, Scott On Tue, Nov 26, 2013 at 3:06 PM, David E DeMarle dave.dema...@kitware.com wrote: What does make VERBOSE=1 say the exact compilation line is? David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 26, 2013 at 4:27 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: Hi paraviewers, I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here: http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase: Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so - libOSMesa.so.8.0.0 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib total 34252 drwxr-xr-x 3 root root 4096 Nov 26 10:45 . drwxr-xr-x 4 root root 4096 Nov 26 10:45 .. -rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so - libOSMesa.so.8.0.0 lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 - libOSMesa.so.8.0.0 -rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0 drwxr-xr-x 2 root root 4096 Nov 26 10:45 pkgconfig As demonstrated above, the library is right where make says it can't find it. However, I'm not familiar with this form of specifying a library with the '-l' flag. Usually, I would say something like '-l OSMesa', if I wanted to link against 'libOSMesa.so', then I would say where it is located with the 'L' flag. Anyway, does anyone have any idea what I could have done wrong to achieve this error? I have included my CMakeCache.txt, but I can provide other information if it would
Re: [Paraview] Compiling ParaView: OSMesa, Gallium, llvmpipe
That command succeeds as long as I just remove the -l altogether. So I re-ran ccmake and deleted those empty double-quotes, and now the build is running again. It's past the point where the error happened before, but I'll respond to the list with the outcome when it has completed successfully. Probably just new-guy error in the end, but thanks Dave and Burlen for coming to the rescue! Cheers, Scott On Tue, Nov 26, 2013 at 3:57 PM, David E DeMarle dave.dema...@kitware.comwrote: That does look suspicious. Type that command in manually without and see if it succeeds. If so, then something is fishy with your cmake config that you should correct. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 26, 2013 at 5:55 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: Hi Dave, Here's the stuff near the end of make VERBOSE=1: make -f VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build.make VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build make[2]: Entering directory `/home/scott/projects/ParaView-bin-make' Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so cd /home/scott/projects/ParaView-bin-make/VTK/ThirdParty/ftgl /usr/bin/cmake -E cmake_link_script CMakeFiles/vtkftgl.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wno-deprecated -w -g -Wl,--fatal-warnings -Wl,--no-undefined -lc-shared -Wl,-soname,libvtkftgl-pv4.1.so.1 -o ../../../lib/libvtkftgl-pv4.1.so.1 CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTCharmap.cpp.o CMakeFiles/vtkftgl.dir/src/FTFace.cpp.o CMakeFiles/vtkftgl.dir/src/FTFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyphContainer.cpp.o CMakeFiles/vtkftgl.dir/src/FTLibrary.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTSize.cpp.o -l /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so ../../../lib/libvtkfreetype-pv4.1.so.1 ../../../lib/libvtkzlib-pv4.1.so.1 -Wl,-rpath,/opt/mesa/9.2.2/llvmpipe/lib:/home/scott/projects/ParaView-bin-make/lib: /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[2]: Leaving directory `/home/scott/projects/ParaView-bin-make' make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make[1]: Leaving directory `/home/scott/projects/ParaView-bin-make' make: *** [all] Error 2 So I'm looking suspiciously at that -l right before the /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so near the end of the command. I think I may have misunderstood the instructions, because I put empty double quotes in that OPENGL_gl_LIBRARY instead of just nothing. I'll try another configure with nothing there instead. Cheers, Scott On Tue, Nov 26, 2013 at 3:06 PM, David E DeMarle dave.dema...@kitware.com wrote: What does make VERBOSE=1 say the exact compilation line is? David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 26, 2013 at 4:27 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: Hi paraviewers, I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here: http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase: Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so - libOSMesa.so.8.0.0 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib total 34252 drwxr-xr-x 3 root root 4096 Nov 26 10:45 . drwxr-xr-x 4 root root 4096 Nov 26 10:45 .. -rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so - libOSMesa.so.8.0.0 lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 - libOSMesa.so.8.0.0 -rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0 drwxr-xr-x 2 root root 4096 Nov 26 10:45
Re: [Paraview] Can't get Volume by using dara/render server mode, is this a bug?
Sorry, the first email needs to be modified. Even the pvserver can't show the Volume either. But if I open the vtk file through the paraview client directly without assigning a server, the Volume can show up. 2013/11/26 Junyi Han demonmer...@gmail.com Dear all, I want to try the render server - data server mode. It works well when the representation is surface, but when I change the representation to Volume, it only shows the outline. Then I use the pvserver to test the data. The result is that the Volume shows well when using the pvserver. Is this a bug or I miss something? Best wishes, Junyi Han ___ 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] why when contouring by density does a color plot of density show more than one color?
That makes sense Thanks! On Nov 25, 2013, at 2:35 AM, David E DeMarle dave.dema...@kitware.commailto:dave.dema...@kitware.com wrote: I don't think so. If you color by the point aligned density it should be all one color. Coloring by cell aligned density will show variation due to the averaging used to create values on the points. Show surfaces with edges mode, zoom in, and try selection labeling to see the variation on a small patch. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Nov 18, 2013 at 5:48 PM, Cook, Rich coo...@llnl.govmailto:coo...@llnl.gov wrote: the attached is an image I made by creating a contour of the density variable resulting from the CellDatatoPointData filter on some Miranda data. I colored by density. Shouldn't it all be one color? ParaViewScreenSnapz002 copy.jpg -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605tel:%28925%29%20423-9605 ☎ (fax) (925) 423-6961tel:%28925%29%20423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ Powered by www.kitware.comhttp://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 -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management Graphics Grp., Services Development Div., Integrated Computing Communications Dept. (opinions expressed herein are mine and not those of LLNL) ___ 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] Compiling ParaView: OSMesa, Gallium, llvmpipe
So that was my problem, everything built fine after removing the empty double-quotes from the OPENGL_gl_LIBRARY variable in the ccmake gui. Patrick O tells me this is a typical newbie mistake. Thanks for the tips. Cheers, Scott On Tue, Nov 26, 2013 at 4:10 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: That command succeeds as long as I just remove the -l altogether. So I re-ran ccmake and deleted those empty double-quotes, and now the build is running again. It's past the point where the error happened before, but I'll respond to the list with the outcome when it has completed successfully. Probably just new-guy error in the end, but thanks Dave and Burlen for coming to the rescue! Cheers, Scott On Tue, Nov 26, 2013 at 3:57 PM, David E DeMarle dave.dema...@kitware.com wrote: That does look suspicious. Type that command in manually without and see if it succeeds. If so, then something is fishy with your cmake config that you should correct. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 26, 2013 at 5:55 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: Hi Dave, Here's the stuff near the end of make VERBOSE=1: make -f VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build.make VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build make[2]: Entering directory `/home/scott/projects/ParaView-bin-make' Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so cd /home/scott/projects/ParaView-bin-make/VTK/ThirdParty/ftgl /usr/bin/cmake -E cmake_link_script CMakeFiles/vtkftgl.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wno-deprecated -w -g -Wl,--fatal-warnings -Wl,--no-undefined -lc-shared -Wl,-soname,libvtkftgl-pv4.1.so.1 -o ../../../lib/libvtkftgl-pv4.1.so.1 CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTCharmap.cpp.o CMakeFiles/vtkftgl.dir/src/FTFace.cpp.o CMakeFiles/vtkftgl.dir/src/FTFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyphContainer.cpp.o CMakeFiles/vtkftgl.dir/src/FTLibrary.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTSize.cpp.o -l /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so ../../../lib/libvtkfreetype-pv4.1.so.1 ../../../lib/libvtkzlib-pv4.1.so.1 -Wl,-rpath,/opt/mesa/9.2.2/llvmpipe/lib:/home/scott/projects/ParaView-bin-make/lib: /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[2]: Leaving directory `/home/scott/projects/ParaView-bin-make' make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make[1]: Leaving directory `/home/scott/projects/ParaView-bin-make' make: *** [all] Error 2 So I'm looking suspiciously at that -l right before the /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so near the end of the command. I think I may have misunderstood the instructions, because I put empty double quotes in that OPENGL_gl_LIBRARY instead of just nothing. I'll try another configure with nothing there instead. Cheers, Scott On Tue, Nov 26, 2013 at 3:06 PM, David E DeMarle dave.dema...@kitware.com wrote: What does make VERBOSE=1 say the exact compilation line is? David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 26, 2013 at 4:27 PM, Scott Wittenburg scott.wittenb...@kitware.com wrote: Hi paraviewers, I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here: http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase: Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1 make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so - libOSMesa.so.8.0.0 scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib total 34252 drwxr-xr-x 3 root root 4096 Nov 26 10:45 . drwxr-xr-x 4 root root 4096 Nov 26 10:45 ..
Re: [Paraview] Volumetric slice with transparency?
All, Thanks for the responses. Let me take a dig at this and I will follow up. Thanks! Jesse On Nov 26, 2013, at 1:18 PM, Moreland, Kenneth kmo...@sandia.gov wrote: As with many things in ParaView, there are lots of ways to do what you are asking, each with a slightly different behavior. I'll list through the ones I can think of. * Like Utkarsh said, if your data is structured, you can use the Extract Subset filter. This will be the most efficient option, but the UI will be pretty crummy. * Also like Utkarsh said, you can use a pair of clip filters (instead of slice) to grab a reason. Use the Inside Out option on one of the clip filters so that the intersection of the half spaces become a slab. * You can change the Clip Type of the clip to a Box region. This will allow you clip a slab in one operation. The disadvantage is that the box clip operation can introduce more artifacts than a Plane clip. Also, you need to make sure the clip is Inside Out. * You should also try the Extract Cells By Region filter in place of the clip filter. Rather than cutting up cells, it will keep full cells that intersect a region you specify. Like Clip, Extract Cells By Region allows you to define cells by planes and boxes (although the inside/outside semantics are reversed). I suspect the Extract Cells By Region filter with a Box intersection will be the closest to what you want. -Ken On 11/26/13 10:37 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: If this is a structured dataset, try using Extract Subset filter. Otherwise, you'll have to use a pair of Clip filters to get the desired effect. Utkarsh On Tue, Nov 26, 2013 at 12:24 PM, Jesse Samluk seven...@udel.edu wrote: Utkarsh, Thanks for the response. By volumetric slice - see how the slice is now? Isn't there a way to make it thicker and move it up and down to show the changes? What about the clip option? Thanks! Jesse On Nov 26, 2013, at 12:00 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: I am not sure what you mean by volumetric slice. Does it mean multiple slices parallel to the one slice you have in your image? If so, the Slice filter does allow specifying additional offsets to slice. Switch the Properties panel to show advanced properties (http://www.kitware.com/blog/home/post/491) or search for offset in the search box at the top of the Properties panel. Now you can add offsets around the default slice. Utkarsh On Tue, Nov 26, 2013 at 11:54 AM, Jesse Samluk seven...@udel.edu wrote: Greetings, And if more information is needed, please let me know. We're looking to see if Paraview can create a volumetric slice with transparency of the following image created in Paraview. I saved the state file if needed, and have the data too, but since I'm a newbie here, I'm not too sure what to do. Thanks! JesseEM31outputforParaview.jpeg ___ 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] Problem loading custom object panels
Hi I am using PV 3.98.1 in Win32 bit with qt and successfully made my own plugin source. Now I want to make my custom object panel, but the panel does not get constructed, it get compiled but does not seem to be loaded anyway. I used the PV_DEBUG_PANELS flag but at the Creating panel widgets for the... part the default panels were created. So I debugged stuff and found following: The PUSH_BACK_PV_INTERFACES macro in MySourcePlugin_Plugin.cxx is empty: #ifdef plugin_type_gui #define PUSH_BACK_PV_INTERFACES(arg)\ #endif So the interface code in cmake macros seem to be not generated correctly in cmake, what do I do wrong: Here is my cmake, any ideas: list(APPEND SERVERMANAGER_SRC MySource.cxx ) list(APPEND SERVERMANAGER_XML MySource.xml ) list(APPEND GUI_XML SourceGUI.xml ) set(GUI_SRCS) set(GUI_INTERFACES) QT4_WRAP_CPP( MOC_SRCS pqMySource.h) ADD_PARAVIEW_OBJECT_PANEL ( IFACES IFACE_SRCS CLASS_NAME pqMySource XML_NAME MySource XML_GROUP sources ) list(APPEND GUI_INTERFACES ${IFACES} ) list(APPEND GUI_SRCS ${IFACE_SRCS} ${MOC_SRCS} pqMySource.cxx ) ADD_PARAVIEW_PLUGIN(MySourcePlugin 1.0 GUI_INTERFACES ${GUI_INTERFACES} GUI_RESOURCE_FILES ${GUI_XML} GUI_SOURCES ${GUI_SRCS} SERVER_MANAGER_XML ${SERVERMANAGER_XML} SERVER_MANAGER_SOURCES ${SERVERMANAGER_SRC} ) Would be nice if someone can help me, thanks in advance. _ JOANNEUM RESEARCH Forschungsgesellschaft mbH DIGITAL - Institute for Information and Communication Technologies Steyrergasse 17, 8010 Graz, Austria phone: +43 316 876-1751 fax: +43 316 8769-1751 e-mail: gerald.lod...@joanneum.at web: www.joanneum.at/digital _ This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee(s) is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission. Please consider the environment before printing this page. ___ 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