Re: [Paraview] Volume rendering rectilinear data

2018-04-27 Thread David E DeMarle
Not that I know of.

We are more likely to make the conversion to image based volume rendering
automatic, faster and more precise.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Fri, Apr 27, 2018 at 12:23 PM, Weiguang Guan <gu...@rhpcs.mcmaster.ca>
wrote:

> Hi David,
>
> Thanks for confirming it. Does Kitware have a plan to implement volume
> rendering for rectilinear volume? You see the spectrum from vtkImageData,
> to vtkRectilinearGrid, vtkStructuredGrid --- volume rendering is
> implemented on both ends but not for the middle one, which is a bit odd to
> the user.
>
> Best,
> Weiguang
>
>
>
> On 4/27/2018 12:06 PM, David E DeMarle wrote:
>
> You are correct it will not directly volume render vtkRectilinearGrids.
>
> Use threshold filter (all values) to map to a vtkUnstructuredGrid for
> direct rendering but at a cost of memory explosion.
> Apply the resample to image filter to map to vtkImageData for fast volume
> rendering, but at a cost of trading off precision for memory size.
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> <https://maps.google.com/?q=21+Corporate+Drive+%0D%0AClifton+Park,+NY+12065=gmail=g>
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Fri, Apr 27, 2018 at 11:13 AM, Weiguang Guan <gu...@rhpcs.mcmaster.ca>
> wrote:
>
>> I didn't a test and I'm surprised that Paraview cannot do volume
>> rendering on rectilinear data. Can someone confirm it or I made a mistake?
>>
>> Cheers,
>> Weiguang
>>
>> --
>> --
>> Weiguang Guan
>> Research Scientist
>> RHPCS, McMaster University
>> Phone: 905-525-9140 x22540
>>
>> ___
>> 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
>>
>
>
>
> --
> --
> Weiguang Guan
> Research Scientist
> RHPCS, McMaster University
> Phone: 905-525-9140 x22540
>
>
___
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] Volume rendering rectilinear data

2018-04-27 Thread David E DeMarle
You are correct it will not directly volume render vtkRectilinearGrids.

Use threshold filter (all values) to map to a vtkUnstructuredGrid for
direct rendering but at a cost of memory explosion.
Apply the resample to image filter to map to vtkImageData for fast volume
rendering, but at a cost of trading off precision for memory size.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Fri, Apr 27, 2018 at 11:13 AM, Weiguang Guan <gu...@rhpcs.mcmaster.ca>
wrote:

> I didn't a test and I'm surprised that Paraview cannot do volume rendering
> on rectilinear data. Can someone confirm it or I made a mistake?
>
> Cheers,
> Weiguang
>
> --
> --
> Weiguang Guan
> Research Scientist
> RHPCS, McMaster University
> Phone: 905-525-9140 x22540
>
> ___
> 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
>
___
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

2018-05-18 Thread David E DeMarle
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


Re: [Paraview] headless configuration and intel ospray

2018-05-16 Thread David E DeMarle
Unfortunately no you still need a GL (osmesa or EGL for headless).

File a feature request on the gitlab issue tracker if you want to attract
attention to that capability. It probably isn't that hard to do and it
would be a good use case.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, May 16, 2018 at 4:44 PM, Andrew Nicholson <
andrew.stormtroo...@gmail.com> wrote:

> Do I still need to build paraview against osmesa or can I solely use
> ospray?
>
> ___
> 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] OSPRay textures and materials mapping

2018-05-22 Thread David E DeMarle
And here is a python schell script to make step 4 (create the lookuptable)
automatic.

apartment = FindSource("sample_apartment.obj")

vtklevel = apartment.GetClientSideObject()

lut = GetColorTransferFunction('MaterialIds')

arr = vtklevel.GetOutput().GetFieldData().GetAbstractArray(0)

lut.InterpretValuesAsCategories = 1

ll = []

for x in range(0, arr.GetNumberOfTuples()):

ll.append(str(x))

ll.append(arr.GetValue(x))




David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, May 22, 2018 at 1:51 PM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> On Tue, May 22, 2018 at 12:34 PM, David E DeMarle <
> dave.dema...@kitware.com> wrote:
>
>>
>> On Tue, May 22, 2018 at 10:34 AM, Jonathan Borduas <
>> jonathan.bord...@caboma.com> wrote:
>>
>>> Hi David,
>>>
>>> I was able to complete all the steps. As you probably know, the step
>>> four was tedious.
>>>
>>> However I couldn’t get the result I wanted since I couldn’t assign the
>>> right textures to the right areas. Is there a mechanism to assign the
>>> texture just like we assign materials ?
>>> I guess this is what you mean by “multi-texture isn’t implemented yet”.
>>> I could probably extract all objects using a connectivity filter and then
>>> manually assign the textures, but again it is a tedious process for complex
>>> objects.
>>>
>>>
>> Better to do it in the code. We read in all of the texture coordinates
>> when we read the .obj and all of the texture files when we read the .mtl ->
>> we just aren't using the right set of texture coordinates in all cases yet.
>> That is most of what I mean by multitexture.
>>
>> Is there a roadmap as to when the multi-texture could be implemented ?
>>>
>>
>> I'm hoping for 5.6 in a couple of months time. Although this is important
>> it may very well slip because of other priorities.
>>
>>
>
> In the meantime, this python programmable filter is a workaround.
>
> pdi = self.GetInput()
>
> pdo = self.GetOutput()
>
> pdo.ShallowCopy(pdi)
>
>
> arraynames = []
>
> arrays = {}
>
> for a in range(0,pdi.GetPointData().GetNumberOfArrays()):
>
>   array = pdi.GetPointData().GetArray(a)
>
>   if array.GetNumberOfComponents() != 2:
>
> continue
>
>   arrname = array.GetName()
>
>   pdo.GetPointData().RemoveArray(arrname)
>
>   arraynames.append(arrname)
>
>   arrays[arrname] = array
>
>
> tcoords = vtk.vtkFloatArray()
>
> tcoords.SetName("TCoords")
>
> tcoords.SetNumberOfComponents(2)
>
> pdo.GetPointData().SetTCoords(tcoords)
>
> # todo numpy this to make it 100x faster
>
> for p in range(0, pdi.GetNumberOfPoints()):
>
>   tcoord = [0,0]
>
>   for arrname in arrays:
>
> candidate = arrays[arrname].GetTuple2(p)
>
> if candidate[0] == -1 and candidate[1] == -1:
>
>   continue
>
> tcoord = candidate
>
>   tcoords.InsertNextTuple2(tcoord[0],tcoord[1])
>
>
>
>
>
>> It would be great to have readers that can load
>>> texture/Geometry/Materials files such as .obj (.mtl and .png), .fbx and
>>> .dwg.
>>>
>>
>> Agreed.
>>
>>
>>> Best regards,
>>>
>>>
>>>
>>> Jonathan Borduas
>>>
>>>
>>>
>>> *From:* David E DeMarle <dave.dema...@kitware.com>
>>> *Sent:* Friday, May 18, 2018 10:58 AM
>>> *To:* Jonathan Borduas <jonathan.bord...@caboma.com>
>>> *Cc:* paraview@public.kitware.com
>>> *Subject:* 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"
>>>
>>>
>

Re: [Paraview] OSPRay textures and materials mapping

2018-05-22 Thread David E DeMarle
On Tue, May 22, 2018 at 12:34 PM, David E DeMarle <dave.dema...@kitware.com>
wrote:

>
> On Tue, May 22, 2018 at 10:34 AM, Jonathan Borduas <
> jonathan.bord...@caboma.com> wrote:
>
>> Hi David,
>>
>> I was able to complete all the steps. As you probably know, the step four
>> was tedious.
>>
>> However I couldn’t get the result I wanted since I couldn’t assign the
>> right textures to the right areas. Is there a mechanism to assign the
>> texture just like we assign materials ?
>> I guess this is what you mean by “multi-texture isn’t implemented yet”. I
>> could probably extract all objects using a connectivity filter and then
>> manually assign the textures, but again it is a tedious process for complex
>> objects.
>>
>>
> Better to do it in the code. We read in all of the texture coordinates
> when we read the .obj and all of the texture files when we read the .mtl ->
> we just aren't using the right set of texture coordinates in all cases yet.
> That is most of what I mean by multitexture.
>
> Is there a roadmap as to when the multi-texture could be implemented ?
>>
>
> I'm hoping for 5.6 in a couple of months time. Although this is important
> it may very well slip because of other priorities.
>
>

In the meantime, this python programmable filter is a workaround.

pdi = self.GetInput()

pdo = self.GetOutput()

pdo.ShallowCopy(pdi)


arraynames = []

arrays = {}

for a in range(0,pdi.GetPointData().GetNumberOfArrays()):

  array = pdi.GetPointData().GetArray(a)

  if array.GetNumberOfComponents() != 2:

continue

  arrname = array.GetName()

  pdo.GetPointData().RemoveArray(arrname)

  arraynames.append(arrname)

  arrays[arrname] = array


tcoords = vtk.vtkFloatArray()

tcoords.SetName("TCoords")

tcoords.SetNumberOfComponents(2)

pdo.GetPointData().SetTCoords(tcoords)

# todo numpy this to make it 100x faster

for p in range(0, pdi.GetNumberOfPoints()):

  tcoord = [0,0]

  for arrname in arrays:

candidate = arrays[arrname].GetTuple2(p)

if candidate[0] == -1 and candidate[1] == -1:

  continue

tcoord = candidate

  tcoords.InsertNextTuple2(tcoord[0],tcoord[1])





> It would be great to have readers that can load texture/Geometry/Materials
>> files such as .obj (.mtl and .png), .fbx and .dwg.
>>
>
> Agreed.
>
>
>> Best regards,
>>
>>
>>
>> Jonathan Borduas
>>
>>
>>
>> *From:* David E DeMarle <dave.dema...@kitware.com>
>> *Sent:* Friday, May 18, 2018 10:58 AM
>> *To:* Jonathan Borduas <jonathan.bord...@caboma.com>
>> *Cc:* paraview@public.kitware.com
>> *Subject:* 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

Re: [Paraview] No labels on Axes Grid to show object dimensions

2018-06-08 Thread David E DeMarle
Hi Umut,

That is odd. What do you get when you click on the "Edit" button to the
right of the "Axes Grid"? You should be able to turn on and off various
labels in that (hit the advanced/gear icon to see the full set of controls)
there. The defaults should be set with  "Axes To Label" all on. Only by
turning them off can I reproduce something like what you are getting.

hth


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Fri, Jun 8, 2018 at 12:20 PM, Umut TABAK  wrote:

> Hi all,
>
> I have a problem with Axes Grid under view.
>
> I would like to show the size of my object with some axes/ruler at the
> edges just to show the reader the dimensions of the domain that I am
> working on.
>
> I guess Axes Grid on under View is designed for this but if I check the
> box, I can see the white lines around my object but it has no labels.
> Attached is a screen shot without the labels.
>
> Any comments are appreciated.
>
> BR,
> Umut
>
>
>
> ___
> Powered by www.kitware.com
>
> ParaView discussion is moving! Please visit https://discourse.paraview.
> org/ for future posts.
>
> 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

ParaView discussion is moving! Please visit https://discourse.paraview.org/ for 
future posts.

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] No labels on Axes Grid to show object dimensions

2018-06-13 Thread David E DeMarle
Sorry I do not. @Cory, @Alan have either of you run into this (axis labels
disappearing) before?

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Jun 13, 2018 at 1:08 AM Umut TABAK  wrote:

> Dear David,
>
> Do you have any further ideas on this axed grid visibility problem? I
> still have the problem. One more screenshot on a 2d model is attached.
>
> BR,
> Umut
>
> On 8 June 2018 at 18:30, David E DeMarle  wrote:
>
>> Hi Umut,
>>
>> That is odd. What do you get when you click on the "Edit" button to the
>> right of the "Axes Grid"? You should be able to turn on and off various
>> labels in that (hit the advanced/gear icon to see the full set of controls)
>> there. The defaults should be set with  "Axes To Label" all on. Only by
>> turning them off can I reproduce something like what you are getting.
>>
>> hth
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> Clifton Park, NY 12065
>> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065=gmail=g>
>> -8662
>> Phone: 518-881-4909
>>
>> On Fri, Jun 8, 2018 at 12:20 PM, Umut TABAK  wrote:
>>
>>> Hi all,
>>>
>>> I have a problem with Axes Grid under view.
>>>
>>> I would like to show the size of my object with some axes/ruler at the
>>> edges just to show the reader the dimensions of the domain that I am
>>> working on.
>>>
>>> I guess Axes Grid on under View is designed for this but if I check the
>>> box, I can see the white lines around my object but it has no labels.
>>> Attached is a screen shot without the labels.
>>>
>>> Any comments are appreciated.
>>>
>>> BR,
>>> Umut
>>>
>>>
>>>
>>> ___
>>> Powered by www.kitware.com
>>>
>>> ParaView discussion is moving! Please visit
>>> https://discourse.paraview.org/ for future posts.
>>>
>>> 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

ParaView discussion is moving! Please visit https://discourse.paraview.org/ for 
future posts.

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] Paraview Discourse server seems to be down!

2018-06-11 Thread David E DeMarle
Thanks for the heads up Dennis.
It should be back up now.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Jun 11, 2018 at 2:59 PM, Dennis Conklin  wrote:

>
>
> ___
> Powered by www.kitware.com
>
> ParaView discussion is moving! Please visit https://discourse.paraview.
> org/ for future posts.
>
> 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

ParaView discussion is moving! Please visit https://discourse.paraview.org/ for 
future posts.

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] [EXTERNAL] Re: OSPRay textures and materials mapping

2018-05-31 Thread David E DeMarle
posted.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, May 31, 2018 at 8:17 AM, David E DeMarle 
wrote:

> I'll remove the need for them at some point, but for 5.5 they are helpful.
> So yes discourse is a good place for safe keeping.
>
> On Wed, May 30, 2018, 8:53 PM Scott, W Alan  wrote:
>
>> Dave,
>>
>> Would this be a good set of scripts to put in our brand new, squeeky
>> clean Tips and Tricks section of Discourse?
>>
>>
>>
>> https://discourse.paraview.org/
>>
>>
>>
>> Alan
>>
>>
>>
>>
>>
>>
>>
>> *From:* ParaView [mailto:paraview-boun...@public.kitware.com] *On Behalf
>> Of *David E DeMarle
>> *Sent:* Tuesday, May 22, 2018 12:10 PM
>> *To:* Jonathan Borduas 
>> *Cc:* paraview@public.kitware.com
>> *Subject:* [EXTERNAL] Re: [Paraview] OSPRay textures and materials
>> mapping
>>
>>
>>
>> And here is a python schell script to make step 4 (create the
>> lookuptable) automatic.
>>
>>
>>
>> apartment = FindSource("sample_apartment.obj")
>>
>> vtklevel = apartment.GetClientSideObject()
>>
>> lut = GetColorTransferFunction('MaterialIds')
>>
>> arr = vtklevel.GetOutput().GetFieldData().GetAbstractArray(0)
>>
>> lut.InterpretValuesAsCategories = 1
>>
>> ll = []
>>
>> for x in range(0, arr.GetNumberOfTuples()):
>>
>> ll.append(str(x))
>>
>> ll.append(arr.GetValue(x))
>>
>>
>>
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>>
>>
>> On Tue, May 22, 2018 at 1:51 PM, David E DeMarle <
>> dave.dema...@kitware.com> wrote:
>>
>> On Tue, May 22, 2018 at 12:34 PM, David E DeMarle <
>> dave.dema...@kitware.com> wrote:
>>
>>
>>
>> On Tue, May 22, 2018 at 10:34 AM, Jonathan Borduas <
>> jonathan.bord...@caboma.com> wrote:
>>
>> Hi David,
>>
>> I was able to complete all the steps. As you probably know, the step four
>> was tedious.
>>
>> However I couldn’t get the result I wanted since I couldn’t assign the
>> right textures to the right areas. Is there a mechanism to assign the
>> texture just like we assign materials ?
>> I guess this is what you mean by “multi-texture isn’t implemented yet”. I
>> could probably extract all objects using a connectivity filter and then
>> manually assign the textures, but again it is a tedious process for complex
>> objects.
>>
>>
>>
>> Better to do it in the code. We read in all of the texture coordinates
>> when we read the .obj and all of the texture files when we read the .mtl ->
>> we just aren't using the right set of texture coordinates in all cases yet.
>> That is most of what I mean by multitexture.
>>
>>
>>
>> Is there a roadmap as to when the multi-texture could be implemented ?
>>
>>
>>
>> I'm hoping for 5.6 in a couple of months time. Although this is important
>> it may very well slip because of other priorities.
>>
>>
>>
>>
>>
>>
>> In the meantime, this python programmable filter is a workaround.
>>
>>
>>
>> pdi = self.GetInput()
>>
>> pdo = self.GetOutput()
>>
>> pdo.ShallowCopy(pdi)
>>
>>
>>
>> arraynames = []
>>
>> arrays = {}
>>
>> *for* a *in* range(0,pdi.GetPointData().GetNumberOfArrays()):
>>
>>   array = pdi.GetPointData().GetArray(a)
>>
>>   *if* array.GetNumberOfComponents() != 2:
>>
>> *continue*
>>
>>   arrname = array.GetName()
>>
>>   pdo.GetPointData().RemoveArray(arrname)
>>
>>   arraynames.append(arrname)
>>
>>   arrays[arrname] = array
>>
>>
>>
>> tcoords = vtk.vtkFloatArray()
>>
>> tcoords.SetName("TCoords")
>>
>> tcoords.SetNumberOfComponents(2)
>>
>> pdo.GetPointData().SetTCoords(tcoords)
>>
>> # todo numpy this to make it 100x faster
>>
>> *for* p *in* range(0, pdi.GetNumberOfPoints()):
>>
>>   tcoord = [0,0]
>>
>>   *for* arrname *in* arrays:
>>
>> candidate = arrays[arrname].GetTuple2(p)
>>
>> *if* candidate[0] == -1 *and* candidate[1] == -1:
>>
>>   *continue*
>>
>> tcoord = candidate
>>
>>  

Re: [Paraview] [EXT] Re: vtkPointDataToCellData but only for selected PointData

2018-04-30 Thread David E DeMarle
This does what you are looking for:

import vtk


# copy entire structure across

self.GetOutputDataObject(0).ShallowCopy(self.GetInputDataObject(0,0))


# use pass arrays to extract a copy with one array of interest

myArrays=vtk.vtkPassArrays()

myArrays.SetInputDataObject(self.GetInputDataObject(0,0))

myArrays.ClearArrays()

myArrays.AddPointDataArray('DISPL')

myArrays.AddCellDataArray('')

myArrays.AddFieldDataArray('')


# use point2cell to operate on the one array we care about

p2c = vtk.vtkPointDataToCellData()

p2c.SetInputConnection(myArrays.GetOutputPort())

p2c.Update()


# iterate over blocks and copy in the result

