Re: [Paraview] Parallel ParaView linux package usage
> But by passing this argument I wont be using my GPU resources, right? Nope, you'll indeed be still using your GPU. It only won't see on-screen X windows for the server processes. 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] OSPRay textures and materials mapping
Hi Jonathan. Yes you can do that. 1) File->Load OSPRay Materials, switch the file type from "OSPRay Material Files (*.json)" to "Wavefront Material FIles (*.mtl)". That will let you load all of the materials and textures. They should all show up in the Material list. 2) The OSPRay Material selection (on Display section of Properties Tab advanced) will have all of the individual materials listed in it + a few others including "Value Indexed" which is all the way at the bottom. Choose that it means "use the categorical color lookup table to decide what material to use for each block and or polygon" 3) Now change the scalar array to color by to "Material Id", a cell aligned array which has the material index to use for each cell. 4) Make up a categorical lookup table. open spreadsheet view, switch to Field Data, look at the Material Names. open the color map editor for the "Material Id", click on Interpret Values As Categories and the color will change from bluewhitered to extremely YELLOW. add annotations, value 0 should be the name of the first entry in the Material Names array. Notes: * I have the trivial script somewhere that I used for the SC17 demo that makes up the lookup table for you. I'll try and dig that up. * in general it isn't a 1:1 match between mtl and ospray, in particular multitextures are not yet implemented * along those lines, the mtl parser I whipped up $PVSRC/VTK/Rendering/OSPRay/vtkMaterialLibrary::InternalParseMTL recognizes a "type" extension outside of mtl that lets you bring in ospray's nice materials instead of the default OBJMaterial. Glass and Metal are particularly nice. At some point I'll get around to making this all automatic. Patches are welcome in the meantime. good luck David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, May 18, 2018 at 10:25 AM, Jonathan Borduas < jonathan.bord...@caboma.com> wrote: > Hi, > > I tried rendering an .obj file running OSPRay that was exported from PCon > Planner Version 7.7 Patch 1. The original file is a .dwg > > > > I used the PathThracer mode. However, attached to the .obj there is an > .mtl file containing 50+ materials and 50+ texture (.png) files. > > I didn’t find an automated way to map all polydata of the .obj with their > respective material and texture file and rendering them using OSPRay. > > It seems that I have to assign the material and texture to each polydata > one-by-one. > > > > Is there a feature that will automatically map the respective textures and > materials ? > > Here is the link to download the original .dwg file. > https://www.easterngraphics.com/pcon/en/wp-content/uploads/2015/03/sample_ > apartment.dwg > > You will need to export it to .obj using PCon Planner Version 7.7 Patch 1 > with the File/Export/Geometry menu. > I couldn’t share the .obj file since the size is 60mb+ > > > > Thank you > > > > Jonathan Borduas > > > > ___ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview > > ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
[Paraview] OSPRay textures and materials mapping
Hi, I tried rendering an .obj file running OSPRay that was exported from PCon Planner Version 7.7 Patch 1. The original file is a .dwg I used the PathThracer mode. However, attached to the .obj there is an .mtl file containing 50+ materials and 50+ texture (.png) files. I didn't find an automated way to map all polydata of the .obj with their respective material and texture file and rendering them using OSPRay. It seems that I have to assign the material and texture to each polydata one-by-one. Is there a feature that will automatically map the respective textures and materials ? Here is the link to download the original .dwg file. https://www.easterngraphics.com/pcon/en/wp-content/uploads/2015/03/sample_apartment.dwg You will need to export it to .obj using PCon Planner Version 7.7 Patch 1 with the File/Export/Geometry menu. I couldn't share the .obj file since the size is 60mb+ Thank you Jonathan Borduas ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
[Paraview] OSPRay textures and materials mapping
Hi, I tried rendering an .obj file running OSPRay that was exported from PCon Planner Version 7.7 Patch 1. The original file is a .dwg I used the PathThracer mode. However, attached to the .obj there is an .mtl file containing 50+ materials and 50+ texture (.png) files. I didn't find an automated way to map all polydata of the .obj with their respective material and texture file and rendering them using OSPRay. It seems that I have to assign the material and texture to each polydata one-by-one. Is there a feature that will automatically map the respective textures and materials ? Here is the link to download the original .dwg file. https://www.easterngraphics.com/pcon/en/wp-content/uploads/2015/03/sample_apartment.dwg You will need to export it to .obj using PCon Planner Version 7.7 Patch 1 with the File/Export/Geometry menu. I couldn't share the .obj file since the size is 60mb+ Thank you Jonathan Borduas ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
[Paraview] 2 different behaviours with using GridType="Collection"
Hi Dear All To build an assembly with its subparts, I use "Collection", but when the file is imported into Paraview 5.5.0, I've met 2 behaviours: - using the xmf reader, the hierachy can be seen on the lower left corner - whereas using the xmf3 one, nothing appears (see the screenshots in attachment) Am I doing someting wrong in my code? Thanks for any suggestion Paul My code here bellow (each element type is independant) ... just a trial :-) -1. 0. 0. -1. 1. 0. -2. 1. 0. -2. 0. 0. 5 0 1 2 3 0. 0. 0. 1. 0. 0. 1. 1. 0. 0. 1. 0. 0. 0. 1. 1. 0. 1. 1. 1. 1. 0. 1. 1. 9 0 1 2 3 4 5 6 7 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Parallel ParaView linux package usage
It runs with more than 2 processes using --use-offscreen-rendering. But by passing this argument I wont be using my GPU resources, right? Leonardo Pessanha Laboratory of Computational Methods in Engineering Federal University of Rio de Janeiro - COPPE Rio de Janeiro, RJ, Brasil 2018-05-18 13:35 GMT+00:00 Utkarsh Ayachit: > Hmm, try passing the `--use-offscreen-rendering` to the pvserver (for 5.5 > the option has changed). > On Fri, May 18, 2018 at 9:30 AM Léo Pessanha > > wrote: > > > Hi! > > > By doing that I can only use 2 processes. Using 3 or more my workstation > freezes trying to open the OpenGL contexts. > > > But I don't know if this happens only for me. > > > Em sex, 18 de mai de 2018 10:26, Utkarsh Ayachit < > utkarsh.ayac...@kitware.com> escreveu: > > >> Leo, > > >> With 5.2, use the mpiexec under the `lib/paraview-5.2` instead of the > one > >> under `bin`. > > >> Utkarsh > > >> On Thu, May 17, 2018 at 5:07 PM Léo Pessanha < > leonardopessanh...@gmail.com> > >> wrote: > > >> > Hi! > > >> > Just finished downloading ParaView version 5.2 in Linux Ubuntu 16.04 > LTS. > > >> > Tried to run in parallel by doing: > > >> > cd paraviewFolder/bin > >> > ./mpiexec -n 2 ./pvserver > > > >> > No sucess. > > >> >> ./mpiexec: error while loading shared libraries: libmpl.so.1: cannot > >> open shared object file: No such file or directory > > > >> > After doing some research I added the paraview/lib folder to my > >> LD_LIBRARY_PATH > > >> > export > > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/pv52/lib/paraview-5.2:/opt/pv52/lib/ > >> > cd paraviewFolder/bin > >> > ./mpiexec -n 2 ./pvserver > > > >> > No sucess. > > >> >> [mpiexec@leognome] HYDU_create_process (./utils/launch/launch.c:69): > >> execvp error on file /home/leo/paraview/pv52/bin/./hydra_pmi_proxy (No > such > >> file or directory) > >> >> [mpiexec@leognome] HYD_pmcd_pmiserv_proxy_init_cb > >> (./pm/pmiserv/pmiserv_cb.c:520): assert (!closed) failed > >> >> [mpiexec@leognome] HYDT_dmxu_poll_wait_for_event > >> (./tools/demux/demux_poll.c:77): callback returned error status > >> >> [mpiexec@leognome] HYD_pmci_wait_for_completion > >> (./pm/pmiserv/pmiserv_pmci.c:181): error waiting for event > >> >> [mpiexec@leognome] main (./ui/mpich/mpiexec.c:405): process manager > >> error waiting for completion > > > >> > Finally I entered the folder paraviewFolder/lib/paraview-5.2 to dig > the > >> problem and found there are another set of > >> executables(paraview/pvserver/pvpython/etc) there. > > > >> > cd paraviewFolder/lib/paraview-5.2 > >> > ./mpiexec -n 2 ./pvserver > > >> > Sucessful run. > > >> > ## > > >> > Then I went to ParaView download page and downloaded the latest > version > >> 5.5 > >> > In the 5.5 package I did: > > >> > cd paraviewFolder/bin > >> > ./mpiexec -n 2 ./pvserver > > > >> > Sucessful run. > > >> > My question is, what happened? Was it supposed to happen? There was > >> structural directories changes? > > >> > Leonardo Pessanha > >> > Laboratory of Computational Methods in Engineering > >> > Federal University of Rio de Janeiro - COPPE > >> > Rio de Janeiro, RJ, Brasil > > >> > ___ > >> > Powered by www.kitware.com > > >> > Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > > >> > Please keep messages on-topic and check the ParaView Wiki at: > >> http://paraview.org/Wiki/ParaView > > >> > Search the list archives at: http://markmail.org/search/?q=ParaView > > >> > Follow this link to subscribe/unsubscribe: > >> > https://public.kitware.com/mailman/listinfo/paraview > ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] OpenVR - Builts & further developments
I am still doing development on the plugin so there should be some updates now and then. But the more the merrier :-) If you find fixes, improvements, etc then let's get them merged in. Thanks! Ken On Fri, May 18, 2018 at 6:39 AM, Benson Muitewrote: > > > On 05/18/2018 01:31 PM, Stefan Probst-Schendzielorz wrote: > >> Hi, >> >> I am interested into the usage of virtual reality with Paraview! The >> plugin so far is very interesting, however it sometimes crashes and the >> general documentation could be better! Is the development still on-going >> and will be there newer builds available? >> >> Thanks for the replies >> >> Best regards Stefan >> >> >> > Hi Stefan, > > Have been looking at this a little. Mostly for linux, where support is > much less. Are you expecting to help with development? > > Benso > ___ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 101 East Weaver Street Carrboro, North Carolina 27510 USA This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] OpenVR - Builts & further developments
On 05/18/2018 01:31 PM, Stefan Probst-Schendzielorz wrote: Hi, I am interested into the usage of virtual reality with Paraview! The plugin so far is very interesting, however it sometimes crashes and the general documentation could be better! Is the development still on-going and will be there newer builds available? Thanks for the replies Best regards Stefan Hi Stefan, Have been looking at this a little. Mostly for linux, where support is much less. Are you expecting to help with development? Benso ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
[Paraview] OpenVR - Builts & further developments
Hi, I am interested into the usage of virtual reality with Paraview! The plugin so far is very interesting, however it sometimes crashes and the general documentation could be better! Is the development still on-going and will be there newer builds available? Thanks for the replies Best regards Stefan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview