Re: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd

2017-11-15 Thread Aashish Chaudhary
the code I pointed to is based on a older version of the VTK and ParaView
and needs to be ported to newer VTK and ParaView. I do not expect it will
be lot of work but some work and we can help you over the email if needed.

Thanks


On Wed, Nov 15, 2017 at 12:56 PM Sonya Davydycheva <sda...@gmail.com> wrote:

> Thank you Aashish,
>
> But the link you provided includes:
>
>- GoCad ASCII Files (*.gp, *.ts, *.pl, *.vs, *.vts, *.vo, *.sg)
>
> (see Bottom of Supported Readers).
> Does it mean GoCAD files are doable already? Or, something still needs to
> be added to Paraview, to read them?
>
> Sonya Davydycheva <http://3demholding.com>
> (713)498-6139
>
>
> On Wed, Nov 15, 2017 at 11:51 AM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> the actual code location is here:
>> https://github.com/ObjectivitySRC/PVGPlugins/tree/master/Readers/GocadReader
>>
>>
>> Let us know if you decide to bring in this code into VTK / ParaView as we
>> will be very interested in it as well.
>>
>> Thanks,
>>
>>
>> On Wed, Nov 15, 2017 at 12:46 PM Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>> I do not think that GoCAR ASCII (ts) files are directly readable in
>>> ParaView. Although there is a reader in this repo
>>> http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats
>>>  that
>>> you could bring into ParaView / VTK. If that is the case, we would be happy
>>> to help bringing in the reader in VTK / ParaView.
>>>
>>> thanks
>>>
>>>
>>> On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva <sda...@gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> 1) Is it possible to read/import GoCAD file *.ts (triangulated
>>>> surfaces) using ParaView, with a possibility to further read its data in
>>>> ascii format, or convert to a 3D function of space point (x,y,z)?
>>>>
>>>> 2) The same question about Earth Vision grid and the respective files
>>>> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z)
>>>> using ParaView?
>>>>
>>>> Thank you,
>>>>
>>>> Sonya Davydycheva <http://3demholding.com>
>>>> (713)498-6139
>>>>
>>>> ___
>>>> 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:
>>>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd

2017-11-15 Thread Aashish Chaudhary
the actual code location is here:
https://github.com/ObjectivitySRC/PVGPlugins/tree/master/Readers/GocadReader


Let us know if you decide to bring in this code into VTK / ParaView as we
will be very interested in it as well.

Thanks,


On Wed, Nov 15, 2017 at 12:46 PM Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> I do not think that GoCAR ASCII (ts) files are directly readable in
> ParaView. Although there is a reader in this repo
> http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats 
> that
> you could bring into ParaView / VTK. If that is the case, we would be happy
> to help bringing in the reader in VTK / ParaView.
>
> thanks
>
>
> On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva <sda...@gmail.com>
> wrote:
>
>> Hello,
>>
>> 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces)
>> using ParaView, with a possibility to further read its data in ascii
>> format, or convert to a 3D function of space point (x,y,z)?
>>
>> 2) The same question about Earth Vision grid and the respective files
>> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z)
>> using ParaView?
>>
>> Thank you,
>>
>> Sonya Davydycheva <http://3demholding.com>
>> (713)498-6139
>>
>> ___
>> 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:
>> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd

2017-11-15 Thread Aashish Chaudhary
I do not think that GoCAR ASCII (ts) files are directly readable in
ParaView. Although there is a reader in this repo
http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats
that
you could bring into ParaView / VTK. If that is the case, we would be happy
to help bringing in the reader in VTK / ParaView.

thanks


On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva  wrote:

> Hello,
>
> 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces)
> using ParaView, with a possibility to further read its data in ascii
> format, or convert to a 3D function of space point (x,y,z)?
>
> 2) The same question about Earth Vision grid and the respective files
> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z)
> using ParaView?
>
> Thank you,
>
> Sonya Davydycheva 
> (713)498-6139
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Does pv support mili

2017-11-14 Thread Aashish Chaudhary
Mili is something that came from LLNL and although it will work using visit
bridge, visit itself had a plan to improve the support. Here is the link
https://www.visitusers.org/index.php?title=Mili_Support_Overhaul

I did not follow up or know the current status.

- aashish


On Tue, Nov 14, 2017 at 10:33 PM Joachim Pouderoux <
joachim.pouder...@kitware.com> wrote:

> Alan,
>
> There is a Mili reader (*.m *.mili) support through the Visit bridge (see
> visit_readers.xml).
> However, this reader depends on the Mili library and is not compiled by
> default - the CMake variable
> VISIT_BUILD_READER_Mili has to be turned ON explicitly.
> May be Robert Maynard or Sebastien Jourdain will be able to give more
> details on it...
>
> Best,
> Joachim
>
>
>
> *Joachim Pouderoux*, PhD
>
> *Technical Expert - Scientific Computing Team*
> *Kitware SAS *
>
>
> 2017-11-15 1:09 GMT+01:00 Scott, W Alan :
>
>> Hi all,
>>
>> I had a person come up to my demonstration at SC, and ask if ParaView can
>> read Mili files?  I believe Rich Cook worked on a Mili reader about 4 or 5
>> years ago.
>>
>>
>>
>> So, can ParaView read a Mili file?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Alan
>>
>> ___
>> 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:
>> http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] GIS - VTK/Blender - Converter

2017-10-30 Thread Aashish Chaudhary
Hi Michael,

This is great news. congratulations and thanks for sharing this
information. Few of us would be happy to follow up with you on this.  I
will send another email on this matter.

Thanks,


On Sat, Oct 28, 2017 at 10:36 AM Michael Nolde  wrote:

> Dear mailing list members,
>
> I'd like to announce 'geoTriMesh', a Python module I wrote to convert
> GIS data to the 3D visualisation environments. It has full support for
> donut- and multipolygons as well as projected coordinates. It works by
> creating a topological mesh by triangulating coordinate information from
> a source polygon and merging it with elevation and color raster data.
> The result is written to VTU unstructured grid to be imported into
> ParaView. X3D is also supported, as well as Python/mplot3d
>
> It's free (Apache License) and available as Python Module (installable
> via pip) as well as QGIS Plugin:
> https://github.com/flatpolar
>
> Also, I used the library to create a global elevation mesh dataset
> (spherical and flat projection), which can be downloaded here and used
> for private or commercial 3D modelling projects (CC-BY license):
> http://flatpolar.org/tocomee.html
>
> A detailed description of the dataset is available here:
> http://ijsdir.jrc.ec.europa.eu/index.php/ijsdir/article/view/455
>
> I'm happy to receive feedback.
>
> Cheers, 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OpenGL

2017-10-18 Thread Aashish Chaudhary
sure, I am not a regular MS Windows users (and never used Windows server)
but I thought they had a hardware accelerated mode for remote desktop
connection. Perhaps someone else can chime-in. I would also look into your
Graphics Hardware (do you have a GPU?) and driver version.

Nonetheless, I believe virtualgl will work on Windows (
https://virtualgl.org/vgldoc/2_2_1/#hd003005)

Thanks


On Wed, Oct 18, 2017 at 10:50 AM Harshad Joshi <harshad.jo...@iesve.com>
wrote:

> Hi Ashish,
>
>
>
> I am limited to a Windows Server only environment.
>
>
> Regards,
>
> Harshad.
>
>
>
> <http://www.iesve.com/>
>
> *Harshad Joshi*
> *CFD Project Leader*
>
> UK:
>
>   +44 (0) 141 945 8500 <+44%20141%20945%208500>
>
> IRE:
>
>   +353 (0) 1 875 0104 <+353%201%20875%200104>
>
> http://www.iesve.com
>
> Integrated Environmental Solutions Limited.
>
> Registered in Scotland No. SC151456
>
> Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
> G20 0SP
>
> 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1
>
> Email Disclaimer <http://www.iesve.com/disclaimer.html>
>
>
>
>
>
> *From:* Aashish Chaudhary [mailto:aashish.chaudh...@kitware.com]
> *Sent:* 18 October 2017 15:49
> *To:* Harshad Joshi <harshad.jo...@iesve.com>; ParaView@paraview.org
> *Subject:* Re: [Paraview] OpenGL
>
>
>
> Dear Harshad,
>
>
>
> You probably want to setup turbovnc with virtual GL. You can find
> instructions here:
> https://kitware.github.io/paraviewweb/docs/virtualgl_turbovnc_howto.html
>
>
>
> Thanks,
>
>
>
>
>
> On Wed, Oct 18, 2017 at 3:42 AM Harshad Joshi <harshad.jo...@iesve.com>
> wrote:
>
> Hi,
>
>
>
> I am trying to run Paraview 5.4.1 on a terminal server via remote desktop.
> I keep getting the error:
>
>
>
>
>
> The server does not have a graphics card installed on it. Can you please
> help?
>
>
>
> What’s the best way around this?
>
>
>
> Regards,
>
> Harshad.
>
>
>
> <http://www.iesve.com/>
>
> *Harshad Joshi*
> *CFD Project Leader*
>
> UK:
>
>   +44 (0) 141 945 8500 <+44%20141%20945%208500>
>
> IRE:
>
>   +353 (0) 1 875 0104 <+353%201%20875%200104>
>
> http://www.iesve.com
>
> Integrated Environmental Solutions Limited.
>
> Registered in Scotland No. SC151456
>
> Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
> G20 0SP
>
> 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1
>
> Email Disclaimer <http://www.iesve.com/disclaimer.html>
>
>
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OpenGL

2017-10-18 Thread Aashish Chaudhary
Dear Harshad,

You probably want to setup turbovnc with virtual GL. You can find
instructions here:
https://kitware.github.io/paraviewweb/docs/virtualgl_turbovnc_howto.html

Thanks,


On Wed, Oct 18, 2017 at 3:42 AM Harshad Joshi 
wrote:

> Hi,
>
>
>
> I am trying to run Paraview 5.4.1 on a terminal server via remote desktop.
> I keep getting the error:
>
>
>
>
>
> The server does not have a graphics card installed on it. Can you please
> help?
>
>
>
> What’s the best way around this?
>
>
>
> Regards,
>
> Harshad.
>
>
>
> 
>
> *Harshad Joshi*
> *CFD Project Leader*
>
> UK:
>
>   +44 (0) 141 945 8500 <+44%20141%20945%208500>
>
> IRE:
>
>   +353 (0) 1 875 0104 <+353%201%20875%200104>
>
> http://www.iesve.com
>
> Integrated Environmental Solutions Limited.
>
> Registered in Scotland No. SC151456
>
> Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
> G20 0SP
>
> 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1
>
> Email Disclaimer 
>
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Loading cell data from a netcdf file in ParaView

2017-09-26 Thread Aashish Chaudhary
I believe that is limitation of current ParaView readers. Dan can probably
correct me.

- Aashish

On Tue, Sep 26, 2017 at 8:58 AM Tyson Whitehead 
wrote:

> Hi all,
>
> A quick request for some help loading cell data from a netcdf file in
> ParaView.
>
> I'm using the "NetCDF files generic and CF conventions" reader under
> ParaView 5.2.0 (the x86_64 linux build you can download off the website).
> I believe I've followed the CF cell conventions, but it insists on load the
> data as point data.
>
>
> http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/build/ch07.html
>
> Any help would be appreciated.  Here's the relevant details from the file
> and a link to it
>
> netcdf Pressure.mat {
> dimensions:
>   x = 10 ;
>   y = 4 ;
>   z = 2 ;
>   time = 12000 ;
>   b = 2 ;
> variables:
>   double x(x) ;
>   x:bounds = "x_bnds" ;
>   double y(y) ;
>   y:bounds = "y_bnds" ;
>   double z(z) ;
>   z:bounds = "z_bnds" ;
>   double time(time) ;
>   time:units = "seconds since 2017-09-19 17:31:17" ;
>   double b(b) ;
>   double x_bnds(x, b) ;
>   double y_bnds(y, b) ;
>   double z_bnds(z, b) ;
>   double pressure(time, z, y, x) ;
> data:
>x = 1.33, 8.335, 16, 24, 32, 40, 48, 56, 63.665, 70.67 ;
>
>y = 0.87, 3.85, 6.65, 9.63 ;
>
>z = -0.4, 0.4 ;
>
>x_bnds =
> 0, 4.61174175055394,
> 4.61174175055394, 12,
> 12, 20,
> 20, 28,
> 28, 36,
> 36, 44,
> 44, 52,
> 52, 60,
> 60, 67.3882582494461,
> 67.3882582494461, 72 ;
>
>y_bnds =
> 0, 2.42178882104347,
> 2.42178882104347, 5.25,
> 5.25, 8.07821117895653,
> 8.07821117895653, 10.5 ;
>
>z_bnds =
> -0.5, 0,
> 0, 0.5 ;
>
>time = ... ;
>
>pressure = ... ;
> }
>
> https://www.sharcnet.ca/~tyson/Pressure.mat.nc
>
> Thanks!  -Tyson
>
> PS:  From playing with other netcdf files I found online, it almost seems
> to me that ParaView only honors the cell structure when you are in
> spherical coordinates.  Is cell data just not supported in cartesian
> coordinates?
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] troubles with netCDF reader ?

2017-08-08 Thread Aashish Chaudhary
Hi Cynthia,

If you could modify the vtkNetCDFCFReader (
https://github.com/Kitware/VTK/blob/master/IO/NetCDF/vtkNetCDFCFReader.cxx) to
work with WRF formats, that would be an awesome addition. I know few folks
that can use this work. Unfortunately we do not have any direct funding to
accomplish this but we will be more than happy to guide or help a little if
needed.

Let us know and we can discuss more offline.

Thanks,


On Tue, Aug 8, 2017 at 4:40 PM Dan Lipsa <dan.li...@kitware.com> wrote:

> Hi Cynthia,
> It is possible to change the reader. You'll need to compile ParaView from
> source. The class you need to change is vtkNetCDFCFReader.
> Probably you'll need an extra parameter to the reader that would be the
> time unit. The time unit read from the file should overides this parameter.
>
> You could also submit your changes back to VTK (most readers in ParaView
> are actually part of VTK). This seems like something other people might
> need.
>
> Dan
>
>
>
>
> On Tue, Aug 8, 2017 at 12:43 PM, Hart, Cynthia Joyce - (cyndyb) <
> cyn...@email.arizona.edu> wrote:
>
>> Hello,
>>
>>
>>
>> To make a long story short, this solution you used below, does not work
>> well for the weather forecasting group here on my campus that I am working
>> with.  Is there any possibility of obtaining the source code of the
>> Paraview netCDF reader?  If I could edit that source code to accept the
>> non- CF compliant WRF outputs, I could make use of Paraview in an automated
>> script to create animations for our forecasters much, much more readily
>> than manipulating netCDF file headers.  The data I’d sent to you was but a
>> very small subset of the hundreds of netCDF files we’d need to change,
>> every time we do a model run, and this is a process we’d like to actually
>> automate daily.  I am unable to force the output to be compliant as it is
>> created.  Can you help?
>>
>>
>>
>> Sincerely,
>>
>>
>>
>> Cynthia Hart
>>
>>
>>
>>
>>
>> *From: *Dan Lipsa <dan.li...@kitware.com>
>> *Date: *Friday, June 23, 2017 at 10:57 AM
>> *To: *Aashish Chaudhary <aashish.chaudh...@kitware.com>
>> *Cc: *"Hart, Cynthia Joyce - (cyndyb)" <cyn...@email.arizona.edu>, "
>> paraview@paraview.org" <paraview@paraview.org>
>> *Subject: *Re: [Paraview] troubles with netCDF reader ?
>>
>>
>>
>> Cynthia,
>>
>> It seems that the files you send us are not CF compliant.
>>
>> The problem is that the Time dimension does not have a unit.
>>
>>
>>
>>
>>
>> Here are some quotes from the CF Conventions document:
>>
>> - The use of coordinate variables is required for all dimensions that
>> correspond to one dimensional space or time coordinates.
>>
>> - Variables representing time must always explicitly include the units
>> attribute; there is no default value
>>
>>
>>
>> So, to fix one of your files, I did:
>>
>>
>>
>> 1. ncdump ARAD4_test2.ncdf > ARAD4_test2_CF.txt
>>
>>
>>
>> 2. I added a new variable Time with the unit specified to the txt file.
>>
>>
>>
>> float Time(Time) ;
>>
>> Time:units = "minutes since 2016-07-29 12:00:00" ;
>>
>>
>>
>> 3.
>>
>> I generated a new nc file:
>>
>> ncgen ARAD4_test2_CF.txt -o  ARAD4_test2_CF.nc
>>
>>
>>
>> This new file is read correctly by ParaView.
>>
>>
>>
>> Best,
>>
>> Dan
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Jun 16, 2017 at 6:31 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>> Dear Cynthia,
>>
>>
>>
>> Is there any chance that you can send me a sample dataset?
>>
>>
>>
>> - Aashish
>>
>>
>>
>> On Fri, Jun 16, 2017 at 6:15 PM Hart, Cynthia Joyce - (cyndyb) <
>> cyn...@email.arizona.edu> wrote:
>>
>> Folks –
>>
>>
>>
>> I am struggling with using the netCDF reader, with a bunch of timeseries
>> of WRF data output (weather prediction modeling).  I am a visualizer, NOT a
>> meteorologist, and so, my full understanding of the model’s output is shaky
>> at best.  The researcher I am trying to assist is currently on vacation,
>> and I’m trying to animate the output of his WRF model.
>>
>>
>>
>> So!  I have been viewing some of the output using the built in reader in
>> Paraview (the ‘generic and cf’ rea

Re: [Paraview] [Non-DoD Source] Eye separation has been wrong since Immersive ParaView 5.2 - here's how to fix it

2017-07-20 Thread Aashish Chaudhary
Generally you want to scale objects appropriately - almost all of the
library I used / wrote do that (except paraview). If the object is too
small you will have very large eye separation and it is too big, very
small.

You want to scale object according to your screen size so that it can fit
there if placed at focal distance from the camera.

We talked about supporting auto-scaling in paraview but ran out of funding.

Let us know how should be proceed and I happy to help.

On Tue, Jul 18, 2017 at 2:59 PM Hennessey, Joseph G CTR USARMY RDECOM ARL
(US)  wrote:

> Mark,
>
> I have discussed the changes I made with my colleagues.
> We do not want to harm your work with the Cave,
> so we would be okay with backing out our changes.
>
> We can scale our data to be of size greater than 1
> by using the transform data inside of ParaView
> and our data will still work. My changes were only
> necessary when working with data of size less than or
> a lot less than zero.
>
> Please let me know what I can do to assist, my changes
> are found in the ParaView 5.x versions, ParaView 4.4.0
> still has your code in it without my changes for visualizing
> small data in stereo with devices such as the zSpace.
>
> Thanks,
>
> Joe
>
> ~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> DOD Supercomputing Resource Center
> Email:  joseph.g.hennessey2@mail.mil
>
>
> -Original Message-
> From: Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
> Sent: Monday, June 26, 2017 11:42 AM
> To: 'Stock, Mark' ; Gena Bug via ParaView
> 
> Subject: RE: [Non-DoD Source] [Paraview] Eye separation has been wrong
> since
> Immersive ParaView 5.2 - here's how to fix it
>
> Hello,
>
> I am the one who requested the changes,
> they were made to correct the stereo separation with working with zSpace
> hardware
> for data that was small in size (floating point values of coordinates, >>
> 1,
> for example data that ranged from 0.000 to  0.001
> I checked its use with data across 13 orders of magnitude from data of size
> 1,000,000 to data of scale 1/1,000,000.
> I admit my fix is an approximation, but I am attempting to get a reasonable
> agreement of size with  the non stereo operation
>
>   double eyeSeparationCorrectionFactor = 10.0;
>   double shiftDistance = this->EyeSeparation / (2.0 *
> eyeSeparationCorrectionFactor);
>   if(this->Distance < 1.0)
>   {
> shiftDistance *= this->Distance;
>   }
>
>   // Front (aka near)
>   double F = E[2] - (this->Distance + this->Thickness);//E[2] -
> 1.0;//this->ClippingRange[1];
>   // Back (aka far)
>   double nearDistanceCorrectionFactor  = 1000.0;
>   double B = E[2] - (this->Distance / nearDistanceCorrectionFactor);//E[2]
> - .1;//this->ClippingRange[0];
>
> Without these changes with small data the stereo separation is incorrect,
> (too large)
> also small data will not even show up in the render window as the clipping
> planes will be wrong.
>
> This change
>
> "  if (cameraParallel == 0 && dot(normalVCVSOutput,vertexVC.xyz) > 0.0) {
> normalVCVSOutput = -1.0*normalVCVSOutput; }"
>
> I did not make and do not know its purpose.
>
> I think we  need a solution that works for both caves and planar display
> hardware,
> and I think the underlying issue is that there is different render code
> being used,
> that is a subset of the full normal rendering solution, which is creating
> these issues.
> I think the correct solution is to remove  the separate render code and use
> the primary
> code for both client and server rendering of mono and stereo. I do not have
> a cave to
> test with, but I do not see why we can not find a solution that works for
> everyone.
>
> Thanks,
>
> Joe
>
> ~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> DOD Supercomputing Resource Center
> Aberdeen Proving Ground, MD 21005
>
> -Original Message-
> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Stock,
> Mark
> Sent: Friday, June 23, 2017 5:23 PM
> To: Gena Bug via ParaView 
> Subject: [Non-DoD Source] [Paraview] Eye separation has been wrong since
> Immersive ParaView 5.2 - here's how to fix it
>
> All active links contained in this email were disabled.  Please verify the
> identity of the sender, and confirm the authenticity of all links contained
> within the message prior to copying and pasting the address to a Web
> browser.
>
>
>
>
> 
>
> Hello,
>
> If you're an Immersive ParaView user, you may have noticed that 5.x
> versions
> don't work as well in your CAVE. Specifically, I've noticed the following
> differences when compared with ParaView 4.4.0:
>
> 1) I can place an object in space properly but it seems to move 10x as fast
> when I move my head.
> 2) If I move the object just a little farther away from its initial
> position, it clips out (vanishes).
> 3) When 

Re: [Paraview] troubles with netCDF reader ?

2017-06-16 Thread Aashish Chaudhary
Dear Cynthia,

Is there any chance that you can send me a sample dataset?

- Aashish

On Fri, Jun 16, 2017 at 6:15 PM Hart, Cynthia Joyce - (cyndyb) <
cyn...@email.arizona.edu> wrote:

> Folks –
>
>
>
> I am struggling with using the netCDF reader, with a bunch of timeseries
> of WRF data output (weather prediction modeling).  I am a visualizer, NOT a
> meteorologist, and so, my full understanding of the model’s output is shaky
> at best.  The researcher I am trying to assist is currently on vacation,
> and I’m trying to animate the output of his WRF model.
>
>
>
> So!  I have been viewing some of the output using the built in reader in
> Paraview (the ‘generic and cf’ reader) and it works for some variables, not
> for others.  I am using NCO tools to extract some of the variables of
> interest into their own CDF file, to try and isolate the problem Paraview
> has, reading some variables.. but that doesn’t help.  I am particularly
> trying to read a variable for radar data, “REFL_10CM”.  Here is the
> relevant bit of the file header from ncdump, below:
>
>
>
> netcdf ARAD4_test2 {
>
> dimensions:
>
> Time = UNLIMITED ; // (1 currently)
>
> south_north = 393 ;
>
> west_east = 639 ;
>
> bottom_top = 37 ;
>
> variables:
>
> float REFD_MAX(Time, south_north, west_east) ;
>
> REFD_MAX:FieldType = 104 ;
>
> REFD_MAX:MemoryOrder = "XY " ;
>
> REFD_MAX:description = "MAX DERIVED RADAR
> REFL" ;
>
> REFD_MAX:units = "dbZ" ;
>
> REFD_MAX:stagger = "" ;
>
> REFD_MAX:coordinates = "XLONG XLAT XTIME" ;
>
> float REFL_10CM(Time, bottom_top, south_north, west_east) ;
>
> REFL_10CM:FieldType = 104 ;
>
> REFL_10CM:MemoryOrder = "XYZ" ;
>
> REFL_10CM:description = "Radar
> reflectivity (lamda = 10 cm)" ;
>
> REFL_10CM:units = "dBZ" ;
>
> REFL_10CM:stagger = "" ;
>
> REFL_10CM:coordinates = "XLONG XLAT XTIME"
> ;
>
> float XLAT(Time, south_north, west_east) ;
>
> XLAT:FieldType = 104 ;
>
> XLAT:MemoryOrder = "XY " ;
>
> XLAT:description = "LATITUDE, SOUTH IS
> NEGATIVE" ;
>
> XLAT:units = "degree_north" ;
>
> XLAT:stagger = "" ;
>
> XLAT:coordinates = "XLONG XLAT" ;
>
> float XLONG(Time, south_north, west_east) ;
>
> XLONG:FieldType = 104 ;
>
> XLONG:MemoryOrder = "XY " ;
>
> XLONG:description = "LONGITUDE, WEST IS
> NEGATIVE" ;
>
> XLONG:units = "degree_east" ;
>
> XLONG:stagger = "" ;
>
> XLONG:coordinates = "XLONG XLAT" ;
>
> float XTIME(Time) ;
>
> XTIME:FieldType = 104 ;
>
> XTIME:MemoryOrder = "0  " ;
>
> XTIME:description = "minutes since
> 2016-07-29 12:00:00" ;
>
> XTIME:units = "minutes since 2016-07-29
> 12:00:00" ;
>
> XTIME:stagger = "" ;
>
>
>
> Paraview complains that it cannot read a variable with more than three
> dimensions without time.  But there appears to ‘be’ time (I’m very unclear
> what “UNLIMITED” time , as seen in the header, refers to in this context).
> Is there any way I can work around this?  Most frustrating.   I can
> actually read this variable into QGIS, but I’d rather use the strengths of
> Paraview to visualize this data.
>
>
>
> Thanks in advance.
>
>
>
>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] netcdf

2017-05-15 Thread Aashish Chaudhary
Rupert,

Would it be possible for you to send us a sample file and what the list of
VARS you expect to see in the paraview?

Thanks,


On Mon, May 15, 2017 at 3:37 AM Rupert Gladstone <
rupertgladstone1...@gmail.com> wrote:

>
> Hi, I have a question about netcdf formats.  I am developing a coupled ice
> sheet - ocean model.  Currently both models run in the same cartesian
> coordinate system.  The ice model outputs unstructured .vtu files, which
> paraview reads just fine.  The ocean model outputs structured netcdf
> files.  If I naively select the "generic and CF conventions" option when
> reading the ocean netcdf file then the data display ok, but not to scale.
> It seems like the structured fields have been read in just fine, but the
> coordinate variables have not.  I don't think the netcdf files are CF
> compliant.  I would like to be able to read in both .vtu files and netcdf
> files and display the data sets together on the same scale.
>
> Do you know what I need to do to read in the netcdf coordinate vars
> correctly?  I am hoping that I can simply insert a post-processing step to
> implement some minor manipulation to the ocean model output files so that
> Paraview can read them in to scale.  Is it simply a case of renaming the
> coordinate variables in the netcdf file such that they have the same names
> as the corresponding dimensions?  Note that this is not in general possible
> as some of the coordinate variables are two-dimensional variables (in the
> horizontal plane), though for most of the simulations we plan in the near
> future I can enforce that the coord vars will have a one to one
> correspondence to the dimension vars (i.e. I can enforce that coord vars
> are 1D).
>
> Is the ordering of dimensions important?
> Is the ordering of coordinate vars important?
> Is the naming of dimensions important?
> Is the naming of coord vars important?
> Can Paraview cope with 2D coord vars?  If so, how does Paraview know which
> coordinate var applies to which var?
>
> Thanks very much for your help.
>
> Regards,
> Rupert Gladstone
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] VTK files in Virtual Reality

2017-05-02 Thread Aashish Chaudhary
Justin you may want to send this to vtk mailing list in the future.

I believe you are asking for HMD VR as opposed to Cave VR? If the answer is
1) you can look at the sample application in the VTK source code and add
multiple models as you needed. Can you provide more detail on what you are
trying to do?

Thanks,


On Tue, May 2, 2017 at 1:06 PM Justin McGinnity  wrote:

> Howdy,
>
> I have a question concerning visualizing VTK files in Virtual Reality.
> Currently it seems that only one VTK file can be viewed at a time in
> Virtual Reality. Will it be possible in the future to loop through VTK
> files in Virtual Reality as is possible in the Render View? Or is this
> already implemented but requires a settings change?
>
>
> *Sincerely,*
>
> Justin McGinnity
> Texas A University *- *Class of 2019
> Mechanical Engineering Major *&& *Computer Science Minor
> mcginni...@tamu.edu* ||* 909.740.5442 <(909)%20740-5442>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] CAVE and Paraview

2017-03-29 Thread Aashish Chaudhary
Faiz,

As per your last email, I think the problem could be related to VirtualGL
and TurboVNC. Can you try running your app outside cave (either setup as
two X displays or use two computer systems) without VirtualGL or TurboVNC
as that would surely give you a clear indication on what is the bottleneck.

I believe you are using nearly current paraview which uses OpenGL2 then my
other guess would be that your LOD is not triggering, but even without that
you should be able to render 100K points without much trouble on a decent
graphics card.

Let us know what you think of the above before we dig into it further.

Thanks,


On Wed, Mar 29, 2017 at 4:37 PM Faiz Abidi  wrote:

> Hi there!
>
> Wondering how many people have used Paraview in a CAVE mode? And if so,
> can you share how big of a dataset you were able to visualize with good
> enough frame rate?
>
> I am curious because I am struggling here to even visualize smaller
> datasets (like 100k points file PVTU format) with interactive frame rates
> in our 4 walled CAVE. I am getting poor performance.
> --
> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
> +1-540-998-6636 <(540)%20998-6636>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Potential Memory Error in CAVE mode

2017-03-15 Thread Aashish Chaudhary
Faiz,

Can you remind us about your setup again so that we can see if something
can be done to reduce per rank memory requirements? Also, I am assuming the
current setup works if the data is small?



On Wed, Mar 15, 2017 at 10:47 AM Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> You may indeed be running into a limitation of current implementation.
> To support fast rendering requirements for CAVE, ParaView duplicates
> geometry between all rendering ranks. Seems like you're running out of
> memory during that process.
>
> On Mon, Mar 13, 2017 at 3:10 PM, Faiz Abidi  wrote:
> > Hi again community!
> >
> > I have been testing Paraview 5.2.0 in a CAVE mode with pretty big data
> (1+
> > billion points) while remotely connected to some HPC servers.
> >
> > PROBLEM: In CAVE mode, I get the below error when I try to change mode
> from
> > "Outline" to "Points". Same issue while doing other things as well like
> > applying a Glyph (Sphere), etc.
> >
> > ERROR: terminate called after throwing an instance of 'std::bad_alloc'
> > what():  std::bad_alloc
> >
> > The same issue doesn't occur if I don't use the CAVE mode in that I
> simple
> > connect a Paraview client with the HPC servers and don't pass any pvx
> file.
> >
> > I read some similar online discussions pointing towards memory issues but
> > it's hard for me to believe that given  a) I have hundreds of gigs of
> memory
> > and most of it remains empty even with my big data loaded, b) the issue
> > doesn't occur when not in a CAVE mode.
> >
> > Anyone experienced any such similar issues?
> >
> > Thanks for all the help!
> > --
> > Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
> > +1-540-998-6636 <(540)%20998-6636>
> >
> > ___
> > 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:
> > http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraviewgeo

2016-11-15 Thread Aashish Chaudhary
Thanks, I'll check it out.

On Fri, Nov 11, 2016 at 3:01 PM andrealphus <andrealp...@gmail.com> wrote:

> This would be an example of the type of shapefiles;
>
> https://pubs.usgs.gov/dds/dds-81/GeologicalMaps/DigitalMap/Faults/
>
> (a shape file of faults in the long valley region of California)
>
> On Fri, Nov 11, 2016 at 11:48 AM, Aashish Chaudhary
> <aashish.chaudh...@kitware.com> wrote:
> > Can you send me a shapefile that I can confirm works?  (I have plenty but
> > just wanted to make sure I test with yours).
> >
> > Thanks,
> >
> >
> > On Fri, Nov 11, 2016 at 2:25 PM andrealphus <andrealp...@gmail.com>
> wrote:
> >>
> >> The seismic datasets are coming from my own inversion/tomography code,
> >> and I usually just format them into a Paraview readable netcdf format.
> >>
> >> In terms of projection capabilties, I'd be using it as soon as you
> >> push it. But, like I mentioned, I have reasoanble workarounds
> >> (projecting everything pre import).
> >>
> >> A gdal plugin that could load shape files would be really useful!
> >>
> >>
> >>
> >> On Fri, Nov 11, 2016 at 9:40 AM, Aashish Chaudhary
> >> <aashish.chaudh...@kitware.com> wrote:
> >> > On Fri, Nov 11, 2016 at 12:15 PM andrealphus <andrealp...@gmail.com>
> >> > wrote:
> >> >>
> >> >> I typically use it for plotting 3D volumes from geophysical
> inversions
> >> >> (seismic/gravity,etc), underneath digital elevation models. Sometimes
> >> >> I bring in aerial imagery, earthquake locations etc.
> >> >
> >> >
> >> > This all sounds very exciting. What format do you use for seismic
> >> > dataset?
> >> >>
> >> >>
> >> >> Things that I would find helpful would be a plugin to handle
> >> >> coordinate transformations. (hence my interest in a gdal plugin) Now
> I
> >> >> just make sure everything is in the same UTM beforehand, but its not
> >> >> ideal.
> >> >
> >> >
> >> > That would be actually using the PROJ4. I will see if we can push a
> >> > plugin
> >> > that can expose the projection capabilities.  How soon do you need
> this?
> >> >>
> >> >>
> >> >> I am also very interested in being able to bring in shape files so I
> >> >> can overlay geologically mapped units.
> >> >
> >> >
> >> > Right, the GDAL plugin will enable loading of shapefiles (and other
> >> > formats). Let me find the status of our code and I can follow up with
> >> > you on
> >> > it sometime very soon.
> >> >
> >> > Thanks,
> >> >
> >> >>
> >> >>
> >> >> Also just kind of curious of what's out there. There are some things
> >> >> that I dont have an immediate need for, but would find interesting
> >> >> (plotting earthquake focal mechanisms, etc).
> >> >>
> >> >>
> >> >> On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary
> >> >> <aashish.chaudh...@kitware.com> wrote:
> >> >> > Dear Andrea,
> >> >> >
> >> >> > We are using ParaView for earth science indirectly (helping
> others).
> >> >> > Which
> >> >> > plugins or filters to use is dependent on the use-case and data
> type.
> >> >> > We
> >> >> > do
> >> >> > have GDAL plugin for ParaView (require <2.0 of gdal though) and
> will
> >> >> > require
> >> >> > some updates. What kind of data / visualization you are interested
> >> >> > in?
> >> >> >
> >> >> > Thanks,
> >> >> >
> >> >> >
> >> >> > On Thu, Nov 10, 2016 at 6:48 PM andrealphus <andrealp...@gmail.com
> >
> >> >> > wrote:
> >> >> >>
> >> >> >> Anyone out there actively using Paraview for earth science, and
> has
> >> >> >> recommendations on useful plugins? Is there anytype of gdal
> plugin?
> >> >> >> Coordinate transformation? Did anyone every pick up the torch from
> >> >> >> the
> >> >> >> previous paraviewgeo plugin library?
> >> >> >> ___
> >> >> >> 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:
> >> >> >> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView Digest, Vol 151, Issue 87

2016-11-14 Thread Aashish Chaudhary
Great, thanks! This looks interesting and we will sure keep you in the
loop.

Thanks,


On Mon, Nov 14, 2016 at 8:57 AM Christian Gabriel <
cgabr...@matrix-solutions.com> wrote:

> Good morning, Aashish
>
>
>
> I've been following your email thread with Ashton with quite some
> interest, as I'm considering using ParaView in a similar way.
>
>
>
> In my case, I'm looking into 3D visualisation of groundwater modelling
> results (from MikeShe). The subsurface (below a DEM) is represented on an
> unstructured grid:
>
>
>
> [image: cid:image001.jpg@01D230F1.D9A2EA70]
>
>
>
> MikeShe has its own proprietary file format which I have access to via a
> Python SDK; my goal is to develop a “programmable source” that would read
> those files directly into ParaView for visualisation.
>
>
>
> Then adding shape files (base mapping) on top of this would actually be
> really cool.
>
>
>
> I’ll keep following along …. Chris
>
>
>
>
>
> Message: 5
>
> Date: Fri, 11 Nov 2016 17:40:39 +
>
> From: Aashish Chaudhary <aashish.chaudh...@kitware.com>
>
> To: andrealphus <andrealp...@gmail.com>
>
> Cc: ParaView <paraview@paraview.org>
>
> Subject: Re: [Paraview] paraviewgeo
>
> Message-ID: <
> caew35z9ewun91thnquq2g2p+4_byfs0xpd8adfcz1b1jyti...@mail.gmail.com>
>
> Content-Type: text/plain; charset="utf-8"
>
>
>
> On Fri, Nov 11, 2016 at 12:15 PM andrealphus <andrealp...@gmail.com>
> wrote:
>
>
>
> > I typically use it for plotting 3D volumes from geophysical inversions
>
> > (seismic/gravity,etc), underneath digital elevation models. Sometimes
>
> > I bring in aerial imagery, earthquake locations etc.
>
> >
>
>
>
> This all sounds very exciting. What format do you use for seismic dataset?
>
>
>
> >
>
> > Things that I would find helpful would be a plugin to handle
>
> > coordinate transformations. (hence my interest in a gdal plugin) Now I
>
> > just make sure everything is in the same UTM beforehand, but its not
>
> > ideal.
>
> >
>
>
>
> That would be actually using the PROJ4. I will see if we can push a plugin
> that can expose the projection capabilities.  How soon do you need this?
>
>
>
> >
>
> > I am also very interested in being able to bring in shape files so I
>
> > can overlay geologically mapped units.
>
> >
>
>
>
> Right, the GDAL plugin will enable loading of shapefiles (and other
> formats). Let me find the status of our code and I can follow up with you
> on it sometime very soon.
>
>
>
> Thanks,
>
___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraviewgeo

2016-11-11 Thread Aashish Chaudhary
Can you send me a shapefile that I can confirm works?  (I have plenty but
just wanted to make sure I test with yours).

Thanks,


On Fri, Nov 11, 2016 at 2:25 PM andrealphus <andrealp...@gmail.com> wrote:

> The seismic datasets are coming from my own inversion/tomography code,
> and I usually just format them into a Paraview readable netcdf format.
>
> In terms of projection capabilties, I'd be using it as soon as you
> push it. But, like I mentioned, I have reasoanble workarounds
> (projecting everything pre import).
>
> A gdal plugin that could load shape files would be really useful!
>
>
>
> On Fri, Nov 11, 2016 at 9:40 AM, Aashish Chaudhary
> <aashish.chaudh...@kitware.com> wrote:
> > On Fri, Nov 11, 2016 at 12:15 PM andrealphus <andrealp...@gmail.com>
> wrote:
> >>
> >> I typically use it for plotting 3D volumes from geophysical inversions
> >> (seismic/gravity,etc), underneath digital elevation models. Sometimes
> >> I bring in aerial imagery, earthquake locations etc.
> >
> >
> > This all sounds very exciting. What format do you use for seismic
> dataset?
> >>
> >>
> >> Things that I would find helpful would be a plugin to handle
> >> coordinate transformations. (hence my interest in a gdal plugin) Now I
> >> just make sure everything is in the same UTM beforehand, but its not
> >> ideal.
> >
> >
> > That would be actually using the PROJ4. I will see if we can push a
> plugin
> > that can expose the projection capabilities.  How soon do you need this?
> >>
> >>
> >> I am also very interested in being able to bring in shape files so I
> >> can overlay geologically mapped units.
> >
> >
> > Right, the GDAL plugin will enable loading of shapefiles (and other
> > formats). Let me find the status of our code and I can follow up with
> you on
> > it sometime very soon.
> >
> > Thanks,
> >
> >>
> >>
> >> Also just kind of curious of what's out there. There are some things
> >> that I dont have an immediate need for, but would find interesting
> >> (plotting earthquake focal mechanisms, etc).
> >>
> >>
> >> On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary
> >> <aashish.chaudh...@kitware.com> wrote:
> >> > Dear Andrea,
> >> >
> >> > We are using ParaView for earth science indirectly (helping others).
> >> > Which
> >> > plugins or filters to use is dependent on the use-case and data type.
> We
> >> > do
> >> > have GDAL plugin for ParaView (require <2.0 of gdal though) and will
> >> > require
> >> > some updates. What kind of data / visualization you are interested in?
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > On Thu, Nov 10, 2016 at 6:48 PM andrealphus <andrealp...@gmail.com>
> >> > wrote:
> >> >>
> >> >> Anyone out there actively using Paraview for earth science, and has
> >> >> recommendations on useful plugins? Is there anytype of gdal plugin?
> >> >> Coordinate transformation? Did anyone every pick up the torch from
> the
> >> >> previous paraviewgeo plugin library?
> >> >> ___
> >> >> 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:
> >> >> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraviewgeo

2016-11-11 Thread Aashish Chaudhary
On Fri, Nov 11, 2016 at 12:15 PM andrealphus <andrealp...@gmail.com> wrote:

> I typically use it for plotting 3D volumes from geophysical inversions
> (seismic/gravity,etc), underneath digital elevation models. Sometimes
> I bring in aerial imagery, earthquake locations etc.
>

This all sounds very exciting. What format do you use for seismic dataset?

>
> Things that I would find helpful would be a plugin to handle
> coordinate transformations. (hence my interest in a gdal plugin) Now I
> just make sure everything is in the same UTM beforehand, but its not
> ideal.
>

That would be actually using the PROJ4. I will see if we can push a plugin
that can expose the projection capabilities.  How soon do you need this?

>
> I am also very interested in being able to bring in shape files so I
> can overlay geologically mapped units.
>

Right, the GDAL plugin will enable loading of shapefiles (and other
formats). Let me find the status of our code and I can follow up with you
on it sometime very soon.

Thanks,


>
> Also just kind of curious of what's out there. There are some things
> that I dont have an immediate need for, but would find interesting
> (plotting earthquake focal mechanisms, etc).
>
>
> On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary
> <aashish.chaudh...@kitware.com> wrote:
> > Dear Andrea,
> >
> > We are using ParaView for earth science indirectly (helping others).
> Which
> > plugins or filters to use is dependent on the use-case and data type. We
> do
> > have GDAL plugin for ParaView (require <2.0 of gdal though) and will
> require
> > some updates. What kind of data / visualization you are interested in?
> >
> > Thanks,
> >
> >
> > On Thu, Nov 10, 2016 at 6:48 PM andrealphus <andrealp...@gmail.com>
> wrote:
> >>
> >> Anyone out there actively using Paraview for earth science, and has
> >> recommendations on useful plugins? Is there anytype of gdal plugin?
> >> Coordinate transformation? Did anyone every pick up the torch from the
> >> previous paraviewgeo plugin library?
> >> ___
> >> 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:
> >> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraviewgeo

2016-11-11 Thread Aashish Chaudhary
Dear Andrea,

We are using ParaView for earth science indirectly (helping others). Which
plugins or filters to use is dependent on the use-case and data type. We do
have GDAL plugin for ParaView (require <2.0 of gdal though) and will
require some updates. What kind of data / visualization you are interested
in?

Thanks,


On Thu, Nov 10, 2016 at 6:48 PM andrealphus  wrote:

> Anyone out there actively using Paraview for earth science, and has
> recommendations on useful plugins? Is there anytype of gdal plugin?
> Coordinate transformation? Did anyone every pick up the torch from the
> previous paraviewgeo plugin library?
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview5 in CAVE

2016-11-08 Thread Aashish Chaudhary
can you post your xml file?

On Mon, Nov 7, 2016 at 12:16 PM Faiz Abidi  wrote:

> I am struggling to make Paraview5 work in the CAVE (4 sided). I have
> Paravie5 built from source, enabled the VRPlugin, mpi, and other needed
> stuff. However, I am confused with the PVX file.
>
> I made some progress, and can load up a scene but the scene doesn't occupy
> all the walls of the CAVE. It just occupies a small square box on the top
> left wall (see attached). I played with the cave.pvx file but no matter
> what values I give in it, I can only see a small box when I connect to the
> Paraview client.
>
> I need help. Would anyone have any idea please?
> --
> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
> +1-540-998-6636 <(540)%20998-6636>
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] 3D with Nvidia glasses

2016-10-19 Thread Aashish Chaudhary
this is great news! congratulations. thanks for closing the loop.

- Aashish


On Wed, Oct 19, 2016 at 5:58 PM Gao  wrote:

> Hi,
>
> Finally we got everything works!
>
> The blurry issue is caused by the DVI cable. It took me quite a while to
> figure it out. The monitor Asus VG236h need a Dual link DVI cable.
> Unfortunately I was using a Single Link DVI cable when I test stereo 3D in
> ParaView.
>
> Thanks everyone's help.
>
> Cheers,
>
> Gao
>
>
>
> On 2016-10-12 01:23 PM, Cory Quammen wrote:
>
> On Wed, Oct 12, 2016 at 3:59 PM, Gao  wrote:
>
> Hi Gory,
>
> You are right! I set to 120Hz and the 3D works!
>
> Great! Glad to hear it.
>
> I didn't pay attention on the refresh rate because the 3D demo works, so I
> assumed the monitor is not the problem. It turned out  that IS the problem.
>
> Also, I need to change the 120Hz on both the Quadro card and the monitor
> (both default to 60Hz).
>
> Now I am having a different issue: the display became blurry, although the
> 3D works. All the graphic elements are blurry except the 3D object. Not
> sure what cause this.
>
> Do you mean blurry, as in the text in the GUI is hard to read, or do you
> mean darker? I find the monitor to appear darker as half the time the
> monitor is blocked by the active shutter glasses.
>
> I also noticed on the Windows 10, the monitor is recognized as "Generic
> PnP monitor"  and use a MS driver. I searched and didn't find a driver for
> my Asus VG236H.
>
> Hmm, our Asus monitor is recognized in the control panel. I'm not sure
> about where you can get a driver for it other than the Asus web site.
>
> Thank you very much.
>
> You are welcome! And thank you for providing another data point that shows
> ParaView in use with stereo.
>
> Thanks,
> Cory
>
>
> Gao
>
>
>
> On 2016-10-12 11:54 AM, Cory Quammen wrote:
>
> Gao,
>
> No, there isn't any setting needed in ParaView beyond the command-line
> arguments that you are already providing.
>
> One important thing, though: Make sure your screen refresh rate is set to
> 120 Hz or higher.
>
> - Cory
>
>
>
> On Wed, Oct 12, 2016 at 1:55 PM, Gao  wrote:
>
> Hi Cory,
>
> I just tried "Onboard DIN connector (with NVIDIA 3D ...)" and it's still
> not showing 3D stereo.
>
> My system is a Dell Precision workstation come with a Quadro 4000 video
> card (No DIN connection). The demo 3D test from Nvidia Control Panel works
> fine so I think the driver is loaded correctly.
>
> I just installed the new Paraview 5.2 RC1 and it does the same: No 3D but
> flickering.
>
> I also tried other modes and none of them works.
>
> Is there any special setting I need config in ParaView?
>
> Thanks for the help.
>
> Gao
>
>
>
>
> On 2016-10-12 08:51 AM, Cory Quammen wrote:
>
> Hi Gao,
>
> Attached is an image of the relevant NVIDIA Control Panel settings for our
> working ParaView stereo display setup. It looks like the main change from
> your setup is to change "Stereo - Display Mode" to "Onboard DIN connector
> (with NVIDIA 3D ...)".
>
> For your reference, our system runs Windows 10 and has a Quadro M5000 and
> an ASUS VG248QE 24-inch Full HD display. We did not need the optional 3-pin
> DIN connector port that seems almost impossible to buy anywhere.
>
> HTH,
> Cory
>
> On Tue, Oct 11, 2016 at 3:17 PM, Gao  wrote:
>
> Hi all,
>
> I am trying to make the stereo 3D working on Paraview but it doesn't work.
> I don't know what is the problem.
>
> I got NVIDIA 3D VISION 2 glasses and set it up on my Windows 10 PC.
> Installed the driver for the QUADRO 4000 card. Tested with the Nvidia
> Control Panel (version  8.1.1030.0) and the I can see the 3D demo through
> the glasses.
>
> Then I downloaded a sample vtk file from here:
>
>
> http://www.subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/LinuxGuidesByBlaze/apps3Dtools/3D_viewers-converters/3Dtestfiles/vtk/rbc_001.vtk
>
> I changed some setting on Nvidia Control Panel:
> Manage 3D setting:
>  Stereo - Display mode : Generic active stereo (with NVIDIA 3D Vision)
>  Stereo -Enable: On
>  Stereo -Swap eyes: Off
>
> Now I run paraview with:
> paraview.exe --stereo --stereo-type="Crystal Eyes"
>
> Then I open the vtk file I downloaded. I don't see 3D, and the image is
> flickering. But the emitter green light is ON.
>
> Can someone help me to get this 3D display going?
>
> Thanks.
>
> Gao
>
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
>
>
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
>
>
>
>
>
> --
> Cory Quammen
> 

Re: [Paraview] 3D with Nvidia glasses

2016-10-12 Thread Aashish Chaudhary
I believe this option was the cause of blurriness at some point but may be
with the newer version that's not the case. May be still worth trying in
Alex case.

On Wed, Oct 12, 2016 at 4:26 PM Cory Quammen <cory.quam...@kitware.com>
wrote:

> On Wed, Oct 12, 2016 at 4:23 PM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
> Can you try this:  in nvidia control panel uncheck this option: "enable
> stereoscopic 3D"?
>
>
> Aashish,
>
> I was going to recommend this as well, but after I launched ParaView, I
> went back to see that this option had been re-enabled in the control panel.
> Something has apparently changed in the driver to make unchecking this
> option unnecessary.
>
> Cory
>
>
> On Wed, Oct 12, 2016 at 4:00 PM Gao <g...@pztop.com> wrote:
>
> Hi Gory,
>
> You are right! I set to 120Hz and the 3D works!
>
> I didn't pay attention on the refresh rate because the 3D demo works, so I
> assumed the monitor is not the problem. It turned out  that IS the problem.
>
> Also, I need to change the 120Hz on both the Quadro card and the monitor
> (both default to 60Hz).
>
> Now I am having a different issue: the display became blurry, although the
> 3D works. All the graphic elements are blurry except the 3D object. Not
> sure what cause this.
>
> I also noticed on the Windows 10, the monitor is recognized as "Generic
> PnP monitor"  and use a MS driver. I searched and didn't find a driver for
> my Asus VG236H.
>
> Thank you very much.
>
>
> Gao
>
>
>
> On 2016-10-12 11:54 AM, Cory Quammen wrote:
>
> Gao,
>
> No, there isn't any setting needed in ParaView beyond the command-line
> arguments that you are already providing.
>
> One important thing, though: Make sure your screen refresh rate is set to
> 120 Hz or higher.
>
> - Cory
>
>
>
> On Wed, Oct 12, 2016 at 1:55 PM, Gao <g...@pztop.com> wrote:
>
> Hi Cory,
>
> I just tried "Onboard DIN connector (with NVIDIA 3D ...)" and it's still
> not showing 3D stereo.
>
> My system is a Dell Precision workstation come with a Quadro 4000 video
> card (No DIN connection). The demo 3D test from Nvidia Control Panel works
> fine so I think the driver is loaded correctly.
>
> I just installed the new Paraview 5.2 RC1 and it does the same: No 3D but
> flickering.
>
> I also tried other modes and none of them works.
>
> Is there any special setting I need config in ParaView?
>
> Thanks for the help.
>
> Gao
>
>
>
>
> On 2016-10-12 08:51 AM, Cory Quammen wrote:
>
> Hi Gao,
>
> Attached is an image of the relevant NVIDIA Control Panel settings for our
> working ParaView stereo display setup. It looks like the main change from
> your setup is to change "Stereo - Display Mode" to "Onboard DIN connector
> (with NVIDIA 3D ...)".
>
> For your reference, our system runs Windows 10 and has a Quadro M5000 and
> an ASUS VG248QE 24-inch Full HD display. We did not need the optional 3-pin
> DIN connector port that seems almost impossible to buy anywhere.
>
> HTH,
> Cory
>
> On Tue, Oct 11, 2016 at 3:17 PM, Gao <g...@pztop.com> wrote:
>
> Hi all,
>
> I am trying to make the stereo 3D working on Paraview but it doesn't work.
> I don't know what is the problem.
>
> I got NVIDIA 3D VISION 2 glasses and set it up on my Windows 10 PC.
> Installed the driver for the QUADRO 4000 card. Tested with the Nvidia
> Control Panel (version  8.1.1030.0) and the I can see the 3D demo through
> the glasses.
>
> Then I downloaded a sample vtk file from here:
>
>
> http://www.subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/LinuxGuidesByBlaze/apps3Dtools/3D_viewers-converters/3Dtestfiles/vtk/rbc_001.vtk
>
> I changed some setting on Nvidia Control Panel:
> Manage 3D setting:
>  Stereo - Display mode : Generic active stereo (with NVIDIA 3D Vision)
>  Stereo -Enable: On
>  Stereo -Swap eyes: Off
>
> Now I run paraview with:
> paraview.exe --stereo --stereo-type="Crystal Eyes"
>
> Then I open the vtk file I downloaded. I don't see 3D, and the image is
> flickering. But the emitter green light is ON.
>
> Can someone help me to get this 3D display going?
>
> Thanks.
>
> Gao
>
>
> ___
> 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

Re: [Paraview] 3D with Nvidia glasses

2016-10-12 Thread Aashish Chaudhary
Can you try this:  in nvidia control panel uncheck this option: "enable
stereoscopic 3D"?

On Wed, Oct 12, 2016 at 4:00 PM Gao  wrote:

> Hi Gory,
>
> You are right! I set to 120Hz and the 3D works!
>
> I didn't pay attention on the refresh rate because the 3D demo works, so I
> assumed the monitor is not the problem. It turned out  that IS the problem.
>
> Also, I need to change the 120Hz on both the Quadro card and the monitor
> (both default to 60Hz).
>
> Now I am having a different issue: the display became blurry, although the
> 3D works. All the graphic elements are blurry except the 3D object. Not
> sure what cause this.
>
> I also noticed on the Windows 10, the monitor is recognized as "Generic
> PnP monitor"  and use a MS driver. I searched and didn't find a driver for
> my Asus VG236H.
>
> Thank you very much.
>
>
> Gao
>
>
>
> On 2016-10-12 11:54 AM, Cory Quammen wrote:
>
> Gao,
>
> No, there isn't any setting needed in ParaView beyond the command-line
> arguments that you are already providing.
>
> One important thing, though: Make sure your screen refresh rate is set to
> 120 Hz or higher.
>
> - Cory
>
>
>
> On Wed, Oct 12, 2016 at 1:55 PM, Gao  wrote:
>
> Hi Cory,
>
> I just tried "Onboard DIN connector (with NVIDIA 3D ...)" and it's still
> not showing 3D stereo.
>
> My system is a Dell Precision workstation come with a Quadro 4000 video
> card (No DIN connection). The demo 3D test from Nvidia Control Panel works
> fine so I think the driver is loaded correctly.
>
> I just installed the new Paraview 5.2 RC1 and it does the same: No 3D but
> flickering.
>
> I also tried other modes and none of them works.
>
> Is there any special setting I need config in ParaView?
>
> Thanks for the help.
>
> Gao
>
>
>
>
> On 2016-10-12 08:51 AM, Cory Quammen wrote:
>
> Hi Gao,
>
> Attached is an image of the relevant NVIDIA Control Panel settings for our
> working ParaView stereo display setup. It looks like the main change from
> your setup is to change "Stereo - Display Mode" to "Onboard DIN connector
> (with NVIDIA 3D ...)".
>
> For your reference, our system runs Windows 10 and has a Quadro M5000 and
> an ASUS VG248QE 24-inch Full HD display. We did not need the optional 3-pin
> DIN connector port that seems almost impossible to buy anywhere.
>
> HTH,
> Cory
>
> On Tue, Oct 11, 2016 at 3:17 PM, Gao  wrote:
>
> Hi all,
>
> I am trying to make the stereo 3D working on Paraview but it doesn't work.
> I don't know what is the problem.
>
> I got NVIDIA 3D VISION 2 glasses and set it up on my Windows 10 PC.
> Installed the driver for the QUADRO 4000 card. Tested with the Nvidia
> Control Panel (version  8.1.1030.0) and the I can see the 3D demo through
> the glasses.
>
> Then I downloaded a sample vtk file from here:
>
>
> http://www.subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/LinuxGuidesByBlaze/apps3Dtools/3D_viewers-converters/3Dtestfiles/vtk/rbc_001.vtk
>
> I changed some setting on Nvidia Control Panel:
> Manage 3D setting:
>  Stereo - Display mode : Generic active stereo (with NVIDIA 3D Vision)
>  Stereo -Enable: On
>  Stereo -Swap eyes: Off
>
> Now I run paraview with:
> paraview.exe --stereo --stereo-type="Crystal Eyes"
>
> Then I open the vtk file I downloaded. I don't see 3D, and the image is
> flickering. But the emitter green light is ON.
>
> Can someone help me to get this 3D display going?
>
> Thanks.
>
> Gao
>
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
>
>
>
>
>
> --
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Problems to download ParaViewGeo

2016-10-12 Thread Aashish Chaudhary
Alexander,

ParaViewGeo is no longer in active development (as we know). If you need
help with any specific features (or porting code), we could help.

Thanks,

On Wed, Oct 12, 2016 at 3:05 PM Utkarsh Ayachit 
wrote:

> Sorry, I don't have any additional information I am afraid.
>
> On Fri, Oct 7, 2016 at 2:41 PM, Wasmus , Alexander
>  wrote:
> > Thanks Utkarsh,
> >
> > Do have any contact available which you could share?
> >
> > Alexander
> >
> >
> >
> >
> >
> > -Original Message-
> > From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
> > Sent: Freitag, 7. Oktober 2016 13:47
> > To: Wasmus , Alexander
> > Cc: paraview@paraview.org
> > Subject: Re: [Paraview] Problems to download ParaViewGeo
> >
> > Are you talking about this: http://paraviewgeo.objectivity.ca/downloads
> >
> > The ParaView team is not related to the ParaViewGeo work. It's done by
> independent players. You may want to contact them directly.
> >
> > Utkarsh
> >
> > On Fri, Oct 7, 2016 at 10:55 AM, Wasmus , Alexander via ParaView <
> paraview@paraview.org> wrote:
> >> Hello All,
> >>
> >>
> >>
> >> I´m trying to download the ParaViewGeo installation files or the
> >> plugins pack but always get error messages that the connection to the
> >> download direction is not possible. I tried with different browsers,
> >> from different locations etc..
> >>
> >>
> >>
> >> Could anybody provide a working download direction or confirm that
> >> ParaViewGeo is still available?
> >>
> >>
> >>
> >> Thanks,
> >>
> >> Alexander
> >>
> >>
> >> ___
> >> 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:
> >> http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] 3D with Nvidia glasses

2016-10-12 Thread Aashish Chaudhary
I see.  I was going to say that follow this tutorial (except the connector
part) and set the rate to 120 as mentioned by Cory

http://cismm.web.unc.edu/core-projects/visualization-and-analysis/setting-up-a-simple-stereo-system/

On Wed, Oct 12, 2016 at 2:16 PM Gao <g...@pztop.com> wrote:

> Hi Aashish,
>
> The monitor is Asus VG236H. Not sure about "vertical interlaced".
>
> Gao
>
> On 2016-10-12 11:02 AM, Aashish Chaudhary wrote:
>
> Is the monitor is vertical interlaced?
>
> - Aashish
>
> On Wed, Oct 12, 2016 at 1:55 PM Gao <g...@pztop.com> wrote:
>
> Hi Cory,
>
> I just tried "Onboard DIN connector (with NVIDIA 3D ...)" and it's still
> not showing 3D stereo.
>
> My system is a Dell Precision workstation come with a Quadro 4000 video
> card (No DIN connection). The demo 3D test from Nvidia Control Panel works
> fine so I think the driver is loaded correctly.
>
> I just installed the new Paraview 5.2 RC1 and it does the same: No 3D but
> flickering.
>
> I also tried other modes and none of them works.
>
> Is there any special setting I need config in ParaView?
>
> Thanks for the help.
>
> Gao
>
>
>
>
> On 2016-10-12 08:51 AM, Cory Quammen wrote:
>
> Hi Gao,
>
> Attached is an image of the relevant NVIDIA Control Panel settings for our
> working ParaView stereo display setup. It looks like the main change from
> your setup is to change "Stereo - Display Mode" to "Onboard DIN connector
> (with NVIDIA 3D ...)".
>
> For your reference, our system runs Windows 10 and has a Quadro M5000 and
> an ASUS VG248QE 24-inch Full HD display. We did not need the optional 3-pin
> DIN connector port that seems almost impossible to buy anywhere.
>
> HTH,
> Cory
>
> On Tue, Oct 11, 2016 at 3:17 PM, Gao <g...@pztop.com> wrote:
>
> Hi all,
>
> I am trying to make the stereo 3D working on Paraview but it doesn't work.
> I don't know what is the problem.
>
> I got NVIDIA 3D VISION 2 glasses and set it up on my Windows 10 PC.
> Installed the driver for the QUADRO 4000 card. Tested with the Nvidia
> Control Panel (version  8.1.1030.0) and the I can see the 3D demo through
> the glasses.
>
> Then I downloaded a sample vtk file from here:
>
>
> http://www.subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/LinuxGuidesByBlaze/apps3Dtools/3D_viewers-converters/3Dtestfiles/vtk/rbc_001.vtk
>
> I changed some setting on Nvidia Control Panel:
> Manage 3D setting:
>  Stereo - Display mode : Generic active stereo (with NVIDIA 3D Vision)
>  Stereo -Enable: On
>  Stereo -Swap eyes: Off
>
> Now I run paraview with:
> paraview.exe --stereo --stereo-type="Crystal Eyes"
>
> Then I open the vtk file I downloaded. I don't see 3D, and the image is
> flickering. But the emitter green light is ON.
>
> Can someone help me to get this 3D display going?
>
> Thanks.
>
> Gao
>
>
> ___
> 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:
> http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] 3D with Nvidia glasses

2016-10-12 Thread Aashish Chaudhary
Is the monitor is vertical interlaced?

- Aashish

On Wed, Oct 12, 2016 at 1:55 PM Gao  wrote:

> Hi Cory,
>
> I just tried "Onboard DIN connector (with NVIDIA 3D ...)" and it's still
> not showing 3D stereo.
>
> My system is a Dell Precision workstation come with a Quadro 4000 video
> card (No DIN connection). The demo 3D test from Nvidia Control Panel works
> fine so I think the driver is loaded correctly.
>
> I just installed the new Paraview 5.2 RC1 and it does the same: No 3D but
> flickering.
>
> I also tried other modes and none of them works.
>
> Is there any special setting I need config in ParaView?
>
> Thanks for the help.
>
> Gao
>
>
>
>
> On 2016-10-12 08:51 AM, Cory Quammen wrote:
>
> Hi Gao,
>
> Attached is an image of the relevant NVIDIA Control Panel settings for our
> working ParaView stereo display setup. It looks like the main change from
> your setup is to change "Stereo - Display Mode" to "Onboard DIN connector
> (with NVIDIA 3D ...)".
>
> For your reference, our system runs Windows 10 and has a Quadro M5000 and
> an ASUS VG248QE 24-inch Full HD display. We did not need the optional 3-pin
> DIN connector port that seems almost impossible to buy anywhere.
>
> HTH,
> Cory
>
> On Tue, Oct 11, 2016 at 3:17 PM, Gao  wrote:
>
> Hi all,
>
> I am trying to make the stereo 3D working on Paraview but it doesn't work.
> I don't know what is the problem.
>
> I got NVIDIA 3D VISION 2 glasses and set it up on my Windows 10 PC.
> Installed the driver for the QUADRO 4000 card. Tested with the Nvidia
> Control Panel (version  8.1.1030.0) and the I can see the 3D demo through
> the glasses.
>
> Then I downloaded a sample vtk file from here:
>
>
> http://www.subdude-site.com/WebPages_Local/RefInfo/Computer/Linux/LinuxGuidesByBlaze/apps3Dtools/3D_viewers-converters/3Dtestfiles/vtk/rbc_001.vtk
>
> I changed some setting on Nvidia Control Panel:
> Manage 3D setting:
>  Stereo - Display mode : Generic active stereo (with NVIDIA 3D Vision)
>  Stereo -Enable: On
>  Stereo -Swap eyes: Off
>
> Now I run paraview with:
> paraview.exe --stereo --stereo-type="Crystal Eyes"
>
> Then I open the vtk file I downloaded. I don't see 3D, and the image is
> flickering. But the emitter green light is ON.
>
> Can someone help me to get this 3D display going?
>
> Thanks.
>
> Gao
>
>
> ___
> 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:
> http://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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card.

2016-07-08 Thread Aashish Chaudhary
Hi Weiguang,

Have you tried recent release of paraview / vtk? This should have been
fixed in the recent commits.

Thanks


On Fri, Jul 8, 2016 at 10:04 AM, Weiguang guan <gu...@rhpcs.mcmaster.ca>
wrote:

> Is there a solution to fix the problem? Thanks.
>
> Weiguang
>
>
> On 04/07/2016 3:51 PM, Weiguang guan wrote:
>
> I run into the same problem on linux.
>
> Warning: In
> /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx,
> line 251
> vtkOpenGLProjectedTetrahedraMapper (0x630b310): Missing FBO support. The
> algorithm may produce visual artifacts.
>
> I'm running Paraview 5.0.0.
>
> Weiguang
>
> On 03/03/2016 9:42 AM, Aashish Chaudhary wrote:
>
> I have the same problem. Though in my case it is a small unstructuredgrid
> vtu file. The OS is Ubuntu 14.04. ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit
> prebuilt binaries. The Graphics card is Nvidia Quadro K620 with OpenGL
> version 3.02 Nvidia 352.63. The Nvidia settings show the following etensions
> amongst others GL_ARB_frame_buffer_object.
>
> Also, it does show artifacts. In particular for a vector allocated to a
> standard hexahedron cell, the colors are slightly different within the cell.
> You can see triangular segments [possibly tetrahedron?]
>
> It seems to me that you are running into a different issue as atleast
> you are seeing
> something but it does look correct to you. Is that it?
>
> Thanks
>
>
>
> Regard
> Paul.
>
>
>
> ___
> 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:http://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:http://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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Mono and Stereo Rendering in the CAVE

2016-03-30 Thread Aashish Chaudhary
On Tue, Mar 29, 2016 at 11:14 PM, Faiz Abidi <fabid...@vt.edu> wrote:

> Aashish and David - the stereo is off (0) in the xorg.conf file. Paul (
> CC'd) told me the reason for that - "If stereo is enabled that interferes
> with the nvidia driver-level blending. This is a known issue in linux.
> Nvidia has put it on their RFE list but it is not clear when it will be
> done/fixed." So, I can't do what that link suggested. Although, I still
> tried :) Outcome was weird. I tested on one wall, and what was happening
> was that I saw left eye for a while, and then that faded, and then I got
> the  right eye for a while, and then that faded, and again I got a left
> eye. I got both eyes for a while as well, but then it again faded. This
> process continued, clearly suggesting that there's some issue at the driver
> level as Paul mentioned.
>

I might be a recent issue since in the past we tried this successfully.


> Btw, Crystal eyes didn't work like before, and threw OpenGL errors.
>

This is strange that suggests me that something is still wrong in the setup
(It's hard to tell unless I can access the system).


> So, I tested the above using Anaglyph.
>
> Mark - I am using 1 process per DISPLAY (or projector you could say). We
> have 8 projectors here each doing left, and right eye active stereo. So, I
> would spawn 16 processes when I can get active stereo to work.
>
> I think at this point we have no choice but to look into editing the
> source code of Paraview, and see if we can customize it for our CAVE.
> This issue seems like unique.
>

Given all the errors problems you are having, Passive stereo would be the
way to go. Passive stereo use-case is not unique per say though.


> If you have any suggestions on where I should start looking into, that
> would be great help!
>
> If anyone has any other ideas, I am happy to listen, and test it here.
>
> On Tue, Mar 29, 2016 at 2:44 PM, Stock, Mark <mark.st...@nrel.gov> wrote:
>
>> Faiz,
>>
>> Number 3 strikes me as odd: your graphics card and projectors should be
>> capable of quad-buffered stereo, so you should only be using one MPI
>> process per projector (i.e. 1 process per DISPLAY).
>>
>> I agree with previous posters in that you should try to get the
>> synchronization with your glasses working first. How are the projectors
>> synchronized (and what kinds of video cards are you using)?
>>
>> Mark
>> (manages a 6-projector stereo setup at NREL and heavy user of ParaView)
>>
>> From: ParaView <paraview-boun...@paraview.org> paraview-boun...@paraview.org>> on behalf of Faiz Abidi <fabid...@vt.edu
>> <mailto:fabid...@vt.edu>>
>> Date: Saturday, March 26, 2016 at 12:19 AM
>> To: Aashish Chaudhary <aashish.chaudh...@kitware.com> aashish.chaudh...@kitware.com>>
>> Cc: Nicholas Polys <npo...@vt.edu<mailto:npo...@vt.edu>>, Lance
>> Arsenault <lance...@vt.edu<mailto:lance...@vt.edu>>, "
>> paraview@paraview.org<mailto:paraview@paraview.org>" <
>> paraview@paraview.org<mailto:paraview@paraview.org>>
>> Subject: Re: [Paraview] Mono and Stereo Rendering in the CAVE
>>
>> Hi Ashish,
>>
>> Thanks for your email. I was just now reading an old thread by you on a
>> similar topic answering someone's query on a similar problem.
>>
>> 1. Yes, you are right. Two projectors per wall doing active stereo. So,
>> in my PVX file, for doing only one half of the wall, I define Display=:0.0
>> (left eye) and Display=:0.1 (right eye).
>>
>> 2. Yes, active stereo on each half of the wall.
>>
>> 3. Umm, no. Here's what's happening. Sorry if I didn't explain properly
>> before. I use two processes to drive one half of the wall using mpi. I put
>> on glasses and don't see anything with my right eye and see two images with
>> my left. I tend to think this is where I am doing something wrong. I tried
>> using 1 process to drive one half of the wall but same result.
>>
>> I just tried running glxgears in stereo and see an error - "Error:
>> couldn't get an rgb double-buffered visual". :/ But I am running
>> InstantReality projects in the same CAVE using stereo. This is a bit weird.
>>
>> Btw, I am using one powerful machine with 4 graphics card on it to drive
>> the entire CAVE.
>>
>> Thanks again for your help! If you have any more ideas, I would be glad
>> to hear.
>>
>> On Fri, Mar 25, 2016 at 11:45 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com<mailto:aashish.chaudh...@kitware.com>>
>> wrote:
>> Hi Faiz,
>>
>> Few things:
>

Re: [Paraview] Mono and Stereo Rendering in the CAVE

2016-03-29 Thread Aashish Chaudhary
On Mon, Mar 28, 2016 at 2:18 PM, Faiz Abidi <fabid...@vt.edu> wrote:

> Thanks for your help, Aashish and David.
>
> On the glxgears in stereo mode
>
> "The glxgears --stereo uses quad-buffered (frame sequential) stereo. With
> the projectors and cables we have at the CAVE at VT, the active stereo is
> happening at the projector. It is being sent two separate video channels, 1
> for left eye and one for right eye. Basically, at the computer side it is
> like passive stereo. Glxgears does not have this type of stereo option."
> This is why glxgears doesn't work in stereo mode here.
>

I see this helps.

>
> David, I have tried that configuration. See HERE
> <https://github.com/faizabidi/VE_Project/blob/master/cave-stereo.pvx>.
> Yes, both sections are driving the same set of pixels, so the coordinates
> must be the same. But I get the same issue like before. I am kind of
> confused here now. I am still trying to figure it out. Thanks for looking
> into this. If you run into any new ideas, please do let me know.
>

Another than the fact that you won't get the eye separation, you should
still not see two images at once with the last configuration. Dave and I
were talking about it; What you would need is an option in the NVIDIA
display config

 (
http://www.earthmodels.org/software/vtk-and-paraview/3d-paraview-and-geowall)
or an option in the PVX file (which we don't have right now) to support
passive stereo. Try the first option (chainging the stereo option to 4 in
the x config file) and ParaView in regular stereo mode (crystal eyes). It
should give you left eye on one display and right on other. Then it will be
fed to the projector and projector will again turn it into active.

- Aashish


>
> On Mon, Mar 28, 2016 at 1:09 PM, David E DeMarle <dave.dema...@kitware.com
> > wrote:
>
>>
>> Cool that's easy enough to try.
>>
>> @Faiz edit your pvx like so:
>> >Environment="DISPLAY=:0.4"
>>Geometry="2560x1600+0+0"
>>FullScreen="1"
>>ShowBorders="0"
>>LowerLeft="-1  -1  -1"
>>LowerRight="1-1  -1"
>>UpperRight="11   -1"/>
>> >Environment="DISPLAY=:0.5"
>>Geometry="2560x1600+0+0"
>>FullScreen="1"
>>ShowBorders="0"
>>LowerLeft="-1-1  1"
>>LowerRight="1   -1  -1"
>>UpperRight="1   1   -1"/>
>> becomes
>> >Environment="DISPLAY=:0.4"
>>Geometry="2560x1600+0+0"
>>FullScreen="1"
>>ShowBorders="0"
>>LowerLeft="-1  -1  -1"
>>LowerRight="1-1  -1"
>>UpperRight="11   -1"/>
>> >Environment="DISPLAY=:0.5"
>>Geometry="2560x1600+0+0"
>>FullScreen="1"
>>ShowBorders="0"
>>LowerLeft="-1-1  -1" #NOTE the change here to make it
>> match CTL
>>LowerRight="1   -1  -1"
>>UpperRight="1   1   -1"/>
>>
>> Both sections are driving the same set of pixels, so their world space
>> coordinates have to match. The only difference is the display number which
>> selects the video output. If you had multiple machines, you would have to
>> tailor your mpiexec call to ensure the the ordering, but since all are on
>> the same machine any process can directly draw to any display so it won't
>> matter.
>>
>>
>>
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> R Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>> On Mon, Mar 28, 2016 at 12:54 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>>
>>>
>>> On Mon, Mar 28, 2016 at 12:10 PM, David E DeMarle <
>>> dave.dema...@kitware.com> wrote:
>>>
>>>> Agree with Aashish on getting glxgears stereo as a prerequisite.
>>>>
>>>> Also one point of misunderstanding I see is that different displays in
>>>> the pvx are meant to go to different tiles. Each tile shows left and right
>>>> eye interleaved in time or color or pixel offset. The displays are not mean
>>>> to be different eyes for the same tile as you want them to be. That is why
>

Re: [Paraview] Mono and Stereo Rendering in the CAVE

2016-03-28 Thread Aashish Chaudhary
On Mon, Mar 28, 2016 at 12:10 PM, David E DeMarle <dave.dema...@kitware.com>
wrote:

> Agree with Aashish on getting glxgears stereo as a prerequisite.
>
> Also one point of misunderstanding I see is that different displays in the
> pvx are meant to go to different tiles. Each tile shows left and right eye
> interleaved in time or color or pixel offset. The displays are not mean to
> be different eyes for the same tile as you want them to be. That is why we
> have a single eye separation for the whole config but you want a left eye
> or right eye designation for each output.
>
> @Aashish - Faiz would need to hack ParaView right ? Or is there some
> hidden configuration setting I've not seen before?
>

He would need to have two display configs for each output (which on linux
should have  different display number such as :0.0 and :0.1). That's the
only thing that would be needed for passive stereo.

Thanks





-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Mono and Stereo Rendering in the CAVE

2016-03-28 Thread Aashish Chaudhary
Hi There,

I still think that your driver is not setup correctly. Please search for
driver settings for active stereo. There are plenty of links out there one
of them is here:
http://gazebosim.org/tutorials?tut=stereo_glasses=rendering

You should be able to run glxgears in stereo and I would strongly suggest
you fix that before trying paraview.

Thanks,



On Sat, Mar 26, 2016 at 1:19 AM, Faiz Abidi <fabid...@vt.edu> wrote:

> Hi Ashish,
>
> Thanks for your email. I was just now reading an old thread by you on a
> similar topic answering someone's query on a similar problem.
>
> 1. Yes, you are right. Two projectors per wall doing active stereo. So, in
> my PVX file, for doing only one half of the wall, I define Display=:0.0
>  (left eye) and Display=:0.1 (right eye).
>
> 2. Yes, active stereo on each half of the wall.
>
> 3. Umm, no. Here's what's happening. Sorry if I didn't explain properly
> before. I use two processes to drive one half of the wall using mpi. I put
> on glasses and don't see anything with my right eye and see two images with
> my left. I tend to think this is where I am doing something wrong. I tried
> using 1 process to drive one half of the wall but same result.
>
> I just tried running glxgears in stereo and see an error - "Error:
> couldn't get an rgb double-buffered visual". :/ But I am running
> InstantReality projects in the same CAVE using stereo. This is a bit weird.
>
> Btw, I am using one powerful machine with 4 graphics card on it to drive
> the entire CAVE.
>
> Thanks again for your help! If you have any more ideas, I would be glad to
> hear.
>
> On Fri, Mar 25, 2016 at 11:45 PM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> Hi Faiz,
>>
>> Few things:
>>
>> 1| You have two projectors per wall each covering half of the wall
>> 2| You are trying to do active stereo on each half part of the wall
>> 3| You put glasses on and you see both left and right eye on the half
>> wall from the same projector
>>
>> If this is the case, it sounds like your active stereo is not working.
>> Are you sure your driver is setup up correctly? Before you try to work on
>> cluster setup, just try working on one projector for debugging purposes. If
>> I were you I would do this:
>>
>> 1) Just use PVX to run on one projector (half wall)
>> 2) Make sure your driver is setup correctly. If this is linux try running
>> glxgears in stereo mode (
>> http://manpages.ubuntu.com/manpages/karmic/man1/glxgears.1.html)
>> 3) If 2) works then something is wrong with VTK/ParaView/Config somewhere.
>> 4) Make sure that your active glasses are working meaning that they are
>> syncing with the transmitter which is connected to the node
>>
>> Hope this helps.
>>
>>
>>
>>
>> On Fri, Mar 25, 2016 at 7:28 PM, Faiz Abidi <fabid...@vt.edu> wrote:
>>
>>> Alright, I updated the pvx file some, just the correct coordinates.
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> >>Environment="DISPLAY=:0.4"
>>>Geometry="2560x1600+0+0"
>>>FullScreen="0"
>>>ShowBorders="0"
>>>LowerLeft="-1.524  -0.381  -1.524"
>>>LowerRight="1.524-0.381  -1.524"
>>>UpperRight="1.5241.524   -1.524"/>
>>> >>Environment="DISPLAY=:0.5"
>>>Geometry="2560x1600+0+0"
>>>FullScreen="1"
>>>ShowBorders="0"
>>>LowerLeft="-1.524-0.381  -1.524"
>>>LowerRight="1.524-0.381  -1.524"
>>>UpperRight="1.5241.524   -1.524"/>
>>> >>Environment="DISPLAY=:0.6"
>>>Geometry="2560x1600+0+0"
>>>FullScreen="1"
>>>ShowBorders="0"
>>>LowerLeft="-1.524-1.524  -1.524"
>>>LowerRight="1.524-1.524  -1.524"
>>>UpperRight="1.5240.381   -1.524"/>
>>> >>Environment="DISPLAY=:0.7"
>>>Geometry="2560x1600+0+0"
>>>FullScreen="1"
>>>ShowBorders="0"
>>>LowerLeft="-1.524-1.524  -1.524"
>>>LowerRight="1.524

Re: [Paraview] Mono and Stereo Rendering in the CAVE

2016-03-25 Thread Aashish Chaudhary
uot;
>>>>>>>UpperRight="1   1   -1"/>
>>>>>>> >>>>>>Environment="DISPLAY=:0.6"
>>>>>>>Geometry="2560x1600+0+0"
>>>>>>>FullScreen="1"
>>>>>>>ShowBorders="0"
>>>>>>>LowerLeft="-1  -1  -1"
>>>>>>>LowerRight="1-1  -1"
>>>>>>>UpperRight="11   -1"/>
>>>>>>> >>>>>>Environment="DISPLAY=:0.7"
>>>>>>>Geometry="2560x1600+0+0"
>>>>>>>FullScreen="1"
>>>>>>>ShowBorders="0"
>>>>>>>LowerLeft="-1  -1  -1"
>>>>>>>LowerRight="1-1  -1"
>>>>>>>UpperRight="11   -1"/>
>>>>>>>  
>>>>>>> 
>>>>>>>
>>>>>>> The problem is that I don't see any distinction between the left,
>>>>>>> and the right eye. I would have attached images if it helps but that may
>>>>>>> make my email too big to be approved by the moderator.
>>>>>>>
>>>>>>> About the setup in the lab - we have 8 projectors driving this
>>>>>>> 4-sdied cave, 2 projectors for each wall. The projectors do active 
>>>>>>> stereo,
>>>>>>> 2560x1600 resolution.
>>>>>>>
>>>>>>> We think the issue maybe with setting up the correct view frustum
>>>>>>> but not sure. Anybody seen this issue before?
>>>>>>> --
>>>>>>> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com
>>>>>>>  | +1-540-998-6636
>>>>>>>
>>>>>>> ___
>>>>>>> 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:
>>>>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
>>>>> +1-540-998-6636
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
>>> +1-540-998-6636
>>>
>>
>>
>>
>> --
>> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
>> +1-540-998-6636
>>
>
>
>
> --
> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
> +1-540-998-6636
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Shapefile plugin

2016-03-22 Thread Aashish Chaudhary
Hi Venkat,

You will need to build ParaView with Module_vtkIOGDAL set to ON. Then you
will need to install this plugin from here: (it worked for bit older
version of ParaView so things may have changed.).

https://www.gitorious.org/vtkgis_vector_reader/vtkgis_vector_reader.git/?p=vtkgis_vector_reader:vtkgis_vector_reader.git;a=tree;f=ParaViewPlugin;h=001f92722ada41697ef402339b6777e3dc66e1f1;hb=HEAD

Once the plugin is enabled, you should be able to load the Shapefile. I
will talk to ParaView developers to bring this into ParaView (I don't think
its in the repo yet).

Thanks



On Tue, Mar 22, 2016 at 4:59 PM, Venkat Kolluru via ParaView <
paraview@paraview.org> wrote:

> Hi all,
>
>
>
> I am using paraview for 3-D hydrodynamic and water quality plume modeling.
>
> I am interested to load ArcGIS shape files and geo-referenced images  so
> that I can overlay the 3-D model results.
>
> Forum and other web searches show that some versions of paraview
> (paraviewGeo) and shapefile plugins were developed by others.
>
> But I am not get these files from websites (broken links or not available).
>
>
>
> Can anyone share shapefile and geo-ref image plugins for paraview?
>
>
>
> Thanks
>
> Venkat
>
>
>
>
> *___*
>
> Venkat S. Kolluru, Ph.D.
>
> Technical Fellow, IAP
>
> ERM
>
> 75 Valley Stream Parkway
>
> Suite 200
>
> Malvern, PA 19355
>
>
>
> Main: 484-913-0300; Direct: 484-913-0393; Mob: 610-764-0579; Fax:
> 484-913-0301
>
> www.erm.com; venkat.koll...@erm.com
>
>
>
> --
>
> This electronic mail message may contain information which is (a) LEGALLY
> PRIVILEGED, PROPRIETARY IN NATURE, OR OTHERWISE PROTECTED BY LAW FROM
> DISCLOSURE, and (b) intended only for the use of the Addressee (s) names
> herein. If you are not the Addressee(s), or the person responsible for
> delivering this to the Addressee (s), you are hereby notified that reading,
> copying, or distributing this message is prohibited. If you have received
> this electronic mail message in error, please contact us immediately at
> (617) 646-7800 and take the steps necessary to delete the message
> completely from your computer system. Thank you,
>
> Please visit ERM's web site: http://www.erm.com
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card.

2016-03-03 Thread Aashish Chaudhary
>
> I have the same problem. Though in my case it is a small unstructuredgrid
> vtu file. The OS is Ubuntu 14.04. ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit
> prebuilt binaries. The Graphics card is Nvidia Quadro K620 with OpenGL
> version 3.02 Nvidia 352.63. The Nvidia settings show the following etensions
> amongst others GL_ARB_frame_buffer_object.

>
> Also, it does show artifacts. In particular for a vector allocated to a
> standard hexahedron cell, the colors are slightly different within the cell.
> You can see triangular segments [possibly tetrahedron?]

It seems to me that you are running into a different issue as atleast
you are seeing
something but it does look correct to you. Is that it?

Thanks


> Regard
> Paul.
>
>
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview



-- 
| Aashish Chaudhary
| Technical Leader
| Kitware Inc.
| http://www.kitware.com/company/team/chaudhary.html
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraviewgeo

2016-01-28 Thread Aashish Chaudhary
Ah, I see. I don't know on top of my head if there is an existing filter.
Said that, the source code of ParaViewGeo is open so it is possible to
bring it in VTK/ParaView. If you want to make a pass at it, I can help (and
I am sure others too).

- Aashish

On Thu, Jan 28, 2016 at 2:43 PM, hengxing pan <pmopa...@gmail.com> wrote:

> Oh,actually,I need a filter which can determine that some random points
> are inside some closed surfaces or not ? the closed surfaces are generated
> from tube filter to some polygon lines(vtk format). But I don't know how to
> do it in paraview, it seems like there's a filter which can make it in
> paraviewgeo. So I try to get it , but not sure it can work on my problem.
> Anyway, it look like hopeful ! the eleventh one at
> http://paraviewgeo.objectivity.ca/documentation/paraviewgeo-plugins-documentation-1/paraviewgeo-plugins-documentation
> Best Wishes
> Hengxing
>
>
> 2016年1月29日星期五,Aashish Chaudhary<aashish.chaudh...@kitware.com> 写道:
> > paraviewgeo was not developed by Kitware team and as far as I know it is
> no longer in active development. If you have any specific need on earth
> science domain
> > please let us know.
> > Thanks,
> >
> > On Thu, Jan 28, 2016 at 2:59 AM, hengxing pan <pmopa...@gmail.com>
> wrote:
> >>
> >> Hi, all
> >>
> >> Is there anybody using the paraviewgeo in the 64bit windows? I dont
> know why I just cant download it from
> http://paraviewgeo.objectivity.ca/downloads/paraviewgeo-executables
> >>
> >> who can give me a ParaviewGeo Executable ? Thanks a lot !
> >>
> >> Best wishes
> >>
> >> hengxing
> >>
> >> ___
> >> 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:
> >> http://public.kitware.com/mailman/listinfo/paraview
> >>
> >
> >
> >
> > --
> > | Aashish Chaudhary
> > | Technical Leader
> > | Kitware Inc.
> > | http://www.kitware.com/company/team/chaudhary.html
>



-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraviewgeo

2016-01-28 Thread Aashish Chaudhary
paraviewgeo was not developed by Kitware team and as far as I know it is no
longer in active development. If you have any specific need on earth
science domain
please let us know.

Thanks,


On Thu, Jan 28, 2016 at 2:59 AM, hengxing pan <pmopa...@gmail.com> wrote:

> Hi, all
>
> Is there anybody using the paraviewgeo in the 64bit windows? I dont know
> why I just cant download it from
> http://paraviewgeo.objectivity.ca/downloads/paraviewgeo-executables
>
> who can give me a ParaviewGeo Executable ? Thanks a lot !
>
> Best wishes
>
> hengxing
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card.

2015-12-22 Thread Aashish Chaudhary
this is very useful.I will push a fix today and will attach a patch too.

- Aashish

On Tue, Dec 22, 2015 at 10:21 AM, Hahn, Steven E. <hah...@ornl.gov> wrote:

> Hi Aashish,
>
>
>
> The XML report is attached.
>
>
>
> Best,
>
> Steven
> ------
> *From:* Aashish Chaudhary <aashish.chaudh...@kitware.com>
> *Sent:* Monday, December 21, 2015 6:53 PM
>
> *To:* Hahn, Steven E.
> *Cc:* ParaView
> *Subject:* Re: [Paraview] VTK warning during volume rendering of
> vtkStructuredGrid on Windows with Nvidia graphics card.
>
> This is good, GLview, should have a way to export the output to a file.
> Can you send that to us as well? If it is too big, send it to me directly.
>
> Thanks,
> aashish
>
> On Mon, Dec 21, 2015 at 5:07 PM, Hahn, Steven E. <hah...@ornl.gov> wrote:
>
>> Hi Aashish,
>>
>>
>>
>> This machine is running Windows 7. I built Paraview v5.0.0-RC2 with
>> Visual Studio 2015.
>>
>>
>>
>> GLview does list GL_ARB_framebuffer_object as supported. Are there any
>> other specific features in the report that I should check?
>>
>>
>>
>> Best,
>>
>> Steven
>> --
>> *From:* Aashish Chaudhary <aashish.chaudh...@kitware.com>
>> *Sent:* Monday, December 21, 2015 4:03 PM
>> *To:* Hahn, Steven E.
>> *Cc:* ParaView
>> *Subject:* Re: [Paraview] VTK warning during volume rendering of
>> vtkStructuredGrid on Windows with Nvidia graphics card.
>>
>> Hi Steven,
>>
>> Also, can you install and run glview (
>> http://www.realtech-vr.com/glview/download.php) on your system to see if
>> FBO support exists?
>>
>> Thanks,
>> Aashish
>>
>> On Mon, Dec 21, 2015 at 4:02 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>>
>>> On Mon, Dec 21, 2015 at 3:56 PM, Hahn, Steven E. <hah...@ornl.gov>
>>> wrote:
>>>
>>>> I tried viewing the volume representation of a small vtkStructuredGrid
>>>> file with ParaView v5.0.0-RC2 built with the OpenGL2 rendering backend
>>>> and
>>>> get this warning:
>>>>
>>>> Warning: In
>>>>
>>>> C:\Sources\ParaView-v5.0.0-RC1-source\VTK\Rendering\VolumeOpenGL2\vtkOpenGL
>>>> ProjectedTetrahedraMapper.cxx, line 251
>>>> vtkOpenGLProjectedTetrahedraMapper (061B0AD0): Missing FBO
>>>> support. The algorithm may produce visual artifacts.
>>>>
>>>> Updating the video card (Nvidia Quadro K6000) driver to the latest
>>>> version
>>>> (354.56) had no effect. Volume rendering with a different vtkImageData
>>>> file generated no warnings.
>>>>
>>>
>>>
>>> They are using different mappers. I am surprised that you are reported
>>> missing fbo support. Which windows Platform is this?
>>>
>>> - Aashish
>>>
>>>
>>>>
>>>> Best,
>>>> Steven Hahn
>>>>
>>>> _______
>>>> 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:
>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>> *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
>>>   *
>>> *| http://www.kitware.com/company/team/chaudhary.html
>>> <http://www.kitware.com/company/team/chaudhary.html>*
>>>
>>
>>
>>
>> --
>>
>>
>>
>> *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
>>   *
>> *| http://www.kitware.com/company/team/chaudhary.html
>> <http://www.kitware.com/company/team/chaudhary.html>*
>>
>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
> *
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>



-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card.

2015-12-21 Thread Aashish Chaudhary
On Mon, Dec 21, 2015 at 3:56 PM, Hahn, Steven E. <hah...@ornl.gov> wrote:

> I tried viewing the volume representation of a small vtkStructuredGrid
> file with ParaView v5.0.0-RC2 built with the OpenGL2 rendering backend and
> get this warning:
>
> Warning: In
> C:\Sources\ParaView-v5.0.0-RC1-source\VTK\Rendering\VolumeOpenGL2\vtkOpenGL
> ProjectedTetrahedraMapper.cxx, line 251
> vtkOpenGLProjectedTetrahedraMapper (061B0AD0): Missing FBO
> support. The algorithm may produce visual artifacts.
>
> Updating the video card (Nvidia Quadro K6000) driver to the latest version
> (354.56) had no effect. Volume rendering with a different vtkImageData
> file generated no warnings.
>


They are using different mappers. I am surprised that you are reported
missing fbo support. Which windows Platform is this?

- Aashish


>
> Best,
> Steven Hahn
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>



-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card.

2015-12-21 Thread Aashish Chaudhary
Hi Steven,

Also, can you install and run glview (
http://www.realtech-vr.com/glview/download.php) on your system to see if
FBO support exists?

Thanks,
Aashish

On Mon, Dec 21, 2015 at 4:02 PM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

>
> On Mon, Dec 21, 2015 at 3:56 PM, Hahn, Steven E. <hah...@ornl.gov> wrote:
>
>> I tried viewing the volume representation of a small vtkStructuredGrid
>> file with ParaView v5.0.0-RC2 built with the OpenGL2 rendering backend and
>> get this warning:
>>
>> Warning: In
>>
>> C:\Sources\ParaView-v5.0.0-RC1-source\VTK\Rendering\VolumeOpenGL2\vtkOpenGL
>> ProjectedTetrahedraMapper.cxx, line 251
>> vtkOpenGLProjectedTetrahedraMapper (061B0AD0): Missing FBO
>> support. The algorithm may produce visual artifacts.
>>
>> Updating the video card (Nvidia Quadro K6000) driver to the latest version
>> (354.56) had no effect. Volume rendering with a different vtkImageData
>> file generated no warnings.
>>
>
>
> They are using different mappers. I am surprised that you are reported
> missing fbo support. Which windows Platform is this?
>
> - Aashish
>
>
>>
>> Best,
>> Steven Hahn
>>
>> ___
>> 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:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader | Kitware Inc.*
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>



-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card.

2015-12-21 Thread Aashish Chaudhary
This is good, GLview, should have a way to export the output to a file. Can
you send that to us as well? If it is too big, send it to me directly.

Thanks,
aashish

On Mon, Dec 21, 2015 at 5:07 PM, Hahn, Steven E. <hah...@ornl.gov> wrote:

> Hi Aashish,
>
>
>
> This machine is running Windows 7. I built Paraview v5.0.0-RC2 with Visual
> Studio 2015.
>
>
>
> GLview does list GL_ARB_framebuffer_object as supported. Are there any
> other specific features in the report that I should check?
>
>
>
> Best,
>
> Steven
> --
> *From:* Aashish Chaudhary <aashish.chaudh...@kitware.com>
> *Sent:* Monday, December 21, 2015 4:03 PM
> *To:* Hahn, Steven E.
> *Cc:* ParaView
> *Subject:* Re: [Paraview] VTK warning during volume rendering of
> vtkStructuredGrid on Windows with Nvidia graphics card.
>
> Hi Steven,
>
> Also, can you install and run glview (
> http://www.realtech-vr.com/glview/download.php) on your system to see if
> FBO support exists?
>
> Thanks,
> Aashish
>
> On Mon, Dec 21, 2015 at 4:02 PM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>>
>> On Mon, Dec 21, 2015 at 3:56 PM, Hahn, Steven E. <hah...@ornl.gov> wrote:
>>
>>> I tried viewing the volume representation of a small vtkStructuredGrid
>>> file with ParaView v5.0.0-RC2 built with the OpenGL2 rendering backend
>>> and
>>> get this warning:
>>>
>>> Warning: In
>>>
>>> C:\Sources\ParaView-v5.0.0-RC1-source\VTK\Rendering\VolumeOpenGL2\vtkOpenGL
>>> ProjectedTetrahedraMapper.cxx, line 251
>>> vtkOpenGLProjectedTetrahedraMapper (061B0AD0): Missing FBO
>>> support. The algorithm may produce visual artifacts.
>>>
>>> Updating the video card (Nvidia Quadro K6000) driver to the latest
>>> version
>>> (354.56) had no effect. Volume rendering with a different vtkImageData
>>> file generated no warnings.
>>>
>>
>>
>> They are using different mappers. I am surprised that you are reported
>> missing fbo support. Which windows Platform is this?
>>
>> - Aashish
>>
>>
>>>
>>> Best,
>>> Steven Hahn
>>>
>>> ___
>>> 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:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>
>>
>>
>> --
>>
>>
>>
>> *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
>>   *
>> *| http://www.kitware.com/company/team/chaudhary.html
>> <http://www.kitware.com/company/team/chaudhary.html>*
>>
>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
> *
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>



-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview v5.0.0-RC1 with OpenGL2 backend not running using OSMESA v10.5.5

2015-12-21 Thread Aashish Chaudhary
Utkarsh,

This is great news! few inline comments:

On Thu, Dec 17, 2015 at 1:05 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> Frank,
>
> First of all, thanks for all your exhausting testing, it's greatly
> appreciated!
>
> * OSMesa and MESA_GL_VERSION_OVERRIDE
>
> Communicating with the Mesa team, we learnt that
> MESA_GL_VERSION_OVERRIDE is a bad idea since it doesnt' really create
> the specified OpenGL context. Thus if anything tries to use features
> from the specific OpenGL version, the rendering would crash and burn.
> Working with Brian Paul from the Mesa team, Ken recently pushed a fix
> to VTK (after the RC2) that uses new OSMesa API to create the correct
> OpenGL context. This new OSMesa API will appear in Mesa 11.2, however.
> Earlier version can be patched using the "alpha" patch that Brian
> provided us (attached).
>

Does this patch cleanly applies to all previous version of Mesa or only
11.1 release? I am assuming that this patch existing in their current
master?

>
> * Classic v/s llvm
>
> Your observation is indeed correct. llvmpipe is the way to go for
> software rendering. On my builds, classic mesa was painstakingly slow
> for rendering even small geometries.
>
> * Issues with LIC
>
> Another correct observation. There are a few regressions in the new
> implementation for SurfaceLIC. Realistically, we  may not be able to
> address these before the 5.0 release. If you're using SurfaceLIC
> heavily, I'd suggest building ParaView 5.0 with the older OpenGL
> backend (or sticking with 4.4) for the interim.
>
> * OSMesa + SWR
>
> While currently I am not sure openswr+osmesa builds are possible, I
> wouldn't be surprised if that on the roadmap. I am going to try to
> contact the OpenSWR team to see if they have any thoughts on that.
>
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Volume Rendering with NumberOfScalarComponents > 1

2015-12-16 Thread Aashish Chaudhary
Axel

We were just discussing this few days ago. Do you have to use paraview gui? Or 
paraview python will work? There might be a way in pv python route. 

Thanks 

Sent from my iPhone

> On Dec 16, 2015, at 5:01 AM, Axel Kittenberger  wrote:
> 
> Hello,
> 
> the Python VTK script below gives results, like a expect. Now I'm trying to 
> reproduce it in Paraview and I fail.
> 
> I get rather confused as soon I give it a source with more than one scalar 
> component. 
> Paraview creates one color map; I would expect 3 color maps, 1 for every 
> component.
> What ever I do effective opacity is always 1. That is I see a black cube with 
> it's surface the images
> of the data on its surface (so far correct), however no effective volume 
> rendering -- I selected Volume, "Ray Cast Only"
> which should be vtkFixedPointVolumeRayCastMapper as far I understood.
> 
> I tried creating 3 readers with the different scalar components extracted 
> first, but doesn't give
> correct rendering -- neither in VTK nor in paraview, since multiple renderer 
> seem to compete which gets to
> draw a pixel instead of composing them together
> like a red transparent + a green transparent should give a yellow transparent 
> impression.
> 
> How can I achieve the same result with Paraview?
> 
> Kind regards, Axel
> 
> --
> #!/usr/bin/env python
> 
> import vtk
> 
> # Create the standard renderer, render window and interactor
> ren = vtk.vtkRenderer( )
> renWin = vtk.vtkRenderWindow( )
> renWin.AddRenderer( ren )
> iren = vtk.vtkRenderWindowInteractor( )
> iren.SetRenderWindow( renWin )
> 
> reader = vtk.vtkImageReader2( )
> reader.SetFileName( "./data.raw" );
> reader.SetDataScalarTypeToUnsignedChar( );
> reader.SetNumberOfScalarComponents( 3 );
> reader.SetFileDimensionality( 3 );
> reader.SetDataExtent( 0, 261, 0, 511, 0, 21 );
> reader.SetDataSpacing( 1, 1, 3.5 );
> 
> # Create transfer mapping scalar value to opacity
> opacityTransferFunction = vtk.vtkPiecewiseFunction( )
> opacityTransferFunction.AddPoint(   0, 0.0 )
> opacityTransferFunction.AddPoint(  20, 0.0 )
> opacityTransferFunction.AddPoint(  40, 0.1 )
> opacityTransferFunction.AddPoint( 255, 0.1 )
> 
> # Create transfer mapping scalar value to color
> 
> colorRedTransferFunction = vtk.vtkColorTransferFunction( )
> colorRedTransferFunction.AddRGBPoint(   0.0, 0.2, 0.0, 0.0 )
> colorRedTransferFunction.AddRGBPoint( 255.0, 1.0, 0.0, 0.0 )
> 
> colorGreenTransferFunction = vtk.vtkColorTransferFunction( )
> colorGreenTransferFunction.AddRGBPoint(   0.0, 0.0, 0.2, 0.0 )
> colorGreenTransferFunction.AddRGBPoint( 255.0, 0.0, 1.0, 0.0 )
> 
> colorBlueTransferFunction = vtk.vtkColorTransferFunction( )
> colorBlueTransferFunction.AddRGBPoint(   0.0, 0.0, 0.0, 0.0 )
> colorBlueTransferFunction.AddRGBPoint( 255.0, 0.0, 0.0, 1.0 )
> 
> volumeProperty = vtk.vtkVolumeProperty( )
> volumeProperty.SetColor( 0, colorRedTransferFunction )
> volumeProperty.SetColor( 1, colorGreenTransferFunction )
> volumeProperty.SetColor( 2, colorBlueTransferFunction )
> 
> volumeProperty.SetScalarOpacity( 0, opacityTransferFunction )
> volumeProperty.SetScalarOpacity( 1, opacityTransferFunction )
> volumeProperty.SetScalarOpacity( 2, opacityTransferFunction )
> volumeProperty.SetInterpolationTypeToLinear( )
> 
> volumeMapper = vtk.vtkFixedPointVolumeRayCastMapper( )
> volumeMapper.SetInputConnection( reader.GetOutputPort( ) )
> volumeMapper.SetNumberOfThreads( 1 )
> 
> volume = vtk.vtkVolume( )
> volume.SetMapper( volumeMapper )
> volume.SetProperty( volumeProperty )
> 
> ren.AddVolume( volume )
> ren.SetBackground( 1, 1, 1 )
> renWin.SetSize( 600, 600 )
> 
> def CheckAbort( obj, event ):
> if obj.GetEventPending( ) != 0:
> obj.SetAbortRender( 1 )
> 
> renWin.AddObserver( "AbortCheckEvent", CheckAbort )
> 
> iren.Initialize( )
> renWin.Render( )
> iren.Start( )
> --
> ___
> 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:
> http://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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview v5.0.0-RC1 with OpenGL2 backend not running using OSMESA v10.5.5

2015-12-10 Thread Aashish Chaudhary
;>
>> 119: discard;
>>
>> 120: }
>>
>> 121:
>>
>> 122:   //VTK::DepthPeeling::Impl
>>
>> 123:
>>
>> 124:   //VTK::Picking::Impl
>>
>> 125:
>>
>> 126: }
>>
>> 127:
>>
>>
>>
>>
>>
>> ERROR: In
>> /panfs/srvpan01/code/repo/build/paraview-5.0.0-rc1/src/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx,
>> line 370
>>
>> vtkShaderProgram (0x4d4dbfe0): 0:2(12): error: extension
>> `GL_EXT_gpu_shader4' unsupported in fragment shader
>>
>>
>>
>>
>>
>> APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal
>> 11)
>>
>>
>>
>> Was it to be expected? If so, is there any chance at all to run PV 5.0.0
>> in batch with MESA support on a CPU cluster? If so, which MESA version is
>> required/recommended and what are the compile options to pass?
>>
>>
>> Thank you very much in advance for any answer.
>>
>>
>>
>> *Frank Albina *
>>
>>
>>
>> ___
>> 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:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
>
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Blurred volume rendering

2015-12-07 Thread Aashish Chaudhary
You can try that. If it does not work, its a very minor change, hopefully
you can find the file and change it manually.

Thanks,


On Mon, Dec 7, 2015 at 8:58 PM, Thomas Oliveira <thomas.olive...@gmail.com>
wrote:

> Dear Aashish,
>
> I tried to build ParaView from master, but I get an error that is the
> subject of another discussion on the list ("Error while building,
> H5_SIZEOF_SIZE_T is undefined"). Could I try to apply the patch on some
> version available from http://www.paraview.org/download/, maybe a nightly
> build?
>
> Best wishes,
>
> Thomas
>
> On Thu, Dec 3, 2015 at 5:31 AM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> Dear Thomas,
>>
>> If it is possible for you to build ParaView from master (as of today)
>> with OpenGL2 backend, then apply this patch (attached) and see if this
>> works for you. This might work on older version or OpenGL1 backend but I
>> haven't tested it, so use at your risk. Once applied and build, you can
>> find for "Interpolation" option in advance search box. It will show
>> "Nearest, Linear, and Cubic".
>>
>> Thanks,
>>
>>
>> On Wed, Dec 2, 2015 at 11:59 AM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>> Hi Thomas,
>>>
>>> Please find the attached image which I rendered using VTK code and in
>>> there I used nearest interpolation. Please let me know if this is what you
>>> expect. I will see if we can push a change to ParaView to expose this
>>> feature.
>>>
>>> Thanks,
>>>
>>>
>>> int TestGPURayCastVolumeUpdate(int argc, char *argv[])
>>>
>>> {
>>>
>>>   cout << "CTEST_FULL_OUTPUT (Avoid ctest truncation of output)" << endl;
>>>
>>>
>>>   double scalarRange[2];
>>>
>>>
>>>   vtkNew outlineActor;
>>>
>>>   vtkNew outlineMapper;
>>>
>>>   vtkNew volumeMapper;
>>>
>>>
>>>   vtkNew reader;
>>>
>>>   
>>> reader->SetFilePrefix("/home/chaudhary/tools/paraview_main/Image/Berea.raw");
>>>
>>>   reader->SetFilePattern("%s");
>>>
>>>   reader->SetFileDimensionality(3);
>>>
>>>   reader->SetDataByteOrderToLittleEndian();
>>>
>>>   reader->SetDataScalarTypeToUnsignedChar();
>>>
>>>   reader->SetDataExtent(0, 399, 0, 399, 0, 399);
>>>
>>>   reader->SetFileLowerLeft(1);
>>>
>>>   reader->SetDataOrigin(0, 0, 0);
>>>
>>>   reader->SetDataSpacing(1.0, 1.0, 1.0);
>>>
>>>   reader->SetInputArrayToProcess(0, 0, 0, 
>>> vtkDataObject::FIELD_ASSOCIATION_POINTS, "ImageFile");
>>>
>>>   reader->Update();
>>>
>>>
>>>   volumeMapper->SetInputConnection(reader->GetOutputPort());
>>>
>>>
>>>   // Add outline filter
>>>
>>>   vtkNew outlineFilter;
>>>
>>>   outlineFilter->SetInputConnection(reader->GetOutputPort());
>>>
>>>   outlineMapper->SetInputConnection(outlineFilter->GetOutputPort());
>>>
>>>   outlineActor->SetMapper(outlineMapper.GetPointer());
>>>
>>>
>>>   volumeMapper->GetInput()->GetScalarRange(scalarRange);
>>>
>>>   volumeMapper->SetAutoAdjustSampleDistances(0);
>>>
>>>   volumeMapper->SetBlendModeToComposite();
>>>
>>>
>>>   vtkNew renWin;
>>>
>>>   renWin->SetMultiSamples(0);
>>>
>>>   renWin->SetSize(400, 400);
>>>
>>>
>>>   vtkNew iren;
>>>
>>>   iren->SetRenderWindow(renWin.GetPointer());
>>>
>>>   vtkNew style;
>>>
>>>   iren->SetInteractorStyle(style.GetPointer());
>>>
>>>
>>>   renWin->Render(); // make sure we have an OpenGL context.
>>>
>>>
>>>   vtkNew ren;
>>>
>>>   ren->SetBackground(0.2, 0.2, 0.5);
>>>
>>>   renWin->AddRenderer(ren.GetPointer());
>>>
>>>
>>>   vtkNew scalarOpacity;
>>>
>>>   scalarOpacity->AddPoint(0.0, 0.0);
>>>
>>>   scalarOpacity->AddPoint(0.4, 0.0);
>>>
>>>   scalarOpacity->AddPoint(0.4, 0.1);
>>>
>>>   scalarOpacity->AddPoint(1.0, 0.2);
>>>
>>>
>>>   vtkNew volumeProperty;

Re: [Paraview] Blurred volume rendering

2015-12-02 Thread Aashish Chaudhary
Thomas,

I am looking at your data in VTK. I will report back. In ParaView, you
cannot choose linear or nearest as of now. We have a plan to expose all of
the volume property parameters in ParaView (hopefully soon).

Thanks,


On Mon, Nov 30, 2015 at 3:06 PM, Thomas Oliveira <thomas.olive...@gmail.com>
wrote:

> Dear Aashish,
>
> Can I choose the interpolation (linear vs nearest) or is it hard-coded on
> the call of VTK from Paraview?
>
> A dataset can be downloaded from
> http://www3.imperial.ac.uk/pls/portallive/docs/1/33505696.ZIP .
> Please extract the Berea.raw file from the zip.
> I loaded it using:
> """
> Raw (binary) Files
> Data Scalar Type: unsigned char
> Data Byte Order: Little Endian
> Data Extent: 0-399, 0-399, 0-399
> """
>
> Thank you for your attention,
>
> Thomas Oliveira
>
>
> On Mon, Nov 30, 2015 at 4:31 PM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> Thomas,
>>
>>
>>
>> On Mon, Nov 30, 2015 at 10:34 AM, Thomas Oliveira <
>> thomas.olive...@gmail.com> wrote:
>>
>>> Dear Aashish,
>>>
>>>
>>> I'm using Paraview 4.4.0 64-bit , OpenGL Version 4.5.0 NVIDIA 352.55,
>>> OpenGL Renderer Quadro K600/PCIe/SSE2.
>>>
>>> Tweaking the transfer function improved the result, but the corners are
>>> rendererd rounded, whereas in the original file I have only cubic voxels.
>>>
>>
>> I am wondering if that would be because of the interpolation (linear vs
>> nearest) since linear will smooth out the edges just a bit. Is there a
>> sample dataset you can send my way?
>>
>>
>>> I though that unsetting "Properties > Scalar Coloring > Interpolate
>>> Scalars Before Mapping" would improve the image, but I saw no change.
>>>
>>> You suggested to enable shading, but I couldn't find it. Where is it?
>>>
>>
>> Its on the same panel (left side), scroll to the bottom or search for
>> "shade" you should be see it.
>>
>> - aashish
>>
>>>
>>>
>>> Thank you for your help,
>>>
>>> Thomas Oliveira
>>>
>>>
>>> On Mon, Nov 30, 2015 at 3:07 PM, Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com> wrote:
>>>
>>>> Hi Thomas,
>>>>
>>>> On Mon, Nov 30, 2015 at 8:54 AM, Thomas Oliveira <
>>>> thomas.olive...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> The Sample.png file attached is an image of a pore medium. Each voxel
>>>>> in the image is a cube that is either solid or void.
>>>>>
>>>>> The Zoom.png file attached is a zoom of it, where it can be seen that
>>>>> the curved interior solid walls are approximated by a staircase
>>>>> discretization.
>>>>>
>>>>> How can I render this staircase geometry more clearly?
>>>>>
>>>>
>>>> Did you try to tweak the transfer function? Also, you can enable
>>>> shading to have a look of a solid surface.
>>>>
>>>>
>>>>> I have tried tweaking many properties on ParaView but I still get it
>>>>> blurred.
>>>>>
>>>>
>>>> Just to be sure, what version of ParaView you are using and what OpenGL
>>>> backend?
>>>>
>>>>>
>>>>> Thank you for your help,
>>>>>
>>>>> Thomas Oliveira
>>>>>
>>>>>
>>>>> ___________
>>>>> 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:
>>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc.
>>>>   *
>>>> *| http://www.kitware.com/company/team/chaudhary.html
>>>> <http://www.kitware.com/company/team/chaudhary.html>*
>>>>
>>>
>>>
>>
>>
>> --
>>
>>
>>
>> *| Aashish Chaudhary | Technical Leader | Kitware Inc.
>> *
>> *| http://www.kitware.com/company/team/chaudhary.html
>> <http://www.kitware.com/company/team/chaudhary.html>*
>>
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Blurred volume rendering

2015-12-02 Thread Aashish Chaudhary
Hi Thomas,

Please find the attached image which I rendered using VTK code and in there
I used nearest interpolation. Please let me know if this is what you
expect. I will see if we can push a change to ParaView to expose this
feature.

Thanks,


int TestGPURayCastVolumeUpdate(int argc, char *argv[])

{

  cout << "CTEST_FULL_OUTPUT (Avoid ctest truncation of output)" << endl;


  double scalarRange[2];


  vtkNew outlineActor;

  vtkNew outlineMapper;

  vtkNew volumeMapper;


  vtkNew reader;

  reader->SetFilePrefix("/home/chaudhary/tools/paraview_main/Image/Berea.raw");

  reader->SetFilePattern("%s");

  reader->SetFileDimensionality(3);

  reader->SetDataByteOrderToLittleEndian();

  reader->SetDataScalarTypeToUnsignedChar();

  reader->SetDataExtent(0, 399, 0, 399, 0, 399);

  reader->SetFileLowerLeft(1);

  reader->SetDataOrigin(0, 0, 0);

  reader->SetDataSpacing(1.0, 1.0, 1.0);

  reader->SetInputArrayToProcess(0, 0, 0,
vtkDataObject::FIELD_ASSOCIATION_POINTS, "ImageFile");

  reader->Update();


  volumeMapper->SetInputConnection(reader->GetOutputPort());


  // Add outline filter

  vtkNew outlineFilter;

  outlineFilter->SetInputConnection(reader->GetOutputPort());

  outlineMapper->SetInputConnection(outlineFilter->GetOutputPort());

  outlineActor->SetMapper(outlineMapper.GetPointer());


  volumeMapper->GetInput()->GetScalarRange(scalarRange);

  volumeMapper->SetAutoAdjustSampleDistances(0);

  volumeMapper->SetBlendModeToComposite();


  vtkNew renWin;

  renWin->SetMultiSamples(0);

  renWin->SetSize(400, 400);


  vtkNew iren;

  iren->SetRenderWindow(renWin.GetPointer());

  vtkNew style;

  iren->SetInteractorStyle(style.GetPointer());


  renWin->Render(); // make sure we have an OpenGL context.


  vtkNew ren;

  ren->SetBackground(0.2, 0.2, 0.5);

  renWin->AddRenderer(ren.GetPointer());


  vtkNew scalarOpacity;

  scalarOpacity->AddPoint(0.0, 0.0);

  scalarOpacity->AddPoint(0.4, 0.0);

  scalarOpacity->AddPoint(0.4, 0.1);

  scalarOpacity->AddPoint(1.0, 0.2);


  vtkNew volumeProperty;

*  volumeProperty->SetInterpolationType(VTK_NEAREST_INTERPOLATION);*

  volumeProperty->SetScalarOpacity(scalarOpacity.GetPointer());

  volumeProperty->ShadeOn();


  vtkNew colorTransferFunction;

  colorTransferFunction->RemoveAllPoints();

  colorTransferFunction->AddRGBPoint(scalarRange[0], 0.6, 0.4, 0.4);

  colorTransferFunction->AddRGBPoint(scalarRange[1], 1.0, 1.0, 0.4);

  volumeProperty->SetColor(colorTransferFunction.GetPointer());


  vtkNew volume;

  volume->SetMapper(volumeMapper.GetPointer());

  volume->SetProperty(volumeProperty.GetPointer());


  /// Add sphere in the center of volume

  int dims[3];

  double spacing[3], center[3], origin[3];

  reader->Update();

  vtkSmartPointer im = reader->GetOutput();

  im->GetDimensions(dims);

  im->GetOrigin(origin);

  im->GetSpacing(spacing);


  center[0] = origin[0] + spacing[0]*dims[0]/2.0;

  center[1] = origin[1] + spacing[1]*dims[1]/2.0;

  center[2] = origin[2] + spacing[2]*dims[2]/2.0;


  ren->AddVolume(volume.GetPointer());

  ren->AddActor(outlineActor.GetPointer());

  ren->ResetCamera();

  renWin->Render();


  iren->Initialize();

  iren->Start();

}


On Wed, Dec 2, 2015 at 10:13 AM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> Thomas,
>
> I am looking at your data in VTK. I will report back. In ParaView, you
> cannot choose linear or nearest as of now. We have a plan to expose all of
> the volume property parameters in ParaView (hopefully soon).
>
> Thanks,
>
>
> On Mon, Nov 30, 2015 at 3:06 PM, Thomas Oliveira <
> thomas.olive...@gmail.com> wrote:
>
>> Dear Aashish,
>>
>> Can I choose the interpolation (linear vs nearest) or is it hard-coded on
>> the call of VTK from Paraview?
>>
>> A dataset can be downloaded from
>> http://www3.imperial.ac.uk/pls/portallive/docs/1/33505696.ZIP .
>> Please extract the Berea.raw file from the zip.
>> I loaded it using:
>> """
>> Raw (binary) Files
>> Data Scalar Type: unsigned char
>> Data Byte Order: Little Endian
>> Data Extent: 0-399, 0-399, 0-399
>> """
>>
>> Thank you for your attention,
>>
>> Thomas Oliveira
>>
>>
>> On Mon, Nov 30, 2015 at 4:31 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>> Thomas,
>>>
>>>
>>>
>>> On Mon, Nov 30, 2015 at 10:34 AM, Thomas Oliveira <
>>> thomas.olive...@gmail.com> wrote:
>>>
>>>> Dear Aashish,
>>>>
>>>>
>>>> I'm using Paraview 4.4.0 64-bit , OpenGL V

Re: [Paraview] Blurred volume rendering

2015-12-02 Thread Aashish Chaudhary
Dear Thomas,

If it is possible for you to build ParaView from master (as of today) with
OpenGL2 backend, then apply this patch (attached) and see if this works for
you. This might work on older version or OpenGL1 backend but I haven't
tested it, so use at your risk. Once applied and build, you can find for
"Interpolation" option in advance search box. It will show "Nearest,
Linear, and Cubic".

Thanks,


On Wed, Dec 2, 2015 at 11:59 AM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> Hi Thomas,
>
> Please find the attached image which I rendered using VTK code and in
> there I used nearest interpolation. Please let me know if this is what you
> expect. I will see if we can push a change to ParaView to expose this
> feature.
>
> Thanks,
>
>
> int TestGPURayCastVolumeUpdate(int argc, char *argv[])
>
> {
>
>   cout << "CTEST_FULL_OUTPUT (Avoid ctest truncation of output)" << endl;
>
>
>   double scalarRange[2];
>
>
>   vtkNew outlineActor;
>
>   vtkNew outlineMapper;
>
>   vtkNew volumeMapper;
>
>
>   vtkNew reader;
>
>   
> reader->SetFilePrefix("/home/chaudhary/tools/paraview_main/Image/Berea.raw");
>
>   reader->SetFilePattern("%s");
>
>   reader->SetFileDimensionality(3);
>
>   reader->SetDataByteOrderToLittleEndian();
>
>   reader->SetDataScalarTypeToUnsignedChar();
>
>   reader->SetDataExtent(0, 399, 0, 399, 0, 399);
>
>   reader->SetFileLowerLeft(1);
>
>   reader->SetDataOrigin(0, 0, 0);
>
>   reader->SetDataSpacing(1.0, 1.0, 1.0);
>
>   reader->SetInputArrayToProcess(0, 0, 0, 
> vtkDataObject::FIELD_ASSOCIATION_POINTS, "ImageFile");
>
>   reader->Update();
>
>
>   volumeMapper->SetInputConnection(reader->GetOutputPort());
>
>
>   // Add outline filter
>
>   vtkNew outlineFilter;
>
>   outlineFilter->SetInputConnection(reader->GetOutputPort());
>
>   outlineMapper->SetInputConnection(outlineFilter->GetOutputPort());
>
>   outlineActor->SetMapper(outlineMapper.GetPointer());
>
>
>   volumeMapper->GetInput()->GetScalarRange(scalarRange);
>
>   volumeMapper->SetAutoAdjustSampleDistances(0);
>
>   volumeMapper->SetBlendModeToComposite();
>
>
>   vtkNew renWin;
>
>   renWin->SetMultiSamples(0);
>
>   renWin->SetSize(400, 400);
>
>
>   vtkNew iren;
>
>   iren->SetRenderWindow(renWin.GetPointer());
>
>   vtkNew style;
>
>   iren->SetInteractorStyle(style.GetPointer());
>
>
>   renWin->Render(); // make sure we have an OpenGL context.
>
>
>   vtkNew ren;
>
>   ren->SetBackground(0.2, 0.2, 0.5);
>
>   renWin->AddRenderer(ren.GetPointer());
>
>
>   vtkNew scalarOpacity;
>
>   scalarOpacity->AddPoint(0.0, 0.0);
>
>   scalarOpacity->AddPoint(0.4, 0.0);
>
>   scalarOpacity->AddPoint(0.4, 0.1);
>
>   scalarOpacity->AddPoint(1.0, 0.2);
>
>
>   vtkNew volumeProperty;
>
> *  volumeProperty->SetInterpolationType(VTK_NEAREST_INTERPOLATION);*
>
>   volumeProperty->SetScalarOpacity(scalarOpacity.GetPointer());
>
>   volumeProperty->ShadeOn();
>
>
>   vtkNew colorTransferFunction;
>
>   colorTransferFunction->RemoveAllPoints();
>
>   colorTransferFunction->AddRGBPoint(scalarRange[0], 0.6, 0.4, 0.4);
>
>   colorTransferFunction->AddRGBPoint(scalarRange[1], 1.0, 1.0, 0.4);
>
>   volumeProperty->SetColor(colorTransferFunction.GetPointer());
>
>
>   vtkNew volume;
>
>   volume->SetMapper(volumeMapper.GetPointer());
>
>   volume->SetProperty(volumeProperty.GetPointer());
>
>
>   /// Add sphere in the center of volume
>
>   int dims[3];
>
>   double spacing[3], center[3], origin[3];
>
>   reader->Update();
>
>   vtkSmartPointer im = reader->GetOutput();
>
>   im->GetDimensions(dims);
>
>   im->GetOrigin(origin);
>
>   im->GetSpacing(spacing);
>
>
>   center[0] = origin[0] + spacing[0]*dims[0]/2.0;
>
>   center[1] = origin[1] + spacing[1]*dims[1]/2.0;
>
>   center[2] = origin[2] + spacing[2]*dims[2]/2.0;
>
>
>   ren->AddVolume(volume.GetPointer());
>
>   ren->AddActor(outlineActor.GetPointer());
>
>   ren->ResetCamera();
>
>   renWin->Render();
>
>
>   iren->Initialize();
>
>   iren->Start();
>
> }
>
>
> On Wed, Dec 2, 2015 at 10:13 AM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> Thomas,
>>
>> I am looking at your data in VTK. I will report back. In ParaView, you
>> cannot choose linear or neares

Re: [Paraview] Blurred volume rendering

2015-11-30 Thread Aashish Chaudhary
Thomas,



On Mon, Nov 30, 2015 at 10:34 AM, Thomas Oliveira <thomas.olive...@gmail.com
> wrote:

> Dear Aashish,
>
>
> I'm using Paraview 4.4.0 64-bit , OpenGL Version 4.5.0 NVIDIA 352.55,
> OpenGL Renderer Quadro K600/PCIe/SSE2.
>
> Tweaking the transfer function improved the result, but the corners are
> rendererd rounded, whereas in the original file I have only cubic voxels.
>

I am wondering if that would be because of the interpolation (linear vs
nearest) since linear will smooth out the edges just a bit. Is there a
sample dataset you can send my way?


> I though that unsetting "Properties > Scalar Coloring > Interpolate
> Scalars Before Mapping" would improve the image, but I saw no change.
>
> You suggested to enable shading, but I couldn't find it. Where is it?
>

Its on the same panel (left side), scroll to the bottom or search for
"shade" you should be see it.

- aashish

>
>
> Thank you for your help,
>
> Thomas Oliveira
>
>
> On Mon, Nov 30, 2015 at 3:07 PM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> Hi Thomas,
>>
>> On Mon, Nov 30, 2015 at 8:54 AM, Thomas Oliveira <
>> thomas.olive...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> The Sample.png file attached is an image of a pore medium. Each voxel in
>>> the image is a cube that is either solid or void.
>>>
>>> The Zoom.png file attached is a zoom of it, where it can be seen that
>>> the curved interior solid walls are approximated by a staircase
>>> discretization.
>>>
>>> How can I render this staircase geometry more clearly?
>>>
>>
>> Did you try to tweak the transfer function? Also, you can enable shading
>> to have a look of a solid surface.
>>
>>
>>> I have tried tweaking many properties on ParaView but I still get it
>>> blurred.
>>>
>>
>> Just to be sure, what version of ParaView you are using and what OpenGL
>> backend?
>>
>>>
>>> Thank you for your help,
>>>
>>> Thomas Oliveira
>>>
>>>
>>> ___
>>> 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:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
>>
>> --
>>
>>
>>
>> *| Aashish Chaudhary | Technical Leader | Kitware Inc.
>> *
>> *| http://www.kitware.com/company/team/chaudhary.html
>> <http://www.kitware.com/company/team/chaudhary.html>*
>>
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Blurred volume rendering

2015-11-30 Thread Aashish Chaudhary
Hi Thomas,

On Mon, Nov 30, 2015 at 8:54 AM, Thomas Oliveira <thomas.olive...@gmail.com>
wrote:

> Hi,
>
> The Sample.png file attached is an image of a pore medium. Each voxel in
> the image is a cube that is either solid or void.
>
> The Zoom.png file attached is a zoom of it, where it can be seen that the
> curved interior solid walls are approximated by a staircase discretization.
>
> How can I render this staircase geometry more clearly?
>

Did you try to tweak the transfer function? Also, you can enable shading to
have a look of a solid surface.


> I have tried tweaking many properties on ParaView but I still get it
> blurred.
>

Just to be sure, what version of ParaView you are using and what OpenGL
backend?

>
> Thank you for your help,
>
> Thomas Oliveira
>
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] RayCastAndTextureRenderMode and TextureRenderMode are no longer supported in Paraview 5.0.0-RC1

2015-11-23 Thread Aashish Chaudhary
In short: texture-based volume mapper is an old technique that produces low
quality rendering and does not provide enough flexibility to support
various volume rendering tricks and modes. It was there mostly to support
legacy systems and since we moved to OpenGL2, we no longer needed it. All
of the features and more are support by RayCast GL mapper.

Hope this helps,
Aashish

On Mon, Nov 23, 2015 at 10:34 AM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> > However, I would remove them from the list if they will not be supported.
>
> Good point. Aashish, any reason why they should not be removed? Are
> they going to be added back eventually? Let me know and I can have it
> fixed accordingly.
>
> Utkarsh
>



-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-11-19 Thread Aashish Chaudhary
Dear Simon,

I looked the code carefully and evaluated on mac and Linux (I don't think
its a system specific issue). I also looked into your code and here what I
found:

* In your example code the desired update rate is set to 25 which is
actually on a higher side given the data
* But the max sampling distance factor is set to 2.

1) These parameters results in some interesting computation. Old mapper
would not use your max sampling distance unless some computation it does
cross a threshold.

2) The new mapper always uses the max sampling distance for clamping and
actually if you look at the documentation it should do that.

Given these two situations, the new mapper use higher sampling distance
even when you set it to 2 and therefore runs faster as it tries to match
your desired update rate. The new mapper tries to match as well but then it
get clamped to maximum of 2 which is not enough to keep up with the desired
update rate. Now when you take out this constraint, both of these mappers
can go as low as 10 times the sampling distance initially chosen as the
desired update rate is bit too high for the rendering. I believe that new
mapper is doing the right thing vs the old mapper but I am open for
suggestions.

What I suggest you try these parameters:
Max sampling distance  factor : 4
Desired update rate: 15 or 20

Thanks




On Tue, Nov 17, 2015 at 1:15 AM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> Dear Simon,
>
> Thanks for your example code and data. I used exactly the same code, got
> master of VTK from today, compiled OpenGL1 and OpenGL2 backends on Ubuntu
> 14.01 box then for me, the OpenGL2 backend was running much faster and
> higher resolution than compare to OpenGL1 backend (20 FPS vs 13 FPS).
> Please look at the screenshots attached. I am referring to the number you
> are displaying in the program.
>
> Next, I am going to run the same code on Mac and Windows and see if can
> reproduce your issue. May be it is windows/driver specific issue.
>
> On Fri, Nov 13, 2015 at 11:02 AM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> On Fri, Nov 13, 2015 at 10:57 AM, Simon ESNEAULT <
>> simon.esnea...@gmail.com> wrote:
>>
>>> Hello Aashish,
>>>
>>> I've run some quick tests on my computer, and when disabling the
>>> automatic adjustment, both of the volume rendering technique seems to
>>> deliver the same performance, with some random Fixed sample distance. I
>>> will run some more test on the other computer that we've got here, just to
>>> be sure. And also on some mac. And report them to you :)
>>>
>>
>> This is very helpful and sort of confirms my theory the the code in
>> question is the reduction factor computation. The logic is changed between
>> the old mapper and the new mapper. I will look again to make them
>> consistent but it won't be exactly the same since the old mapper code to me
>> was not making the the right choices and was broken for the new mapper.
>> Actually, initially we had the exact same code and it was running into
>> issues since the new mapper was faster and hence breaking some of the
>> assumptions the old mapper was making.
>>
>>>
>>> Is there something else that I can do to help on this problem ?
>>>
>>
>> Not at the moment. You helped a lot, the code and the data is really
>> helpful. I will report back early next week again and will request you to
>> try again. Thanks for your patience.
>>
>> - Aashish
>>
>>>
>>>
>>> Simon
>>>
>>>
>>> 2015-11-12 18:34 GMT+01:00 Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com>:
>>>
>>>>
>>>>
>>>> On Thu, Nov 12, 2015 at 12:31 PM, Aashish Chaudhary <
>>>> aashish.chaudh...@kitware.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Thu, Nov 12, 2015 at 12:12 PM, Simon ESNEAULT <
>>>>> simon.esnea...@gmail.com> wrote:
>>>>>
>>>>>> Hello Aashish,
>>>>>>
>>>>>> Sorry for the late reply, I was busy last week.
>>>>>>
>>>>>> Thanks for the update, and your work on this topic.
>>>>>> Yes I have seen that your change have been merged concerning the
>>>>>> ReductionFactor. Nevertheless, I am still getting a smaller frame rate 
>>>>>> with
>>>>>> the new backend. To highlight this, please find attached a very simple
>>>>>> application that loads a volume (
>>>>>> https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip) and does
>

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-11-13 Thread Aashish Chaudhary
On Fri, Nov 13, 2015 at 10:57 AM, Simon ESNEAULT <simon.esnea...@gmail.com>
wrote:

> Hello Aashish,
>
> I've run some quick tests on my computer, and when disabling the automatic
> adjustment, both of the volume rendering technique seems to deliver the
> same performance, with some random Fixed sample distance. I will run some
> more test on the other computer that we've got here, just to be sure. And
> also on some mac. And report them to you :)
>

This is very helpful and sort of confirms my theory the the code in
question is the reduction factor computation. The logic is changed between
the old mapper and the new mapper. I will look again to make them
consistent but it won't be exactly the same since the old mapper code to me
was not making the the right choices and was broken for the new mapper.
Actually, initially we had the exact same code and it was running into
issues since the new mapper was faster and hence breaking some of the
assumptions the old mapper was making.

>
> Is there something else that I can do to help on this problem ?
>

Not at the moment. You helped a lot, the code and the data is really
helpful. I will report back early next week again and will request you to
try again. Thanks for your patience.

- Aashish

>
>
> Simon
>
>
> 2015-11-12 18:34 GMT+01:00 Aashish Chaudhary <
> aashish.chaudh...@kitware.com>:
>
>>
>>
>> On Thu, Nov 12, 2015 at 12:31 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>>
>>>
>>> On Thu, Nov 12, 2015 at 12:12 PM, Simon ESNEAULT <
>>> simon.esnea...@gmail.com> wrote:
>>>
>>>> Hello Aashish,
>>>>
>>>> Sorry for the late reply, I was busy last week.
>>>>
>>>> Thanks for the update, and your work on this topic.
>>>> Yes I have seen that your change have been merged concerning the
>>>> ReductionFactor. Nevertheless, I am still getting a smaller frame rate with
>>>> the new backend. To highlight this, please find attached a very simple
>>>> application that loads a volume (
>>>> https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip) and does volume
>>>> rendering while displaying the frame rate. This is pretty much what we show
>>>> to the user in our application, and in this condition, on my machine the
>>>> FPS are around 25 with the opengl1 backend
>>>> <http://picpaste.com/pics/Bench-OGL1.1446644265.png>, and 15 with the
>>>> new backend <http://picpaste.com/pics/Bench-OGL2.1446644630.png>, from
>>>> this week VTK master
>>>> It is very simple to test, just need change the VTK_DIR to an OpenGL1
>>>> or OpenGL2 build, and place the volume.mhd and raw in the execution path.
>>>> Also you will find attached a small text file that summarizes the test
>>>> that have been done here.
>>>>
>>>
>>> No problem, thanks for the update. Please see my comments below:
>>>
>>>>
>>>> I think the real reason why it appears slower with the OGL2 version is
>>>> that we try to have control on the "MaximalImageSampleDistance". If I
>>>> remove the line l_gpu_mapper->SetMaximumImageSampleDistance( 2. ); I get
>>>> the same frame rate with each backend. BUT, the new backend does decimate a
>>>> lot more the volume, leading to a very blurred image during rendering, and
>>>> that's not what we want :/
>>>>
>>>
>>> Aha, this is very useful since this parameters does affecting the
>>> reduction factor. I will try your code; one quick question when the new
>>> backend decimates a lot (by removing the SetMaximumImageSampleDistance),
>>> does it get any faster than the old version? I am going to try it on my Mac
>>> and Linux laptop and report back (mostly tomorrow since I am away today).
>>>
>>>>
>>>>
>> Never mind, I see that you have that in your result file. It seems it
>> does get faster but more blurry. Would it be possible for you to do one
>> more test? Can you set a fix sample distance (pick any) for new and the old
>> mapper and set AutoAdjustSampleDistance to OFF and capture some performance
>> numbers? In that way we know exactly if something more fundamental is
>> causing the slowness. The whole reduction factor math is based on
>> approximate stuff so that will vary between two mappers.
>>
>> - Aashish
>>
>>
>>> Again, thanks for paying attention to this problem, I hope this little
>>>> application and test case can help you to adju

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-11-12 Thread Aashish Chaudhary
On Thu, Nov 12, 2015 at 12:31 PM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

>
>
> On Thu, Nov 12, 2015 at 12:12 PM, Simon ESNEAULT <simon.esnea...@gmail.com
> > wrote:
>
>> Hello Aashish,
>>
>> Sorry for the late reply, I was busy last week.
>>
>> Thanks for the update, and your work on this topic.
>> Yes I have seen that your change have been merged concerning the
>> ReductionFactor. Nevertheless, I am still getting a smaller frame rate with
>> the new backend. To highlight this, please find attached a very simple
>> application that loads a volume (
>> https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip) and does volume
>> rendering while displaying the frame rate. This is pretty much what we show
>> to the user in our application, and in this condition, on my machine the
>> FPS are around 25 with the opengl1 backend
>> <http://picpaste.com/pics/Bench-OGL1.1446644265.png>, and 15 with the
>> new backend <http://picpaste.com/pics/Bench-OGL2.1446644630.png>, from
>> this week VTK master
>> It is very simple to test, just need change the VTK_DIR to an OpenGL1 or
>> OpenGL2 build, and place the volume.mhd and raw in the execution path.
>> Also you will find attached a small text file that summarizes the test
>> that have been done here.
>>
>
> No problem, thanks for the update. Please see my comments below:
>
>>
>> I think the real reason why it appears slower with the OGL2 version is
>> that we try to have control on the "MaximalImageSampleDistance". If I
>> remove the line l_gpu_mapper->SetMaximumImageSampleDistance( 2. ); I get
>> the same frame rate with each backend. BUT, the new backend does decimate a
>> lot more the volume, leading to a very blurred image during rendering, and
>> that's not what we want :/
>>
>
> Aha, this is very useful since this parameters does affecting the
> reduction factor. I will try your code; one quick question when the new
> backend decimates a lot (by removing the SetMaximumImageSampleDistance),
> does it get any faster than the old version? I am going to try it on my Mac
> and Linux laptop and report back (mostly tomorrow since I am away today).
>
>>
>>
Never mind, I see that you have that in your result file. It seems it does
get faster but more blurry. Would it be possible for you to do one more
test? Can you set a fix sample distance (pick any) for new and the old
mapper and set AutoAdjustSampleDistance to OFF and capture some performance
numbers? In that way we know exactly if something more fundamental is
causing the slowness. The whole reduction factor math is based on
approximate stuff so that will vary between two mappers.

- Aashish


> Again, thanks for paying attention to this problem, I hope this little
>> application and test case can help you to adjust the parameters...
>>
>
> Thanks for your help. I am glad you are testing my latest changes.
>
> - Best, Aashish
>
>>
>>
>> Simon
>>
>> PS : I did not get a chance to check the difference on Paraview, but I
>> believe the result will be the same as the attached example is really
>> simple.
>>
>> 2015-11-03 19:44 GMT+01:00 Aashish Chaudhary <
>> aashish.chaudh...@kitware.com>:
>>
>>> Hi Simon,
>>>
>>> the branch has been merged into VTK master. I am not sure when Paraview
>>> is going to update the VTK, but you can do it manually if needed. We are
>>> also going to run our bench marking again to be sure since recently lot
>>> many changes went into the VTK / volume rendering. Please feel free to ping
>>> me again if it does not solve your issue.
>>>
>>> Looking forward to your feedback.
>>>
>>> - Aashish
>>>
>>> On Mon, Nov 2, 2015 at 8:02 AM, Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com> wrote:
>>>
>>>> Hi Simon,
>>>>
>>>> I found the reason behind the appeared performance you were getting. We
>>>> have this code in volume rendering that when you interact changes the
>>>> sampling distance and in the newer code we were too conservative compare to
>>>> the last version. That's why you were getting better quality when you move
>>>> your mouse but lower frame rates. I pushed a branch in VTK to address the
>>>> issue. Would it be possible for you to build Paraview with VTK master?  It
>>>> may take 3-4 days or longer for Paraview's VTK to get updated.
>>>>
>>>> Thanks,
>>>> Aashish
>>>>
>>>> On Wed, Oct 28, 2015 at

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-11-12 Thread Aashish Chaudhary
On Thu, Nov 12, 2015 at 12:12 PM, Simon ESNEAULT <simon.esnea...@gmail.com>
wrote:

> Hello Aashish,
>
> Sorry for the late reply, I was busy last week.
>
> Thanks for the update, and your work on this topic.
> Yes I have seen that your change have been merged concerning the
> ReductionFactor. Nevertheless, I am still getting a smaller frame rate with
> the new backend. To highlight this, please find attached a very simple
> application that loads a volume (
> https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip) and does volume
> rendering while displaying the frame rate. This is pretty much what we show
> to the user in our application, and in this condition, on my machine the
> FPS are around 25 with the opengl1 backend
> <http://picpaste.com/pics/Bench-OGL1.1446644265.png>, and 15 with the new
> backend <http://picpaste.com/pics/Bench-OGL2.1446644630.png>, from this
> week VTK master
> It is very simple to test, just need change the VTK_DIR to an OpenGL1 or
> OpenGL2 build, and place the volume.mhd and raw in the execution path.
> Also you will find attached a small text file that summarizes the test
> that have been done here.
>

No problem, thanks for the update. Please see my comments below:

>
> I think the real reason why it appears slower with the OGL2 version is
> that we try to have control on the "MaximalImageSampleDistance". If I
> remove the line l_gpu_mapper->SetMaximumImageSampleDistance( 2. ); I get
> the same frame rate with each backend. BUT, the new backend does decimate a
> lot more the volume, leading to a very blurred image during rendering, and
> that's not what we want :/
>

Aha, this is very useful since this parameters does affecting the reduction
factor. I will try your code; one quick question when the new backend
decimates a lot (by removing the SetMaximumImageSampleDistance), does it
get any faster than the old version? I am going to try it on my Mac and
Linux laptop and report back (mostly tomorrow since I am away today).

>
> Again, thanks for paying attention to this problem, I hope this little
> application and test case can help you to adjust the parameters...
>

Thanks for your help. I am glad you are testing my latest changes.

- Best, Aashish

>
>
> Simon
>
> PS : I did not get a chance to check the difference on Paraview, but I
> believe the result will be the same as the attached example is really
> simple.
>
> 2015-11-03 19:44 GMT+01:00 Aashish Chaudhary <
> aashish.chaudh...@kitware.com>:
>
>> Hi Simon,
>>
>> the branch has been merged into VTK master. I am not sure when Paraview
>> is going to update the VTK, but you can do it manually if needed. We are
>> also going to run our bench marking again to be sure since recently lot
>> many changes went into the VTK / volume rendering. Please feel free to ping
>> me again if it does not solve your issue.
>>
>> Looking forward to your feedback.
>>
>> - Aashish
>>
>> On Mon, Nov 2, 2015 at 8:02 AM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>> Hi Simon,
>>>
>>> I found the reason behind the appeared performance you were getting. We
>>> have this code in volume rendering that when you interact changes the
>>> sampling distance and in the newer code we were too conservative compare to
>>> the last version. That's why you were getting better quality when you move
>>> your mouse but lower frame rates. I pushed a branch in VTK to address the
>>> issue. Would it be possible for you to build Paraview with VTK master?  It
>>> may take 3-4 days or longer for Paraview's VTK to get updated.
>>>
>>> Thanks,
>>> Aashish
>>>
>>> On Wed, Oct 28, 2015 at 11:59 AM, Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com> wrote:
>>>
>>>> Hi Simon,
>>>>
>>>> I am just finishing up a ParaView5 related parallel volume rendering
>>>> bug (pushing a branch today to VTK). This is next on my list.
>>>>
>>>> - Aashish
>>>>
>>>> On Wed, Oct 28, 2015 at 11:57 AM, Simon ESNEAULT <
>>>> simon.esnea...@gmail.com> wrote:
>>>>
>>>>> Hello Aashish
>>>>>
>>>>> Did you get a chance to try to load the dataset on Windows ?
>>>>> Can I do anything to help you investigate ? Should I feel a bug, that
>>>>> may act as a reminder ?
>>>>> Have a nice day
>>>>> Simon
>>>>>
>>>>>
>>>>> 2015-10-27 18:26 GMT+01:00 Aashish Chaudhary <
>>>>> aashish.ch

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-11-03 Thread Aashish Chaudhary
Hi Simon,

the branch has been merged into VTK master. I am not sure when Paraview is
going to update the VTK, but you can do it manually if needed. We are also
going to run our bench marking again to be sure since recently lot many
changes went into the VTK / volume rendering. Please feel free to ping me
again if it does not solve your issue.

Looking forward to your feedback.

- Aashish

On Mon, Nov 2, 2015 at 8:02 AM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> Hi Simon,
>
> I found the reason behind the appeared performance you were getting. We
> have this code in volume rendering that when you interact changes the
> sampling distance and in the newer code we were too conservative compare to
> the last version. That's why you were getting better quality when you move
> your mouse but lower frame rates. I pushed a branch in VTK to address the
> issue. Would it be possible for you to build Paraview with VTK master?  It
> may take 3-4 days or longer for Paraview's VTK to get updated.
>
> Thanks,
> Aashish
>
> On Wed, Oct 28, 2015 at 11:59 AM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> Hi Simon,
>>
>> I am just finishing up a ParaView5 related parallel volume rendering bug
>> (pushing a branch today to VTK). This is next on my list.
>>
>> - Aashish
>>
>> On Wed, Oct 28, 2015 at 11:57 AM, Simon ESNEAULT <
>> simon.esnea...@gmail.com> wrote:
>>
>>> Hello Aashish
>>>
>>> Did you get a chance to try to load the dataset on Windows ?
>>> Can I do anything to help you investigate ? Should I feel a bug, that
>>> may act as a reminder ?
>>> Have a nice day
>>> Simon
>>>
>>>
>>> 2015-10-27 18:26 GMT+01:00 Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com>:
>>>
>>>> Thanks Simon. This is really strange since we are not seeing it on Mac
>>>> and Linux (but both has dedicated cards).
>>>>
>>>> I will look into it soon.
>>>>
>>>> - aashish
>>>>
>>>> On Tue, Oct 27, 2015 at 1:03 PM, Simon ESNEAULT <
>>>> simon.esnea...@gmail.com> wrote:
>>>>
>>>>> Ok, thank you very much fort digging into this.
>>>>> I've done some test and I believe I can see a similar slowdown
>>>>> happening on OSX, with a MacBook pro retina 13" from 2013, Intel Iris 5100
>>>>> graphics.
>>>>> Good luck in the investigation, I you need more details, do not
>>>>> hesitate to ask
>>>>> Simon
>>>>>
>>>>> 2015-10-27 17:37 GMT+01:00 Aashish Chaudhary <
>>>>> aashish.chaudh...@kitware.com>:
>>>>>
>>>>>> Ah, thanks. I will get back to you on this since on Linux I don't any
>>>>>> issue so it has to be Windows specific thing.
>>>>>>
>>>>>> - Aashish
>>>>>>
>>>>>> On Tue, Oct 27, 2015 at 10:36 AM, Simon ESNEAULT <
>>>>>> simon.esnea...@gmail.com> wrote:
>>>>>>
>>>>>>> I tried with that one from yesterday and today's version
>>>>>>> (4.4.0-209-gc399648)
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Simon
>>>>>>>
>>>>>>> 2015-10-27 15:19 GMT+01:00 Aashish Chaudhary <
>>>>>>> aashish.chaudh...@kitware.com>:
>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> And when did you download this version?
>>>>>>>> ParaView-latest-Qt4-OpenGL2-Windows-64bit.exe
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Aashish
>>>>>>>>
>>>>>>>> On Tue, Oct 27, 2015 at 10:17 AM, Simon ESNEAULT <
>>>>>>>> simon.esnea...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Yes, I tried with and without the shading. Without shading
>>>>>>>>> enabled, the new Opengl2 is also slower when zoomed in (in the 
>>>>>>>>> described
>>>>>>>>> condition). With shading enabled, the difference in speed between the 
>>>>>>>>> two
>>>>>>>>> version seems even bigger.
>>>>>>>>> I got the version from the nightly build download section of
>>>>>>>>> paraview web

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-11-02 Thread Aashish Chaudhary
Hi Simon,

I found the reason behind the appeared performance you were getting. We
have this code in volume rendering that when you interact changes the
sampling distance and in the newer code we were too conservative compare to
the last version. That's why you were getting better quality when you move
your mouse but lower frame rates. I pushed a branch in VTK to address the
issue. Would it be possible for you to build Paraview with VTK master?  It
may take 3-4 days or longer for Paraview's VTK to get updated.

Thanks,
Aashish

On Wed, Oct 28, 2015 at 11:59 AM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> Hi Simon,
>
> I am just finishing up a ParaView5 related parallel volume rendering bug
> (pushing a branch today to VTK). This is next on my list.
>
> - Aashish
>
> On Wed, Oct 28, 2015 at 11:57 AM, Simon ESNEAULT <simon.esnea...@gmail.com
> > wrote:
>
>> Hello Aashish
>>
>> Did you get a chance to try to load the dataset on Windows ?
>> Can I do anything to help you investigate ? Should I feel a bug, that may
>> act as a reminder ?
>> Have a nice day
>> Simon
>>
>>
>> 2015-10-27 18:26 GMT+01:00 Aashish Chaudhary <
>> aashish.chaudh...@kitware.com>:
>>
>>> Thanks Simon. This is really strange since we are not seeing it on Mac
>>> and Linux (but both has dedicated cards).
>>>
>>> I will look into it soon.
>>>
>>> - aashish
>>>
>>> On Tue, Oct 27, 2015 at 1:03 PM, Simon ESNEAULT <
>>> simon.esnea...@gmail.com> wrote:
>>>
>>>> Ok, thank you very much fort digging into this.
>>>> I've done some test and I believe I can see a similar slowdown
>>>> happening on OSX, with a MacBook pro retina 13" from 2013, Intel Iris 5100
>>>> graphics.
>>>> Good luck in the investigation, I you need more details, do not
>>>> hesitate to ask
>>>> Simon
>>>>
>>>> 2015-10-27 17:37 GMT+01:00 Aashish Chaudhary <
>>>> aashish.chaudh...@kitware.com>:
>>>>
>>>>> Ah, thanks. I will get back to you on this since on Linux I don't any
>>>>> issue so it has to be Windows specific thing.
>>>>>
>>>>> - Aashish
>>>>>
>>>>> On Tue, Oct 27, 2015 at 10:36 AM, Simon ESNEAULT <
>>>>> simon.esnea...@gmail.com> wrote:
>>>>>
>>>>>> I tried with that one from yesterday and today's version
>>>>>> (4.4.0-209-gc399648)
>>>>>>
>>>>>> Thanks,
>>>>>> Simon
>>>>>>
>>>>>> 2015-10-27 15:19 GMT+01:00 Aashish Chaudhary <
>>>>>> aashish.chaudh...@kitware.com>:
>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> And when did you download this version? ParaView-latest-Qt4-OpenGL2-
>>>>>>> Windows-64bit.exe
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Aashish
>>>>>>>
>>>>>>> On Tue, Oct 27, 2015 at 10:17 AM, Simon ESNEAULT <
>>>>>>> simon.esnea...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Yes, I tried with and without the shading. Without shading enabled,
>>>>>>>> the new Opengl2 is also slower when zoomed in (in the described 
>>>>>>>> condition).
>>>>>>>> With shading enabled, the difference in speed between the two version 
>>>>>>>> seems
>>>>>>>> even bigger.
>>>>>>>> I got the version from the nightly build download section of
>>>>>>>> paraview website (it is still available). And I've just tried with 
>>>>>>>> that one
>>>>>>>> labeled "ParaView-latest-Qt4-OpenGL2-Windows-64bit.exe" with the same
>>>>>>>> results.
>>>>>>>>
>>>>>>>> About the FPS, it is difficult to give an exact number, because it
>>>>>>>> depends of the condition (zoomed or not etc...) but yes, this is the 
>>>>>>>> idea.
>>>>>>>> In our software, I've exposed the frame rate using this example :
>>>>>>>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/FrameRate
>>>>>>>> And the frame rate is around 15/20 for the first backend, and
>>>>>>>> around 6/8 for the new backend, on 

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-10-28 Thread Aashish Chaudhary
Hi Simon,

I am just finishing up a ParaView5 related parallel volume rendering bug
(pushing a branch today to VTK). This is next on my list.

- Aashish

On Wed, Oct 28, 2015 at 11:57 AM, Simon ESNEAULT <simon.esnea...@gmail.com>
wrote:

> Hello Aashish
>
> Did you get a chance to try to load the dataset on Windows ?
> Can I do anything to help you investigate ? Should I feel a bug, that may
> act as a reminder ?
> Have a nice day
> Simon
>
>
> 2015-10-27 18:26 GMT+01:00 Aashish Chaudhary <
> aashish.chaudh...@kitware.com>:
>
>> Thanks Simon. This is really strange since we are not seeing it on Mac
>> and Linux (but both has dedicated cards).
>>
>> I will look into it soon.
>>
>> - aashish
>>
>> On Tue, Oct 27, 2015 at 1:03 PM, Simon ESNEAULT <simon.esnea...@gmail.com
>> > wrote:
>>
>>> Ok, thank you very much fort digging into this.
>>> I've done some test and I believe I can see a similar slowdown happening
>>> on OSX, with a MacBook pro retina 13" from 2013, Intel Iris 5100 graphics.
>>> Good luck in the investigation, I you need more details, do not hesitate
>>> to ask
>>> Simon
>>>
>>> 2015-10-27 17:37 GMT+01:00 Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com>:
>>>
>>>> Ah, thanks. I will get back to you on this since on Linux I don't any
>>>> issue so it has to be Windows specific thing.
>>>>
>>>> - Aashish
>>>>
>>>> On Tue, Oct 27, 2015 at 10:36 AM, Simon ESNEAULT <
>>>> simon.esnea...@gmail.com> wrote:
>>>>
>>>>> I tried with that one from yesterday and today's version
>>>>> (4.4.0-209-gc399648)
>>>>>
>>>>> Thanks,
>>>>> Simon
>>>>>
>>>>> 2015-10-27 15:19 GMT+01:00 Aashish Chaudhary <
>>>>> aashish.chaudh...@kitware.com>:
>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> And when did you download this version? ParaView-latest-Qt4-OpenGL2-
>>>>>> Windows-64bit.exe
>>>>>>
>>>>>> Thanks,
>>>>>> Aashish
>>>>>>
>>>>>> On Tue, Oct 27, 2015 at 10:17 AM, Simon ESNEAULT <
>>>>>> simon.esnea...@gmail.com> wrote:
>>>>>>
>>>>>>> Yes, I tried with and without the shading. Without shading enabled,
>>>>>>> the new Opengl2 is also slower when zoomed in (in the described 
>>>>>>> condition).
>>>>>>> With shading enabled, the difference in speed between the two version 
>>>>>>> seems
>>>>>>> even bigger.
>>>>>>> I got the version from the nightly build download section of
>>>>>>> paraview website (it is still available). And I've just tried with that 
>>>>>>> one
>>>>>>> labeled "ParaView-latest-Qt4-OpenGL2-Windows-64bit.exe" with the same
>>>>>>> results.
>>>>>>>
>>>>>>> About the FPS, it is difficult to give an exact number, because it
>>>>>>> depends of the condition (zoomed or not etc...) but yes, this is the 
>>>>>>> idea.
>>>>>>> In our software, I've exposed the frame rate using this example :
>>>>>>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/FrameRate
>>>>>>> And the frame rate is around 15/20 for the first backend, and around
>>>>>>> 6/8 for the new backend, on the same dataset (the one provided for
>>>>>>> example), with the same mapper parameters
>>>>>>>
>>>>>>> Thanks
>>>>>>> Simon
>>>>>>>
>>>>>>>
>>>>>>> 2015-10-27 14:48 GMT+01:00 Aashish Chaudhary <
>>>>>>> aashish.chaudh...@kitware.com>:
>>>>>>>
>>>>>>>> Hi Simon,
>>>>>>>>
>>>>>>>> This is helpful but just missing few more bits:
>>>>>>>>
>>>>>>>> 1) Did you try without the shading and see how the performance
>>>>>>>> compares?
>>>>>>>>
>>>>>>>> 2) ParaView 4.4.0-193-gec96423 --> Where did you get this one from
>>>>>>>> (ParaView download page or did you built yourself?)
>>>>>>

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-10-27 Thread Aashish Chaudhary
Dear Simon,

Checking again. Wondering if you can provide some more detail on the binary
you are using and whether or not without shading the rendering performance
comparable to older version.

Thanks,


On Mon, Oct 26, 2015 at 3:12 PM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> Simon,
>
> I used your dataset on paraview master as of today on my Linux box running
> Ubuntu 14.04 and NVIDA Quadro card and I am getting about 15-20 FPS with
> shading on with 1920x1080 resolution.
>
> Are you on the proper 4.4 or using RC1/RC2? I checked the shading
> performance fix was in 4.4 but not in RC's. I don't have access to Windows
> box right away but I will try there too.
>
> NOTE: You might get multiple emails because of the attachment size issue.
> Sorry about that.
>
> Thanks,
>
> On Mon, Oct 26, 2015 at 2:45 PM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>>
>>
>> On Mon, Oct 26, 2015 at 2:13 PM, Simon ESNEAULT <simon.esnea...@gmail.com
>> > wrote:
>>
>>> Hello Aashish,
>>>
>>> Thanks for the quick answer
>>> We are using a vtkImageData, 512x512x591 with short element (you can
>>> find the dataset here :
>>> https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip). So I think it's
>>> all about GPU volume raycast mapper.
>>> The new mapper does bring low resolution, but when compared to the old
>>> one, it seems less "low resolution" during interaction than the old one
>>>
>>
>> Right, so that's why its not a exact comparison. What happens is that
>> depending on what is interactive, (you can set the desired update rate in
>> VTK, not exposed in ParaView I believe),  it will do interactive but with
>> higher resolution (smaller sample distance).  If they both have the same
>> sample distance, then the new mapper should out perform the old one,
>> however, there is another thing we need to consider here which is shading.
>>
>>
>>> Shading is enabled, gradient opacity disabled
>>>
>>
>> Can you disable the shading and see if now they both (opengl1 and 2)
>> equally better? We already pushed a fix for it but not sure if that you
>> have in your build.
>>
>>>
>>> Don't know if you need a minimal example, but I believe the
>>> GPURenderDemo used with this dataset is enough to highlight the slow down.
>>>
>>
>> Yes, I will use this dataset. Thanks.
>>
>>>
>>> Thanks
>>> Simon
>>>
>>>
>>> 2015-10-26 18:57 GMT+01:00 Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com>:
>>>
>>>> Also,
>>>>
>>>> Do you have shading enabled? We fixed a bug with shading that was
>>>> causing the slow performance a while back. I don't remember if that was
>>>> included in 4.4 or not ( I can check ).
>>>>
>>>> - Aashish
>>>>
>>>> On Mon, Oct 26, 2015 at 1:53 PM, Aashish Chaudhary <
>>>> aashish.chaudh...@kitware.com> wrote:
>>>>
>>>>> Simon,
>>>>>
>>>>> What kind of dataset you are using? Depending on the data type you
>>>>> might be using
>>>>> the GPU one or the unstructured renderer. The performance we measured
>>>>> is related to the GPU ray cast mapper
>>>>> and will apply only to the vtkImageData inputs.
>>>>>
>>>>> Also, helpful would be is if you can tell if the new mapper is
>>>>> bringing low resolution when you interact with the volume (and whether or
>>>>> not it happens with old mapper).
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>> On Mon, Oct 26, 2015 at 1:47 PM, Simon ESNEAULT <
>>>>> simon.esnea...@gmail.com> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> We are trying to make the switch to the new OpenGL2 backend for our
>>>>>> application, and although the switch was easy (thanks for not breaking 
>>>>>> the
>>>>>> API ;) ), we can see a significant slowdown on the GPU volume rendering
>>>>>> part, especially during interaction. Typically we dropped from 15/20 fps 
>>>>>> to
>>>>>> 7/8 fps, on the same machine (Win32, Nvidia Quadro K420), with the same
>>>>>> code around.
>>>>>>
>>>>>> This slow down can be seen in ParaView, if you compare the la

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-10-27 Thread Aashish Chaudhary
Hi Simon,

This is helpful but just missing few more bits:

1) Did you try without the shading and see how the performance compares?

2) ParaView 4.4.0-193-gec96423 --> Where did you get this one from
(ParaView download page or did you built yourself?)

Also, so on your system the old mapper is running 30FPS and the new one at
15-20 FPS as per your summary.

Thanks,
- Aashish


On Tue, Oct 27, 2015 at 9:43 AM, Simon ESNEAULT <simon.esnea...@gmail.com>
wrote:

> Hello Aashish,
>
> Sorry for the late answer, I was busy this morning.
> Thanks for testing with the DataSet.
> I agree the performance is still quite good with the new backend, and I
> also get something like 15/20 fps on windows on an HD screen. But when
> compared to the old one, and in some condition (when zoomed especially), it
> looks really slower to me
> The two tested version are :
> - ParaView 4.4.0 64 bits final version for the old backend
> - ParaView 4.4.0-193-gec96423 64 bits, for the OpenGL2 backend.
> on a windows 7 box, Xeon E3-1220 v3 CPU, 16GB ram and Nvidia Quadro K420
>
> To highlight the difference, here is what I do :
> - Launch both version on the same computer at the same time
> - Load the above dataset on each
> - Select volume rendering
> - Adjust the transfer function data range to [100-750] (the default "Cool
> to Warm" is fine)
> - Set the view direction to +Y
> - Adjust the Y of the camera position to -300
>
> And start interacting ...
> Dunno if there is an easy way to print out the Frame Rate in Paraview, but
> the new version seems really twice slower in these conditions... We can see
> it does not scale in the same way, the old backend seems more aggressive on
> the image sample reduction, hence the interactivity is better.
> Shading enable or not does not change much
>
> I'm aware of the DesiredUpdateRate thing, we use to play with this with
> the old backend to fine tune the interactivity, although what's really
> inside was never clear to me
>
> I hope that there is enough information for you to reproduce this, do not
> hesitate to ask for some more information.
>
> Thanks a lot for your help
> Simon
>
>
> 2015-10-27 14:10 GMT+01:00 Aashish Chaudhary <
> aashish.chaudh...@kitware.com>:
>
>> Dear Simon,
>>
>> Checking again. Wondering if you can provide some more detail on the
>> binary you are using and whether or not without shading the rendering
>> performance comparable to older version.
>>
>> Thanks,
>>
>>
>> On Mon, Oct 26, 2015 at 3:12 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>> Simon,
>>>
>>> I used your dataset on paraview master as of today on my Linux box
>>> running Ubuntu 14.04 and NVIDA Quadro card and I am getting about 15-20 FPS
>>> with shading on with 1920x1080 resolution.
>>>
>>> Are you on the proper 4.4 or using RC1/RC2? I checked the shading
>>> performance fix was in 4.4 but not in RC's. I don't have access to Windows
>>> box right away but I will try there too.
>>>
>>> NOTE: You might get multiple emails because of the attachment size
>>> issue. Sorry about that.
>>>
>>> Thanks,
>>>
>>> On Mon, Oct 26, 2015 at 2:45 PM, Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com> wrote:
>>>
>>>>
>>>>
>>>> On Mon, Oct 26, 2015 at 2:13 PM, Simon ESNEAULT <
>>>> simon.esnea...@gmail.com> wrote:
>>>>
>>>>> Hello Aashish,
>>>>>
>>>>> Thanks for the quick answer
>>>>> We are using a vtkImageData, 512x512x591 with short element (you can
>>>>> find the dataset here :
>>>>> https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip). So I think
>>>>> it's all about GPU volume raycast mapper.
>>>>> The new mapper does bring low resolution, but when compared to the old
>>>>> one, it seems less "low resolution" during interaction than the old one
>>>>>
>>>>
>>>> Right, so that's why its not a exact comparison. What happens is that
>>>> depending on what is interactive, (you can set the desired update rate in
>>>> VTK, not exposed in ParaView I believe),  it will do interactive but with
>>>> higher resolution (smaller sample distance).  If they both have the same
>>>> sample distance, then the new mapper should out perform the old one,
>>>> however, there is another thing we need to consider here which is shading.
>>>>
>>>>
>>>>> 

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-10-26 Thread Aashish Chaudhary
On Mon, Oct 26, 2015 at 2:13 PM, Simon ESNEAULT <simon.esnea...@gmail.com>
wrote:

> Hello Aashish,
>
> Thanks for the quick answer
> We are using a vtkImageData, 512x512x591 with short element (you can find
> the dataset here : https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip).
> So I think it's all about GPU volume raycast mapper.
> The new mapper does bring low resolution, but when compared to the old
> one, it seems less "low resolution" during interaction than the old one
>

Right, so that's why its not a exact comparison. What happens is that
depending on what is interactive, (you can set the desired update rate in
VTK, not exposed in ParaView I believe),  it will do interactive but with
higher resolution (smaller sample distance).  If they both have the same
sample distance, then the new mapper should out perform the old one,
however, there is another thing we need to consider here which is shading.


> Shading is enabled, gradient opacity disabled
>

Can you disable the shading and see if now they both (opengl1 and 2)
equally better? We already pushed a fix for it but not sure if that you
have in your build.

>
> Don't know if you need a minimal example, but I believe the GPURenderDemo
> used with this dataset is enough to highlight the slow down.
>

Yes, I will use this dataset. Thanks.

>
> Thanks
> Simon
>
>
> 2015-10-26 18:57 GMT+01:00 Aashish Chaudhary <
> aashish.chaudh...@kitware.com>:
>
>> Also,
>>
>> Do you have shading enabled? We fixed a bug with shading that was causing
>> the slow performance a while back. I don't remember if that was included in
>> 4.4 or not ( I can check ).
>>
>> - Aashish
>>
>> On Mon, Oct 26, 2015 at 1:53 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>> Simon,
>>>
>>> What kind of dataset you are using? Depending on the data type you might
>>> be using
>>> the GPU one or the unstructured renderer. The performance we measured is
>>> related to the GPU ray cast mapper
>>> and will apply only to the vtkImageData inputs.
>>>
>>> Also, helpful would be is if you can tell if the new mapper is bringing
>>> low resolution when you interact with the volume (and whether or not it
>>> happens with old mapper).
>>>
>>> Thanks,
>>>
>>>
>>> On Mon, Oct 26, 2015 at 1:47 PM, Simon ESNEAULT <
>>> simon.esnea...@gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> We are trying to make the switch to the new OpenGL2 backend for our
>>>> application, and although the switch was easy (thanks for not breaking the
>>>> API ;) ), we can see a significant slowdown on the GPU volume rendering
>>>> part, especially during interaction. Typically we dropped from 15/20 fps to
>>>> 7/8 fps, on the same machine (Win32, Nvidia Quadro K420), with the same
>>>> code around.
>>>>
>>>> This slow down can be seen in ParaView, if you compare the latest 4.4
>>>> OpenGL2 build with the classic 4.4 build while volume rendering a big
>>>> enough volume (512^3)
>>>>
>>>> The blog post here
>>>> http://www.kitware.com/blog/home/post/976
>>>> claims that the new GPU volume rendering implementation should be
>>>> faster than the old one, is there some more detailed explanation somewhere
>>>> ? Are there some important parameters that can make the difference ?
>>>>
>>>> Thanks,
>>>>
>>>> Simon
>>>>
>>>> PS : The polygonal rendering seems a lot faster with the new backend !
>>>>
>>>> --
>>>> --
>>>> Simon Esneault
>>>> Rennes, France
>>>> ----------
>>>>
>>>> ___
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Search the list archives at:
>>>> http://markmail.org/search/?q=vtk-developers
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>> *| Aashish Chaudhary | Technical Leader | Kitware I

Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-10-26 Thread Aashish Chaudhary
Also,

Do you have shading enabled? We fixed a bug with shading that was causing
the slow performance a while back. I don't remember if that was included in
4.4 or not ( I can check ).

- Aashish

On Mon, Oct 26, 2015 at 1:53 PM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> Simon,
>
> What kind of dataset you are using? Depending on the data type you might
> be using
> the GPU one or the unstructured renderer. The performance we measured is
> related to the GPU ray cast mapper
> and will apply only to the vtkImageData inputs.
>
> Also, helpful would be is if you can tell if the new mapper is bringing
> low resolution when you interact with the volume (and whether or not it
> happens with old mapper).
>
> Thanks,
>
>
> On Mon, Oct 26, 2015 at 1:47 PM, Simon ESNEAULT <simon.esnea...@gmail.com>
> wrote:
>
>> Hi All,
>>
>> We are trying to make the switch to the new OpenGL2 backend for our
>> application, and although the switch was easy (thanks for not breaking the
>> API ;) ), we can see a significant slowdown on the GPU volume rendering
>> part, especially during interaction. Typically we dropped from 15/20 fps to
>> 7/8 fps, on the same machine (Win32, Nvidia Quadro K420), with the same
>> code around.
>>
>> This slow down can be seen in ParaView, if you compare the latest 4.4
>> OpenGL2 build with the classic 4.4 build while volume rendering a big
>> enough volume (512^3)
>>
>> The blog post here
>> http://www.kitware.com/blog/home/post/976
>> claims that the new GPU volume rendering implementation should be faster
>> than the old one, is there some more detailed explanation somewhere ? Are
>> there some important parameters that can make the difference ?
>>
>> Thanks,
>>
>> Simon
>>
>> PS : The polygonal rendering seems a lot faster with the new backend !
>>
>> --
>> --
>> Simon Esneault
>> Rennes, France
>> --
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader | Kitware Inc.*
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>



-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [vtk-developers] [vtk-users] OpenGL2 - GPU Volume Rendering performance

2015-10-26 Thread Aashish Chaudhary
Simon,

What kind of dataset you are using? Depending on the data type you might be
using
the GPU one or the unstructured renderer. The performance we measured is
related to the GPU ray cast mapper
and will apply only to the vtkImageData inputs.

Also, helpful would be is if you can tell if the new mapper is bringing low
resolution when you interact with the volume (and whether or not it happens
with old mapper).

Thanks,


On Mon, Oct 26, 2015 at 1:47 PM, Simon ESNEAULT <simon.esnea...@gmail.com>
wrote:

> Hi All,
>
> We are trying to make the switch to the new OpenGL2 backend for our
> application, and although the switch was easy (thanks for not breaking the
> API ;) ), we can see a significant slowdown on the GPU volume rendering
> part, especially during interaction. Typically we dropped from 15/20 fps to
> 7/8 fps, on the same machine (Win32, Nvidia Quadro K420), with the same
> code around.
>
> This slow down can be seen in ParaView, if you compare the latest 4.4
> OpenGL2 build with the classic 4.4 build while volume rendering a big
> enough volume (512^3)
>
> The blog post here
> http://www.kitware.com/blog/home/post/976
> claims that the new GPU volume rendering implementation should be faster
> than the old one, is there some more detailed explanation somewhere ? Are
> there some important parameters that can make the difference ?
>
> Thanks,
>
> Simon
>
> PS : The polygonal rendering seems a lot faster with the new backend !
>
> --
> --
> Simon Esneault
> Rennes, France
> --
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] segmentation fault with netCDF when loading state file

2015-10-21 Thread Aashish Chaudhary
   V:units = "m/s   " ;
>> float W(time, z, y, x) ;
>> W:long_name = "Z Wind
>> Component" ;
>> W:units = "m/s   " ;
>> float PP(time, z, y, x) ;
>> PP:long_name = "Pressure
>> Perturbation   " ;
>> PP:units = "Pa" ;
>> float QRAD(time, z, y, x) ;
>> QRAD:long_name = "Radiative heating
>> rate  " ;
>> QRAD:units = "K/day " ;
>> float TABS(time, z, y, x) ;
>> TABS:long_name = "Absolute
>> Temperature" ;
>> TABS:units = "K " ;
>> float QV(time, z, y, x) ;
>> QV:long_name = "Water
>> Vapor "
>> ;
>> QV:units = "g/kg  " ;
>> float QN(time, z, y, x) ;
>> QN:long_name = "Non-precipitating Condensate
>> (Water+Ice)    " ;
>> QN:units = "g/kg  " ;
>> float QP(time, z, y, x) ;
>> QP:long_name = "Precipitating Water
>> (Rain+Snow) " ;
>> QP:units = "g/kg  " ;
>> float LQRAD(time, z, y, x) ;
>> LQRAD:long_name = "LW Radiative heating
>> rate   " ;
>> LQRAD:units = "K/day " ;
>> float SQRAD(time, z, y, x) ;
>> SQRAD:long_name = "SW Radiative heating
>> rate   " ;
>> SQRAD:units = "K/day " ;
>> }
>>
>>
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-10-21 Thread Aashish Chaudhary
Ah, that's worth reporting to Mesa developers like you suggested. Please
let me know (or keep me in the loop) what they have to say on this. I am
surprised that it wasn't reported earlier.

- Aashish

On Wed, Oct 21, 2015 at 9:57 AM, Berk Geveci <berk.gev...@kitware.com>
wrote:

> > No GL error this time I am assuming? Just segfault?
>
> Yes. With the stack totally hosed. I also see Valgrind errors deep in Mesa
> stack.
>
>
> On Wed, Oct 21, 2015 at 9:15 AM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> On Wed, Oct 21, 2015 at 7:52 AM, Berk Geveci <berk.gev...@kitware.com>
>> wrote:
>>
>>> Yeah, it is not that easy. If you compile Mesa with llvmpipe, the limit
>>> is in something like gallium/drivers/llvmpipe/lp_limits.h. Otherwise it
>>> doesn't work. However, I had crashes when I increased that to something
>>> like 8 GBs and then volume rendered something large.
>>>
>>
>> No GL error this time I am assuming? Just segfault?
>>
>>
>>> It also looks like other drivers have their own limits that are pretty
>>> small. I will talk to some folks doing work with Mesa about this.
>>> Hopefully, we can address it in the upcoming OpenSWR driver. We'll have to
>>> support streaming for other drivers though...
>>>
>>
>> Absolutely.
>>
>>>
>>> -berk
>>>
>>>
>>> On Tue, Oct 20, 2015 at 5:55 PM, Aashish Chaudhary <
>>> aashish.chaudh...@kitware.com> wrote:
>>>
>>>> Here it is. It would be great if someone else try it as well:
>>>>
>>>> Steps
>>>> 1. In src/mesa/main/config.h, there should MAX_TEXTURE_MBYTES defined.
>>>> I believe by default it was 1024 Mbytes. Please change it to 4096 or
>>>> something higher.
>>>>
>>>> 2.  Then Compile and Install MESA again (do not forget to set the
>>>> MESA_GL_VERSION_OVERRIDE to 3.2).
>>>>
>>>> 3. Compile paraview again (server)
>>>>
>>>>
>>>> On Tue, Oct 20, 2015 at 5:48 PM, Aashish Chaudhary <
>>>> aashish.chaudh...@kitware.com> wrote:
>>>>
>>>>> Berk,
>>>>>
>>>>> On Tue, Oct 20, 2015 at 4:00 PM, Berk Geveci <berk.gev...@kitware.com>
>>>>> wrote:
>>>>>
>>>>>> Hi folks,
>>>>>>
>>>>>> I wanted to close the loop on this. Here are my findings:
>>>>>>
>>>>>> * ParaView master (4.4 should also do) + OpenGL2 + NVIDIA Tesla w 12
>>>>>> GB memory: I verified that I can volume render data up to the capacity of
>>>>>> the card. I could volume render a 1400x1400x1400 volume of floats.
>>>>>>
>>>>>> * ParaView master (4.4 should also do) + OpenGL2 + Mesa (OSMesa 11,
>>>>>> llvmpipe, swrast): Mesa has some fairly small limits on 3D texture size,
>>>>>> which is what we use for volume rendering. So, ~ 1000x1000x1000 will be 
>>>>>> the
>>>>>> upper end of what can be done for now. In time, we will implement 
>>>>>> multiple
>>>>>> textures / streaming to enable rendering of larger volumes.
>>>>>>
>>>>>
>>>>> Did you see my other email? You can change the default for OSMesa. I
>>>>> sent it last week.
>>>>>
>>>>> - Aashish
>>>>>
>>>>>>
>>>>>> Best,
>>>>>> -berk
>>>>>>
>>>>>> On Mon, Sep 28, 2015 at 11:00 AM, David Trudgian <
>>>>>> david.trudg...@utsouthwestern.edu> wrote:
>>>>>>
>>>>>>> Berk,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thanks very much for looking into this. Look forward to trying
>>>>>>> things out whenever they’re ready.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> DT
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> David Trudgian Ph.D.
>>>>>>> Computational Scientist, BioHPC
>>>>>>> UT Southwestern Medical Center
>>>>>>> Dallas, TX 75390-9039
>>>>>>> Tel: (214) 648-4833
>>>>>>>
>>>>>>>
>>>>>&g

Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-10-21 Thread Aashish Chaudhary
On Wed, Oct 21, 2015 at 7:52 AM, Berk Geveci <berk.gev...@kitware.com>
wrote:

> Yeah, it is not that easy. If you compile Mesa with llvmpipe, the limit is
> in something like gallium/drivers/llvmpipe/lp_limits.h. Otherwise it
> doesn't work. However, I had crashes when I increased that to something
> like 8 GBs and then volume rendered something large.
>

No GL error this time I am assuming? Just segfault?


> It also looks like other drivers have their own limits that are pretty
> small. I will talk to some folks doing work with Mesa about this.
> Hopefully, we can address it in the upcoming OpenSWR driver. We'll have to
> support streaming for other drivers though...
>

Absolutely.

>
> -berk
>
>
> On Tue, Oct 20, 2015 at 5:55 PM, Aashish Chaudhary <
> aashish.chaudh...@kitware.com> wrote:
>
>> Here it is. It would be great if someone else try it as well:
>>
>> Steps
>> 1. In src/mesa/main/config.h, there should MAX_TEXTURE_MBYTES defined. I
>> believe by default it was 1024 Mbytes. Please change it to 4096 or
>> something higher.
>>
>> 2.  Then Compile and Install MESA again (do not forget to set the
>> MESA_GL_VERSION_OVERRIDE to 3.2).
>>
>> 3. Compile paraview again (server)
>>
>>
>> On Tue, Oct 20, 2015 at 5:48 PM, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>>> Berk,
>>>
>>> On Tue, Oct 20, 2015 at 4:00 PM, Berk Geveci <berk.gev...@kitware.com>
>>> wrote:
>>>
>>>> Hi folks,
>>>>
>>>> I wanted to close the loop on this. Here are my findings:
>>>>
>>>> * ParaView master (4.4 should also do) + OpenGL2 + NVIDIA Tesla w 12 GB
>>>> memory: I verified that I can volume render data up to the capacity of the
>>>> card. I could volume render a 1400x1400x1400 volume of floats.
>>>>
>>>> * ParaView master (4.4 should also do) + OpenGL2 + Mesa (OSMesa 11,
>>>> llvmpipe, swrast): Mesa has some fairly small limits on 3D texture size,
>>>> which is what we use for volume rendering. So, ~ 1000x1000x1000 will be the
>>>> upper end of what can be done for now. In time, we will implement multiple
>>>> textures / streaming to enable rendering of larger volumes.
>>>>
>>>
>>> Did you see my other email? You can change the default for OSMesa. I
>>> sent it last week.
>>>
>>> - Aashish
>>>
>>>>
>>>> Best,
>>>> -berk
>>>>
>>>> On Mon, Sep 28, 2015 at 11:00 AM, David Trudgian <
>>>> david.trudg...@utsouthwestern.edu> wrote:
>>>>
>>>>> Berk,
>>>>>
>>>>>
>>>>>
>>>>> Thanks very much for looking into this. Look forward to trying things
>>>>> out whenever they’re ready.
>>>>>
>>>>>
>>>>>
>>>>> DT
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> David Trudgian Ph.D.
>>>>> Computational Scientist, BioHPC
>>>>> UT Southwestern Medical Center
>>>>> Dallas, TX 75390-9039
>>>>> Tel: (214) 648-4833
>>>>>
>>>>>
>>>>>
>>>>> *From:* Berk Geveci [mailto:berk.gev...@kitware.com]
>>>>> *Sent:* Monday, September 28, 2015 9:58 AM
>>>>>
>>>>> *To:* David Trudgian <david.trudg...@utsouthwestern.edu>
>>>>> *Cc:* ParaView Mailing List <paraview@paraview.org>
>>>>> *Subject:* Re: [Paraview] Volume Rendering 17GB 8.5 billion cell
>>>>> volume
>>>>>
>>>>>
>>>>>
>>>>> Hi David,
>>>>>
>>>>>
>>>>>
>>>>> I have been trying to find some cycles to check this out myself with
>>>>> ParaView 4.4. Thanks to hardware issues (i.e. my big workstation's disk
>>>>> dying), I haven't been able to. Good news is that I found issues with
>>>>> OSMesa + OpenGL2 that we are working through. Give me another 1-1.5 weeks.
>>>>>
>>>>>
>>>>>
>>>>> Best,
>>>>>
>>>>> -berk
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Sep 28, 2015 at 10:46 AM, David Trudgian <
>>>>> david.trudg...@utsouthwestern.edu> wrote:
>>>>>
>>>>> Hi Berk,
>>>>>
>>>&g

Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-10-20 Thread Aashish Chaudhary
Here it is. It would be great if someone else try it as well:

Steps
1. In src/mesa/main/config.h, there should MAX_TEXTURE_MBYTES defined. I
believe by default it was 1024 Mbytes. Please change it to 4096 or
something higher.

2.  Then Compile and Install MESA again (do not forget to set the
MESA_GL_VERSION_OVERRIDE to 3.2).

3. Compile paraview again (server)


On Tue, Oct 20, 2015 at 5:48 PM, Aashish Chaudhary <
aashish.chaudh...@kitware.com> wrote:

> Berk,
>
> On Tue, Oct 20, 2015 at 4:00 PM, Berk Geveci <berk.gev...@kitware.com>
> wrote:
>
>> Hi folks,
>>
>> I wanted to close the loop on this. Here are my findings:
>>
>> * ParaView master (4.4 should also do) + OpenGL2 + NVIDIA Tesla w 12 GB
>> memory: I verified that I can volume render data up to the capacity of the
>> card. I could volume render a 1400x1400x1400 volume of floats.
>>
>> * ParaView master (4.4 should also do) + OpenGL2 + Mesa (OSMesa 11,
>> llvmpipe, swrast): Mesa has some fairly small limits on 3D texture size,
>> which is what we use for volume rendering. So, ~ 1000x1000x1000 will be the
>> upper end of what can be done for now. In time, we will implement multiple
>> textures / streaming to enable rendering of larger volumes.
>>
>
> Did you see my other email? You can change the default for OSMesa. I sent
> it last week.
>
> - Aashish
>
>>
>> Best,
>> -berk
>>
>> On Mon, Sep 28, 2015 at 11:00 AM, David Trudgian <
>> david.trudg...@utsouthwestern.edu> wrote:
>>
>>> Berk,
>>>
>>>
>>>
>>> Thanks very much for looking into this. Look forward to trying things
>>> out whenever they’re ready.
>>>
>>>
>>>
>>> DT
>>>
>>>
>>>
>>> --
>>> David Trudgian Ph.D.
>>> Computational Scientist, BioHPC
>>> UT Southwestern Medical Center
>>> Dallas, TX 75390-9039
>>> Tel: (214) 648-4833
>>>
>>>
>>>
>>> *From:* Berk Geveci [mailto:berk.gev...@kitware.com]
>>> *Sent:* Monday, September 28, 2015 9:58 AM
>>>
>>> *To:* David Trudgian <david.trudg...@utsouthwestern.edu>
>>> *Cc:* ParaView Mailing List <paraview@paraview.org>
>>> *Subject:* Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume
>>>
>>>
>>>
>>> Hi David,
>>>
>>>
>>>
>>> I have been trying to find some cycles to check this out myself with
>>> ParaView 4.4. Thanks to hardware issues (i.e. my big workstation's disk
>>> dying), I haven't been able to. Good news is that I found issues with
>>> OSMesa + OpenGL2 that we are working through. Give me another 1-1.5 weeks.
>>>
>>>
>>>
>>> Best,
>>>
>>> -berk
>>>
>>>
>>>
>>> On Mon, Sep 28, 2015 at 10:46 AM, David Trudgian <
>>> david.trudg...@utsouthwestern.edu> wrote:
>>>
>>> Hi Berk,
>>>
>>>
>>>
>>> Finally managed to grab an allocation of some Tesla K40 nodes on our
>>> cluster, to check GPU rendering of the full 17GB file with 2 x 12GB GPUs. I
>>> see the same thing as I did with OSMesa rendering.
>>>
>>>
>>>
>>> The 9GB downsampled version works great, across 2 nodes both with a
>>> single K40. Go up to the 17GB original file and nothing is rendered, no
>>> errors. Same behavior with OPENGL or OPENGL2 backends.
>>>
>>>
>>>
>>> This is all on paraview 4.3.1 still – I need to find time to build
>>> OSMesa / MPI versions of 4.4 here. But, does 4.4. have any fixes that would
>>> be expected to affect this?
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> --
>>> David Trudgian Ph.D.
>>> Computational Scientist, BioHPC
>>> UT Southwestern Medical Center
>>> Dallas, TX 75390-9039
>>> Tel: (214) 648-4833
>>>
>>>
>>>
>>> *From:* Berk Geveci [mailto:berk.gev...@kitware.com]
>>> *Sent:* Tuesday, September 15, 2015 2:43 PM
>>> *To:* David Trudgian <david.trudg...@utsouthwestern.edu>
>>> *Cc:* ParaView Mailing List <paraview@paraview.org>
>>> *Subject:* Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume
>>>
>>>
>>>
>>> Hey David,
>>>
>>>
>>>
>>> I am hoping to have some time to play around with volume rendering and
>>> hopefully tracking this issue, one 

Re: [Paraview] Paraview Netcdf

2015-10-02 Thread Aashish Chaudhary
Conrado,

Is it CF compliant NetCDF? If yes, it should work out of the box in
ParaView (except in some cases). Let us know if you run into issues.

Thanks,
Aashish

On Fri, Oct 2, 2015 at 4:42 PM, Niklas Röber <roe...@dkrz.de> wrote:

> Hi,
>
> Feel free to use this:
> https://www.dkrz.de/Nutzerportal-en/doku/vis/sw/paraview
>
> It's not complete and I have not updated it to the last version, but
> plan to do so after ParaView5 is out. If you are in Hamburg later this
> year, there is a free 2 day course we offer based on our tutorial ... ;-)
>
> Cheers,
> Niklas
>
> >
> >
> > Hi,
> >
> >
> > I'm starting use the Paraview to visualize 3D data. I have a 3D netcdf
> > meteorological data and I would like to visualize this data.
> >
> > What are the steps to follow to visualize my data. Can anyone help me.
> >
> >
> > Thanks in advance,
> >
> >
> > Conrado
> > ___
> > 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:
> > http://public.kitware.com/mailman/listinfo/paraview
>
> --
> __
>
> Niklas Röber
> Deutsches Klimarechenzentrum GmbH
> Bundesstraße 45a
> 20146 Hamburg, Germany
>
> email: roe...@dkrz.de
> phone: +49 (0)40 460094 283
>   fax: +49 (0)40 460094 270
>   web: http://www.dkrz.de/
> __
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Volume Rendering with opacity mapping and specular highlights

2015-09-27 Thread Aashish Chaudhary
On Sun, Sep 27, 2015 at 7:36 PM, Mathew Guilfoyle <mrguilfo...@gmail.com>
wrote:

> Thanks for the reply - the ‘Shade’ setting was the key.  Am I right in
> inferring this property is not exposed for unstructured grids?
>

Right, it is only available for image data one.


>  If I threshold or clip the image data I can no longer turn ‘Shade’ on.
>

Because that creates a unstructured grid I believe.

>
> Does GPU acceleration work on OS X presently?
>

GPURayCast volume mapper which uses vtkImageData works on Mac if you use
OpenGL2 backend.


> Whenever I switch to GPU the image disappears; rendering on the CPU takes
> a long time.  Would this be more likely to work if I compiled the OpenGL2
> version?
>

Yes, please see my comment above.

Thanks,


>
> Cheers
>
> On 25 Sep 2015, at 05:05, Aashish Chaudhary <aashish.chaudh...@kitware.com>
> wrote:
>
>
>
> On Wed, Sep 23, 2015 at 3:34 PM, Mathew Guilfoyle <mrguilfo...@gmail.com>
> wrote:
>
>> Aashish - thanks for the reply
>>
>> I am using the latest OS X binary download (4.4.0) - is this OpenGL2?
>> When I switch ‘Volume Rendering Mode’ to GPU rendering all images disappear
>> so I presume I’m only able to use CPU rendering.  I am on a 2014 Macbook
>> Pro with Nvidia GT750M.
>>
>
> No it would be OpenGL old version VTK. It would be nice if you can try
> OpenGL2 version although I don't think your problem is related to GL
> version.
>
>>
>> I’m using contrast enhanced volumetric CT imaging.  I want to render
>> blood vessels in red; within the scan they appear in approximately the
>> 100-200 Hounsfield unit range. The full range of scalar data is [-1024,
>> 3071]. On this basis I’ve set up the following colour and opacity mappings:
>>
>> Colour:
>> Value R-G-B
>> -1024 0-0-0
>> 99 0-0-0
>> 100 1-0-0
>> 200 1-0-0
>> 201 0-0-0
>> 3071 0-0-0
>>
>> Opacity:
>> Value Opacity
>> -1024 0
>> 99 0
>> 100 1
>> 200 1
>> 201 0
>> 3071 0
>>
>> None of the voxels appear to be fully opaque in the rendering.  When I
>> increase the specular from 0 to 1 it has no effect at all on the image.
>>
>> Have you enabled the lighting?
> http://www.vtk.org/doc/nightly/html/classvtkVolumeProperty.html(ShadeOn)
> on volume property?
>
> - Aashish
>
>
>> Ideally, I would want to emulate something along the lines of this:
>> http://www.cemuva.com/img/uploads/malformacion-arteriovenosa-cerebral-3d.jpg
>>
>> Again, cheers for the help
>> Mathew
>>
>> On 23 Sep 2015, at 18:24, Aashish Chaudhary <
>> aashish.chaudh...@kitware.com> wrote:
>>
>> Matthew,
>>
>> * Can you send us the exact number you are putting in for the transfer
>> function? Make sure that you have values for the entire range of scalar
>> values?
>>
>> * Are you using OpenGL2 version?
>>
>> - Aashish
>>
>> On Wed, Sep 23, 2015 at 1:18 PM, Mathew Guilfoyle <mrguilfo...@gmail.com>
>>  wrote:
>>
>>> Thanks for the suggestions.  After looking into it further the type of
>>> visualisation I am after is volume rendering of the data with an opacity
>>> transfer function based on the scalar data values.
>>>
>>> I have set up my volume rendering to have full (i.e =1) opacity through
>>> the range of scalar values I’m interested in, reducing to near transparency
>>> either side of this.  I also want specular highlighting of the opaque
>>> tissues.
>>>
>>> However, despite these settings Paraview does not seem to render any
>>> voxels as fully opaque and there is certainly no specular highlighting.  Is
>>> this a known limitation?
>>>
>>> Many thanks
>>>
>>> On 21 Sep 2015, at 15:10, David E DeMarle <dave.dema...@kitware.com>
>>> wrote:
>>>
>>> Two suggestions:
>>> * try contour filter instead of threshold if contour isn't available,
>>> apply cell to point first.
>>> * try the clip filter with the clip type set to scalar.
>>> hth
>>>
>>> David E DeMarle
>>> Kitware, Inc.
>>> R Engineer
>>> 21 Corporate Drive
>>> Clifton Park, NY 12065-8662
>>> Phone: 518-881-4909
>>>
>>> On Mon, Sep 21, 2015 at 9:40 AM, Mathew Guilfoyle <mrguilfo...@gmail.com
>>> > wrote:
>>>
>>>> I would be grateful for some advice on volume and surface rendering in
>>>> Paraview.
>>>>
>>>> I am trying to generate 3D skull models from CT 

Re: [Paraview] Volume Rendering with opacity mapping and specular highlights

2015-09-24 Thread Aashish Chaudhary
On Wed, Sep 23, 2015 at 3:34 PM, Mathew Guilfoyle <mrguilfo...@gmail.com>
wrote:

> Aashish - thanks for the reply
>
> I am using the latest OS X binary download (4.4.0) - is this OpenGL2?
> When I switch ‘Volume Rendering Mode’ to GPU rendering all images disappear
> so I presume I’m only able to use CPU rendering.  I am on a 2014 Macbook
> Pro with Nvidia GT750M.
>

No it would be OpenGL old version VTK. It would be nice if you can try
OpenGL2 version although I don't think your problem is related to GL
version.

>
> I’m using contrast enhanced volumetric CT imaging.  I want to render blood
> vessels in red; within the scan they appear in approximately the 100-200
> Hounsfield unit range. The full range of scalar data is [-1024, 3071]. On
> this basis I’ve set up the following colour and opacity mappings:
>
> Colour:
> Value R-G-B
> -1024 0-0-0
> 99 0-0-0
> 100 1-0-0
> 200 1-0-0
> 201 0-0-0
> 3071 0-0-0
>
> Opacity:
> Value Opacity
> -1024 0
> 99 0
> 100 1
> 200 1
> 201 0
> 3071 0
>
> None of the voxels appear to be fully opaque in the rendering.  When I
> increase the specular from 0 to 1 it has no effect at all on the image.
>
> Have you enabled the lighting?
http://www.vtk.org/doc/nightly/html/classvtkVolumeProperty.html (ShadeOn)
on volume property?

- Aashish


> Ideally, I would want to emulate something along the lines of this:
> http://www.cemuva.com/img/uploads/malformacion-arteriovenosa-cerebral-3d.jpg
>
> Again, cheers for the help
> Mathew
>
> On 23 Sep 2015, at 18:24, Aashish Chaudhary <aashish.chaudh...@kitware.com>
> wrote:
>
> Matthew,
>
> * Can you send us the exact number you are putting in for the transfer
> function? Make sure that you have values for the entire range of scalar
> values?
>
> * Are you using OpenGL2 version?
>
> - Aashish
>
> On Wed, Sep 23, 2015 at 1:18 PM, Mathew Guilfoyle <mrguilfo...@gmail.com>
> wrote:
>
>> Thanks for the suggestions.  After looking into it further the type of
>> visualisation I am after is volume rendering of the data with an opacity
>> transfer function based on the scalar data values.
>>
>> I have set up my volume rendering to have full (i.e =1) opacity through
>> the range of scalar values I’m interested in, reducing to near transparency
>> either side of this.  I also want specular highlighting of the opaque
>> tissues.
>>
>> However, despite these settings Paraview does not seem to render any
>> voxels as fully opaque and there is certainly no specular highlighting.  Is
>> this a known limitation?
>>
>> Many thanks
>>
>> On 21 Sep 2015, at 15:10, David E DeMarle <dave.dema...@kitware.com>
>> wrote:
>>
>> Two suggestions:
>> * try contour filter instead of threshold if contour isn't available,
>> apply cell to point first.
>> * try the clip filter with the clip type set to scalar.
>> hth
>>
>> David E DeMarle
>> Kitware, Inc.
>> R Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>> On Mon, Sep 21, 2015 at 9:40 AM, Mathew Guilfoyle <mrguilfo...@gmail.com>
>> wrote:
>>
>>> I would be grateful for some advice on volume and surface rendering in
>>> Paraview.
>>>
>>> I am trying to generate 3D skull models from CT data.  The reason for
>>> using Paraview is to take advantage of the detailed fly-through/movie
>>> capability.  I can generate an acceptable 3D model that I can interact with
>>> in OsiriX and 3D Slicer, both of which I believe use VTK.  However, in
>>> Paraview I am struggling to create a 3D model that looks any good.
>>>
>>> When I apply a threshold filter and view as a ‘Surface’ the image is a
>>> lot more ‘blocky’ than in the other two applications.  The image is
>>> dominated by the artifactual lines due to the original data being acquired
>>> as axial slices; whereas in OsiriX and 3D Slicer this gets smoothed out and
>>> the ‘genuine’ surface skull features (sutures etc) stand out.
>>>
>>> I realise this is probably question of apply the correct series of
>>> filters and that the other two apps do this ‘under the hood’.  However, i
>>> have tried to apply Decimation and Smooth to the extracted surface and am
>>> not making any headway.
>>>
>>> Any pointers would be very welcome
>>>
>>> M
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitwa

Re: [Paraview] Volume Rendering with opacity mapping and specular highlights

2015-09-23 Thread Aashish Chaudhary
Matthew,

* Can you send us the exact number you are putting in for the transfer
function? Make sure that you have values for the entire range of scalar
values?

* Are you using OpenGL2 version?

- Aashish

On Wed, Sep 23, 2015 at 1:18 PM, Mathew Guilfoyle <mrguilfo...@gmail.com>
wrote:

> Thanks for the suggestions.  After looking into it further the type of
> visualisation I am after is volume rendering of the data with an opacity
> transfer function based on the scalar data values.
>
> I have set up my volume rendering to have full (i.e =1) opacity through
> the range of scalar values I’m interested in, reducing to near transparency
> either side of this.  I also want specular highlighting of the opaque
> tissues.
>
> However, despite these settings Paraview does not seem to render any
> voxels as fully opaque and there is certainly no specular highlighting.  Is
> this a known limitation?
>
> Many thanks
>
> On 21 Sep 2015, at 15:10, David E DeMarle <dave.dema...@kitware.com>
> wrote:
>
> Two suggestions:
> * try contour filter instead of threshold if contour isn't available,
> apply cell to point first.
> * try the clip filter with the clip type set to scalar.
> hth
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Mon, Sep 21, 2015 at 9:40 AM, Mathew Guilfoyle <mrguilfo...@gmail.com>
> wrote:
>
>> I would be grateful for some advice on volume and surface rendering in
>> Paraview.
>>
>> I am trying to generate 3D skull models from CT data.  The reason for
>> using Paraview is to take advantage of the detailed fly-through/movie
>> capability.  I can generate an acceptable 3D model that I can interact with
>> in OsiriX and 3D Slicer, both of which I believe use VTK.  However, in
>> Paraview I am struggling to create a 3D model that looks any good.
>>
>> When I apply a threshold filter and view as a ‘Surface’ the image is a
>> lot more ‘blocky’ than in the other two applications.  The image is
>> dominated by the artifactual lines due to the original data being acquired
>> as axial slices; whereas in OsiriX and 3D Slicer this gets smoothed out and
>> the ‘genuine’ surface skull features (sutures etc) stand out.
>>
>> I realise this is probably question of apply the correct series of
>> filters and that the other two apps do this ‘under the hood’.  However, i
>> have tried to apply Decimation and Smooth to the extracted surface and am
>> not making any headway.
>>
>> Any pointers would be very welcome
>>
>> M
>> ___
>> 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:
>> http://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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-09-10 Thread Aashish Chaudhary
Dave,

This is pretty awesome stuff. Berk already asked some relevant questions.
My thought is that if its a texture memory limitation, then scaling should
have helped. How many nodes did you try when using full size dataset?

- Aashish

On Thu, Sep 10, 2015 at 10:18 AM, Berk Geveci <berk.gev...@kitware.com>
wrote:

> This is pretty awesome. I am assuming that this has something to do with
> things not fitting on the GPU memory or exceeding some texture memory
> limitation. Can you provide some more details?
>
> * Which version of ParaView are you using?
> * It sounds like you have multiple GPUs and multiple nodes. What is the
> setup? Are you running in parallel with MPI?
> * If you are running parallel with MPI and you have multiple GPUs per
> node, did you setup the DISPLAYs to leverage the GPUs?
>
> Best,
> -berk
>
> On Wed, Sep 9, 2015 at 5:00 PM, David Trudgian <
> david.trudg...@utsouthwestern.edu> wrote:
>
>> Hi,
>>
>> We have been experimenting with using Paraview to display very volumes
>> from very
>> large TIFF stacks generated by whole-brain microscopy equipment. The test
>> stack
>> has dimensions of 5,368x10,695x150. Stack is assembled in ImageJ from
>> individual
>> TIFFs, exported as a RAW and loaded into paraview. Saved as a .vti for
>> convenience. Can view slices fine in standalone paraview client on a
>> 256GB machine.
>>
>> When we attempt volume rendering on this data across multiple nodes with
>> MPI
>> nothing appears in the client. Surface view works as expected. On
>> switching to
>> volume rendering the client's display will show nothing. There are no
>> messages
>> from the client or servers - no output.
>>
>> This is happening when running pvserver across GPU nodes with NVIDIA Tesla
>> cards, or using CPU only with OSMESA. pvserver memory usage is well below
>> what
>> we have on the nodes - no memory warnings/errors.
>>
>> Data is about 17GB, 8 billion cells. If we downsize to ~4GB or ~9GB then
>> we can
>> get working volume rendering. The 17GB never works regardless of scaling
>> nodes/mpi processes. The 4/9GB will work on 1 or 2 nodes.
>>
>> Am confused by the lack of rendering, as we don't have memory issues, or
>> an
>> other messages at all. Am wondering if there are any inherent limitation,
>> or I'm
>> missing something stupid.
>>
>> Thanks,
>>
>> Dave Trudgian
>>
>>
>> ___
>> 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:
>> http://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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Volume Rendering 17GB 8.5 billion cell volume

2015-09-10 Thread Aashish Chaudhary
 > Thanks,
> > >
> > > Dave Trudgian
> > >
> > >
> > > ___
> > > 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:
> > > http://public.kitware.com/mailman/listinfo/paraview
> > >
>
> --
> David Trudgian Ph.D.
> Computational Scientist, BioHPC
> UT Southwestern Medical Center
> Dallas, TX 75390-9039
> Tel: (214) 648-4833
>
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>



-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview 4.3.1, VR Plugin and VRPN

2015-09-08 Thread Aashish Chaudhary
Dear Niklas,


On Tue, Sep 8, 2015 at 9:57 AM, Niklas Röber <roe...@dkrz.de> wrote:

> Hi,
>
> I'm a little stuck. I was trying to connect our tracking system for a
> large VR wall with ParaView. The tracking runs fine with Avizo from Fei
> (using dtrack), but I wanted to use it for ParaView too. We have tracked
> glasses and a flystick for interaction. The communication of the tracking
> server via VRPN to the client PC works great, with
>
> vrpn_print_devices DTrack@localhost -trackerstride 100
>
> I can see the two sensors moving and all the buttons that are pressed. My
> tracking config file for ParaView is attached. When I start the tracking in
> ParaView, I see that ParaView connects to the started vrpn_server, and I
> also see a note if the connection is dropped. But thats all, I don't see
> any interaction or changes in my viewport. Am I doing something totally
> wrong? I also tried running it as client/server with the same effect of not
> working.
>
>
Your config looks correct to me. I am assuming that you hit start on the
ParaView UI panel to actually let ParaView use that data?

- Aashish


> Thanks for your help!
> Cheers from Hamburg ...
> Niklas :)
>
> --
> __
>
> Niklas Röber
> Deutsches Klimarechenzentrum GmbH
> Bundesstraße 45a
> 20146 Hamburg, Germany
>
> email: roe...@dkrz.de
> phone: +49 (0)40 460094 283
>   fax: +49 (0)40 460094 270
>   web: http://www.dkrz.de/
> __
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] EXTERNAL: Re: ParaView in stereo with NVidia 3D Vision

2015-09-08 Thread Aashish Chaudhary
essages 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
>
>
>
> --
>
> Cory Quammen
> R Engineer
> Kitware, Inc.
> ___
>  The information in this email and in any
> attachment(s) is commercial in confidence. If you are not the named
> addressee(s) or if you receive this email in error then any distribution,
> copying or use of this communication or the information in it is strictly
> prohibited. Please notify us immediately by email at admin.internet(at)
> awe.co.uk, and then delete this message from your computer. While
> attachments are virus checked, AWE plc does not accept any liability in
> respect of any virus which is not detected. AWE Plc Registered in England
> and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView in stereo with NVidia 3D Vision

2015-09-07 Thread Aashish Chaudhary
Most likely its not a bug in ParaView. Seems like a system / configure /
driver issue. Please have a look at this blog on how to set it up:
http://cismm.cs.unc.edu/core-projects/visualization-and-analysis/setting-up-a-simple-stereo-system/

- Aashish

On Mon, Sep 7, 2015 at 10:24 AM, <jim.el...@awe.co.uk> wrote:

>
>
> Good afternoon everyone,
>
>
>
> I have been trying to use ParaView in stereo using NVidia 3D Vision
> glasses but I am seeing an error. I am using ParaView version 4.3.1 on
> Linux built using Superbuild.
>
>
>
> I have been launching ParaView as follows:
>
>
>
> paraview --stereo --stereo-type=”Crystal Eyes”
>
>
>
> When ParaView starts I see the following error message:
>
>
>
> ERROR: In
> /build/paraview/src/paraview/VTK/Rendering/OpenGL/vtkOpenGLCamera.cxx,
> line 167
>
> vtk OpenGLCamera (0x33c9940): failed after Render 1 OpenGL errors detected
>
>   0 : (1282) Invalid operation
>
>
>
> Is this a problem with how I am trying to use ParaView, or is it a bug? Is
> there anything that I can try to get stereo working?
>
>
>
> Thanks,
>
> Jim
>
>
>
>
>
> *Jim Eliot*
>
> *High Performance Computing Group*
>
> AWE, Aldermaston, Reading, RG7 4PR
>
>
>
> ___
>  The information in this email and in any
> attachment(s) is commercial in confidence. If you are not the named
> addressee(s) or if you receive this email in error then any distribution,
> copying or use of this communication or the information in it is strictly
> prohibited. Please notify us immediately by email at admin.internet(at)
> awe.co.uk, and then delete this message from your computer. While
> attachments are virus checked, AWE plc does not accept any liability in
> respect of any virus which is not detected. AWE Plc Registered in England
> and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
>
> ___
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [vtk-developers] GPU volume rendering failure on Intel HD XXXX/Iris, Windows and recent drivers

2015-07-20 Thread Aashish Chaudhary
Hi Simon,

On Mon, Jul 20, 2015 at 5:02 AM, Simon ESNEAULT simon.esnea...@gmail.com
wrote:

 Hi Aashish,

 Thanks for the patchs.
 However, I've tried them but without success, the GPU rendering won't show
 up on an Intel HD chipset using the GPURenderDemo (the same exe/dll works
 fine on a machine with an NVidia/Ati card). The warning disappeared though
 ...


The old mapper had issues on some of the ATI cards (specifically on Mac)
and Intel chipset as well. So I am not surprised that it didn't work.


 The proposed patchs seems to affect only the TextureMapper 3D, shouldn't
 there be modification to
 the vtkOpenGLGPUVolumeRayCastMapper::LoadExtensions method as well?


That method calls the vtkGL method I believe which I took care of it. I
will have a second look at it today.


 I've tried to uncomment all added lines in the GL_VERSION_1_2_DEPRECATED
 part of vtkgl.cxx, build correctly everything, and on the problematic
 machine the checkIfNull() fail for all the lines, the program prints out :
 Function pointer vtkgl::ColorTable is invalid
 Function pointer vtkgl::.. is invalid
 For every one of them.

 Also the vtkgl.cxx file is generated by the vtkParseOGLExt exe, shouldn't
 there be modification in the headers glext.h/glxext.h/wglext.h instead ?
 Maybe this is causing some troubles elsewhere...


Yes and No. Basically what happened was  that newer drivers stopped
reporting *1_2* variables and that's why you are running into issues. Since
the newer backend uses GLEW, all of this mostly works correctly.


 If you have some other magical trick to solve this, I would be glad to
 hear about it! Also I can provide more informations if you want


I will have a look at it but even if we can fix all the extension issue,
things may not work on Intel.

- Aashish


 Thank You
 Simon


 2015-07-17 17:48 GMT+02:00 Aashish Chaudhary 
 aashish.chaudh...@kitware.com:

 Hi Andras,

 Please find the patchs attached. If you run into issues let me know. I
 should mention that apply these patches at your discretion as I have not
 done enough testing to ensure the quality of the patches but the test
 passed last time I applied them.



 On Fri, Jul 17, 2015 at 11:40 AM, Andras Lasso la...@queensu.ca wrote:

  Please share the patch publicly, we would need it for some of our
 projects, too. Thank you!



 Andras



 *From:* vtk-developers [mailto:vtk-developers-boun...@vtk.org] *On
 Behalf Of *Simon ESNEAULT
 *Sent:* Friday, July 17, 2015 11:35 AM
 *To:* Aashish Chaudhary
 *Cc:* VTK Developers; vtkus...@vtk.org; ParaView list
 *Subject:* Re: [vtk-developers] [Paraview] GPU volume rendering failure
 on Intel HD /Iris, Windows and recent drivers



 Dear Aashish,



 Thank you very much for you answer.

 Yes you are right, we are waiting for a new VTK release that defaults to
 the new OpenGL2 backend, for safety and because a change of VTK version
 requires a lot of extra work with our current framework... But the green
 dashboard indeed looks really promising, and we will probably make the move
 as soon as it's ready !

 Meanwhile, I would be really glad if you could send me the patch that
 solves this issue with the old backend, or guide me through the needed
 modification to make it work.

 Thanks again

 Simon



 2015-07-17 16:22 GMT+02:00 Aashish Chaudhary 
 aashish.chaudh...@kitware.com:

  Dear Simon,



 On Fri, Jul 17, 2015 at 4:43 AM, Simon ESNEAULT 
 simon.esnea...@gmail.com wrote:

  Hi All,

 We're experiencing GPU volume rendering failure on a lot (maybe all ?)
 Intel HD windows system with up to date drivers.


 This is reproducible in Paraview or with the GPURenderDemo example from
 VTK, just load a volume and try to render the volume... Here is a result
 image from paraview on a Dell Latitude E7450 (Intel HD 5500 inside), with
 GPU rendering [1] and the same volume with CPU VR rendering [2].
 Interestingly, the volume rendering used to work with drivers older or
 equal to the version 10.18.10.3496 [3]. As a work around, we ask our
 customers to downgrade their driver version to this one, and they're
 enjoying smooth GPU rendering. But this driver is quite old and does not
 support recent chipset...

 I've built and tested the GPURenderDemo with the brand new OpenGL2
 backend on an affected machine and of course it does work out of the box
 (congratulations for this amazing work !).

  Great!



  But our application is FDA/CE marked and we need to wait that this new
 backend is completely ready for prime time. So for now, we have to stick
 with VTK 6.1 ...



 Most of the tests are passing for OpenGL2 (
 https://open.cdash.org/index.php?project=VTK) on most of the dashboards
 (various configurations etc) but it is a moving target just like VTK itself
 is a moving target. I guess you are waiting for a VTK release that defaults
 to OpenGL2 as oppose to OpenGL?


 Anyone has any clue ? They're some warning that pop up from paraview
 related to the extension gl_version_1_2 that could not be loaded

Re: [Paraview] Transforming a spherical slice into a map projection

2015-07-20 Thread Aashish Chaudhary
Dear Marie,

You can use vtkGeoSphereTransform class to transfrom from Cartesian
(Spherical grid X,Y,Z) to Sphereical (Lat,Lon coordinates). Once you have
Lat-Lon, you can just treat them as in flat projection (Projection 4326).
This class is not exposed in ParaView, so you would have to use Python to
do the job or write a plugin for Paraview. Please let us know if you have
any questions.

Thanks,


On Fri, Jul 17, 2015 at 8:49 PM, Marie Kajan marie.ka...@gmail.com wrote:

 Hi Utkarsh,

 Here's a small sample (plus the saved state for a sample slice, if that
helps):

 https://www.dropbox.com/s/hpp2y8bbkjn34z3/solution-0..vtk?dl=0
 https://www.dropbox.com/s/94rfo305ljeqtgk/solution-0.pvsm?dl=0

 Thanks a lot!

 Marie


 On Wed, Jul 15, 2015 at 10:41 PM, Utkarsh Ayachit 
utkarsh.ayac...@kitware.com wrote:

 Marie,

 Do you have a sample dataset? That'll make it easier to determine the
 filters etc. you can apply.

 Utkarsh

 On Wed, Jul 15, 2015 at 8:03 PM, Marie Kajan marie.ka...@gmail.com
wrote:
  I'm a new user and am having difficulty navigating Paraview. I would
really
  appreciate any pointers!
 
  I'm using code called ASPECT (aspect.dealii.org) to generate models of
the
  Earth's interior. My data are unstructured grids that contain
different data
  arrays: velocity, temperature, etc. I hope that makes sense. I have a
  spherical volume, essentially. I know how to play around with the basic
  filters, and I'm able to take spherical slices which represent
  velocity/temperature/etc. fields at different depths in the Earth.
 
  But, I'm not sure how to flatten these slices into a map projection
(for
  example, a simple rectangle with latitude-longitude axes). Most
tutorials
  don't deal with VTK inputs and I'm not familiar enough with Paraview to
  figure out my own script.
 
  Thanks!
 
  Marie
 
  ___
  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:
  http://public.kitware.com/mailman/listinfo/paraview
 




 --

 Centre GEOTOP
 Université du Québec à Montréal
 C.P. , succursale Centre-ville
 Montréal, QC  H3C 3P8

 +1-514-987-3000 x4600

 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




--
| Aashish Chaudhary
| Technical Leader
| Kitware Inc.
| http://www.kitware.com/company/team/chaudhary.html
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [vtk-developers] GPU volume rendering failure on Intel HD XXXX/Iris, Windows and recent drivers

2015-07-20 Thread Aashish Chaudhary
The OpenGL2 mapper works on most of the intel chipset. I cannot promise
that we can get the old mapper working on Intel cards unless it can be
fixed by telling it that all the extensions are there.

- Aashish

On Mon, Jul 20, 2015 at 10:11 AM, Simon ESNEAULT simon.esnea...@gmail.com
wrote:

 Hi Aashish,

 Thanks you very much for looking into this issue. Our customers (and I
 believe the community since the issue is visible in paraview) would really
 benefit from such a fix. Quite a lot of new computers just have an intel
 chipset nowadays.
 This of course until the new OpenGL2 backend is ready !

 Please let me know if there is anything I can do to help.

 Thanks a lot
 Simon

 2015-07-20 15:21 GMT+02:00 Aashish Chaudhary 
 aashish.chaudh...@kitware.com:

 Hi Simon,

 On Mon, Jul 20, 2015 at 5:02 AM, Simon ESNEAULT simon.esnea...@gmail.com
  wrote:

 Hi Aashish,

 Thanks for the patchs.
 However, I've tried them but without success, the GPU rendering won't
 show up on an Intel HD chipset using the GPURenderDemo (the same exe/dll
 works fine on a machine with an NVidia/Ati card). The warning disappeared
 though ...


 The old mapper had issues on some of the ATI cards (specifically on Mac)
 and Intel chipset as well. So I am not surprised that it didn't work.


 The proposed patchs seems to affect only the TextureMapper 3D, shouldn't
 there be modification to
 the vtkOpenGLGPUVolumeRayCastMapper::LoadExtensions method as well?


 That method calls the vtkGL method I believe which I took care of it. I
 will have a second look at it today.


 I've tried to uncomment all added lines in the GL_VERSION_1_2_DEPRECATED
 part of vtkgl.cxx, build correctly everything, and on the problematic
 machine the checkIfNull() fail for all the lines, the program prints out :
 Function pointer vtkgl::ColorTable is invalid
 Function pointer vtkgl::.. is invalid
 For every one of them.

 Also the vtkgl.cxx file is generated by the vtkParseOGLExt exe,
 shouldn't there be modification in the headers glext.h/glxext.h/wglext.h
 instead ? Maybe this is causing some troubles elsewhere...


 Yes and No. Basically what happened was  that newer drivers stopped
 reporting *1_2* variables and that's why you are running into issues. Since
 the newer backend uses GLEW, all of this mostly works correctly.


 If you have some other magical trick to solve this, I would be glad to
 hear about it! Also I can provide more informations if you want


 I will have a look at it but even if we can fix all the extension issue,
 things may not work on Intel.

 - Aashish


 Thank You
 Simon


 2015-07-17 17:48 GMT+02:00 Aashish Chaudhary 
 aashish.chaudh...@kitware.com:

 Hi Andras,

 Please find the patchs attached. If you run into issues let me know. I
 should mention that apply these patches at your discretion as I have not
 done enough testing to ensure the quality of the patches but the test
 passed last time I applied them.



 On Fri, Jul 17, 2015 at 11:40 AM, Andras Lasso la...@queensu.ca
 wrote:

  Please share the patch publicly, we would need it for some of our
 projects, too. Thank you!



 Andras



 *From:* vtk-developers [mailto:vtk-developers-boun...@vtk.org] *On
 Behalf Of *Simon ESNEAULT
 *Sent:* Friday, July 17, 2015 11:35 AM
 *To:* Aashish Chaudhary
 *Cc:* VTK Developers; vtkus...@vtk.org; ParaView list
 *Subject:* Re: [vtk-developers] [Paraview] GPU volume rendering
 failure on Intel HD /Iris, Windows and recent drivers



 Dear Aashish,



 Thank you very much for you answer.

 Yes you are right, we are waiting for a new VTK release that defaults
 to the new OpenGL2 backend, for safety and because a change of VTK version
 requires a lot of extra work with our current framework... But the green
 dashboard indeed looks really promising, and we will probably make the 
 move
 as soon as it's ready !

 Meanwhile, I would be really glad if you could send me the patch that
 solves this issue with the old backend, or guide me through the needed
 modification to make it work.

 Thanks again

 Simon



 2015-07-17 16:22 GMT+02:00 Aashish Chaudhary 
 aashish.chaudh...@kitware.com:

  Dear Simon,



 On Fri, Jul 17, 2015 at 4:43 AM, Simon ESNEAULT 
 simon.esnea...@gmail.com wrote:

  Hi All,

 We're experiencing GPU volume rendering failure on a lot (maybe all ?)
 Intel HD windows system with up to date drivers.


 This is reproducible in Paraview or with the GPURenderDemo example
 from VTK, just load a volume and try to render the volume... Here is a
 result image from paraview on a Dell Latitude E7450 (Intel HD 5500 
 inside),
 with GPU rendering [1] and the same volume with CPU VR rendering [2].
 Interestingly, the volume rendering used to work with drivers older or
 equal to the version 10.18.10.3496 [3]. As a work around, we ask our
 customers to downgrade their driver version to this one, and they're
 enjoying smooth GPU rendering. But this driver is quite old and does not
 support recent chipset...

 I've built and tested

Re: [Paraview] GPU volume rendering failure on Intel HD XXXX/Iris, Windows and recent drivers

2015-07-17 Thread Aashish Chaudhary
Dear Simon,

On Fri, Jul 17, 2015 at 4:43 AM, Simon ESNEAULT simon.esnea...@gmail.com
wrote:

 Hi All,

 We're experiencing GPU volume rendering failure on a lot (maybe all ?)
 Intel HD windows system with up to date drivers.

 This is reproducible in Paraview or with the GPURenderDemo example from
 VTK, just load a volume and try to render the volume... Here is a result
 image from paraview on a Dell Latitude E7450 (Intel HD 5500 inside), with
 GPU rendering [1] and the same volume with CPU VR rendering [2].
 Interestingly, the volume rendering used to work with drivers older or
 equal to the version 10.18.10.3496 [3]. As a work around, we ask our
 customers to downgrade their driver version to this one, and they're
 enjoying smooth GPU rendering. But this driver is quite old and does not
 support recent chipset...

 I've built and tested the GPURenderDemo with the brand new OpenGL2 backend
 on an affected machine and of course it does work out of the box
 (congratulations for this amazing work !).

Great!


 But our application is FDA/CE marked and we need to wait that this new
 backend is completely ready for prime time. So for now, we have to stick
 with VTK 6.1 ...


Most of the tests are passing for OpenGL2 (
https://open.cdash.org/index.php?project=VTK) on most of the dashboards
(various configurations etc) but it is a moving target just like VTK itself
is a moving target. I guess you are waiting for a VTK release that defaults
to OpenGL2 as oppose to OpenGL?


 Anyone has any clue ? They're some warning that pop up from paraview
 related to the extension gl_version_1_2 that could not be loaded, not
 sure if that could be related ? Following this thread [4] and the fix
 proposed, I've tried to replace
 /*/
 extensions-LoadExtension(GL_VERSION_1_2)
 /*/
 by
 /*/
 extensions-LoadExtension(GL_EXT_texture3D);
 extensions-LoadExtension( GL_ARB_texture_non_power_of_two );
 /*/
 in the vtkOpenGLGPUVolumeRayCastMapper.cxx, The warning disappears but
 there is still no volume rendering (tested with GPURenderDemo). Maybe it
 needs some others extensions ?


Yes, there is a patch and I can send it to you. I have to talk to folks
here if we can fix the old mapper with those changes but as of now it is
not in the plan.



 Should I fill a bug in paraview, vtk ? Are there any plan to maintain and
 maybe fix this for the old backend ?


- Aashish



 Thanks,
 --
 --
 Simon Esneault
 Rennes, France
 --

 [1] http://picpaste.com/pics/Paraview-4-3-1-GPU-VR_fail.1437122217.PNG
 [2] http://picpaste.com/pics/Paraview-4-3-1-CPU-VR_win.1437122267.PNG
 [3] https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23339
 [4] http://public.kitware.com/pipermail/vtkusers/2014-April/083584.html

 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Volume rendering on OS X with Nvidia graphics card

2015-07-01 Thread Aashish Chaudhary
Hi Steven,

This is odd since the OpenGL2 mapper should have detected FBO support. I
will have a look at it.

- aashish

On Mon, Jun 29, 2015 at 6:06 PM, Hahn, Steven E. hah...@ornl.gov wrote:

  I am observing some odd results with volume rendering using ParaView
 4.3.1 and ParaView master on OS X machines with NVIDIA graphics cards
 including a Geforce 650m in a macbook pro and a Quadro K5000 in a mac pro.
 On the mac pro, changing between the NVIDIA web driver and OS X default
 driver has no effect.

  1) After loading a vtkImageData file and selecting the volume
 representation and the GPU based volume rendering mode, the image
 disappears. The other volume rendering modes show the image correctly. I
 also tried building ParaView master with the OpenGL2 rendering backend and
 in that case the GPU based volume rendering mode displays only some of the
 surfaces (2-4, the exact number depends on the camera position) and not the
 entire volume.

  2) I also tried loading a small vtkStructuredGrid (attached) into
 ParaView master built with the OpenGL2 rendering backend and get the
 warning below.  There are substantial artifacts that are not present when
 the OpenGL rendering backend is used. These artifacts don’t appear when I
 load the same file in ParaView 4.3.1 or ParaView master build with the
 OpenGL rendering backend.

   Warning: In
 ../VTK/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx, line
 151

 vtkOpenGLProjectedTetrahedraMapper (0x7fdc49d3a140): Missing FBO support.
 The algorithm may produce visual artifacts.


  I tried running glxinfo and under OpenGL extensions it does
 list GL_ARB_framebuffer_object, GL_ARB_draw_buffers and
 GL_ARB_texture_float. VTK, however, doesn’t appear to be detecting this.


  Sincerely,

 Steven Hahn

 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OpenGL2 and ParaView 4.3.1 ...

2015-06-17 Thread Aashish Chaudhary
Yes, We have paraview working* with OpenGL2 backend. In some cases you may
run into bugs but its getting there.

on vtkHAVSVolumeMapper, what SHA of ParaView you are using? We took care of
this issue sometime back and I have not seen this error since then. Also,
what dataset (format) you are using?

Thanks,


On Tue, Jun 16, 2015 at 10:14 AM, Stock, Mark mark.st...@nrel.gov wrote:

 Niklas,

 The CMake command that builds a workable Paraview 4.3.1 with OpenGL2
 backend for me is:

 cmake28 -DVTK_RENDERING_BACKEND=OpenGL2
 -DQT_QMAKE_EXECUTABLE=/opt/qt/4.8.5/bin/qmake
 -DCMAKE_INSTALL_PREFIX=/opt/ParaView/ParaView-v4.3.1-OpenGL2
 -DCMAKE_BUILD_TYPE=Release -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit=OFF
 -DPARAVIEW_BUILD_PLUGIN_PointSprite=OFF
 -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting=OFF
 -DPARAVIEW_BUILD_PLUGIN_MobileRemoteControl=OFF
 -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC=OFF
 -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering=OFF
 -DPARAVIEW_BUILD_PLUGIN_RGBZView=OFF

 (cmake28 because I'm on RHEL 6.5)

 I have not tried volume rendering yet, and it still seems to crash on some
 filters, but triangle mesh rendering is at least 20x faster. Can you turn
 off HAVS and just use the projected tetra method for volume viz?

 Mark

 
 From: ParaView paraview-boun...@paraview.org on behalf of Niklas Röber 
 roe...@dkrz.de
 Sent: Tuesday, June 16, 2015 6:53 AM
 To: paraview@paraview.org
 Subject: [Paraview] OpenGL2 and ParaView 4.3.1 ...

 Hi,

 I do get ParaView with OpenGL2 compiled and running, even with some of
 the plugins. But it crashes quite quickly with the following error message:
  vtkSIProxy (0x5953890): Failed to create vtkHAVSVolumeMapper.
 Aborting for debugging purposes.

 Has anyone gotten ParaView really working with OpenGL2? The current
 volume rendering is beyond painfully slow ...

 Thanks,
 Niklas

 --
 __

 Niklas Röber
 Deutsches Klimarechenzentrum GmbH
 Bundesstraße 45a
 20146 Hamburg, Germany

 email: roe...@dkrz.de
 phone: +49 (0)40 460094 283
fax: +49 (0)40 460094 270
web: http://www.dkrz.de/
 __


 ___
 Powered by www.kitware.com

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

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

 Search the list archives at: http://markmail.org/search/?q=ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Selecting volume rendering causes output to vanish

2015-06-10 Thread Aashish Chaudhary
No, I don't think so. It would be nice if you can try Burlen suggestion to
see if it works for built in datasets / sources.

- Aashish

On Wed, Jun 10, 2015 at 2:49 PM, Jeff Becker jeffrey.c.bec...@nasa.gov
wrote:

 On 06/10/2015 11:46 AM, Burlen Loring wrote:

 Hmm. If Bunyk ray cast doesn't work some thing strange is going on as
 that is a software(non gpu) algorithm and should always work.

 Can you get anything to show up using a small test data? For example
 create a wavelet source and apply a threshold (use default values) to
 convert to unstructured data. If that works maybe something with your input
 data, or size of it.


 It's a 500 by 500 by 500 grid of floats - is that too big?


 On 06/10/2015 11:27 AM, Jeff Becker wrote:

 On 06/10/2015 11:06 AM, Burlen Loring wrote:

 2 things to try: set the remote render threshold to zero, and if that
 doesn't get it to show up, change the mapper to Bunyk ray cast.  One of
 those usually works depending on what the cause of the issue is.


 I have both of those set - no luck. BTW, this is ParaView 4.3.1 on an
 NVIDIA backend. glxinfo shows:

 $ glxinfo | head -30
 name of display: :0.0
 display: :0  screen: 0
 direct rendering: Yes
 server glx vendor string: NVIDIA Corporation
 server glx version string: 1.4
 server glx extensions:
 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
 GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
 GLX_EXT_swap_control, GLX_EXT_swap_control_tear,
 GLX_EXT_texture_from_pixmap, GLX_EXT_buffer_age,
 GLX_ARB_create_context,
 GLX_ARB_create_context_profile, GLX_EXT_create_context_es_profile,
 GLX_EXT_create_context_es2_profile,
 GLX_ARB_create_context_robustness,
 GLX_NV_delay_before_swap, GLX_EXT_stereo_tree, GLX_ARB_multisample,
 GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
 GLX_EXT_framebuffer_sRGB,
 GLX_NV_multisample_coverage
 client glx vendor string: NVIDIA Corporation
 client glx version string: 1.4
 client glx extensions:
 GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
 GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
 GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig,
 GLX_SGIX_pbuffer,
 GLX_SGI_swap_control, GLX_EXT_swap_control,
 GLX_EXT_swap_control_tear,
 GLX_EXT_buffer_age, GLX_ARB_create_context,
 GLX_ARB_create_context_profile, GLX_NV_float_buffer,
 GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float,
 GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB,
 GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage,
 GLX_NV_video_capture, GLX_EXT_create_context_es_profile,
 GLX_EXT_create_context_es2_profile,
 GLX_ARB_create_context_robustness,
 GLX_NV_delay_before_swap, GLX_EXT_stereo_tree


 On 06/10/2015 11:00 AM, Jeff Becker wrote:

 Hi. I have an unstructured grid file that opens and displays in
 Surface Rendering mode. If I switch to Volume Rendering, I don't see any
 output. Any ideas?

 Thanks.

 -jeff
 ___
 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:
 http://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:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Selecting volume rendering causes output to vanish

2015-06-10 Thread Aashish Chaudhary
What version of ParaView you are using? Also, OpenGL or OpenGL2 backend?
Any information on Hardware might be helpful as well.

- aashish

On Wed, Jun 10, 2015 at 2:06 PM, Burlen Loring burlen.lor...@gmail.com
wrote:

 2 things to try: set the remote render threshold to zero, and if that
 doesn't get it to show up, change the mapper to Bunyk ray cast.  One of
 those usually works depending on what the cause of the issue is.


 On 06/10/2015 11:00 AM, Jeff Becker wrote:

 Hi. I have an unstructured grid file that opens and displays in Surface
 Rendering mode. If I switch to Volume Rendering, I don't see any output.
 Any ideas?

 Thanks.

 -jeff
 ___
 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:
 http://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:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Selecting volume rendering causes output to vanish

2015-06-10 Thread Aashish Chaudhary
Can you send the entire output of glxinfo?

- Aashish

On Wed, Jun 10, 2015 at 2:27 PM, Jeff Becker jeffrey.c.bec...@nasa.gov
wrote:

 On 06/10/2015 11:06 AM, Burlen Loring wrote:

 2 things to try: set the remote render threshold to zero, and if that
 doesn't get it to show up, change the mapper to Bunyk ray cast.  One of
 those usually works depending on what the cause of the issue is.


 I have both of those set - no luck. BTW, this is ParaView 4.3.1 on an
 NVIDIA backend. glxinfo shows:

 $ glxinfo | head -30
 name of display: :0.0
 display: :0  screen: 0
 direct rendering: Yes
 server glx vendor string: NVIDIA Corporation
 server glx version string: 1.4
 server glx extensions:
 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
 GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
 GLX_EXT_swap_control, GLX_EXT_swap_control_tear,
 GLX_EXT_texture_from_pixmap, GLX_EXT_buffer_age,
 GLX_ARB_create_context,
 GLX_ARB_create_context_profile, GLX_EXT_create_context_es_profile,
 GLX_EXT_create_context_es2_profile, GLX_ARB_create_context_robustness,
 GLX_NV_delay_before_swap, GLX_EXT_stereo_tree, GLX_ARB_multisample,
 GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB,
 GLX_NV_multisample_coverage
 client glx vendor string: NVIDIA Corporation
 client glx version string: 1.4
 client glx extensions:
 GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
 GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
 GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig,
 GLX_SGIX_pbuffer,
 GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_EXT_swap_control_tear,
 GLX_EXT_buffer_age, GLX_ARB_create_context,
 GLX_ARB_create_context_profile, GLX_NV_float_buffer,
 GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float,
 GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB,
 GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage,
 GLX_NV_video_capture, GLX_EXT_create_context_es_profile,
 GLX_EXT_create_context_es2_profile, GLX_ARB_create_context_robustness,
 GLX_NV_delay_before_swap, GLX_EXT_stereo_tree



 On 06/10/2015 11:00 AM, Jeff Becker wrote:

 Hi. I have an unstructured grid file that opens and displays in Surface
 Rendering mode. If I switch to Volume Rendering, I don't see any output.
 Any ideas?

 Thanks.

 -jeff
 ___
 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:
 http://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:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] AMR with raw files

2015-04-03 Thread Aashish Chaudhary
Hey Tatyana,

So you are asking for some help on how to create AMR? Is that right.

- Aashish

On Fri, Apr 3, 2015 at 3:53 AM, Хачкова Татьяна hachta...@yandex.ru wrote:

 Hello!
 I try to use Paraview for visualization of a geophysical data. I need to
 create AMR file with some levels (some meshes), where we want to place raw
 files.

 Can you help me? Can you send me a simple example of such structure for
 Paraview?

 Thank you in advance.
 Tatyana.
 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Hardware suggestions for volume rendering

2015-03-24 Thread Aashish Chaudhary
Okay, I will talk to some folks here to see what we can do to address these
issues.

- Aashish

On Tue, Mar 24, 2015 at 6:34 PM, Burlen Loring blor...@lbl.gov wrote:

 I have the same issue with unstructured grids(not using the new opengl
 work yet). A while back I wanted to volume render a large image dataset
 after clipping it. The clip made it unstructured. This was on a few
 hundered nodes on edison, I couldn't get the unstructured volume rendering
 to work, it appeared to hang(took so long I couldn't tell) and it crashed a
 few times as well(may have ran out of memory).  I think I tried a couple of
 the various mappers before I gave up. Would be nice to have it working
 better.


 On 3/24/2015 8:43 AM, Armin Wehrfritz wrote:

 Hey Kevin and Aashish,

 I found this discussion rather interesting, especially since I'm
 basically facing the same problem as Kevin.

 In almost all cases, we are dealing here with large unstructured grids
 (e.g. 12M cells) and the volume rendering is performance is extremely bad,
 not to say unusable, for these cases.

 I only tested it with ParaView 4.3.1 and older versions, i.e. with the
 old OpenGL algorithms, but the performance is barely influenced by the
 actual volume renderer (i.e. GPU vs. CPU based).

 For an unstructured grid the volume rendering seems to be CPU limited in
 any case, at least my CPU is at 100% for quite some time and the GPU load
 is negligible. ParaView's status bar indicates that it's busy with
 OpenGLProjectedTetrahedraMapper.

 This can be easily reproduced with the wavelet source (with e.g. 125k
 points) and tessellation filter.

 So far I have resorted to resampling the data onto a structured grid.
 This has the clear drawback that a structured grid with the same resolution
 has about 70M grid points compared to the 12M points of the unstructured
 grid.
 The volume rendering performance of a 70M unstructured grid is however
 already decent with the old OpenGL algorithms.

 So is there a way to improve the rendering of unstructured grids to avoid
 the resampling?

 Best regards,
 Armin




 On 03/24/2015 04:48 PM, Aashish Chaudhary wrote:

 Hey Kevin,



 On Fri, Mar 20, 2015 at 2:33 PM, Kevin Lau kevin.d@gmail.com
 mailto:kevin.d@gmail.com wrote:

 Dear Aashish,

 Thanks for your reply.

 (1)

 We tried testing it with 2 different data sets of simulation data,
 one medium sized and one very large:

 Medium
 Cells: 1309489
 Points: 247984
 Memory [MB]: 119.179
 Geometry [MB]: 8.201

 Very Large
 Cells: 51937191
 Points: 11019274
 Memory [MB]: 4709.731
 Geometry [MB]: 776.237

 These datasets are unstructured grids (tetrahedral meshes) read into
 ParaView using the Phasta data reader.

 I see. Most of the performance improvements we have achieved is with GPU
 RayCast Volume mapper (uses image data). If you can sample your data
 into a strucuted grid then you will be able to use the new mapper.

 Thanks,

 (2)

 The OS used was Ubuntu

 (3)

 The graphics card was a NVIDIA Quatro K6000 running the NVIDIA
 drivers from the Ubuntu Repos (v 331.113)

 (4)

 We configured ParaView using the default CMake options, changing
 VTK_RENDERING_BACKEND=OpenGL2 and disabling all the plug-ins. These
 tests were run in serial, as building with MPI was throwing errors.

 (5)

 We expected that the OpenGL2 version of ParaView would be able to
 volume render faster than the standard OpenGL version. However the
 reported frame rates were the same in both builds when clicking and
 dragging (~2 FPS).

 This is a problem because we're mainly interested in visualising our
 data and having users able to rotate the model and interact with it.
 At these frame rates the response is a bit sluggish.

 Also I've done serial test using an OpenGL2 build on Windows using
 an old GeForce 8800 with the same medium sized data. On this machine
 the frame rate was similar at around ~1.5 FPS.

 (6)

 ParaView was built by checking out the master from git. Sadly I'm
 not on that test machine now, so I can't check the SHA

 Many thanks for your help again.

 Kevin


 On 20 March 2015 at 10:33, Aashish Chaudhary
 aashish.chaudh...@kitware.com
 mailto:aashish.chaudh...@kitware.com wrote:

 Hey Kevin,

 On Thu, Mar 19, 2015 at 5:33 PM, Kevin Lau
 kevin.d@gmail.com mailto:kevin.d@gmail.com wrote:

 Dear Aashish,

 Thanks for your reply, I've now managed to build ParaView
 from the Master branch with VTK_RENDERING_BACKEND set to
 OpenGL2 and I have noticed a visible difference in the
 rendering.

 However comparison of the rendering performance in the
 interactive mode of builds with the standard OpenGL backend
 vs the OpenGL2 backend, both show similar frame rates

Re: [Paraview] Hardware suggestions for volume rendering

2015-03-24 Thread Aashish Chaudhary
Hey Kevin,



On Fri, Mar 20, 2015 at 2:33 PM, Kevin Lau kevin.d@gmail.com wrote:

 Dear Aashish,

 Thanks for your reply.

 (1)

 We tried testing it with 2 different data sets of simulation data, one
 medium sized and one very large:

 Medium
 Cells: 1309489
 Points: 247984
 Memory [MB]: 119.179
 Geometry [MB]: 8.201

 Very Large
 Cells: 51937191
 Points: 11019274
 Memory [MB]: 4709.731
 Geometry [MB]: 776.237

 These datasets are unstructured grids (tetrahedral meshes) read into
 ParaView using the Phasta data reader.

 I see. Most of the performance improvements we have achieved is with GPU
RayCast Volume mapper (uses image data). If you can sample your data into a
strucuted grid then you will be able to use the new mapper.

Thanks,



 (2)

 The OS used was Ubuntu

 (3)

 The graphics card was a NVIDIA Quatro K6000 running the NVIDIA drivers
 from the Ubuntu Repos (v 331.113)

 (4)

 We configured ParaView using the default CMake options, changing VTK
 _RENDERING_BACKEND=OpenGL2 and disabling all the plug-ins. These tests
 were run in serial, as building with MPI was throwing errors.

 (5)

 We expected that the OpenGL2 version of ParaView would be able to volume
 render faster than the standard OpenGL version. However the reported
 frame rates were the same in both builds when clicking and dragging (~2
 FPS).

 This is a problem because we're mainly interested in visualising our data
 and having users able to rotate the model and interact with it. At these
 frame rates the response is a bit sluggish.

 Also I've done serial test using an OpenGL2 build on Windows using an old
 GeForce 8800 with the same medium sized data. On this machine the frame
 rate was similar at around ~1.5 FPS.

 (6)

 ParaView was built by checking out the master from git. Sadly I'm not on
 that test machine now, so I can't check the SHA

 Many thanks for your help again.

 Kevin


 On 20 March 2015 at 10:33, Aashish Chaudhary 
 aashish.chaudh...@kitware.com wrote:

 Hey Kevin,

 On Thu, Mar 19, 2015 at 5:33 PM, Kevin Lau kevin.d@gmail.com wrote:

 Dear Aashish,

 Thanks for your reply, I've now managed to build ParaView from the
 Master branch with VTK_RENDERING_BACKEND set to OpenGL2 and I have noticed
 a visible difference in the rendering.

 However comparison of the rendering performance in the interactive mode
 of builds with the standard OpenGL backend vs the OpenGL2 backend, both
 show similar frame rates.


 Depending on the card and features you are using you may not see a huge
 bump in performance. On some systems we have seen 300 times performance
 improvements and on others there were close specially when you have VSync
 on. Said that, can you provide more infromation on

 1) Data size
 2) OS
 3) Graphics card
 4) Features you have enabled?
 5) You expectation and problem
 6) What SHA of ParaView you are using?

 Are there other build options that I'm missing? Should I be building the
 VTK libraries themselves?


 Just make sure that you built from a clean state other than that you
 should be good.

 Thanks,


 Many thanks,

 Kevin


 On 3 March 2015 at 14:53, Aashish Chaudhary 
 aashish.chaudh...@kitware.com wrote:

 On Tue, Mar 3, 2015 at 2:43 PM, Kevin Lau kevin.d@gmail.com
 wrote:

 Dear Aashish,

 Thank you very much for your reply. The latest work you're doing on
 volume rendering is very impressive.


 Thanks.


 In order to access the latest VTK rendering in ParaView would we have
 to compile both the latest VTK and ParaView from source? Is it possible to
 link ParaView to specific VTK builds?


 Latest ParaView from source should be fine. Just make sure that you
 select VTK_RENDERING_BACKEND to OpenGL2


 Also do you know if it is preferential to have a single GPU (i.e. a
 workstation graphics card) or multiple GPU (i.e. gaming graphics card) 
 when
 using ParaView?


 If I remember correctly, we don't explicitly assign tasks to GPU in
 ParaView if running a single process. You can find more information here:
 http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Node

 Hope it helps.


 Many thanks,

 Kevin


 On 27 February 2015 at 08:15, Aashish Chaudhary 
 aashish.chaudh...@kitware.com wrote:

 Dear Kevin,

 First, I would like to mention that we have been working hard to
 improve rendering in VTK that includes volume rendering as well. You may
 want to read this source article:
 http://www.kitware.com/source/home/post/154. Most of the changes
 related to this work is now available in VTK github repository in master
 branch. If you are targetting current VTK, I would suggest that any card
 that can support OpenGL2.1 or higher would be great. The higher the GPU
 memory the better. While these newer card will work with the previous
 version of volume rendering, it may not scale very well (in our testing
 that's what we have observed). Current the default in ParaView is OpenGL
 Volume Rendering but that is going to change sometime soon and once that
 happens you

Re: [Paraview] Hardware suggestions for volume rendering

2015-03-20 Thread Aashish Chaudhary
Hey Kevin,

On Thu, Mar 19, 2015 at 5:33 PM, Kevin Lau kevin.d@gmail.com wrote:

 Dear Aashish,

 Thanks for your reply, I've now managed to build ParaView from the Master
 branch with VTK_RENDERING_BACKEND set to OpenGL2 and I have noticed a
 visible difference in the rendering.

 However comparison of the rendering performance in the interactive mode of
 builds with the standard OpenGL backend vs the OpenGL2 backend, both show
 similar frame rates.


Depending on the card and features you are using you may not see a huge
bump in performance. On some systems we have seen 300 times performance
improvements and on others there were close specially when you have VSync
on. Said that, can you provide more infromation on

1) Data size
2) OS
3) Graphics card
4) Features you have enabled?
5) You expectation and problem
6) What SHA of ParaView you are using?

Are there other build options that I'm missing? Should I be building the
 VTK libraries themselves?


Just make sure that you built from a clean state other than that you should
be good.

Thanks,


 Many thanks,

 Kevin


 On 3 March 2015 at 14:53, Aashish Chaudhary aashish.chaudh...@kitware.com
  wrote:

 On Tue, Mar 3, 2015 at 2:43 PM, Kevin Lau kevin.d@gmail.com wrote:

 Dear Aashish,

 Thank you very much for your reply. The latest work you're doing on
 volume rendering is very impressive.


 Thanks.


 In order to access the latest VTK rendering in ParaView would we have to
 compile both the latest VTK and ParaView from source? Is it possible to
 link ParaView to specific VTK builds?


 Latest ParaView from source should be fine. Just make sure that you
 select VTK_RENDERING_BACKEND to OpenGL2


 Also do you know if it is preferential to have a single GPU (i.e. a
 workstation graphics card) or multiple GPU (i.e. gaming graphics card) when
 using ParaView?


 If I remember correctly, we don't explicitly assign tasks to GPU in
 ParaView if running a single process. You can find more information here:
 http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Node

 Hope it helps.


 Many thanks,

 Kevin


 On 27 February 2015 at 08:15, Aashish Chaudhary 
 aashish.chaudh...@kitware.com wrote:

 Dear Kevin,

 First, I would like to mention that we have been working hard to
 improve rendering in VTK that includes volume rendering as well. You may
 want to read this source article:
 http://www.kitware.com/source/home/post/154. Most of the changes
 related to this work is now available in VTK github repository in master
 branch. If you are targetting current VTK, I would suggest that any card
 that can support OpenGL2.1 or higher would be great. The higher the GPU
 memory the better. While these newer card will work with the previous
 version of volume rendering, it may not scale very well (in our testing
 that's what we have observed). Current the default in ParaView is OpenGL
 Volume Rendering but that is going to change sometime soon and once that
 happens you will have OpenGL2 backend for everything.

 Hope this helps.
 - Aashish



 On Thu, Feb 26, 2015 at 5:41 PM, Kevin Lau kevin.d@gmail.com
 wrote:

 Hi,

 I'm looking to putting together a workstation to perform realtime
 volume rendering of our simulation data.

 Are there any particular GPU features I should look for?

 If there are multiple GPUs will Paraview be able to take advantage of
 each GPU for volume rendering?

 Many thanks

 Kevin



 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




 --



 *| Aashish Chaudhary | Technical Leader | Kitware Inc.
   *
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*





 --



 *| Aashish Chaudhary | Technical Leader | Kitware Inc.
 *
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*





-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Hardware suggestions for volume rendering

2015-03-03 Thread Aashish Chaudhary
On Tue, Mar 3, 2015 at 2:43 PM, Kevin Lau kevin.d@gmail.com wrote:

 Dear Aashish,

 Thank you very much for your reply. The latest work you're doing on volume
 rendering is very impressive.


Thanks.


 In order to access the latest VTK rendering in ParaView would we have to
 compile both the latest VTK and ParaView from source? Is it possible to
 link ParaView to specific VTK builds?


Latest ParaView from source should be fine. Just make sure that you select
VTK_RENDERING_BACKEND to OpenGL2


 Also do you know if it is preferential to have a single GPU (i.e. a
 workstation graphics card) or multiple GPU (i.e. gaming graphics card) when
 using ParaView?


If I remember correctly, we don't explicitly assign tasks to GPU in
ParaView if running a single process. You can find more information here:
http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Node

Hope it helps.


 Many thanks,

 Kevin


 On 27 February 2015 at 08:15, Aashish Chaudhary 
 aashish.chaudh...@kitware.com wrote:

 Dear Kevin,

 First, I would like to mention that we have been working hard to improve
 rendering in VTK that includes volume rendering as well. You may want to
 read this source article: http://www.kitware.com/source/home/post/154.
 Most of the changes related to this work is now available in VTK github
 repository in master branch. If you are targetting current VTK, I would
 suggest that any card that can support OpenGL2.1 or higher would be great.
 The higher the GPU memory the better. While these newer card will work with
 the previous version of volume rendering, it may not scale very well (in
 our testing that's what we have observed). Current the default in ParaView
 is OpenGL Volume Rendering but that is going to change sometime soon and
 once that happens you will have OpenGL2 backend for everything.

 Hope this helps.
 - Aashish



 On Thu, Feb 26, 2015 at 5:41 PM, Kevin Lau kevin.d@gmail.com wrote:

 Hi,

 I'm looking to putting together a workstation to perform realtime volume
 rendering of our simulation data.

 Are there any particular GPU features I should look for?

 If there are multiple GPUs will Paraview be able to take advantage of
 each GPU for volume rendering?

 Many thanks

 Kevin



 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




 --



 *| Aashish Chaudhary | Technical Leader | Kitware Inc.
 *
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*





-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Hardware suggestions for volume rendering

2015-02-27 Thread Aashish Chaudhary
Dear Kevin,

First, I would like to mention that we have been working hard to improve
rendering in VTK that includes volume rendering as well. You may want to
read this source article: http://www.kitware.com/source/home/post/154. Most
of the changes related to this work is now available in VTK github
repository in master branch. If you are targetting current VTK, I would
suggest that any card that can support OpenGL2.1 or higher would be great.
The higher the GPU memory the better. While these newer card will work with
the previous version of volume rendering, it may not scale very well (in
our testing that's what we have observed). Current the default in ParaView
is OpenGL Volume Rendering but that is going to change sometime soon and
once that happens you will have OpenGL2 backend for everything.

Hope this helps.
- Aashish



On Thu, Feb 26, 2015 at 5:41 PM, Kevin Lau kevin.d@gmail.com wrote:

 Hi,

 I'm looking to putting together a workstation to perform realtime volume
 rendering of our simulation data.

 Are there any particular GPU features I should look for?

 If there are multiple GPUs will Paraview be able to take advantage of each
 GPU for volume rendering?

 Many thanks

 Kevin



 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview enabled VR Plugin not interacting via VRPN

2015-02-11 Thread Aashish Chaudhary
/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview




 --



 *| Aashish Chaudhary | Technical Leader | Kitware Inc.*
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*




 --



 *| Aashish Chaudhary | Technical Leader | Kitware Inc.*
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Fwd: Paraview enabled VR Plugin not interacting via VRPN

2015-02-11 Thread Aashish Chaudhary
Tao,

Quick answer: Use Threshold filter in ParaView.

- Aashish

-- Forwarded message --
From: Tao Wu t...@tu-braunschweig.de
Date: Wed, Feb 11, 2015 at 9:08 AM
Subject: Re: [Paraview] Paraview enabled VR Plugin not interacting via VRPN
To: Aashish Chaudhary aashish.chaudh...@kitware.com


Hi Aashish,

  Sorry that I directly sent the E-mail to you since it always failed
when I sent to paraview@paraview.org.

The following is my question.

Hi All,
 How can I only show the cells whose values (like displacement) are
larger certain value, and remove (not show) cells whose values are smaller
than
certain values? Thank you.

Regards,
Tao





-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Fwd: Paraview enabled VR Plugin not interacting via VRPN

2015-02-11 Thread Aashish Chaudhary
Tao,

Try Reply All (may be it won't bounce back this time).

On Wed, Feb 11, 2015 at 9:20 AM, Tao Wu t...@tu-braunschweig.de wrote:

  Aashish,

  Thank you for the quick reply.  I used the threshold filter. It can
 remove cells if I define the material property for each cell in the VTK
 file.

 I am using paraview to illustrate the mechanical results.  Therefore, I
 need show and remove some cells based on the displacements values of each
 cell.


If you have displacements value per cell then you should be able to select
that for thresholding. I am not sure what would be the problem there.

- Aashish


 Do you have any idea? Thank you.

 Regards,
 Tao
 On 02/11/2015 03:15 PM, Aashish Chaudhary wrote:

 Tao,

  Quick answer: Use Threshold filter in ParaView.

  - Aashish

 -- Forwarded message --
 From: Tao Wu t...@tu-braunschweig.de
 Date: Wed, Feb 11, 2015 at 9:08 AM
 Subject: Re: [Paraview] Paraview enabled VR Plugin not interacting via VRPN
 To: Aashish Chaudhary aashish.chaudh...@kitware.com


 Hi Aashish,

   Sorry that I directly sent the E-mail to you since it always failed
 when I sent to paraview@paraview.org.

 The following is my question.

 Hi All,
  How can I only show the cells whose values (like displacement) are
 larger certain value, and remove (not show) cells whose values are smaller
 than
 certain values? Thank you.

 Regards,
 Tao





  --



 *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
 *
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*


 ___
 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:http://public.kitware.com/mailman/listinfo/paraview





-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview enabled VR Plugin not interacting via VRPN

2015-02-09 Thread Aashish Chaudhary
Hannah,

Thanks for sending the files. Couple of thigs:

1) Is this really a valid VRPN server Mouse0@localhost? Can you use
vrpn_print_devices program to communicate with it?

2) Looks like you the property you configured is visibility but the style
you have chosen is vtkVRGrabWorldStyle which requires tracker or otherwise
it won't do anything.

Can you describe it in bit more detail on what exactly you are trying to
achieve? What hardware you have?

- Aashish

On Sun, Feb 8, 2015 at 9:50 PM, Hannah Klinac hfkli...@hotmail.com wrote:

 Hi,

 This is my process:


1. Start Paraview server
2. Start VRPN server
3. Start Paraview client
   1. Add an object (box)
   2. Add VRPN connection in the VR Panel
   3. Add VRPN interaction in the VR Panel
4. Press start


 Is there anything I am missing?
 Elsewise I can give more information about my VRPN, however I'm assuming
 I'm doing something wrong/missing something with the Paraview setup.

 I have saved the project and VR state files and attached them.

 I am using Paraview 4.3.1 (32bit) on Windows 7 (64bit).

 Thanks for your help,
 Hannah

 --
 Date: Wed, 4 Feb 2015 11:11:10 -0500
 Subject: Re: [Paraview] Paraview enabled VR Plugin not interacting via VRPN
 From: aashish.chaudh...@kitware.com
 To: hfkli...@hotmail.com
 CC: paraview@paraview.org


 Hi Hannah,

 On Wed, Feb 4, 2015 at 3:36 AM, Hannah Klinac hfkli...@hotmail.com
 wrote:

  Hi,

 I recently compiled Paraview from the source code to enable the VR Plugin.

 I have built VRPN, and compiled Paraview using that VRPN's dependencies.

 However, when I add the connection and interaction in the VR Plugin in
 Paraview and press Start, when I (for example) press the button I have
 registered down, the interaction doesn't happen. And on my server it says:

 vrpn: Connection requiest received from 'IP address': 'IP address' 'Port'
 Get a new connection, reset virtual_Tracker


 Is it possible for you to share the VR state file? Or provide information
 on how you setup the VRPN server in the first place? Seems like a
 configuration issue.  Also, helpful to know the version of ParaView and the
 OS you are using?



 Any idea if I have just not setup my connection/interaction correctly in
 Paraview? The VRPN server works fine for other applications such as Vizard.


 Thanks,



 Thanks in advance for any guidance,
 Hannah




 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




 --



 *| Aashish Chaudhary | Technical Leader | Kitware Inc.*
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview enabled VR Plugin not interacting via VRPN

2015-02-04 Thread Aashish Chaudhary
Hi Hannah,

On Wed, Feb 4, 2015 at 3:36 AM, Hannah Klinac hfkli...@hotmail.com wrote:

  Hi,

 I recently compiled Paraview from the source code to enable the VR Plugin.

 I have built VRPN, and compiled Paraview using that VRPN's dependencies.

 However, when I add the connection and interaction in the VR Plugin in
 Paraview and press Start, when I (for example) press the button I have
 registered down, the interaction doesn't happen. And on my server it says:

 vrpn: Connection requiest received from 'IP address': 'IP address' 'Port'
 Get a new connection, reset virtual_Tracker


Is it possible for you to share the VR state file? Or provide information
on how you setup the VRPN server in the first place? Seems like a
configuration issue.  Also, helpful to know the version of ParaView and the
OS you are using?



 Any idea if I have just not setup my connection/interaction correctly in
 Paraview? The VRPN server works fine for other applications such as Vizard.


Thanks,



 Thanks in advance for any guidance,
 Hannah




 ___
 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:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] BOX - volume?

2014-10-13 Thread Aashish Chaudhary
You can create a wavelet source and then display it as a volume.



On Fri, Oct 10, 2014 at 3:45 PM, B.W.H. van Beest b...@xs4all.nl wrote:

 Can perhaps somebody point me how to address the following.

 When I create a new source (say: a box) I get an a box that
 can be displayed via its surfaces, its constituing points, or wireframe
 representation.
 But I need a volume rendering (so that I can add e.g. a clipping plane)
 How do I get that?

 Regards,
 Bertwim



 ___
 Powered by www.kitware.com

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

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

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] BOX - volume?

2014-10-13 Thread Aashish Chaudhary
So when you created a wavelet source and change the representation to
volume you got the errors? Can you post those errors?

Thanks,


On Mon, Oct 13, 2014 at 1:33 PM, B.W.H. van Beest b...@xs4all.nl wrote:

  Aashish,

 Thanks for the suggestion.

 However, doing this gives me all kinds of opengl errors (invalid
 instruction).

 Besides that, the wavelet gives me a cube indeed, but I need to understand
 when
 I can have a volume rendering. I created new Source's (e.g. tri-prism, a
 wedge,
 a box with boundaries of finite thickness etc.). But I cannot get volume
 rendering
 to work, grr. (See other thread)

 Kind Regards,
 Bertwim



 On 10/13/2014 05:28 PM, Aashish Chaudhary wrote:

 You can create a wavelet source and then display it as a volume.



 On Fri, Oct 10, 2014 at 3:45 PM, B.W.H. van Beest b...@xs4all.nl wrote:

 Can perhaps somebody point me how to address the following.

 When I create a new source (say: a box) I get an a box that
 can be displayed via its surfaces, its constituing points, or wireframe
 representation.
 But I need a volume rendering (so that I can add e.g. a clipping plane)
 How do I get that?

 Regards,
 Bertwim



 ___
 Powered by www.kitware.com

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

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

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview




  --



 *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
 *
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*





-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] BOX - volume?

2014-10-13 Thread Aashish Chaudhary
What graphics card / graphics driver version / OS this system has?

- Aashish

On Mon, Oct 13, 2014 at 1:41 PM, B.W.H. van Beest b...@xs4all.nl wrote:

  Hi Aashish,

 This is what I do:
 1. start paraview
 2. Sources - Wavelet - Apply.
  A cube is displayed (Outline representation).
 3. Select 'Volume representation

 cube disappears. Then:
 =
 Generic Warning: In
 /usr/local/git/ParaView/VTK/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx,
 line 487
 failed at glBindTexture 1 OpenGL errors detected
   0 : (1282) Invalid operation



 Generic Warning: In
 /usr/local/git/ParaView/VTK/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx,
 line 487
 failed at glBindTexture 1 OpenGL errors detected
   0 : (1282) Invalid operation



 Generic Warning: In
 /usr/local/git/ParaView/VTK/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx,
 line 487
 failed at glBindTexture 1 OpenGL errors detected
   0 : (1282) Invalid operation
 =






 On 10/13/2014 07:35 PM, Aashish Chaudhary wrote:

 So when you created a wavelet source and change the representation to
 volume you got the errors? Can you post those errors?

  Thanks,


 On Mon, Oct 13, 2014 at 1:33 PM, B.W.H. van Beest b...@xs4all.nl wrote:

  Aashish,

 Thanks for the suggestion.

 However, doing this gives me all kinds of opengl errors (invalid
 instruction).

 Besides that, the wavelet gives me a cube indeed, but I need to
 understand when
 I can have a volume rendering. I created new Source's (e.g. tri-prism, a
 wedge,
 a box with boundaries of finite thickness etc.). But I cannot get volume
 rendering
 to work, grr. (See other thread)

 Kind Regards,
 Bertwim



 On 10/13/2014 05:28 PM, Aashish Chaudhary wrote:

 You can create a wavelet source and then display it as a volume.



 On Fri, Oct 10, 2014 at 3:45 PM, B.W.H. van Beest b...@xs4all.nl wrote:

 Can perhaps somebody point me how to address the following.

 When I create a new source (say: a box) I get an a box that
 can be displayed via its surfaces, its constituing points, or wireframe
 representation.
 But I need a volume rendering (so that I can add e.g. a clipping plane)
 How do I get that?

 Regards,
 Bertwim



 ___
 Powered by www.kitware.com

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

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

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview




  --



 *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
   *
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*





  --



 *| Aashish Chaudhary | Technical Leader  | Kitware Inc.
 *
 *| http://www.kitware.com/company/team/chaudhary.html
 http://www.kitware.com/company/team/chaudhary.html*





-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Save Stereo Screenshots with Python

2014-09-16 Thread Aashish Chaudhary
I will look into it (or ping the right people for it). Thanks for reporting
it.

- Aashish

On Tue, Sep 16, 2014 at 8:32 AM, Magician f_magic...@mac.com wrote:

 Hi all,


 I’d like to export left and right-eye images with Python.
 Any ideas?
 I’m using ParaView 4.1.0 and 4.2 RC1.


 Magician


 On Sep 6, 2014, at 19:25, Magician f_magic...@mac.com wrote:

  Hi all,
 
 
  I want to export screenshots of stereo images with Python.
  The stereo mode is SplitViewportHorizontal (Side-by-Side).
 
  When I export images larger than active views, I get bad results as the
 attached image.
  How can I export large stereo screenshots correctly?
  Or I’m planning to export left and right-eye images separately, and
 composite them
  with other softwares.
  How can I export left or right-eye images with Python?
 
 
  Magiciantest_stereo.png

 ___
 Powered by www.kitware.com

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

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

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview




-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
http://www.kitware.com/company/team/chaudhary.html*
___
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


  1   2   3   >