iter=dsa.MultiCompositeDataIterator([p2c.GetOutputDataObject(0), output])

for  in_block,  output_block in iter:

 
output_block.GetCellData().AddArray(in_block.VTKObject.GetCellData().GetArray('DISPL'))




David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Apr 30, 2018 at 8:52 AM, Dennis Conklin <dennis_conk...@goodyear.com
> wrote:

> David,
>
>
>
> I have not called filters within the Programmable Filter before and I am
> not getting things hooked up correctly. My attempt is attached.
> Clearly, I do not understand how to hook the output of 1 filter to the
> input of the next because I’m getting to the end and getting something with
> no blocks and no cells.
>
>
>
> Any hints?
>
>
>
> Dennis
>
>
>
>
>
>
>
>
>
>
>
> *From:* David E DeMarle [mailto:dave.dema...@kitware.com]
> *Sent:* Tuesday, April 10, 2018 10:14 AM
> *To:* Dennis Conklin <dennis_conk...@goodyear.com>
> *Cc:* Paraview (parav...@paraview.org) <parav...@paraview.org>
> *Subject:* [EXT] Re: [Paraview] vtkPointDataToCellData but only for
> selected PointData
>
>
>
>  *WARNING - External email; exercise caution.*
>
>
>
> The pass arrays filter comes to mind.
>
>
>
> If creating withing your python programmable filter it will be called
> vtk.vtkPassArrays then follow that with a vtk.vtkPointDataToCellData.
>
>
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
>
> On Tue, Apr 10, 2018 at 10:07 AM, Dennis Conklin <
> dennis_conk...@goodyear.com> wrote:
>
> All,
>
>
>
> Well, this list solved my problem so easily (and made me feel slightly
> less than the sharpest pencil in the box) yesterday, so I thought I’d try
> again.
>
>
>
> I am doing some Python calcs inside a programmable filter and some of the
> results I want to average from the Points onto the Cells.   But,  I don’t
> want all my PointData moved over to CellData – I want to transfer some of
> them over within my Filter.
>
>
>
> Right now I’m looping thru all the elements and finding all their nodes,
> then averaging them and assigning to the cells.  It is dog slow and is
> choking off the usefulness of this filter.
>
>
>
> Is there anything like vtkPointDataToCellData that lets me specify which
> quantities to convert – could I do something tricky like store original
> list of PointData, make up a new list, then run PointDataToCellData, then
> restore the list of PointData ??
>
>
>
> I realize this may have all sorts of unexpected side effects, so I’m just
> asking!
>
>
>
> Thanks again, this group is great!
>
>
>
> Dennis
>
>
> ___
> Powered by www.kitware.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com=01%7C01%7Cdennis_conklin%40goodyear.com%7Ccdd327b7b83443c9224908d59eed5011%7C939e896692854a9a9f040887efe8aae0%7C0=bFpbI9%2F4eHwIrhf5Sd9f2ynzY%2FvWHiDIlONgpO13J0A%3D=0>
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html=01%7C01%7Cdennis_conklin%40goodyear.com%7Ccdd327b7b83443c9224908d59eed5011%7C939e896692854a9a9f040887efe8aae0%7C0=mMExlGeMQKwAob7IUdPyH60WLz420BhmCRMs%2Fp8aLf4%3D=0>
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fparaview.org%2FWiki%2FParaView=01%7C01%7Cdennis_conklin%40goodyear.com%7Ccdd327b7b83443c9224908d59eed5011%7C939e896692854a9a9f040887efe8aae0%7C0=Myi6SWCBnXGSlGEpOScpW0tc83nT6ue%2FjmtzC9G%2FafE%3D=0>
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3DParaView=01%7C01%7Cdennis

Re: [Paraview] isosurfaces & slices, lights/shadows

2018-05-03 Thread David E DeMarle
We can't yet restrict lights to specific objects.

However you can get the effect you want by turning up the ambient
intensity and turning off the diffuse intensity on the objects you
want to be independent of the light (the slices).

See Ambient and Diffuse sliders in the GUI or from python do something
like the following:
obj = FindSource("Slice1")
rep = GetRepresentation()
rep.Diffuse = 0
rep.Ambient = 1


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Thu, May 3, 2018 at 4:21 AM, Michael Müller
<m.muel...@recom-services.de> wrote:
> Dear users,
>
> I am having some problem visualizing isosurfaces/contours in combination
> with slices. Usually I switch off all lights to get nice coloring:
> /
> renderView1.UseLight = 0   # for slices etc.
> /
> (Output without isosurface attached: temp.jpg)
>
> When I include an isosurface using contour-filter, it looks totally 'flat',
> there are no contours or shadows visible.
> (Output with ugly isosurface attached: temp-iso-nolight.jpg)
>
> What I tried to do was switch on lighting and include additional lights with
> intensity 0.6 (to prevent getting too dark coloring of the slices).
> /
> renderView1.UseLight = 1   # for slices etc.
> light1 = AddLight(view=renderView1)# for contour on isosurfaces !!!
> light1.Coords= 'Ambient'   # position-less == camera
> light1.Intensity = 0.6 # dim intensity [0:1]
> /
> (Output with nice isosurface attached: temp-iso-light-addlight06.jpg).
>
> Still the problem: while I get a nice isosurface and the vertical slice is
> looking okay, the horizontal slices are still darker than the ones in the
> default screenshot (see: temp-iso-light-addlight06.jpg vs temp.jpg).
>
> Is there a way, to turn on/off lights on single objects in my pipeline?
> Is it possible to include something like shading directly to the isosurface?
> Any other ideas!?
>
> Thanks,
>
> Michael
>
>
> ___
> 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] IEEE Supercomputing 2018 - Kitware wants to promote your work!

2018-06-21 Thread David E DeMarle
Greetings VTK and ParaView communities,

We at Kitware are searching for compelling images, videos, and entire
applications enabled by VTK and ParaView to show in our booth at this year's
 Supercomputing conference <https://sc18.supercomputing.org/>. For a sample
of what we demonstrated before, check out last year's highlights
<https://vimeo.com/242962117>. In conjunction with SC18, and again with
your permission, we would also like to reference your work from the
galleries and success stories on paraview.org or vtk.org.

So, if you've got a cool app, or have recently used VTK and ParaView to
make some great looking visualizations, are able to share them, and want us
to show them off for you, please contact me so we can discuss the details.
Videos should ideally be 1920x1080 pixels for HD display, and still
visualizations should be 150ppi when scaled to 100%. For the attribution,
we will need at a minimum your name, a title or brief caption, and the
acknowledgement as you would like it to appear.

Finally, if you happen to be going to the conference and would like a forum
to present your work at, please let me know so we can schedule your
presentation in our booth.

thanks, and I hope to see many of you at SuperComputing in November!

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
Powered by www.kitware.com

ParaView discussion is moving! Please visit https://discourse.paraview.org/ for 
future posts.

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] pvserver core dump with server and client v5.5.2

2018-08-08 Thread David E DeMarle
In 5.5.2 only Mac clients still have that specific failure so I was
reluctant to suggest this as the cause.

For mac a decent workaround is to use the 5.5.1 noospray client we've
published.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Aug 8, 2018 at 3:18 PM John Patchett  wrote:

> I think there were some issues with the server segfaulting if it didn't
> have OSPRay built into it and the Windows client connected to it.  Can you
> check if this also happens with a non-windows client and if so perhaps
> ensure OSPRay gets built on the linux server side.
> Good Luck,
> --John.
>
> On Wed, Aug 8, 2018 at 12:12 AM Mathieu Westphal <
> mathieu.westp...@kitware.com> wrote:
>
>> Hello,
>>
>> You may want to build it Debug and to run with gdb.
>>
>> Best regards,
>>
>> Mathieu Westphal
>>
>> On Tue, Aug 7, 2018 at 7:42 PM, Christopher Paolini <
>> paol...@engineering.sdsu.edu> wrote:
>>
>>> Greetings,
>>>
>>> Built server v5.5.2 from source and am getting this core dump when a
>>> client connects:
>>>
>>> Server: Ubuntu 16.04.3 LTS, Nvidia 396.37, x86_64
>>> Client: Windows 10
>>>
>>> $ ~/ParaView-v5.5.2/paraview_build$ bin/pvserver --server-port=8080
>>> --cslog=paraview.log
>>> Waiting for client...
>>> Connection URL: cs://host:8080
>>> Accepting connection(s): host:8080
>>> Client connected.
>>> Segmentation fault (core dumped)
>>>
>>> Any ideas?
>>>
>>> Thanks so much,
>>>
>>> Chris
>>>
>>> ___
>>> Powered by www.kitware.com
>>>
>>> ParaView discussion is moving! Please visit
>>> https://discourse.paraview.org/ for future posts.
>>>
>>> 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
>>
>> ParaView discussion is moving! Please visit
>> https://discourse.paraview.org/ for future posts.
>>
>> 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
>
> ParaView discussion is moving! Please visit
> https://discourse.paraview.org/ for future posts.
>
> 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

ParaView discussion is moving! Please visit https://discourse.paraview.org/ for 
future posts.

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] [EXTERNAL] Re: Idea: move from mailing lists to discourse

2018-03-15 Thread David E DeMarle
If we can get vtk consensus, we should move that at the same time.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, Mar 15, 2018 at 12:46 PM, Scott, W Alan <wasc...@sandia.gov> wrote:

> Without much study, I agree with Cory.  The current e-mail system feels
> unwieldy and noisy to me, and is hard to search.  Furthermore, I find it
> hard to browse back in time for something I remember, but can’t find the
> search terms for (and have deleted).  Discourse feels closer to our current
> gitlab bug tracker, which has been very successful.  Let a tool manage the
> mailing list, rather than my inbox.
>
>
>
> +1.
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-boun...@public.kitware.com] *On Behalf
> Of *Cory Quammen
> *Sent:* Thursday, March 15, 2018 9:24 AM
> *To:* Ayachit, Utkarsh (External Contacts) <utkarsh.ayac...@kitware.com>
> *Cc:* ParaView <parav...@paraview.org>
> *Subject:* [EXTERNAL] Re: [Paraview] Idea: move from mailing lists to
> discourse
>
>
>
> +1
>
>
>
> Discourse includes a mailing list mode that, with some caveats, behaves
> like the current mailing list if you prefer that mode. The integrated
> search feature is nice to have - I usually resort to searching the ParaView
> mailing list in markmail's archive, which usually works, but an additional
> step that wouldn't be needed with an integrated search. Having different
> categories for beginners, developers, announcements, etc. would be great.
> You can watch or unwatch different categories, tag posts with keywords, and
> bookmark certain posts you'd like to revisit. It just seems great all
> around.
>
>
>
> Cory
>
>
>
>
>
>
>
> On Thu, Mar 15, 2018 at 10:46 AM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
> Folks,
>
> I know ITK community have moved on to discourse
> (https://discourse.itk.org/) and from what I've heard, the experience
> has been great. Is it time for ParaView mailing lists to move to
> Discourse as well?
>
> What are people's feelings about it?
>
> 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
>
>
>
>
>
> --
>
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
>
> ___
> 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] OSPRay in version 5.5-RC2

2018-03-08 Thread David E DeMarle
Was this with the windows binary?

We had a compilation issue there that snuck and late and we fixed too late
for RC2. It is fixed in master and will be fixed before 5.5.0.final.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, Mar 8, 2018 at 2:48 PM, Angus Lock <angus.l...@ff.com> wrote:

> I can’t seem to see any reference to OSPRay options in the Properties
> panel any more. Is there a command line argument or option to enable it?
>
>
>
> Thanks,
>
>
>
> *Angus Lock*
> Sr. Manager - Aerodynamics | R
>
> *e   *angus.l...@faradayfuture.com
> *c   *310 293 5902 <(310)%20293-5902>
>
> [image: https://wiki.faradayfuture.com/images/signatureLogo.png]
>
> *a   *18455 S Figueroa St, Gardena, CA 90248
> *w   *www.faradayfuture.com
>
> --
>
> FF, inc. email may include content, whether in the body of an email or in
> an attachment, that is intended to be confidential. Delivery of
> confidential material by email not does not diminish the confidential
> nature of such material. All persons who believe that they have erroneously
> received any FF, inc. email are requested to delete such email, including
> any attachments. Any non-business, personal use of FF, inc. email system is
> solely the responsibility of the sender, and none of the content of any
> such email is to be attributed to FF, inc. No one who receives an email
> purportedly from FF, inc. should rely on the authenticity or completeness
> of that email, unless it is received directly from FF, inc.. No person is
> entitled to copy, forward or otherwise re-use any material contained in any
> FF, inc. email, without FF, inc.’s express written permission.
>
>
>
> ___
> 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] CFP: SC18 Vis Showcase

2018-04-05 Thread David E DeMarle
Of course we'd love to show your work on the paraview.org website too after
the contest.

We are more than happy to put text and links of your choosing up with the
images and videos.

Contact me off list to work out the details.





David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, Apr 5, 2018 at 4:02 PM, Moreland, Kenneth <kmo...@sandia.gov> wrote:

> Sorry for the spam, but we have had many great entries using ParaView to
> create excellent HPC visualizations, and I though some ParaView users would
> like this opportunity to showcase your work. As an added bonus, this year
> accepted entries will get a publication in the Parallel Computing journal.
>
> 
> ---
>
>   Call for Papers
>
>   SC18 Scientific Visualization & Data Analytics Showcase
>
>  The International Conference for High Performance Computing, Networking,
>   Storage, and Analysis, November 11-16, Dallas, TX, USA
>
>https://sc18.supercomputing.org/submit/showcases-submissions/
>
>*** Submissions due July 31, 2018 ***
>
>Contact: vis_showc...@info.supercomputing.org
>
> 
> ---
>
>
> SC18's Scientific Visualization & Data Analytics Showcase provides a forum
> for the year's most instrumental movies in HPC.  Selected entries will be
> displayed live in a museum/art gallery format. Six accepted finalists will
> compete for the Best Visualization Award, and each finalist will present
> his or her movie during a dedicated 15-minute presentation. Movies are
> judged by overall quality, how they illuminate science, and for creative
> innovations in the movie production process.
>
> **Accepted submissions will be published in a virtual special issue of
> Parallel Computing.** There will also be both a live display throughout the
> conference so that attendees can experience and enjoy the latest in science
> and engineering HPC results expressed through state-of-the-art
> visualization technologies and a session at SC18 dedicated to the accepted
> submissions.
>
> REVIEW AND SELECTION PROCESS
>
> Submissions need to include a movie (up to 1GB in size) and a short paper
> (up to 6 pages including references). The short paper should describe the
> scientific story conveyed by the movie, how the visualization helps
> scientific discovery, and the "state-of-the-practice" information behind
> making the movie.
>
> Each submission will be peer reviewed by the Visualization & Data Analytics
> Showcase Committee. Criteria for review include:
>
>   * How effective is the visual communication of the data?
>   * How relevant to the HPC community is the visualization?
>   * What is the impact of the science story and how well is it told?
>   * What visualization techniques were necessary to create the movie?
>
> Finally, submissions should consider SC18's overall theme "HPC Inspires."
>
> SUBMISSION INSTRUCTIONS
>
> All submissions comprise a video and accompanying manuscript. The video
> submitted should be in MP4, MOV, or AVI format and use a codec that will
> play in typical desktop computer media players. There is no hard limit on
> video length, but typical videos are less than 10 minutes long, and the
> submitted file should be no more than 1GB.
>
> The manuscript must be no more than 6 pages including references. The
> manuscripts should be formatted according to the guidelines for the
> Parallel Computing journal. Please use one of the following two templates
> when formatting your manuscript:
>
>   * LaTeX template (preferred):
> https://sc18.supercomputing.org/app/uploads/2018/02/sc18-
> vis-showcase-latex-template.zip
>   * Word template:
> https://sc18.supercomputing.org/app/uploads/2018/02/sc18-
> vis-showcase-template.docx.zip
>
> The manuscript should be uploaded as a pdf for the initial submission.
> Authors of accepted submissions will have to send the original material
> (.tex or .docx files and any source image files) to Parallel Computing's
> publisher.
>
> Visualization showcase entries are submitted through the SC Submission Site
> (https://submissions.supercomputing.org/). Sign in, click the "Make a New
> Submission" tab, and then select the "Scientific Visualization & Data
> Analytics Showcase" link.
>
> PROCEEDINGS
>
> The manuscripts of the six accepted submissions will be published in a
> special virtual issue of Parallel Computing. Because the Parallel Computing
> journal does not 

Re: [Paraview] vtkPointDataToCellData but only for selected PointData

2018-04-10 Thread David E DeMarle
The pass arrays filter comes to mind.

If creating withing your python programmable filter it will be called
vtk.vtkPassArrays then follow that with a vtk.vtkPointDataToCellData.



David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Apr 10, 2018 at 10:07 AM, Dennis Conklin <
dennis_conk...@goodyear.com> wrote:

> All,
>
>
>
> Well, this list solved my problem so easily (and made me feel slightly
> less than the sharpest pencil in the box) yesterday, so I thought I’d try
> again.
>
>
>
> I am doing some Python calcs inside a programmable filter and some of the
> results I want to average from the Points onto the Cells.   But,  I don’t
> want all my PointData moved over to CellData – I want to transfer some of
> them over within my Filter.
>
>
>
> Right now I’m looping thru all the elements and finding all their nodes,
> then averaging them and assigning to the cells.  It is dog slow and is
> choking off the usefulness of this filter.
>
>
>
> Is there anything like vtkPointDataToCellData that lets me specify which
> quantities to convert – could I do something tricky like store original
> list of PointData, make up a new list, then run PointDataToCellData, then
> restore the list of PointData ??
>
>
>
> I realize this may have all sorts of unexpected side effects, so I’m just
> asking!
>
>
>
> Thanks again, this group is great!
>
>
>
> Dennis
>
> ___
> 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] Using ninja to build/install ParaView

2018-04-04 Thread David E DeMarle
I agree with Mathieu, you don't need a fork of Ninja to build/install
paraview.

Chris you might be interested in the paraview superbuild project -
https://gitlab.kitware.com/paraview/paraview-superbuild

We use that to 1) make our redistributable binaries and 2) to deploy
paraview on clusters and supercomputers. Two salient features in it are
that 1) it can either build and package or or simply use system versions of
paraview's dependencies, and 2) that it fixes up the library paths when
needed.

hth




David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, Apr 4, 2018 at 1:43 AM, Mathieu Westphal <
mathieu.westp...@kitware.com> wrote:

> Hi Chris,
>
> AFAIK, ParaView does not require the kitware fork of Ninja.
> I just build and installed with Ninja 1.8.2, it works well and the
> installed binaries links correctly.
>
> Could you check with a standard Ninja ? and could you precise your
> configuration options ?
>
> Best,
>
> Mathieu Westphal
>
> On Tue, Apr 3, 2018 at 10:50 PM, Chris Coutinho <c.couti...@redstack.nl>
> wrote:
>
>> Hello,
>>
>>
>>
>> I’m using the Kitware fork of ninja, which builds the latest release
>> candidate of ParaView just fine, but when I install it to the specified
>> install location (via ninja install), all of the executables are suddenly
>> unable to find other linked libraries. In the build directory everything
>> works, but the locations of various libraries (ie MPI) don’t carry over,
>> and calling ParaView fails due to not being able to find those libraries.
>>
>>
>>
>> Running ‘ldd’ on the executable shows that that all the libraries aren’t
>> able to be found.
>>
>>
>>
>> I’m curious if this is just a fact of Ninja as primarily a dev tool, or
>> maybe I’m just not passing it the proper flags?
>>
>>
>>
>>
>>
>> Met vriendlijke groet,
>>
>> REDstack BV
>>
>>
>>
>> *Chris Coutinho*
>>
>> Onderzoeker/Data Analist
>>
>>
>>
>> tel: +31 (0)6 –  5785
>>
>> post: Postbox 199, 8600 AD Sneek
>>
>> bezoekadres: Pieter Zeemanstraat 6, 8606 JR Sneek
>>
>> email: c.couti...@redstack.nl
>>
>> www: www.redstack.nl
>>
>>
>>
>> [image: REDstack_logo2]
>>
>>
>>
>> ___
>> 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
>
>
___
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 scivis - samples along the cast ray when volume rendering?

2018-04-12 Thread David E DeMarle
Hi Mark,

Sorry no it is not fully hooked up yet.

By default we use some heuristics to pick a sampling rate, and we have a
TODO comment in the code to hook that up for the cases when, like now, you
need better control.

Chime in if you like on this related bug report:
https://gitlab.kitware.com/paraview/paraview/issues/17486

thanks

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, Apr 12, 2018 at 9:59 AM, Van Moer, Mark W <mvanm...@illinois.edu>
wrote:

> Hi ParaView,
>
>
>
> For OSPRay, is there a way to set the sampling rate of the rays in
> ParaView? i.e. samplingRate as referenced in the OSPRay documentation,
> Table 6 on this page
>
> https://www.ospray.org/documentation.html
>
>
>
> Thanks,
>
> Mark
>
> ___
> 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] [ANNOUNCE] ParaView 5.5.0 now available for download

2018-04-14 Thread David E DeMarle
It has been moved under the Views menu.

On Sat, Apr 14, 2018, 12:47 AM Shuhao Wu  wrote:

> Hello,
>
> Is the Python shell moved/gone in this release? I no longer see it under
> Tools > Python shell (OS is Ubuntu 16.04). I've attached a screenshot
> for this. I definitely see it in PV 5.4.1.
>
> Thanks,
> Shuhao
>
> On 2018-04-09 03:33 PM, Cory Quammen wrote:
> > Dear ParaView community,
> >
> > On behalf of the Paraview team, it is my great pleasure to announce
> > that ParaView 5.5.0 is available for download.
> >
> > https://www.paraview.org/download/
> >
> > Full release notes for ParaView 5.5.0 are available at
> >
> > https://blog.kitware.com/paraview-5-5-0-release-notes/
> >
> > Additionally, both ParaView's git repository and superbuild repository
> > have been tagged with "v5.5.0".
> >
> > Signed installers for macOS are not yet available, but they are in the
> works.
> >
> > Thank you,
> > Cory and the ParaView team
> >
> >
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> 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] Custom Filter with Input to pipe to Programmable Filter

2018-04-18 Thread David E DeMarle
good news:
programmable source/filter has a property called Parameters that lets you
pass in arbitrary values.
See an example of its use in the standard benchmark here:
https://gitlab.kitware.com/paraview/paraview/blob/master/
Wrapping/Python/paraview/benchmark/manyspheres.py#L168

bad news:
To my knowledge we have never exposed that property to the end user in the
Qt parts of the GUI. If someone can provide a good example of a qt plugin
or otherwise that exposes parameters to the end user, please advise on this
thread.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, Apr 18, 2018 at 4:41 AM, Arno Mayrhofer <
arno.mayrho...@dcs-computing.com> wrote:

> Hi all,
>
> I have made a small Programmable Filter that converts my input data. Now I
> have one parameter (resolution) that I would like to be modifiable by the
> user. My script currently looks as follows:
>
> resolution = 20
> val = {'resolution': resolution, 'self': self}
>
> execfile('/path/to/filter.py', val)
>
>
> Ideally I want my users to not have to replace the 20 by whatever value
> they desire, but instead make a Custom Filter with either a text input
> field or a slider that will pipe its value to the Programmable Filter. Is
> something like this possible at all?
>
> Thanks in advance for your help,
> Arno
>
>
> ___
> 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
>
>
___
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] Paraview SC17 Release OSPray = PV 5.5?

2018-04-16 Thread David E DeMarle
Hi Gabiel.

Click the gear icon or use the search field. "OSPRay Material" is flagged
as an advanced option. You will find a handful of example materials in that
list.

Note about the Value Indexed material. That one means "instead of using one
material for the whole object, use the color map to determine the material
for each block or cell"
To demonstrate:
open can.ex2
turn on ospray
turn on path tracer
set OSPRay Material to "Value Indexed"
open Color Map Editor.
change annotation for block 0 from "white" to "aluminum".




David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Apr 16, 2018 at 2:47 PM, Axtmann Gabriel <
axtm...@iag.uni-stuttgart.de> wrote:

> Hi,
> I was able to get some nice OSPray renderings using the actual Paraview
> version 5.5. Anyway If I want to load some material json files for
> rendering  I cannot find the option to set the material in the properties
> menue. What I am doing wrong here?
>
> In short, I want to reproduce your SC17 example:
>
> https://blog.kitware.com/kitware-talks-sc17-and-releases-
> for-vtk-paraview-and-cmake/
>
>
> Thanks in advance
>
> Gabriel
>
> ___
> 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
>
___
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] Single point with different values

2018-04-19 Thread David E DeMarle
ParaView doesn't have enforce any restrictions on duplicate points. So you
should check with your solver to see if this was intended or an error.

In ParaView, Filters->Clean To Grid merges such duplicate points together.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Thu, Apr 19, 2018 at 9:18 AM, Guillermo <guillermo180...@gmail.com>
wrote:

> Dear all,
>
> I am visualizing a .vtu file and I noticed that one of the points from the
> mesh (visualize the data with the "Surface with edges" option") has
> different values for the same variable. When visualizing the variable it
> shows that, this specific variable has a value of 0.667, however, when
> using the hover points over tool, it shows that the variable has another
> different value, 1.107. Using spreadsheet view, I could locate the first
> value and its associate Point ID. Then I located the second value, the one
> from the hover tool, and it has a different Point ID. Both coordinates are
> the same for both points ID.
>
> My question is, is that a problem from paraview which uses two points for
> the same coordinates or is that a problem from the solver I used to compute
> the solution?
> My main concern is that maybe I am visualizing wrong results, it is
> showing the first value and it should be showing the second instead.
>
> I use Point Data for that specific variable. Paraview version 5.0.1.
> Ubuntu OS.
>
> I do not attach the file because it is 9Mb size, but if you need, please
> let me know.
>
> Thank you very much for your help.
>
> Cheers,
> Guillermo Suarez
>
> ___
> 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] How find local maxima of a scalar field in a slice

2018-04-16 Thread David E DeMarle
How about using the gradient (filter or python calculator expression) to
take the derivative and find the points of inflection. Combine that with
the techniques Mathieu and Jean suggested.

On Apr 16, 2018 7:53 AM, "Mathieu Westphal" 
wrote:

Dear Andrea,

Both Jean's and my method will not work for your case. I'll admit that I
missed the local part.

The easiest way would be to do it visually with scalar coloring and use
"Hover Points" or "Hover Cells" to find the exact element you are looking
for.

Best,

Mathieu Westphal

On Mon, Apr 16, 2018 at 1:25 PM, Caffagni, Andrea <
andrea.caffa...@ferrari.com> wrote:

> Dear Jean,
>
> Thanks for your suggestions.
>
> If I have understood correctly, your method can works only in the case in
> which I have only a maxima like this case:
>
> https://upload.wikimedia.org/wikipedia/commons/c/ce/Gaussian_2d.png
>
>
>
> But if I have to find the local maxima in this case:
>
>
> https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/27178/versions/6/previews/html/psPeaksExample.html
>
> in which I have three different local max peaks, your method can works
> correctly?
>
>
>
> Best regards,
>
> Andrea
>
>
>
>
>
> *From:* Favre Jean [mailto:jfa...@cscs.ch]
> *Sent:* Monday, April 16, 2018 09:38
> *To:* Caffagni, Andrea; paraview@public.kitware.com
> *Subject:* RE: How find local maxima of a scalar field in a slice
>
>
>
> use the Edit->Find Data menu
>
> Select Points or Cells.
> Select the "from" object (your slice's name)
>
> Select the variable name
> Select "is max"
> Click on "Run Selection Query"
>
> -
> Jean/CSCS
>
>
> _
>
>
>
> Questo messaggio è da intendersi esclusivamente ad uso del destinatario e
> può contenere informazioni che sono di natura privilegiata, confidenziale o
> non divulgabile secondo le leggi vigenti. Se il lettore del presente
> messaggio non è il destinatario designato, o il dipendente/agente
> responsabile per la consegna del messaggio al destinatario designato, si
> informa che ogni disseminazione, distribuzione o copiatura di questa
> comunicazione è vietata anche ai sensi della normativa vigente in materia
> di protezione dei dati personali. Se avete ricevuto questo messaggio per
> errore, vi preghiamo di notificarcelo immediatamente a mezzo e-mail di
> risposta e successivamente di procedere alla cancellazione di questa e-mail
> e relativi allegati dal vostro sistema.
>
>
> _
>
>
>
> This message is intended only for the use of the addressee and may contain
> information that is privileged, confidential and exempt from disclosure
> under applicable law. If the reader of this message is not the intended
> recipient, or the employee or agent responsible for delivering the message
> to the intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is prohibited under the
> applicable data protection law. If you have received this e-mail by
> mistake, please notify us immediately by return e-mail and delete this
> e-mail and all attachments from your system.
>
>
>
>
> _
>
> ___
> 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
___
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] Help :Texture coordinates

2018-03-21 Thread David E DeMarle
Adding the list back into the discussion so everyone can contribute to and
benefit from the discussion.

To the best of my knowledge we don't have anything that will do that type
of modelling yet. Presumably you could write a programmable filter that
would iterate over all of the cells, and use the cells orientation to make
up texture coordinates, duplicating point coordinates as needed. That will
be tricky.

You will likely have more success by exporting the model from ParaView into
a dedicated modelling/graphics package, generating the textures you want
there, and then reimporting the result back into ParaView.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Mar 20, 2018 at 5:12 PM, GeorgeP S <salachor...@gmail.com> wrote:

> Hello David E DeMarle,
>
> i saw the filters section although when i apply texture to plane it will
> append the texture i want onto the whole surface of my building.
> I shared through wetransfer a  sample of one of the models. The generation
> of this model came to be from LMGC90 platform.
> As you will see the model is made from a series of "brick" elements, i
> would like to find a way to texture them firstly because i am quite new to
> paraview and i missed if there are the texture coordinates and how to use
> them correctly, in case there are not any texture coordiantes for each one
> of the "bricks" i would like to know a way to generate them and use them to
> append a texture on them.
>
> Best regards,
> Salachoris Georgios Panagiotis
>
> On Tue, Mar 20, 2018 at 8:35 PM, David E DeMarle <dave.dema...@kitware.com
> > wrote:
>
>> The three Filters->Texture Map To ... filters programmatically create
>> simple texture coordinates based on simple functions of the geometry.
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <(518)%20881-4909>
>>
>> On Tue, Mar 20, 2018 at 1:58 PM, GeorgeP S <salachor...@gmail.com> wrote:
>>
>>> Hello all,
>>>
>>> i wanted to know if there is a way to apply a texture on cells that do
>>> not have texture coordinates. If so how can i do it?
>>>
>>> Thank you,
>>> George
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>>  Mail
>>> priva di virus. www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>> <#m_1611315017454307188_m_-4157686217231244707_m_-7146931150643625814_m_-4213450803092441443_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> ___
>>> 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] Help :Texture coordinates

2018-03-20 Thread David E DeMarle
The three Filters->Texture Map To ... filters programmatically create
simple texture coordinates based on simple functions of the geometry.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909 <(518)%20881-4909>

On Tue, Mar 20, 2018 at 1:58 PM, GeorgeP S <salachor...@gmail.com> wrote:

> Hello all,
>
> i wanted to know if there is a way to apply a texture on cells that do not
> have texture coordinates. If so how can i do it?
>
> Thank you,
> George
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>  Mail
> priva di virus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
> <#m_-7146931150643625814_m_-4213450803092441443_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ___
> 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
>
>
___
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