From utkarsh.ayachit at kitware.com Thu Jun 1 09:50:53 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 1 Jun 2017 09:50:53 -0400 Subject: [Paraview] [EXTERNAL] Removing legacy rendering backend from ParaView 5.5 In-Reply-To: References: <5ffbec0f69a94d9abb4de3af17b2ac9a@ES01AMSNLNT.srn.sandia.gov> Message-ID: > > Does this mean that my PC graphic card would need to support a higher > version of open GL? > > Yes. But to be fair, OpenGL 3.2 was released in 2009. Alternatively, we will be providing Mesa-Windows binaries soon as well. So you would be able to get by by using software rendering, if your GPU is really old. Utkarsh -------------- next part -------------- An HTML attachment was scrubbed... URL: From hero.jairaj at gmail.com Thu Jun 1 09:52:45 2017 From: hero.jairaj at gmail.com (JAIRAJ MATHUR) Date: Thu, 1 Jun 2017 08:52:45 -0500 Subject: [Paraview] [EXTERNAL] Removing legacy rendering backend from ParaView 5.5 In-Reply-To: References: <5ffbec0f69a94d9abb4de3af17b2ac9a@ES01AMSNLNT.srn.sandia.gov> Message-ID: Thanks for that! So just to be clear, what version of openGL will be supported? Jairaj Mathur Mechanical Engineering Washington University in St Louis On Jun 1, 2017 7:20 PM, "Utkarsh Ayachit" wrote: > Does this mean that my PC graphic card would need to support a higher >> version of open GL? >> >> > Yes. But to be fair, OpenGL 3.2 was released in 2009. Alternatively, we > will be providing Mesa-Windows binaries soon as well. So you would be able > to get by by using software rendering, if your GPU is really old. > > Utkarsh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Jun 1 09:56:55 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 1 Jun 2017 09:56:55 -0400 Subject: [Paraview] [EXTERNAL] Removing legacy rendering backend from ParaView 5.5 In-Reply-To: References: <5ffbec0f69a94d9abb4de3af17b2ac9a@ES01AMSNLNT.srn.sandia.gov> Message-ID: OpenGL 3.2 or higher is required. On Thu, Jun 1, 2017 at 9:52 AM, JAIRAJ MATHUR wrote: > Thanks for that! So just to be clear, what version of openGL will be > supported? > > Jairaj Mathur > Mechanical Engineering > Washington University in St Louis > > On Jun 1, 2017 7:20 PM, "Utkarsh Ayachit" > wrote: >>> >>> Does this mean that my PC graphic card would need to support a higher >>> version of open GL? >>> >> >> Yes. But to be fair, OpenGL 3.2 was released in 2009. Alternatively, we >> will be providing Mesa-Windows binaries soon as well. So you would be able >> to get by by using software rendering, if your GPU is really old. >> >> 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 > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From utkarsh.ayachit at kitware.com Thu Jun 1 10:39:56 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 1 Jun 2017 10:39:56 -0400 Subject: [Paraview] Annotate Modal Data In-Reply-To: <16e989fad77e4310a5ac4ddc8871675e@ES01AMSNLNT.srn.sandia.gov> References: <2c51eb7aba984abb83770a6ba031c812@ES08AMSNLNT.srn.sandia.gov> <16e989fad77e4310a5ac4ddc8871675e@ES01AMSNLNT.srn.sandia.gov> Message-ID: Ken, Can you remind me what this frequency corresponds to? I don't see any API on the reader to get something called "modal frequency" :). Utkarsh On Wed, May 31, 2017 at 6:30 PM, Scott, W Alan wrote: > I don?t think so. I have gone back to 4.4.0. ParaView has the same > controls now as then. > > > > Alan > > > > *From:* Moreland, Kenneth > *Sent:* Wednesday, May 31, 2017 4:08 PM > *To:* Scott, W Alan ; paraview at paraview.org > *Subject:* RE: [Paraview] Annotate Modal Data > > > > Hmm. I could have sworn that at one point the frequency was displayed in > the properties panel next to the Mode Shape slider bar. Maybe we lost that > during one of our properties panel redesigns. (Or maybe I?m misremembering.) > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org > ] *On Behalf Of *Scott, W Alan > *Sent:* Wednesday, May 31, 2017 3:42 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Annotate Modal Data > > > > > > Is it possible to display modal frequency while animating mode shape in > the ParaView? > > > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Jun 1 12:28:39 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 1 Jun 2017 16:28:39 +0000 Subject: [Paraview] [EXTERNAL] Re: Annotate Modal Data In-Reply-To: References: <2c51eb7aba984abb83770a6ba031c812@ES08AMSNLNT.srn.sandia.gov> <16e989fad77e4310a5ac4ddc8871675e@ES01AMSNLNT.srn.sandia.gov> Message-ID: <004f6a9d883243a685dfc66615dcbaed@ES01AMSNLNT.srn.sandia.gov> Not sure if this is your question, but this is for data with modal data, listed under the advanced properties tab as Mode Shapes. These datasets include an array of field data called (I believe) EigenFrequency. Only way I have been able to see these values is in the spreadsheet. I believe my user wants to annotate this onto the 3d view. I have a dataset I could send you, if you like. Alan From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Thursday, June 1, 2017 8:40 AM To: Scott, W Alan Cc: Moreland, Kenneth ; paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Annotate Modal Data Ken, Can you remind me what this frequency corresponds to? I don't see any API on the reader to get something called "modal frequency" :). Utkarsh On Wed, May 31, 2017 at 6:30 PM, Scott, W Alan > wrote: I don?t think so. I have gone back to 4.4.0. ParaView has the same controls now as then. Alan From: Moreland, Kenneth Sent: Wednesday, May 31, 2017 4:08 PM To: Scott, W Alan >; paraview at paraview.org Subject: RE: [Paraview] Annotate Modal Data Hmm. I could have sworn that at one point the frequency was displayed in the properties panel next to the Mode Shape slider bar. Maybe we lost that during one of our properties panel redesigns. (Or maybe I?m misremembering.) -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Wednesday, May 31, 2017 3:42 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Annotate Modal Data Is it possible to display modal frequency while animating mode shape in the ParaView? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Jun 1 12:40:56 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 1 Jun 2017 12:40:56 -0400 Subject: [Paraview] [EXTERNAL] Re: Annotate Modal Data In-Reply-To: <004f6a9d883243a685dfc66615dcbaed@ES01AMSNLNT.srn.sandia.gov> References: <2c51eb7aba984abb83770a6ba031c812@ES08AMSNLNT.srn.sandia.gov> <16e989fad77e4310a5ac4ddc8871675e@ES01AMSNLNT.srn.sandia.gov> <004f6a9d883243a685dfc66615dcbaed@ES01AMSNLNT.srn.sandia.gov> Message-ID: > > I have a dataset I could send you, if you like. > > > That'd be great. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Jun 1 13:14:42 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 1 Jun 2017 13:14:42 -0400 Subject: [Paraview] [EXTERNAL] Re: Annotate Modal Data In-Reply-To: <004f6a9d883243a685dfc66615dcbaed@ES01AMSNLNT.srn.sandia.gov> References: <2c51eb7aba984abb83770a6ba031c812@ES08AMSNLNT.srn.sandia.gov> <16e989fad77e4310a5ac4ddc8871675e@ES01AMSNLNT.srn.sandia.gov> <004f6a9d883243a685dfc66615dcbaed@ES01AMSNLNT.srn.sandia.gov> Message-ID: You can use the "Python Annotation" filter with the following association/expression: [image: Inline image 1] Utkarsh On Thu, Jun 1, 2017 at 12:28 PM, Scott, W Alan wrote: > Not sure if this is your question, but this is for data with modal data, > listed under the advanced properties tab as Mode Shapes. These datasets > include an array of field data called (I believe) EigenFrequency. Only way > I have been able to see these values is in the spreadsheet. I believe my > user wants to annotate this onto the 3d view. > > > > I have a dataset I could send you, if you like. > > > > Alan > > > > *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > *Sent:* Thursday, June 1, 2017 8:40 AM > *To:* Scott, W Alan > *Cc:* Moreland, Kenneth ; paraview at paraview.org > *Subject:* [EXTERNAL] Re: [Paraview] Annotate Modal Data > > > > Ken, > > > > Can you remind me what this frequency corresponds to? I don't see any API > on the reader to get something called "modal frequency" :). > > > > Utkarsh > > > > On Wed, May 31, 2017 at 6:30 PM, Scott, W Alan wrote: > > I don?t think so. I have gone back to 4.4.0. ParaView has the same > controls now as then. > > > > Alan > > > > *From:* Moreland, Kenneth > *Sent:* Wednesday, May 31, 2017 4:08 PM > *To:* Scott, W Alan ; paraview at paraview.org > *Subject:* RE: [Paraview] Annotate Modal Data > > > > Hmm. I could have sworn that at one point the frequency was displayed in > the properties panel next to the Mode Shape slider bar. Maybe we lost that > during one of our properties panel redesigns. (Or maybe I?m misremembering.) > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org > ] *On Behalf Of *Scott, W Alan > *Sent:* Wednesday, May 31, 2017 3:42 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Annotate Modal Data > > > > > > Is it possible to display modal frequency while animating mode shape in > the ParaView? > > > > 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 17914 bytes Desc: not available URL: From wascott at sandia.gov Thu Jun 1 14:40:04 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 1 Jun 2017 18:40:04 +0000 Subject: [Paraview] [EXTERNAL] Re: Annotate Modal Data In-Reply-To: References: <2c51eb7aba984abb83770a6ba031c812@ES08AMSNLNT.srn.sandia.gov> <16e989fad77e4310a5ac4ddc8871675e@ES01AMSNLNT.srn.sandia.gov> <004f6a9d883243a685dfc66615dcbaed@ES01AMSNLNT.srn.sandia.gov> Message-ID: <37d102b1a0d548b984defafff98e0719@ES01AMSNLNT.srn.sandia.gov> Thanks, just what I wanted. This only works with 5.4.0 ? it fails with errors on 5.3.0. I will let my user know. Alan From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Thursday, June 1, 2017 11:15 AM To: Scott, W Alan Cc: Moreland, Kenneth ; paraview at paraview.org Subject: Re: [EXTERNAL] Re: [Paraview] Annotate Modal Data You can use the "Python Annotation" filter with the following association/expression: [Inline image 1] Utkarsh On Thu, Jun 1, 2017 at 12:28 PM, Scott, W Alan > wrote: Not sure if this is your question, but this is for data with modal data, listed under the advanced properties tab as Mode Shapes. These datasets include an array of field data called (I believe) EigenFrequency. Only way I have been able to see these values is in the spreadsheet. I believe my user wants to annotate this onto the 3d view. I have a dataset I could send you, if you like. Alan From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Thursday, June 1, 2017 8:40 AM To: Scott, W Alan > Cc: Moreland, Kenneth >; paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Annotate Modal Data Ken, Can you remind me what this frequency corresponds to? I don't see any API on the reader to get something called "modal frequency" :). Utkarsh On Wed, May 31, 2017 at 6:30 PM, Scott, W Alan > wrote: I don?t think so. I have gone back to 4.4.0. ParaView has the same controls now as then. Alan From: Moreland, Kenneth Sent: Wednesday, May 31, 2017 4:08 PM To: Scott, W Alan >; paraview at paraview.org Subject: RE: [Paraview] Annotate Modal Data Hmm. I could have sworn that at one point the frequency was displayed in the properties panel next to the Mode Shape slider bar. Maybe we lost that during one of our properties panel redesigns. (Or maybe I?m misremembering.) -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Wednesday, May 31, 2017 3:42 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Annotate Modal Data Is it possible to display modal frequency while animating mode shape in the ParaView? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 17914 bytes Desc: image001.png URL: From sp_desjardins at hotmail.com Thu Jun 1 15:03:13 2017 From: sp_desjardins at hotmail.com (Simon-Pierre Desjardins) Date: Thu, 1 Jun 2017 19:03:13 +0000 Subject: [Paraview] How to create a vtkModule in Paraview Message-ID: Hi, I created a custom plugin that I want to use in a second plugin. To do so, I want to create a module with the custom plugin to be able to use it in my second one. I tried creating the module following the instructions on http://www.vtk.org/Wiki/VTK/Module_Development but it did not work. Basically, I am able to compile my module and create a .dll with it but I can't seem to be able to create the .lib and .ext necessary. I also added my module in the VTKModule.cmake. I'm unsure why it is not generating a .lib since I can see the line add_library in the cmake file generated for vtkmodules with my module name. Could anyone try to help me figure out what I'm missing? Thank you, Simon-Pierre Desjardins I'm compiling using Visual studio 2015 and Windows 10 64bits -------------- next part -------------- An HTML attachment was scrubbed... URL: From rnelias at gmail.com Fri Jun 2 10:50:46 2017 From: rnelias at gmail.com (Renato Elias) Date: Fri, 2 Jun 2017 11:50:46 -0300 Subject: [Paraview] Fwd: [Catalyst] Extracting and saving data from a spreadsheet In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Renato Elias Date: Fri, Jun 2, 2017 at 11:45 AM Subject: Re: [Paraview] [Catalyst] Extracting and saving data from a spreadsheet To: Utkarsh Ayachit I gave up to extract cell values from a spreadsheet and save using a python text file... it was not working even after your suggested changes :( I'm now just trying to save a csv file at each coprocessing step with the following code: # create a new 'Integrate Variables' integrateVariables1 = IntegrateVariables(Input=calculator1) ThisTime = datadescription.GetTime() ThisTimeStep = datadescription.GetTimeStep() print(' => Time step: '+str(ThisTimeStep)+' Time: '+str(ThisTime)) fout = 'coefs_'+str(ThisTimeStep)+'.csv' SaveData(fout, proxy=integrateVariables1) but it seems ParaView does not treat the IntegrateVariables filter as a data producer and I'm only able to save the first csv file when the pipeline is created. It seems Catalyst was not designed around the idea that some data could be written to text files and be pos-processed later on :( Any idea? Regards Renato On Wed, May 31, 2017 at 4:22 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > > I've tried to follow these steps in ParaView Python Console as described > > bellow but if I print the data structure it seems there's no information > > about the result of IntegrateVariables's filter > > You're missing `UpdatePipeline(cl)` (sorry, my original snippet had a > type, UpdatePIpeline(), not Update() is required). You need to call is > before trying to get the data. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Jun 2 13:19:49 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 2 Jun 2017 13:19:49 -0400 Subject: [Paraview] Fwd: [Catalyst] Extracting and saving data from a spreadsheet In-Reply-To: References: Message-ID: Attached is a script that demonstrates how to do this. I suspect you're putting your code in `CreatePipeline`. As the name suggests, it's only called when creating pipeline the first time, and not on every iteration. I've modified a ParaView test script. Modifications are in `### START MODIFICATION ###` and `### END MODIFICATION ###` blocks. You can run this as follows: > bin/pvbatch -sym -dr /CoProcessing/PythonCatalyst/Testing/Cxx/waveletdriver.py /tmp/cptest.py 10 Utkarsh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cptest.py Type: text/x-python Size: 8004 bytes Desc: not available URL: From nicholas.richmond at maine.edu Fri Jun 2 17:50:18 2017 From: nicholas.richmond at maine.edu (Nicholas Richmond) Date: Fri, 2 Jun 2017 17:50:18 -0400 Subject: [Paraview] Importing paraview.simple with Python 3 Message-ID: ?Greetings, First things first, I'm using the most recent (RC3) Win64 ParaView 5.4 binary. I'm working on a project with Python 3.6, and I'm having difficulty importing the paraview.simple module. Attempting to import (from paraview.simple import *) results in the following error: *ImportError: dynamic module does not define module export function (PyInit_vtkCommonCorePython)* *During handling of the above exception, another exception occurred:* *Traceback (most recent call last):* * File "", line 1, in * * File "C:\Program Files\ParaView 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\simple.py", line 43, in * * from paraview import servermanager* * File "C:\Program Files\ParaView 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\servermanager.py", line 53, in * * from paraview import vtk* * File "C:\Program Files\ParaView 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\vtk\__init__.py", line 7, in * * from paraview.vtk.vtkCommonCore import ** * File "C:\Program Files\ParaView 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\vtk\vtkCommonCore.py", line 9, in * * from vtkCommonCorePython import ** *ImportError: dynamic module does not define module export function (PyInit_vtkCommonCorePython)* I saw this March 10 message from Utkarsh: "*Python 3 is supported with 5.3 (except for ParaViewWeb components). We **have dashboards testing it too. There still may be some leftovers, so **please report if you catch anything that we missed.*" Does this fall under the category of "please report if you catch anything that we missed" or is it due to a lack of understanding on my part? I've been able to successfully import this module when using a Python 2.7 environment, but I'm trying to stick to Python 3.6. Any insight would be most appreciated. Many thanks, Nick Richmond -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Sat Jun 3 00:53:27 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Sat, 3 Jun 2017 00:53:27 -0400 Subject: [Paraview] Importing paraview.simple with Python 3 In-Reply-To: References: Message-ID: Nick, One can indeed compile ParaView with Python 3. However, the binaries available on paraview.org are built with Python 2.7. If you wish to use Python 3, you will need to compile ParaView yourself against Python 3. How exactly are you attempting to use the ParaView binary in a Python 3.6 environment? Best, Cory On Fri, Jun 2, 2017 at 5:50 PM, Nicholas Richmond wrote: > Greetings, > > First things first, I'm using the most recent (RC3) Win64 ParaView 5.4 > binary. I'm working on a project with Python 3.6, and I'm having difficulty > importing the paraview.simple module. Attempting to import (from > paraview.simple import *) results in the following error: > > ImportError: dynamic module does not define module export function > (PyInit_vtkCommonCorePython) > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "", line 1, in > File "C:\Program Files\ParaView > 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\simple.py", > line 43, in > from paraview import servermanager > File "C:\Program Files\ParaView > 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\servermanager.py", > line 53, in > from paraview import vtk > File "C:\Program Files\ParaView > 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\vtk\__init__.py", > line 7, in > from paraview.vtk.vtkCommonCore import * > File "C:\Program Files\ParaView > 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\vtk\vtkCommonCore.py", > line 9, in > from vtkCommonCorePython import * > ImportError: dynamic module does not define module export function > (PyInit_vtkCommonCorePython) > > I saw this March 10 message from Utkarsh: > > "Python 3 is supported with 5.3 (except for ParaViewWeb components). We have > dashboards testing it too. There still may be some leftovers, so please > report if you catch anything that we missed." > > Does this fall under the category of "please report if you catch anything > that we missed" or is it due to a lack of understanding on my part? I've > been able to successfully import this module when using a Python 2.7 > environment, but I'm trying to stick to Python 3.6. Any insight would be > most appreciated. > > Many thanks, > Nick Richmond > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. From jkulesza at umich.edu Sat Jun 3 09:08:16 2017 From: jkulesza at umich.edu (Joel Kulesza) Date: Sat, 3 Jun 2017 07:08:16 -0600 Subject: [Paraview] Method to Clip Sources & View Closed Volumes? Message-ID: Colleagues, Is there an option I'm not finding that would allow me to continually render sources as solid volumes rather than shells? For example, if I plot a VTK data set and "clip" it, I see all internal structure (because there is some). However, if I plot a Sphere and "clip" it, I see a spherical shell (see attached). I understand why this is, but I'd prefer to have the shell capped so I have what appears to be a solid hemisphere. Any thoughts you can provide are appreciated! Thank you, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2017-06-03 at 7.06.43 AM.png Type: image/png Size: 260361 bytes Desc: not available URL: From rnelias at gmail.com Sat Jun 3 12:25:16 2017 From: rnelias at gmail.com (Renato Elias) Date: Sat, 3 Jun 2017 13:25:16 -0300 Subject: [Paraview] Fwd: [Catalyst] Extracting and saving data from a spreadsheet In-Reply-To: References: Message-ID: Thanks Utkarsh! I did a small test and now it's working fine :) I only noticed that it's called per processor. Is there a way to make only rank 0 store the CVS table? In other words... do we have access to the rank id in the coprocessor Python script? Regards Renato Em 2 de jun de 2017 14:19, "Utkarsh Ayachit" escreveu: Attached is a script that demonstrates how to do this. I suspect you're putting your code in `CreatePipeline`. As the name suggests, it's only called when creating pipeline the first time, and not on every iteration. I've modified a ParaView test script. Modifications are in `### START MODIFICATION ###` and `### END MODIFICATION ###` blocks. You can run this as follows: > bin/pvbatch -sym -dr /CoProcessing/PythonCatalyst/Testing/Cxx/waveletdriver.py /tmp/cptest.py 10 Utkarsh -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Sat Jun 3 15:56:37 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Sat, 3 Jun 2017 15:56:37 -0400 Subject: [Paraview] Method to Clip Sources & View Closed Volumes? In-Reply-To: References: Message-ID: Joel, What you are seeing with the clipped sphere is indeed the clipped polygonal data from the sphere source. The sphere source does not produce volumetric cells inside the surface that you see, so there are no internal cells that would be clipped and produce the filled appearance you are after. I'm betting the VTK dataset you viewed has volumetric cells. In that case, you will see the surface of the clipped volumetric cells. You would need to fill the interior of polygonal datasets with volumetric cells through some kind of meshing procedure. In ParaView, that is pretty much limited to the Delaunay 3D filter, and it works fine if your polygonal dataset defines a convex volume. But there is no option to set that will do this automatically. - Cory On Sat, Jun 3, 2017 at 9:08 AM, Joel Kulesza wrote: > Colleagues, > > Is there an option I'm not finding that would allow me to continually render > sources as solid volumes rather than shells? > > For example, if I plot a VTK data set and "clip" it, I see all internal > structure (because there is some). > > However, if I plot a Sphere and "clip" it, I see a spherical shell (see > attached). I understand why this is, but I'd prefer to have the shell > capped so I have what appears to be a solid hemisphere. > > Any thoughts you can provide are appreciated! > > Thank you, > Joel > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. From jkulesza at umich.edu Sat Jun 3 19:34:17 2017 From: jkulesza at umich.edu (Joel Kulesza) Date: Sat, 3 Jun 2017 17:34:17 -0600 Subject: [Paraview] Method to Clip Sources & View Closed Volumes? In-Reply-To: References: Message-ID: Cory, Thanks for the reply. Indeed, that's what I suspected was the case and it's all reasonable. I was just hoping there might be a way to set a preference (or another mechanism) so that when a user applied "clip" it would perform the manipulations necessary to "see" the interior as a solid region. I tried applying the Deluanay3D filter to my sphere (80 theta & 80 phi segments) and got a broken triangularization. For more complicated shapes, I'm concerned I'll have a similar result. Perhaps asking my question another way: is there a recommended approach to converting constructive solid geometry (CSG, which is effectively only concerned with boundaries) to something that could be viewed in ParaView with filters like "clip" meaningfully applied to see the interior regions (because the end-user may be interested in that internal structure). For example, if I had several nested spherical shells defined with CSG, I'd like to clip them and see those shells and not just the surfaces between them. Thanks, Joel On Sat, Jun 3, 2017 at 1:56 PM, Cory Quammen wrote: > Joel, > > What you are seeing with the clipped sphere is indeed the clipped > polygonal data from the sphere source. The sphere source does not > produce volumetric cells inside the surface that you see, so there are > no internal cells that would be clipped and produce the filled > appearance you are after. > > I'm betting the VTK dataset you viewed has volumetric cells. In that > case, you will see the surface of the clipped volumetric cells. > > You would need to fill the interior of polygonal datasets with > volumetric cells through some kind of meshing procedure. In ParaView, > that is pretty much limited to the Delaunay 3D filter, and it works > fine if your polygonal dataset defines a convex volume. But there is > no option to set that will do this automatically. > > - Cory > > On Sat, Jun 3, 2017 at 9:08 AM, Joel Kulesza wrote: > > Colleagues, > > > > Is there an option I'm not finding that would allow me to continually > render > > sources as solid volumes rather than shells? > > > > For example, if I plot a VTK data set and "clip" it, I see all internal > > structure (because there is some). > > > > However, if I plot a Sphere and "clip" it, I see a spherical shell (see > > attached). I understand why this is, but I'd prefer to have the shell > > capped so I have what appears to be a solid hemisphere. > > > > Any thoughts you can provide are appreciated! > > > > Thank you, > > Joel > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shuhao at shuhaowu.com Sun Jun 4 18:33:29 2017 From: shuhao at shuhaowu.com (Shuhao Wu) Date: Sun, 4 Jun 2017 18:33:29 -0400 Subject: [Paraview] Coloring isocontour by the coordinates outputted from a Transform filter and some other questions Message-ID: Hello all, Is there a way to color an isocontour via the coordinates outputted from a Transform filter? I'm using the Transform filter to "normalize" my coordinate systems and I want to display the isocontour colored by the normalized Y coordinates. Do I have to create yet another Calculator filter to recalculate the normalized Y value that is already calculated by the Transform filter? Also: is there a way to turn off one axis on the axis grid (so turn off the Y axis display and leave only X and Z)? What about changing the interval on the axis itself (instead of incrementing by 100 as it chooses, increment by 250). I'm pretty new to Paraview (coming from Tecplot). Please bear with me as I likely will have more question. Thanks, Shuhao From Saideep.Pavuluri at pet.hw.ac.uk Mon Jun 5 10:24:26 2017 From: Saideep.Pavuluri at pet.hw.ac.uk (Saideep Pavuluri) Date: Mon, 5 Jun 2017 14:24:26 +0000 Subject: [Paraview] using cell data for plot over line Message-ID: Hi; I am trying to use the plot over line utility. I use OpenFOAM and the field variables are stored at the cell centres. When I use "plot over line" the cell data are interpolated to the faces and then plotted (which masks a few detailed information). Is there a way to plot the cell data directly without any interpolation? Thanks; SaiD -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Jun 5 10:36:57 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 5 Jun 2017 10:36:57 -0400 Subject: [Paraview] Fwd: [Catalyst] Extracting and saving data from a spreadsheet In-Reply-To: References: Message-ID: Renato, Are you running into issues with what the script ? Why you have acess to global controller via vtkMultiProcessController::GetController() and you can check the rank id etc, I don't think you'd need to. The CSVWriter will only write on root node after accumulating data from all ranks. Since `IntegrateVariables` only produces output on rank 0, it should work fine, doesn't it? Utkarsh On Sat, Jun 3, 2017 at 12:25 PM, Renato Elias wrote: > Thanks Utkarsh! > > I did a small test and now it's working fine :) I only noticed that it's > called per processor. Is there a way to make only rank 0 store the CVS > table? In other words... do we have access to the rank id in the > coprocessor Python script? > > Regards > > Renato > > Em 2 de jun de 2017 14:19, "Utkarsh Ayachit" > escreveu: > > Attached is a script that demonstrates how to do this. I suspect you're > putting your code in `CreatePipeline`. As the name suggests, it's only > called when creating pipeline the first time, and not on every iteration. > I've modified a ParaView test script. Modifications are in `### START > MODIFICATION ###` and `### END MODIFICATION ###` blocks. You can run this > as follows: > > > bin/pvbatch -sym -dr /CoProcessing > /PythonCatalyst/Testing/Cxx/waveletdriver.py /tmp/cptest.py 10 > > Utkarsh > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Jun 5 11:02:14 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 5 Jun 2017 11:02:14 -0400 Subject: [Paraview] How to create a vtkModule in Paraview In-Reply-To: References: Message-ID: Simon, While plugins can have internal modules, it's really not designed to share those with other plugins. You have two options: 1. combine both plugins into a single one. 2. make the module a standard ParaView/VTK module that added via PARAVIEW_EXTERNAL_MODULE_ROOTS CMake variable, then the two plugins can use the module just liek any other ParaView/VTK module. Utkarsh On Thu, Jun 1, 2017 at 3:03 PM, Simon-Pierre Desjardins < sp_desjardins at hotmail.com> wrote: > Hi, > > I created a custom plugin that I want to use in a second plugin. To do so, > I want to create a module with the custom plugin to be able to use it in my > second one. > > I tried creating the module following the instructions on > http://www.vtk.org/Wiki/VTK/Module_Development but it did not work. > > > Basically, I am able to compile my module and create a .dll with it but I > can't seem to be able to create the .lib and .ext necessary. > > I also added my module in the VTKModule.cmake. I'm unsure why it is not > generating a .lib since I can see the line add_library in the cmake file > generated for vtkmodules with my module name. > > > Could anyone try to help me figure out what I'm missing? > > > Thank you, > > > Simon-Pierre Desjardins > > > > I'm compiling using Visual studio 2015 and Windows 10 64bits > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rnelias at gmail.com Mon Jun 5 12:20:55 2017 From: rnelias at gmail.com (Renato Elias) Date: Mon, 5 Jun 2017 13:20:55 -0300 Subject: [Paraview] Fwd: [Catalyst] Extracting and saving data from a spreadsheet In-Reply-To: References: Message-ID: Yep, it's working fine... (in fact, it's only giving an annoying warning message regarding unsynbcronized time value but it's a minor issue...) Warning: In /home/rnelias/ParaView-v5.4.0-RC3/ParaViewCore/VTKExtensions/Core/vtkPVTrivialProducer.cxx, line 119 vtkPVTrivialProducer (0x801b910): Requesting time 1.8 but only 1.9 is available I misunderstood the befavior of a print statement within WriteData routine. Every rank prints its message in WriteData but SaveData is probably filtering rank 0 to save the data... ### START MODIFICATION ### def WriteData(self, datadescription): super(CoProcessor, self).WriteData(datadescription) # let's write to CSV ourselves. afilter = self.Pipeline.integrateVariables1 *print(" Saving cvs file for time step: "+str(datadescription.GetTimeStep()))* fname = "coefs_%d.csv" % datadescription.GetTimeStep() SaveData(fname, afilter) ### END MODIFICATION ### BTW, where can I report a bug? In the (very) past, Kitware had a Mantis bug tracking system but I have no idea if it's still being used... I've sent a message regarding a bug straight to the mailling list that is probably not the best channel to send it... On Mon, Jun 5, 2017 at 11:36 AM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Renato, > > Are you running into issues with what the script ? Why you have acess to > global controller via vtkMultiProcessController::GetController() and you > can check the rank id etc, I don't think you'd need to. The CSVWriter will > only write on root node after accumulating data from all ranks. Since `IntegrateVariables` > only produces output on rank 0, it should work fine, doesn't it? > > Utkarsh > > On Sat, Jun 3, 2017 at 12:25 PM, Renato Elias wrote: > >> Thanks Utkarsh! >> >> I did a small test and now it's working fine :) I only noticed that it's >> called per processor. Is there a way to make only rank 0 store the CVS >> table? In other words... do we have access to the rank id in the >> coprocessor Python script? >> >> Regards >> >> Renato >> >> Em 2 de jun de 2017 14:19, "Utkarsh Ayachit" >> escreveu: >> >> Attached is a script that demonstrates how to do this. I suspect you're >> putting your code in `CreatePipeline`. As the name suggests, it's only >> called when creating pipeline the first time, and not on every iteration. >> I've modified a ParaView test script. Modifications are in `### START >> MODIFICATION ###` and `### END MODIFICATION ###` blocks. You can run this >> as follows: >> >> > bin/pvbatch -sym -dr /CoProcessing >> /PythonCatalyst/Testing/Cxx/waveletdriver.py /tmp/cptest.py 10 >> >> Utkarsh >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Jun 5 12:26:18 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 5 Jun 2017 12:26:18 -0400 Subject: [Paraview] Fwd: [Catalyst] Extracting and saving data from a spreadsheet In-Reply-To: References: Message-ID: > BTW, where can I report a bug? In the (very) past, Kitware had a Mantis bug tracking system but I have no idea if it's still being used... > I've sent a message regarding a bug straight to the mailling list that is probably not the best channel to send it... Here's the new bug tracker: https://gitlab.kitware.com/paraview/paraview/issues The link should also be accessible from paraview.org. Utkarsh From mvanmoer at illinois.edu Mon Jun 5 16:37:28 2017 From: mvanmoer at illinois.edu (Vanmoer, Mark W) Date: Mon, 5 Jun 2017 20:37:28 +0000 Subject: [Paraview] unable to fetch servers? Message-ID: <7F781841FF1E044388AFA42B70703A7AC4327EBB@CHIMBX6.ad.uillinois.edu> Hello, Fetch Servers seems to be unable to fetch. I have a user who confirms it was like this yesterday, too. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Jun 5 17:08:31 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 5 Jun 2017 17:08:31 -0400 Subject: [Paraview] unable to fetch servers? In-Reply-To: <7F781841FF1E044388AFA42B70703A7AC4327EBB@CHIMBX6.ad.uillinois.edu> References: <7F781841FF1E044388AFA42B70703A7AC4327EBB@CHIMBX6.ad.uillinois.edu> Message-ID: Seems to work fine for me right now. Can you try again please? On Mon, Jun 5, 2017 at 4:37 PM, Vanmoer, Mark W wrote: > Hello, Fetch Servers seems to be unable to fetch. I have a user who > confirms it was like this yesterday, too. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mvanmoer at illinois.edu Mon Jun 5 17:19:00 2017 From: mvanmoer at illinois.edu (Vanmoer, Mark W) Date: Mon, 5 Jun 2017 21:19:00 +0000 Subject: [Paraview] unable to fetch servers? In-Reply-To: References: <7F781841FF1E044388AFA42B70703A7AC4327EBB@CHIMBX6.ad.uillinois.edu> Message-ID: <7F781841FF1E044388AFA42B70703A7AC4327F05@CHIMBX6.ad.uillinois.edu> With a 5.3.0 client, it seems to connect, but doesn?t show any servers, it?s just blank. With 4.4.0, it hangs on the Fetching configurations? message box. I can access https://www.paraview.org/files/pvsc in Chrome. From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Monday, June 05, 2017 4:09 PM To: Vanmoer, Mark W Cc: ParaView Subject: Re: [Paraview] unable to fetch servers? Seems to work fine for me right now. Can you try again please? On Mon, Jun 5, 2017 at 4:37 PM, Vanmoer, Mark W > wrote: Hello, Fetch Servers seems to be unable to fetch. I have a user who confirms it was like this yesterday, too. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jun 6 10:13:43 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 6 Jun 2017 10:13:43 -0400 Subject: [Paraview] unable to fetch servers? In-Reply-To: <7F781841FF1E044388AFA42B70703A7AC4327F05@CHIMBX6.ad.uillinois.edu> References: <7F781841FF1E044388AFA42B70703A7AC4327EBB@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AC4327F05@CHIMBX6.ad.uillinois.edu> Message-ID: Mark, I can reproduce the problem. I suspect it has to do with paraview.org moving to https and our binaries not having OpenSSL support enabled. I've reported the issue here: https://gitlab.kitware.com/paraview/paraview/issues/17490 As a workaround, you can download the file manually and then use "Load Servers" to import them. Utkarsh On Mon, Jun 5, 2017 at 5:19 PM, Vanmoer, Mark W wrote: > With a 5.3.0 client, it seems to connect, but doesn?t show any servers, > it?s just blank. With 4.4.0, it hangs on the Fetching configurations? > message box. > > I can access https://www.paraview.org/files/pvsc in Chrome. > > > > *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > *Sent:* Monday, June 05, 2017 4:09 PM > *To:* Vanmoer, Mark W > *Cc:* ParaView > *Subject:* Re: [Paraview] unable to fetch servers? > > > > Seems to work fine for me right now. Can you try again please? > > > > > > > > On Mon, Jun 5, 2017 at 4:37 PM, Vanmoer, Mark W > wrote: > > Hello, Fetch Servers seems to be unable to fetch. I have a user who > confirms it was like this yesterday, too. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jun 6 10:53:06 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 6 Jun 2017 10:53:06 -0400 Subject: [Paraview] Dropping Qt 4 support from ParaView 5.5 onwards Message-ID: Folks, Continuing with dropping of support for legacy components, I wanted to raise the question of dropping support for Qt older than 5.6 starting with ParaView 5.5 (planned for Nov 2017). Qt 5.6 has been out since March 2016 and is a LTS release. Qt 4 is no longer maintained and does not support newer macOS versions, Windows 10 or retina displays. Supporting Qt 4 and 5 together is not only causing code complexity, but also straining our testing resources. If there are strong reasons to continue supporting Qt 4 beyond the upcoming ParaView 5.4 release, please make us aware before June 30, 2017. One can always use older versions of ParaView, if required. Utkarsh -------------- next part -------------- An HTML attachment was scrubbed... URL: From eelcovv at gmail.com Tue Jun 6 10:53:28 2017 From: eelcovv at gmail.com (Eelco van Vliet) Date: Tue, 6 Jun 2017 16:53:28 +0200 Subject: [Paraview] Annotate time as data/time using pythonannotation and programmablefilter Message-ID: Dear all, I have a question on how to convert a time in hours since 0001-01-01 00:00:00 to a normal date time string. In Python a routine is avaiable in the netCDF4 library, so I thought I used that. I want to use PythonAnnotate eventually to plot the date time. So know I have to following steps in my pipeline browser 1: load a netcdf4 file with a Lat/Lon spherical coordinates and a time in as a float giving the number of hourse since 0001 2 A ProgrammableFilter with the following settings Output Data Set Type: vtkTable Script: import sys sys.path.append("C://Apps/Anaconda/Anaconda2/envs/paraview/Lib/site-packages/") import netCDF4 as nc t = inputs[0].GetInformation().Get(vtk.vtkDataObject.DATA_TIME_STEP()) date_time = nc.num2date(t, units="hours since 0001-01-01 00:00:00", calendar="gregorian") output.RowData.append(date_time, "datetime") This all works. If I create a print statement in the script I see that the time is indeed correctly converted to a date/time string, eg. 17671944.0 is now 2017-01-01-00:00:00 The point is: I want to store this resulting datatime value into a vtkTable so that I can use it to plot it to the screen using the Python annotation (which I do with the RowData.append line) In the python annotation, however, I cannot get the value for datatime rom the RowDATa I now have for the pythonannotation expression the following Array Association: Row Data Expression: "{}".format(input.RowData) But this gives me just a reference to the row data, not the string of the date/time I just stored My question is: 1) How can I get the rowdata which I stored in the ProgrammableFilter in the vtkTable 2) Is there a better way to do this: convert a float into a date/time string which you can print Hopefully anybody can give me a hint -------------- next part -------------- An HTML attachment was scrubbed... URL: From mvanmoer at illinois.edu Tue Jun 6 10:40:47 2017 From: mvanmoer at illinois.edu (Vanmoer, Mark W) Date: Tue, 6 Jun 2017 14:40:47 +0000 Subject: [Paraview] unable to fetch servers? In-Reply-To: References: <7F781841FF1E044388AFA42B70703A7AC4327EBB@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AC4327F05@CHIMBX6.ad.uillinois.edu> Message-ID: <7F781841FF1E044388AFA42B70703A7AC4327FFA@CHIMBX6.ad.uillinois.edu> Thanks Utkarsh, I?ll pass this on to our user. Mark From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Tuesday, June 06, 2017 9:14 AM To: Vanmoer, Mark W Cc: ParaView Subject: Re: [Paraview] unable to fetch servers? Mark, I can reproduce the problem. I suspect it has to do with paraview.org moving to https and our binaries not having OpenSSL support enabled. I've reported the issue here: https://gitlab.kitware.com/paraview/paraview/issues/17490 As a workaround, you can download the file manually and then use "Load Servers" to import them. Utkarsh On Mon, Jun 5, 2017 at 5:19 PM, Vanmoer, Mark W > wrote: With a 5.3.0 client, it seems to connect, but doesn?t show any servers, it?s just blank. With 4.4.0, it hangs on the Fetching configurations? message box. I can access https://www.paraview.org/files/pvsc in Chrome. From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Monday, June 05, 2017 4:09 PM To: Vanmoer, Mark W > Cc: ParaView > Subject: Re: [Paraview] unable to fetch servers? Seems to work fine for me right now. Can you try again please? On Mon, Jun 5, 2017 at 4:37 PM, Vanmoer, Mark W > wrote: Hello, Fetch Servers seems to be unable to fetch. I have a user who confirms it was like this yesterday, too. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jun 6 11:05:10 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 6 Jun 2017 11:05:10 -0400 Subject: [Paraview] Annotate time as data/time using pythonannotation and programmablefilter In-Reply-To: References: Message-ID: > > Array Association: Row Data > Expression: "{}".format(input.RowData) > But this gives me just a reference to the row data, not the string of the > date/time I just stored > Try using `input.RowData["datatime"].GetValue(0)` instead. String arrays are a little cumbersome currently. You have to use the vtkAbstractArray API (GetValue) to access elements. Utkarsh -------------- next part -------------- An HTML attachment was scrubbed... URL: From eelcovv at gmail.com Tue Jun 6 11:41:33 2017 From: eelcovv at gmail.com (Eelco van Vliet) Date: Tue, 6 Jun 2017 17:41:33 +0200 Subject: [Paraview] Annotate time as data/time using pythonannotation and programmablefilter In-Reply-To: References: Message-ID: Dear Utkarsh, After some more googling and your answer I found the solution. Indeed I have to store the data as a string in the Programmable Filter and then retrieve with GetValue in the Python Annoatation. My ProgrammableFilter with Ouput set to vtkData is now import sys sys.path.append("C://Apps/Anaconda/Anaconda2/envs/paraview/Lib/site-packages/") import netCDF4 as nc t = inputs[0].GetInformation().Get(vtk.vtkDataObject.DATA_TIME_STEP()) date_time = nc.num2date(t, units="hours since 0001-01-01 00:00:00", calendar="gregorian") outputarray = vtk.vtkStringArray() outputarray.SetName("datetime") outputarray.SetNumberOfTuples(1) outputarray.SetValue(0, "{}".format(date_time)) print("{} -> {}".format(t, date_time)) output.RowData.AddArray(outputarray) and after that I add a PythonAnnotation with Row Data as Array Association and the following expression "{}".format(input.RowData["datetime"].GetValue(0)) It is not very trivial I must say, but the result is now that I can plot a date/time string in stead of a float with number of hourse since. Excellent! Thanks for your quick help Regards Eelco Ps: for those interessed in using netcdf4 with paraview: you have to make sure to get all the versions correct. I did this by using Anaconda and than create a special paraview environment conda create -n paraview python=2.7.3 netcdf4 activate paraview conda install numpy=1.8.1 2017-06-06 17:05 GMT+02:00 Utkarsh Ayachit : > Array Association: Row Data >> Expression: "{}".format(input.RowData) >> But this gives me just a reference to the row data, not the string of the >> date/time I just stored >> > > Try using `input.RowData["datatime"].GetValue(0)` instead. String arrays > are a little cumbersome currently. You have to use the vtkAbstractArray API > (GetValue) to access elements. > > Utkarsh > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jun 6 12:38:32 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 6 Jun 2017 12:38:32 -0400 Subject: [Paraview] unable to fetch servers? In-Reply-To: <7F781841FF1E044388AFA42B70703A7AC4327FFA@CHIMBX6.ad.uillinois.edu> References: <7F781841FF1E044388AFA42B70703A7AC4327EBB@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AC4327F05@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AC4327FFA@CHIMBX6.ad.uillinois.edu> Message-ID: Mark, The old "http://" url has now been reenabled. Fetch servers should start to work again. Make sure you restore to the non-https version of the URL, if you have changed it in your configuration. Utkarsh On Tue, Jun 6, 2017 at 10:40 AM, Vanmoer, Mark W wrote: > Thanks Utkarsh, I?ll pass this on to our user. > > Mark > > > > *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > *Sent:* Tuesday, June 06, 2017 9:14 AM > > *To:* Vanmoer, Mark W > *Cc:* ParaView > *Subject:* Re: [Paraview] unable to fetch servers? > > > > Mark, > > > > I can reproduce the problem. I suspect it has to do with paraview.org > moving to https and our binaries not having OpenSSL support enabled. I've > reported the issue here: https://gitlab.kitware. > com/paraview/paraview/issues/17490 > > > > As a workaround, you can download the file manually and then use "Load > Servers" to import them. > > > > Utkarsh > > > > On Mon, Jun 5, 2017 at 5:19 PM, Vanmoer, Mark W > wrote: > > With a 5.3.0 client, it seems to connect, but doesn?t show any servers, > it?s just blank. With 4.4.0, it hangs on the Fetching configurations? > message box. > > I can access https://www.paraview.org/files/pvsc in Chrome. > > > > *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > *Sent:* Monday, June 05, 2017 4:09 PM > *To:* Vanmoer, Mark W > *Cc:* ParaView > *Subject:* Re: [Paraview] unable to fetch servers? > > > > Seems to work fine for me right now. Can you try again please? > > > > > > > > On Mon, Jun 5, 2017 at 4:37 PM, Vanmoer, Mark W > wrote: > > Hello, Fetch Servers seems to be unable to fetch. I have a user who > confirms it was like this yesterday, too. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.jackson at bluequartz.net Tue Jun 6 12:44:40 2017 From: mike.jackson at bluequartz.net (Michael Jackson) Date: Tue, 06 Jun 2017 12:44:40 -0400 Subject: [Paraview] Dropping Qt 4 support from ParaView 5.5 onwards In-Reply-To: References: Message-ID: <5936DBF8.7030908@bluequartz.net> +1. Also I would vote to jump all the way to Qt 5.9 since it is a LTS release and you can stabilize on Qt 5.9 for the next 3 years at least where as Qt 5.6 is only supported in a security bug fix from here on for another 2 years. I don't think Qt is going to add support for newer operating systems so if something breaks on newer releases of macOS or Windows Qt made it sound like they would not fix Qt 5.6 -- Michael A. Jackson BlueQuartz Software, LLC [e]: mike.jackson at bluequartz.net Utkarsh Ayachit wrote: > Folks, > > Continuing with dropping of support for legacy components, I wanted to > raise the question of dropping support for Qt older than 5.6 starting > with ParaView 5.5 (planned for Nov 2017). > > Qt 5.6 has been out since March 2016 and is a LTS release. Qt 4 is no > longer maintained and does not support newer macOS versions, Windows 10 > or retina displays. Supporting Qt 4 and 5 together is not only causing > code complexity, but also straining our testing resources. > > If there are strong reasons to continue supporting Qt 4 beyond the > upcoming ParaView 5.4 release, please make us aware before June 30, > 2017. One can always use older versions of ParaView, if required. > > 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 From jig6 at psu.edu Tue Jun 6 12:22:55 2017 From: jig6 at psu.edu (Jesse Gerber) Date: Tue, 06 Jun 2017 12:22:55 -0400 Subject: [Paraview] VTU files for multi-body FEA models. Message-ID: Hello, I am a mechanical engineering grad student. This question is regarding an active research project in our lab. We wrote a FEA program in C++ for 3D solid mechanics problems. At each time step, we output a vtu file using the unstructured grid format. Finally, we output a pvd file that creates a collection and associates a time step value with each vtu file. So far, we have been working with a single body, comprised of multiple hexahedral elements. Our point data consists of displacement, velocity, and acceleration. Our cell data consists of centroid stress and centroid strain. We now want to start solving multi-body models. Do we have to write a separate vtu file for each body, at each time step? Is there a way to combine multiple bodies into a single vtu file, at each time step, in a way that we can still view them as separate parts in ParaView? I would like be able to use show/hide and color on a part basis. How do people usually handle this sort of thing? For example, if I have 10 parts, will I have 10 separate vtu files at each time step? Note that, within the FEA code, we define a part_id for each element in the model. Is there a way I can associate each element with a part_id in the vtu file? That way ParaView could tell the difference between each part? Thank you for your help! Best regards, Jesse -------------- next part -------------- An HTML attachment was scrubbed... URL: From sp_desjardins at hotmail.com Tue Jun 6 14:52:13 2017 From: sp_desjardins at hotmail.com (Simon-Pierre Desjardins) Date: Tue, 6 Jun 2017 18:52:13 +0000 Subject: [Paraview] How to create a vtkModule in Paraview In-Reply-To: References: , Message-ID: Hi Utkarsh, I have tried adding the path to my external module via PARAVIEW_EXTERNAL_MODULE_ROOTS in cmake. I am able to compile the module in VS2015 but it only creates a .dll file. Usually, at least from what I've seen with the other modules, a library is also created which is needed to use the plugins in the modules. I have checked all the documentation and did a really simple module containing only a single plugin. Here is an overview of what it looks like: module.cmake: vtk_module(vtkSPXModule GROUPS StandAlone DEPENDS vtkCommonCore vtkCommonDataModel vtkCommonExecutionModel vtkCommonMisc vtkPVVTKExtensionsRendering vtkFiltersGeneral TEST_DEPENDS vtkTestingCore KIT vtkRemote ) and the Cmakelist.txt: set(Module_SRCS TestPlugin.cxx ) vtk_module_library(vtkSPXModule ${Module_SRCS}) I referred myself to this example that seemed to work https://github.com/lorensen/vtkAddon/blob/master/module.cmake Overall, to make sure it's clear, I am able to compile the module and I'm able to see it in my solution. The problem is more so linked to the creation of the .lib that isn't being done. Any idea what could cause that? Thank you, Simon-Pierre ________________________________ De : Utkarsh Ayachit Envoy? : 5 juin 2017 11:02 ? : Simon-Pierre Desjardins Cc : paraview at paraview.org Objet : Re: [Paraview] How to create a vtkModule in Paraview Simon, While plugins can have internal modules, it's really not designed to share those with other plugins. You have two options: 1. combine both plugins into a single one. 2. make the module a standard ParaView/VTK module that added via PARAVIEW_EXTERNAL_MODULE_ROOTS CMake variable, then the two plugins can use the module just liek any other ParaView/VTK module. Utkarsh On Thu, Jun 1, 2017 at 3:03 PM, Simon-Pierre Desjardins > wrote: Hi, I created a custom plugin that I want to use in a second plugin. To do so, I want to create a module with the custom plugin to be able to use it in my second one. I tried creating the module following the instructions on http://www.vtk.org/Wiki/VTK/Module_Development but it did not work. Basically, I am able to compile my module and create a .dll with it but I can't seem to be able to create the .lib and .ext necessary. I also added my module in the VTKModule.cmake. I'm unsure why it is not generating a .lib since I can see the line add_library in the cmake file generated for vtkmodules with my module name. Could anyone try to help me figure out what I'm missing? Thank you, Simon-Pierre Desjardins I'm compiling using Visual studio 2015 and Windows 10 64bits _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From staubchen03 at gmail.com Tue Jun 6 15:01:32 2017 From: staubchen03 at gmail.com (Tanja Gerasimenko) Date: Tue, 6 Jun 2017 22:01:32 +0300 Subject: [Paraview] Paraview freezes without any error message Message-ID: Hello! I'm using Paraview 5.3.0 64-bit installed on Gentoo Linux machine. Starting from version 5.2.0 it doesn't display any vtk file. It works fine with an example file like test.vtk (downloaded from vtk file format examples) but doesn't show any of my own files (example.vtk). All worked fine in previous versions. Now Paraview freezes when I push the button "Apply" after opening the file. It consumes 100% of CPU (only one core) and doesn't write anything to console (when starting from command line). Could you please explain me how can I display some debug information to understand where is the problem? Sorry for my bad English Tanja -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- # vtk DataFile Version 1.0 2D Unstructured Grid of Linear Triangles ASCII DATASET UNSTRUCTURED_GRID POINTS 8 float 0.0 0.0 0.0 1.0 0.0 0.0 2.0 0.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 2.0 1.0 0.0 0.0 2.0 0.0 1.0 2.0 0.0 CELLS 6 24 3 0 1 3 3 1 4 3 3 1 2 4 3 2 5 4 3 3 4 6 3 4 7 6 CELL_TYPES 6 5 5 5 5 5 5 POINT_DATA 8 SCALARS pressure float LOOKUP_TABLE default 0.0 1.0 2.0 1.0 2.0 3.0 2.0 3.0 VECTORS velocity float 1.0 1.0 0.0 2.0 1.0 0.0 3.0 1.0 0.0 1.0 2.0 0.0 2.0 2.0 0.0 3.0 2.0 0.0 1.0 3.0 0.0 2.0 3.0 0.0 -------------- next part -------------- # vtk DataFile Version 2.0 2D mesh ASCII DATASET POLYDATA POINTS 22 double 1.5000 0.0000 0.0000 1.4095 0.5130 0.0000 1.1491 0.9642 0.0000 0.7500 1.2990 0.0000 0.2605 1.4772 0.0000 -0.2605 1.4772 0.0000 -0.7500 1.2990 0.0000 -1.1491 0.9642 0.0000 -1.4095 0.5130 0.0000 -1.5000 0.0000 0.0000 -1.4095 -0.5130 0.0000 -1.1491 -0.9642 0.0000 -0.7500 -1.2990 0.0000 -0.2605 -1.4772 0.0000 0.2605 -1.4772 0.0000 0.7500 -1.2990 0.0000 1.1491 -0.9642 0.0000 1.4095 -0.5130 0.0000 -0.0640 -0.0369 0.0000 0.4841 -0.5770 0.0000 0.6266 0.3618 0.0000 -0.2576 0.7078 0.0000 POLYGONS 24 96 3 10 11 18 3 13 18 12 3 8 18 21 3 11 12 18 3 10 18 9 3 7 8 21 3 18 8 9 3 19 18 13 3 17 19 16 3 5 6 21 3 20 17 0 3 14 19 13 3 15 16 19 3 4 20 3 3 20 0 1 3 19 20 18 3 4 5 21 3 1 2 20 3 4 21 20 3 20 21 18 3 20 19 17 3 7 21 6 3 19 14 15 3 3 20 2 POINT_DATA 22 SCALARS Label int LOOKUP_TABLE default 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 From cory.quammen at kitware.com Tue Jun 6 15:34:25 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 6 Jun 2017 15:34:25 -0400 Subject: [Paraview] ParaView 5.4.0 is now available for download Message-ID: On behalf of the ParaView development team, I am pleased to announce that ParaView 5.4.0 has been released and can be downloaded in both source and binary forms from http://www.paraview.org/download Release notes for ParaView 5.4.0 are available at https://blog.kitware.com/paraview-5-4-0-release-notes/ ParaView's superbuild has been updated to build 5.4.0 by default. Sincerely, Cory and the ParaView team -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Tue Jun 6 16:10:16 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 6 Jun 2017 16:10:16 -0400 Subject: [Paraview] ParaView 5.4.0 is now available for download In-Reply-To: References: Message-ID: Please note that for the first time, we are providing signed macOS binaries in both disk image (.dmg) and package (.pkg) form. Please let us know if you run into any problems with these binaries. On another note, I have added the tag v5.4.0 to the paraview-superbuild repository. - Cory On Tue, Jun 6, 2017 at 3:34 PM, Cory Quammen wrote: > On behalf of the ParaView development team, I am pleased to announce > that ParaView 5.4.0 has been released and can be downloaded in both > source and binary forms from > > http://www.paraview.org/download > > Release notes for ParaView 5.4.0 are available at > > https://blog.kitware.com/paraview-5-4-0-release-notes/ > > ParaView's superbuild has been updated to build 5.4.0 by default. > > Sincerely, > Cory and the ParaView team > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -- Cory Quammen Staff R&D Engineer Kitware, Inc. From leonardopessanha74 at gmail.com Tue Jun 6 16:30:04 2017 From: leonardopessanha74 at gmail.com (=?UTF-8?Q?L=C3=A9o_Pessanha?=) Date: Tue, 6 Jun 2017 17:30:04 -0300 Subject: [Paraview] Camera Properties - Linking and scripts Message-ID: Hi! Is it possible to do "relative"(I don't know if relative is the right word) camera links? Example, a camera in the position (0,0,0) and another one in (0,5,10). There's a way to create a link that when I move the first camera to (5,0,0) makes the second one go to (5,5,10)? If so, python scripts would be the best way to go? Thanks in advance, Leonardo Pessanha Laboratory of Computational Methods in Engineering Federal University of Rio de Janeiro - COPPE Rio de Janeiro, RJ, Brasil -------------- next part -------------- An HTML attachment was scrubbed... URL: From rccm.kyoshimi at gmail.com Tue Jun 6 20:55:53 2017 From: rccm.kyoshimi at gmail.com (kenichiro yoshimi) Date: Wed, 7 Jun 2017 09:55:53 +0900 Subject: [Paraview] Paraview freezes without any error message In-Reply-To: References: Message-ID: Hi Tanja, This freezing problem with 5.2.0 comes from the last line having no newline in example.vtk. Could you try to add a new line to the last line or try the recently released 5.4.0. Thanks, 2017-06-07 4:01 GMT+09:00 Tanja Gerasimenko : > Hello! > > I'm using Paraview 5.3.0 64-bit installed on Gentoo Linux machine. Starting > from version 5.2.0 it doesn't display any vtk file. It works fine with an > example file like test.vtk (downloaded from vtk file format examples) but > doesn't show any of my own files (example.vtk). All worked fine in previous > versions. Now Paraview freezes when I push the button "Apply" after opening > the file. It consumes 100% of CPU (only one core) and doesn't write anything > to console (when starting from command line). > Could you please explain me how can I display some debug information to > understand where is the problem? > > Sorry for my bad English > Tanja > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > From eelcovv at gmail.com Wed Jun 7 04:34:48 2017 From: eelcovv at gmail.com (Eelco van Vliet) Date: Wed, 7 Jun 2017 10:34:48 +0200 Subject: [Paraview] Annotate time as data/time using pythonannotation and programmablefilter In-Reply-To: References: Message-ID: For those interested I turned this script into a macro which you can add. It should work on a generic source containing a time in number of hourse since 0001-01-01 Regards --- start macro python source code--- """ A macro to turn a "hourse since 0001-01-01 00:00:00" floating number into a human readable data/time string and put it as an annotion to the current view. Requirement: a proper numpy/python/netcdf4 version in the search path. Current the search path is hard added to the macro pointing to the location C://Apps/Anaconda/Anaconda2/envs/paraview/Lib/site-packages At this location the netCDF4 module should be installed. Should be changed depending on current python installation Eelco van Vliet June 2017 """ #### import the simple module from the paraview from paraview.simple import * #### disable automatic camera reset on 'Show' paraview.simple._DisableFirstRenderCameraReset() # find source source = GetActiveSource() # create a new 'Programmable Filter' programmableFilter1 = ProgrammableFilter(Input=source) programmableFilter1.RequestInformationScript = '' programmableFilter1.RequestUpdateExtentScript = '' programmableFilter1.PythonPath = "" # Properties modified on programmableFilter1 programmableFilter1.OutputDataSetType = 'vtkTable' programmableFilter1.Script = '\ import sys\n\ sys.path.append("C://Apps/Anaconda/Anaconda2/envs/paraview/Lib/site-packages")\n\ import netCDF4 as nc\n\ t = inputs[0].GetInformation().Get(vtk.vtkDataObject.DATA_TIME_STEP())\n\ date_time = nc.num2date(t, units="hours since 0001-01-01 00:00:00", calendar="gregorian")\n\ outputarray = vtk.vtkStringArray()\n\ outputarray.SetName("datetime")\n\ outputarray.SetNumberOfTuples(1)\n\ outputarray.SetValue(0, "{}".format(date_time))\n\ print("{} -> {}".format(t, date_time))\n\ output.RowData.AddArray(outputarray)' # find view renderView1 = GetActiveView() # create a new 'Python Annotation' pythonAnnotation1 = PythonAnnotation(Input=programmableFilter1) # Properties modified on pythonAnnotation1 pythonAnnotation1.ArrayAssociation = 'Row Data' pythonAnnotation1.Expression = '"{}".format(input.RowData["datetime"].GetValue(0))' # show data in view pythonAnnotation1Display = Show(pythonAnnotation1, renderView1) # update the view to ensure updated data information renderView1.Update() 2017-06-06 17:41 GMT+02:00 Eelco van Vliet : > Dear Utkarsh, > > After some more googling and your answer I found the solution. Indeed I > have to store the data as a string in the Programmable Filter and then > retrieve with GetValue in the Python Annoatation. > My ProgrammableFilter with Ouput set to vtkData is now > > import sys > > sys.path.append("C://Apps/Anaconda/Anaconda2/envs/paraview/Lib/site-packages/") > > import netCDF4 as nc > > t = inputs[0].GetInformation().Get(vtk.vtkDataObject.DATA_TIME_STEP()) > > date_time = nc.num2date(t, units="hours since 0001-01-01 00:00:00", calendar="gregorian") > > outputarray = vtk.vtkStringArray() > > outputarray.SetName("datetime") > > outputarray.SetNumberOfTuples(1) > > outputarray.SetValue(0, "{}".format(date_time)) > > print("{} -> {}".format(t, date_time)) > > output.RowData.AddArray(outputarray) > > > and after that I add a PythonAnnotation with Row Data as Array Association and the following expression > > > "{}".format(input.RowData["datetime"].GetValue(0)) > > > > It is not very trivial I must say, but the result is now that I can plot a date/time string in stead of a float with number of hourse since. Excellent! Thanks for your quick help > > > Regards > > Eelco > > > Ps: for those interessed in using netcdf4 with paraview: you have to make sure to get all the versions correct. I did this by using Anaconda and than create a special paraview environment > > conda create -n paraview python=2.7.3 netcdf4 > > activate paraview > > conda install numpy=1.8.1 > > > > > 2017-06-06 17:05 GMT+02:00 Utkarsh Ayachit : > >> Array Association: Row Data >>> Expression: "{}".format(input.RowData) >>> But this gives me just a reference to the row data, not the string of >>> the date/time I just stored >>> >> >> Try using `input.RowData["datatime"].GetValue(0)` instead. String arrays >> are a little cumbersome currently. You have to use the vtkAbstractArray API >> (GetValue) to access elements. >> >> Utkarsh >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: number_to_datetime_annotation.py Type: application/octet-stream Size: 2146 bytes Desc: not available URL: From b.partridge16 at imperial.ac.uk Wed Jun 7 07:01:16 2017 From: b.partridge16 at imperial.ac.uk (Partridge, Ben D) Date: Wed, 7 Jun 2017 11:01:16 +0000 Subject: [Paraview] 3D Data Visualisation Message-ID: Hi Guys Probably a naive question - but I have the 3D pixel coordinates of a microscopy image that I wish to reconstruct using paraview, I have loaded the coordinates in fine and the image is displayed. However,the re-constructed image looks more like 2D projection of a 3D image as opposed to looking truly 3D. I was wondering what the easiest way is in which to create a 3-D Isosurface with shadows/contours etc from my co-ordinate positions? Many thanks Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno.santos at bluecape.com.pt Wed Jun 7 08:37:10 2017 From: bruno.santos at bluecape.com.pt (Bruno Santos) Date: Wed, 7 Jun 2017 13:37:10 +0100 Subject: [Paraview] Dropping Qt 4 support from ParaView 5.5 onwards In-Reply-To: <5936DBF8.7030908@bluequartz.net> References: <5936DBF8.7030908@bluequartz.net> Message-ID: +1 on either Qt 5.6 or 5.9 being the minimum But for the sake of numbering sanity, shouldn't ParaView's version be bumped up to 6.0 instead of 5.5? Or at least 5.98 as a precursor to this rather big change? Best regards, Bruno Santos On 06-06-2017 17:44, Michael Jackson wrote: > +1. > Also I would vote to jump all the way to Qt 5.9 since it is a LTS > release and you can stabilize on Qt 5.9 for the next 3 years at least > where as Qt 5.6 is only supported in a security bug fix from here on > for another 2 years. I don't think Qt is going to add support for > newer operating systems so if something breaks on newer releases of > macOS or Windows Qt made it sound like they would not fix Qt 5.6 > > > Utkarsh Ayachit wrote: >> Folks, >> >> Continuing with dropping of support for legacy components, I wanted to >> raise the question of dropping support for Qt older than 5.6 starting >> with ParaView 5.5 (planned for Nov 2017). >> >> Qt 5.6 has been out since March 2016 and is a LTS release. Qt 4 is no >> longer maintained and does not support newer macOS versions, Windows 10 >> or retina displays. Supporting Qt 4 and 5 together is not only causing >> code complexity, but also straining our testing resources. >> >> If there are strong reasons to continue supporting Qt 4 beyond the >> upcoming ParaView 5.4 release, please make us aware before June 30, >> 2017. One can always use older versions of ParaView, if required. >> >> Utkarsh -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Wed Jun 7 09:01:36 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 7 Jun 2017 09:01:36 -0400 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: Message-ID: Ben, I'm not sure that I entirely understand your problem. Could you attach a small image showing what you are seeing? That may give me a clue on how to guide you. Thanks, Cory On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D wrote: > Hi Guys > > > Probably a naive question - but I have the 3D pixel coordinates of a > microscopy image that I wish to reconstruct using paraview, I have loaded > the coordinates in fine and the image is displayed. However,the > re-constructed image looks more like 2D projection of a 3D image as opposed > to looking truly 3D. I was wondering what the easiest way is in which to > create a 3-D Isosurface with shadows/contours etc from my co-ordinate > positions? > > > Many thanks > > Ben > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. From b.partridge16 at imperial.ac.uk Wed Jun 7 09:58:45 2017 From: b.partridge16 at imperial.ac.uk (Partridge, Ben D) Date: Wed, 7 Jun 2017 13:58:45 +0000 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: , Message-ID: Hi Cory Yes certainly, I have attached an Image below. The image shows a section of the bone marrow in 3D. I wish to wrap an Isosurface around this. Thanks Ben ________________________________ From: Cory Quammen Sent: 07 June 2017 14:01:36 To: Partridge, Ben D Cc: paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation Ben, I'm not sure that I entirely understand your problem. Could you attach a small image showing what you are seeing? That may give me a clue on how to guide you. Thanks, Cory On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D wrote: > Hi Guys > > > Probably a naive question - but I have the 3D pixel coordinates of a > microscopy image that I wish to reconstruct using paraview, I have loaded > the coordinates in fine and the image is displayed. However,the > re-constructed image looks more like 2D projection of a 3D image as opposed > to looking truly 3D. I was wondering what the easiest way is in which to > create a 3-D Isosurface with shadows/contours etc from my co-ordinate > positions? > > > Many thanks > > Ben > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Sort_4_Reconstruction2.png Type: image/png Size: 18038 bytes Desc: Sort_4_Reconstruction2.png URL: From dave.demarle at kitware.com Wed Jun 7 12:57:02 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 7 Jun 2017 12:57:02 -0400 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: Message-ID: I recommend Filters->PointVolumeInterpolator to make a mesh out of these isolated points so that you have something to isocontour within. On also recommend Enable OSPRay or to change Representation to Point Gaussian to give these points some extent an local normals to make the lighting look better on the point cloud. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D < b.partridge16 at imperial.ac.uk> wrote: > Hi Cory > > > Yes certainly, I have attached an Image below. The image shows a section > of the bone marrow in 3D. I wish to wrap an Isosurface around this. > > > Thanks > > Ben > ------------------------------ > *From:* Cory Quammen > *Sent:* 07 June 2017 14:01:36 > *To:* Partridge, Ben D > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] 3D Data Visualisation > > Ben, > > I'm not sure that I entirely understand your problem. Could you attach > a small image showing what you are seeing? That may give me a clue on > how to guide you. > > Thanks, > Cory > > On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D > wrote: > > Hi Guys > > > > > > Probably a naive question - but I have the 3D pixel coordinates of a > > microscopy image that I wish to reconstruct using paraview, I have loaded > > the coordinates in fine and the image is displayed. However,the > > re-constructed image looks more like 2D projection of a 3D image as > opposed > > to looking truly 3D. I was wondering what the easiest way is in which to > > create a 3-D Isosurface with shadows/contours etc from my co-ordinate > > positions? > > > > > > Many thanks > > > > Ben > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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&D 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Wed Jun 7 13:24:49 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 7 Jun 2017 13:24:49 -0400 Subject: [Paraview] Importing paraview.simple with Python 3 In-Reply-To: References: Message-ID: CC'ing back to the list On Mon, Jun 5, 2017 at 2:25 PM, Nicholas Richmond wrote: > Thanks, Cory! I'll go ahead and compile ParaView with Python 3. Sounds good. At the risk of stating the obvious, just make sure to compile with the same Python 3.6 used in your environment. Cory > > On Sat, Jun 3, 2017 at 12:53 AM, Cory Quammen > wrote: >> >> Nick, >> >> One can indeed compile ParaView with Python 3. However, the binaries >> available on paraview.org are built with Python 2.7. If you wish to >> use Python 3, you will need to compile ParaView yourself against >> Python 3. >> >> How exactly are you attempting to use the ParaView binary in a Python >> 3.6 environment? >> >> Best, >> Cory >> >> On Fri, Jun 2, 2017 at 5:50 PM, Nicholas Richmond >> wrote: >> > Greetings, >> > >> > First things first, I'm using the most recent (RC3) Win64 ParaView 5.4 >> > binary. I'm working on a project with Python 3.6, and I'm having >> > difficulty >> > importing the paraview.simple module. Attempting to import (from >> > paraview.simple import *) results in the following error: >> > >> > ImportError: dynamic module does not define module export function >> > (PyInit_vtkCommonCorePython) >> > >> > During handling of the above exception, another exception occurred: >> > >> > Traceback (most recent call last): >> > File "", line 1, in >> > File "C:\Program Files\ParaView >> > >> > 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\simple.py", >> > line 43, in >> > from paraview import servermanager >> > File "C:\Program Files\ParaView >> > >> > 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\servermanager.py", >> > line 53, in >> > from paraview import vtk >> > File "C:\Program Files\ParaView >> > >> > 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\vtk\__init__.py", >> > line 7, in >> > from paraview.vtk.vtkCommonCore import * >> > File "C:\Program Files\ParaView >> > >> > 5.4.0-RC3-Qt5-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\vtk\vtkCommonCore.py", >> > line 9, in >> > from vtkCommonCorePython import * >> > ImportError: dynamic module does not define module export function >> > (PyInit_vtkCommonCorePython) >> > >> > I saw this March 10 message from Utkarsh: >> > >> > "Python 3 is supported with 5.3 (except for ParaViewWeb components). We >> > have >> > dashboards testing it too. There still may be some leftovers, so please >> > report if you catch anything that we missed." >> > >> > Does this fall under the category of "please report if you catch >> > anything >> > that we missed" or is it due to a lack of understanding on my part? I've >> > been able to successfully import this module when using a Python 2.7 >> > environment, but I'm trying to stick to Python 3.6. Any insight would be >> > most appreciated. >> > >> > Many thanks, >> > Nick Richmond >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects 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&D Engineer >> Kitware, Inc. > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From b.partridge16 at imperial.ac.uk Wed Jun 7 13:57:35 2017 From: b.partridge16 at imperial.ac.uk (Partridge, Ben D) Date: Wed, 7 Jun 2017 17:57:35 +0000 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: , Message-ID: Hi David Ok great thanks, I assume these filters are on the more recent versions of Paraview? I have just tried installing the most recent version (5.4 Windows) and I'm being hit with a series of error messages. Is there another download that I'm missing? Here are the error messages: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11394800): Shader object was not initialized, cannot attach it. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11393BC0): Shader object was not initialized, cannot attach it. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11395980): Shader object was not initialized, cannot attach it. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ESERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11395980): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: attribute vec4 ndCoordIn; 18: attribute vec2 texCoordIn; 19: varying vec2 texCoord; 20: void main() 21: { 22: gl_Position = ndCoordIn; 23: texCoord = texCoordIn; 24: } ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11395980): Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ESERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11395980): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: attribute vec4 ndCoordIn; 18: attribute vec2 texCoordIn; 19: varying vec2 texCoord; 20: void main() 21: { 22: gl_Position = ndCoordIn; 23: texCoord = texCoordIn; 24: } ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11395980): Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ES Cheers Ben ________________________________ From: David E DeMarle Sent: 07 June 2017 17:57 To: Partridge, Ben D Cc: Cory Quammen; paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation I recommend Filters->PointVolumeInterpolator to make a mesh out of these isolated points so that you have something to isocontour within. On also recommend Enable OSPRay or to change Representation to Point Gaussian to give these points some extent an local normals to make the lighting look better on the point cloud. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D > wrote: Hi Cory Yes certainly, I have attached an Image below. The image shows a section of the bone marrow in 3D. I wish to wrap an Isosurface around this. Thanks Ben ________________________________ From: Cory Quammen > Sent: 07 June 2017 14:01:36 To: Partridge, Ben D Cc: paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation Ben, I'm not sure that I entirely understand your problem. Could you attach a small image showing what you are seeing? That may give me a clue on how to guide you. Thanks, Cory On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D > wrote: > Hi Guys > > > Probably a naive question - but I have the 3D pixel coordinates of a > microscopy image that I wish to reconstruct using paraview, I have loaded > the coordinates in fine and the image is displayed. However,the > re-constructed image looks more like 2D projection of a 3D image as opposed > to looking truly 3D. I was wondering what the easiest way is in which to > create a 3-D Isosurface with shadows/contours etc from my co-ordinate > positions? > > > Many thanks > > Ben > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Wed Jun 7 15:22:04 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 7 Jun 2017 15:22:04 -0400 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: Message-ID: No other download should be necessary. It would seem though that recent ParaView (which uses modern OpenGL capabilities) does not agree with your system's graphics. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jun 7, 2017 at 1:57 PM, Partridge, Ben D < b.partridge16 at imperial.ac.uk> wrote: > Hi David > > > Ok great thanks, I assume these filters are on the more recent versions of > Paraview? I have just tried installing the most recent version (5.4 > Windows) and I'm being hit with a series of error messages. Is there > another download that I'm missing? > > > Here are the error messages: > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be > initialized. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be > initialized. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 453 > > vtkShaderProgram (0000026D11394800): Shader object was not initialized, > cannot attach it. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 453 > > vtkShaderProgram (0000026D11393BC0): Shader object was not initialized, > cannot attach it. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support > the number of textures defined. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support > the number of textures defined. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support > the number of textures defined. > > > Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 > > vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. > Ignoring. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support > the number of textures defined. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 453 > > vtkShaderProgram (0000026D11395980): Shader object was not initialized, > cannot attach it. > > > Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 > > vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. > Ignoring. > > > versionFunctions: Not supported on OpenGL ESERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be > initialized. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support > the number of textures defined. > > > Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 > > vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. > Ignoring. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support > the number of textures defined. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11395980): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: attribute vec4 ndCoordIn; > > 18: attribute vec2 texCoordIn; > > 19: varying vec2 texCoord; > > 20: void main() > > 21: { > > 22: gl_Position = ndCoordIn; > > 23: texCoord = texCoordIn; > > 24: } > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11395980): > > > Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 > > vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. > Ignoring. > > > versionFunctions: Not supported on OpenGL ESERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be > initialized. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: /*========================================================== > =============== > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: ============================================================ > =============*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support > the number of textures defined. > > > Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 > > vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. > Ignoring. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support > the number of textures defined. > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11395980): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: attribute vec4 ndCoordIn; > > 18: attribute vec2 texCoordIn; > > 19: varying vec2 texCoord; > > 20: void main() > > 21: { > > 22: gl_Position = ndCoordIn; > > 23: texCoord = texCoordIn; > > 24: } > > > > ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11395980): > > > Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 > > vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. > Ignoring. > > > versionFunctions: Not supported on OpenGL ES > > > Cheers > > Ben > ------------------------------ > *From:* David E DeMarle > *Sent:* 07 June 2017 17:57 > *To:* Partridge, Ben D > *Cc:* Cory Quammen; paraview at paraview.org > *Subject:* Re: [Paraview] 3D Data Visualisation > > I recommend Filters->PointVolumeInterpolator to make a mesh out of these > isolated points so that you have something to isocontour within. > > On also recommend Enable OSPRay or to change Representation to Point > Gaussian to give these points some extent an local normals to make the > lighting look better on the point cloud. > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D < > b.partridge16 at imperial.ac.uk> wrote: > >> Hi Cory >> >> >> Yes certainly, I have attached an Image below. The image shows a section >> of the bone marrow in 3D. I wish to wrap an Isosurface around this. >> >> >> Thanks >> >> Ben >> ------------------------------ >> *From:* Cory Quammen >> *Sent:* 07 June 2017 14:01:36 >> *To:* Partridge, Ben D >> *Cc:* paraview at paraview.org >> *Subject:* Re: [Paraview] 3D Data Visualisation >> >> Ben, >> >> I'm not sure that I entirely understand your problem. Could you attach >> a small image showing what you are seeing? That may give me a clue on >> how to guide you. >> >> Thanks, >> Cory >> >> On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D >> wrote: >> > Hi Guys >> > >> > >> > Probably a naive question - but I have the 3D pixel coordinates of a >> > microscopy image that I wish to reconstruct using paraview, I have >> loaded >> > the coordinates in fine and the image is displayed. However,the >> > re-constructed image looks more like 2D projection of a 3D image as >> opposed >> > to looking truly 3D. I was wondering what the easiest way is in which to >> > create a 3-D Isosurface with shadows/contours etc from my co-ordinate >> > positions? >> > >> > >> > Many thanks >> > >> > Ben >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects 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&D 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 >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Wed Jun 7 15:29:00 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 7 Jun 2017 15:29:00 -0400 Subject: [Paraview] Coloring isocontour by the coordinates outputted from a Transform filter and some other questions In-Reply-To: References: Message-ID: Shuhao, Welcome to ParaView! On Sun, Jun 4, 2017 at 6:33 PM, Shuhao Wu wrote: > Hello all, > > Is there a way to color an isocontour via the coordinates outputted from a > Transform filter? I'm using the Transform filter to "normalize" my > coordinate systems and I want to display the isocontour colored by the > normalized Y coordinates. Do I have to create yet another Calculator filter > to recalculate the normalized Y value that is already calculated by the > Transform filter? There is currently no direct way to color surfaces by coordinate value. You can, however, add a Calculator after the Transform filter and simply set the expression to coordsY - no recomputation of the normalization is needed. This will copy your normalized Y coordinate values to a new array named "Result", and you can then color the isosurface by "Result". "Result" is just the default name - you can change it however you wish. > Also: is there a way to turn off one axis on the axis grid (so turn off the > Y axis display and leave only X and Z)? Click the Edit button next to the Axes Grid option. Click the gear icon in the top right of the dialog that appears. Under Face Properties, click on the "Faces to Render" combo box. Turn off the sides you do not wish to see by selecting them in the combo box. > What about changing the interval on > the axis itself (instead of incrementing by 100 as it chooses, increment by > 250). In the same dialog described above, check the "X Axis Use Custom Labels", and you can specify exactly the labels you want. There is no property to directly change the increment. Best, Cory > I'm pretty new to Paraview (coming from Tecplot). Please bear with me as I > likely will have more question. > > Thanks, > Shuhao > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. From cory.quammen at kitware.com Wed Jun 7 15:45:08 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 7 Jun 2017 15:45:08 -0400 Subject: [Paraview] Paraview freezes without any error message In-Reply-To: References: Message-ID: Tanja, I believe this problem was fixed in VTK commit: commit 44814f3e51747c9a53e66ba7993805ea496a8882 Author: Shawn Waldon Date: Fri May 5 15:28:43 2017 -0400 vtkDataReader handle file ending in whitespace If a VTK legacy file ended in whitespace without a newline after it, then the reader would enter an infinite loop. Break that loop. This fix is in ParaView 5.4.0. I second Kenichiro's suggestions. Best regards, Cory On Tue, Jun 6, 2017 at 8:55 PM, kenichiro yoshimi wrote: > Hi Tanja, > > This freezing problem with 5.2.0 comes from the last line having no > newline in example.vtk. Could you try to add a new line to the last > line or try the recently released 5.4.0. > > Thanks, > > 2017-06-07 4:01 GMT+09:00 Tanja Gerasimenko : >> Hello! >> >> I'm using Paraview 5.3.0 64-bit installed on Gentoo Linux machine. Starting >> from version 5.2.0 it doesn't display any vtk file. It works fine with an >> example file like test.vtk (downloaded from vtk file format examples) but >> doesn't show any of my own files (example.vtk). All worked fine in previous >> versions. Now Paraview freezes when I push the button "Apply" after opening >> the file. It consumes 100% of CPU (only one core) and doesn't write anything >> to console (when starting from command line). >> Could you please explain me how can I display some debug information to >> understand where is the problem? >> >> Sorry for my bad English >> Tanja >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Wed Jun 7 15:59:43 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 7 Jun 2017 15:59:43 -0400 Subject: [Paraview] using cell data for plot over line In-Reply-To: References: Message-ID: In ParaView 5.4 when I run Plot Over Line with a dataset with cell data, I see what is essentially a piecewise constant function, which is what I would expect: [image: Inline image 1] Each point on the line gets its cell-based data value from the cell that contains it. You will see some interpolation between adjoining points - is this what you were describing. You can set the Line Style to None and select a Marker Style if you wish to remove the connecting lines. HTH, Cory On Mon, Jun 5, 2017 at 10:24 AM, Saideep Pavuluri < Saideep.Pavuluri at pet.hw.ac.uk> wrote: > Hi; > > > > I am trying to use the plot over line utility. > > > > I use OpenFOAM and the field variables are stored at the cell centres. > > > > When I use ?plot over line? the cell data are interpolated to the faces > and then plotted (which masks a few detailed information). > > > > Is there a way to plot the cell data directly without any interpolation? > > > > Thanks; > > SaiD > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 60725 bytes Desc: not available URL: From ard3ride at zoho.com Thu Jun 8 02:28:30 2017 From: ard3ride at zoho.com (MicK7) Date: Thu, 8 Jun 2017 08:28:30 +0200 Subject: [Paraview] Dropping Qt 4 support from ParaView 5.5 onwards In-Reply-To: <5936DBF8.7030908@bluequartz.net> References: <5936DBF8.7030908@bluequartz.net> Message-ID: <99ffa137-4316-40cd-f3c4-97854e9bd601@zoho.com> +1 for qt 5.9 And thanks for the great job on 5.4 release. Mickael PHILIT On 06/06/2017 18:44, Michael Jackson wrote: > +1. > Also I would vote to jump all the way to Qt 5.9 since it is a LTS > release and you can stabilize on Qt 5.9 for the next 3 years at least > where as Qt 5.6 is only supported in a security bug fix from here on > for another 2 years. I don't think Qt is going to add support for > newer operating systems so if something breaks on newer releases of > macOS or Windows Qt made it sound like they would not fix Qt 5.6 > From Francesco.Nigro at ferrari.com Thu Jun 8 04:51:29 2017 From: Francesco.Nigro at ferrari.com (Nigro, Francesco) Date: Thu, 8 Jun 2017 08:51:29 +0000 Subject: [Paraview] lustre benchmark Message-ID: <26599451A6227E4F9D4DF1C3E3F3811BB58CB6@GSVCLU05.ges.ferlan.it> Hi all, Does anyone benchmarked paraview on different filesystems? Does a parallel fs, such as Lustre, really boost performance? Any suggestions about best fs for paraview? Many thanks, fn [Ferrari] ________________________________ Questo messaggio ? da intendersi esclusivamente ad uso del destinatario e pu? contenere informazioni che sono di natura privilegiata, confidenziale o non divulgabile secondo le leggi vigenti. Se il lettore del presente messaggio non ? il destinatario designato, o il dipendente/agente responsabile per la consegna del messaggio al destinatario designato, si informa che ogni disseminazione, distribuzione o copiatura di questa comunicazione ? strettamente proibita anche ai sensi del decreto legislativo 196/03 . Se avete ricevuto questo messaggio per errore, vi preghiamo di notificarcelo immediatamente a mezzo e-mail di risposta e successivamente di procedere alla cancellazione di questa e-mail e relativi allegati dal vostro sistema. ________________________________ This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Jun 8 07:22:09 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 8 Jun 2017 07:22:09 -0400 Subject: [Paraview] Dropping Qt 4 support from ParaView 5.5 onwards In-Reply-To: References: <5936DBF8.7030908@bluequartz.net> <99ffa137-4316-40cd-f3c4-97854e9bd601@zoho.com> Message-ID: +1 for dropping 4 Regarding 5.9 what distros/versions is it not yet readily available on? If nothing major, then +1 as well. On Jun 8, 2017 2:43 AM, "MicK7" wrote: +1 for qt 5.9 And thanks for the great job on 5.4 release. Mickael PHILIT On 06/06/2017 18:44, Michael Jackson wrote: > +1. > Also I would vote to jump all the way to Qt 5.9 since it is a LTS release > and you can stabilize on Qt 5.9 for the next 3 years at least where as Qt > 5.6 is only supported in a security bug fix from here on for another 2 > years. I don't think Qt is going to add support for newer operating systems > so if something breaks on newer releases of macOS or Windows Qt made it > sound like they would not fix Qt 5.6 > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensou rce/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Thu Jun 8 08:02:42 2017 From: ken.martin at kitware.com (Ken Martin) Date: Thu, 8 Jun 2017 08:02:42 -0400 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: Message-ID: You might try ParaView 5.3. For a few windows systems I believe 5.3 will work where 5.4 may not. If you are using windows remote desktop then it will not work, but you might consider alternatives such as vnc or nomachine. On Wed, Jun 7, 2017 at 3:22 PM, David E DeMarle wrote: > No other download should be necessary. It would seem though that recent > ParaView (which uses modern OpenGL capabilities) does not agree with your > system's graphics. > > > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Wed, Jun 7, 2017 at 1:57 PM, Partridge, Ben D < > b.partridge16 at imperial.ac.uk> wrote: > >> Hi David >> >> >> Ok great thanks, I assume these filters are on the more recent versions >> of Paraview? I have just tried installing the most recent version (5.4 >> Windows) and I'm being hit with a series of error messages. Is there >> another download that I'm missing? >> >> >> Here are the error messages: >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 819 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be >> initialized. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 819 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be >> initialized. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 453 >> >> vtkShaderProgram (0000026D11394800): Shader object was not initialized, >> cannot attach it. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11394800): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: //VTK::PositionVC::Dec >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: >> >> 56: // Apple Bug >> >> 57: //VTK::PrimID::Dec >> >> 58: >> >> 59: // Value raster >> >> 60: //VTK::ValuePass::Dec >> >> 61: >> >> 62: void main() >> >> 63: { >> >> 64: //VTK::Color::Impl >> >> 65: >> >> 66: //VTK::Normal::Impl >> >> 67: >> >> 68: //VTK::TCoord::Impl >> >> 69: >> >> 70: //VTK::Clip::Impl >> >> 71: >> >> 72: //VTK::PrimID::Impl >> >> 73: >> >> 74: gl_Position = MCDCMatrix * vertexMC; >> >> 75: >> >> 76: >> >> 77: //VTK::ValuePass::Impl >> >> 78: >> >> 79: //VTK::Light::Impl >> >> 80: } >> >> 81: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11394800): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11394800): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: //VTK::PositionVC::Dec >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: >> >> 56: // Apple Bug >> >> 57: //VTK::PrimID::Dec >> >> 58: >> >> 59: // Value raster >> >> 60: //VTK::ValuePass::Dec >> >> 61: >> >> 62: void main() >> >> 63: { >> >> 64: //VTK::Color::Impl >> >> 65: >> >> 66: //VTK::Normal::Impl >> >> 67: >> >> 68: //VTK::TCoord::Impl >> >> 69: >> >> 70: //VTK::Clip::Impl >> >> 71: >> >> 72: //VTK::PrimID::Impl >> >> 73: >> >> 74: gl_Position = MCDCMatrix * vertexMC; >> >> 75: >> >> 76: >> >> 77: //VTK::ValuePass::Impl >> >> 78: >> >> 79: //VTK::Light::Impl >> >> 80: } >> >> 81: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11394800): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 453 >> >> vtkShaderProgram (0000026D11393BC0): Shader object was not initialized, >> cannot attach it. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 1861 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >> support the number of textures defined. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 1861 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >> support the number of textures defined. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 1861 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >> support the number of textures defined. >> >> >> Generic Warning: In C:\bbd\7cc78367\source-paravie >> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >> >> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >> Ignoring. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 1861 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >> support the number of textures defined. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 453 >> >> vtkShaderProgram (0000026D11395980): Shader object was not initialized, >> cannot attach it. >> >> >> Generic Warning: In C:\bbd\7cc78367\source-paravie >> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >> >> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >> Ignoring. >> >> >> versionFunctions: Not supported on OpenGL ESERROR: In >> C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 819 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be >> initialized. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11394800): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: //VTK::PositionVC::Dec >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: >> >> 56: // Apple Bug >> >> 57: //VTK::PrimID::Dec >> >> 58: >> >> 59: // Value raster >> >> 60: //VTK::ValuePass::Dec >> >> 61: >> >> 62: void main() >> >> 63: { >> >> 64: //VTK::Color::Impl >> >> 65: >> >> 66: //VTK::Normal::Impl >> >> 67: >> >> 68: //VTK::TCoord::Impl >> >> 69: >> >> 70: //VTK::Clip::Impl >> >> 71: >> >> 72: //VTK::PrimID::Impl >> >> 73: >> >> 74: gl_Position = MCDCMatrix * vertexMC; >> >> 75: >> >> 76: >> >> 77: //VTK::ValuePass::Impl >> >> 78: >> >> 79: //VTK::Light::Impl >> >> 80: } >> >> 81: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11394800): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11394800): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: //VTK::PositionVC::Dec >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: >> >> 56: // Apple Bug >> >> 57: //VTK::PrimID::Dec >> >> 58: >> >> 59: // Value raster >> >> 60: //VTK::ValuePass::Dec >> >> 61: >> >> 62: void main() >> >> 63: { >> >> 64: //VTK::Color::Impl >> >> 65: >> >> 66: //VTK::Normal::Impl >> >> 67: >> >> 68: //VTK::TCoord::Impl >> >> 69: >> >> 70: //VTK::Clip::Impl >> >> 71: >> >> 72: //VTK::PrimID::Impl >> >> 73: >> >> 74: gl_Position = MCDCMatrix * vertexMC; >> >> 75: >> >> 76: >> >> 77: //VTK::ValuePass::Impl >> >> 78: >> >> 79: //VTK::Light::Impl >> >> 80: } >> >> 81: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11394800): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11394800): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: //VTK::PositionVC::Dec >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: >> >> 56: // Apple Bug >> >> 57: //VTK::PrimID::Dec >> >> 58: >> >> 59: // Value raster >> >> 60: //VTK::ValuePass::Dec >> >> 61: >> >> 62: void main() >> >> 63: { >> >> 64: //VTK::Color::Impl >> >> 65: >> >> 66: //VTK::Normal::Impl >> >> 67: >> >> 68: //VTK::TCoord::Impl >> >> 69: >> >> 70: //VTK::Clip::Impl >> >> 71: >> >> 72: //VTK::PrimID::Impl >> >> 73: >> >> 74: gl_Position = MCDCMatrix * vertexMC; >> >> 75: >> >> 76: >> >> 77: //VTK::ValuePass::Impl >> >> 78: >> >> 79: //VTK::Light::Impl >> >> 80: } >> >> 81: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11394800): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 1861 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >> support the number of textures defined. >> >> >> Generic Warning: In C:\bbd\7cc78367\source-paravie >> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >> >> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >> Ignoring. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 1861 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >> support the number of textures defined. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11395980): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: attribute vec4 ndCoordIn; >> >> 18: attribute vec2 texCoordIn; >> >> 19: varying vec2 texCoord; >> >> 20: void main() >> >> 21: { >> >> 22: gl_Position = ndCoordIn; >> >> 23: texCoord = texCoordIn; >> >> 24: } >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11395980): >> >> >> Generic Warning: In C:\bbd\7cc78367\source-paravie >> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >> >> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >> Ignoring. >> >> >> versionFunctions: Not supported on OpenGL ESERROR: In >> C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 819 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be >> initialized. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11394800): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: //VTK::PositionVC::Dec >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: >> >> 56: // Apple Bug >> >> 57: //VTK::PrimID::Dec >> >> 58: >> >> 59: // Value raster >> >> 60: //VTK::ValuePass::Dec >> >> 61: >> >> 62: void main() >> >> 63: { >> >> 64: //VTK::Color::Impl >> >> 65: >> >> 66: //VTK::Normal::Impl >> >> 67: >> >> 68: //VTK::TCoord::Impl >> >> 69: >> >> 70: //VTK::Clip::Impl >> >> 71: >> >> 72: //VTK::PrimID::Impl >> >> 73: >> >> 74: gl_Position = MCDCMatrix * vertexMC; >> >> 75: >> >> 76: >> >> 77: //VTK::ValuePass::Impl >> >> 78: >> >> 79: //VTK::Light::Impl >> >> 80: } >> >> 81: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11394800): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11394800): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: //VTK::PositionVC::Dec >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: >> >> 56: // Apple Bug >> >> 57: //VTK::PrimID::Dec >> >> 58: >> >> 59: // Value raster >> >> 60: //VTK::ValuePass::Dec >> >> 61: >> >> 62: void main() >> >> 63: { >> >> 64: //VTK::Color::Impl >> >> 65: >> >> 66: //VTK::Normal::Impl >> >> 67: >> >> 68: //VTK::TCoord::Impl >> >> 69: >> >> 70: //VTK::Clip::Impl >> >> 71: >> >> 72: //VTK::PrimID::Impl >> >> 73: >> >> 74: gl_Position = MCDCMatrix * vertexMC; >> >> 75: >> >> 76: >> >> 77: //VTK::ValuePass::Impl >> >> 78: >> >> 79: //VTK::Light::Impl >> >> 80: } >> >> 81: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11394800): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11394800): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: //VTK::PositionVC::Dec >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: >> >> 56: // Apple Bug >> >> 57: //VTK::PrimID::Dec >> >> 58: >> >> 59: // Value raster >> >> 60: //VTK::ValuePass::Dec >> >> 61: >> >> 62: void main() >> >> 63: { >> >> 64: //VTK::Color::Impl >> >> 65: >> >> 66: //VTK::Normal::Impl >> >> 67: >> >> 68: //VTK::TCoord::Impl >> >> 69: >> >> 70: //VTK::Clip::Impl >> >> 71: >> >> 72: //VTK::PrimID::Impl >> >> 73: >> >> 74: gl_Position = MCDCMatrix * vertexMC; >> >> 75: >> >> 76: >> >> 77: //VTK::ValuePass::Impl >> >> 78: >> >> 79: //VTK::Light::Impl >> >> 80: } >> >> 81: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11394800): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: >> >> 18: /*========================================================== >> =============== >> >> 19: >> >> 20: Program: Visualization Toolkit >> >> 21: Module: vtkPolyDataVS.glsl >> >> 22: >> >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> >> 24: All rights reserved. >> >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> >> 26: >> >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >> >> 29: PURPOSE. See the above copyright notice for more information. >> >> 30: >> >> 31: ============================================================ >> =============*/ >> >> 32: >> >> 33: attribute vec4 vertexMC; >> >> 34: >> >> 35: // frag position in VC >> >> 36: varying vec4 vertexVCVSOutput; >> >> 37: >> >> 38: // optional normal declaration >> >> 39: //VTK::Normal::Dec >> >> 40: >> >> 41: // extra lighting parameters >> >> 42: //VTK::Light::Dec >> >> 43: >> >> 44: // Texture coordinates >> >> 45: //VTK::TCoord::Dec >> >> 46: >> >> 47: // material property values >> >> 48: //VTK::Color::Dec >> >> 49: >> >> 50: // clipping plane vars >> >> 51: //VTK::Clip::Dec >> >> 52: >> >> 53: // camera and actor matrix values >> >> 54: uniform mat4 MCDCMatrix; >> >> 55: uniform mat4 MCVCMatrix; >> >> 56: >> >> 57: // Apple Bug >> >> 58: //VTK::PrimID::Dec >> >> 59: >> >> 60: // Value raster >> >> 61: //VTK::ValuePass::Dec >> >> 62: >> >> 63: void main() >> >> 64: { >> >> 65: //VTK::Color::Impl >> >> 66: >> >> 67: //VTK::Normal::Impl >> >> 68: >> >> 69: //VTK::TCoord::Impl >> >> 70: >> >> 71: //VTK::Clip::Impl >> >> 72: >> >> 73: //VTK::PrimID::Impl >> >> 74: >> >> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >> >> 76: gl_Position = MCDCMatrix * vertexMC; >> >> 77: >> >> 78: >> >> 79: //VTK::ValuePass::Impl >> >> 80: >> >> 81: //VTK::Light::Impl >> >> 82: } >> >> 83: >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11393BC0): >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 1861 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >> support the number of textures defined. >> >> >> Generic Warning: In C:\bbd\7cc78367\source-paravie >> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >> >> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >> Ignoring. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >> line 1861 >> >> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >> support the number of textures defined. >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> >> vtkShaderProgram (0000026D11395980): 1: #version 120 >> >> 2: #ifdef GL_ES >> >> 3: #if __VERSION__ == 300 >> >> 4: #define attribute in >> >> 5: #define varying out >> >> 6: #endif // 300 >> >> 7: #else // GL_ES >> >> 8: #define highp >> >> 9: #define mediump >> >> 10: #define lowp >> >> 11: #if __VERSION__ == 150 >> >> 12: #define attribute in >> >> 13: #define varying out >> >> 14: #endif >> >> 15: #endif // GL_ES >> >> 16: >> >> 17: attribute vec4 ndCoordIn; >> >> 18: attribute vec2 texCoordIn; >> >> 19: varying vec2 texCoord; >> >> 20: void main() >> >> 21: { >> >> 22: gl_Position = ndCoordIn; >> >> 23: texCoord = texCoordIn; >> >> 24: } >> >> >> >> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> >> vtkShaderProgram (0000026D11395980): >> >> >> Generic Warning: In C:\bbd\7cc78367\source-paravie >> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >> >> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >> Ignoring. >> >> >> versionFunctions: Not supported on OpenGL ES >> >> >> Cheers >> >> Ben >> ------------------------------ >> *From:* David E DeMarle >> *Sent:* 07 June 2017 17:57 >> *To:* Partridge, Ben D >> *Cc:* Cory Quammen; paraview at paraview.org >> *Subject:* Re: [Paraview] 3D Data Visualisation >> >> I recommend Filters->PointVolumeInterpolator to make a mesh out of these >> isolated points so that you have something to isocontour within. >> >> On also recommend Enable OSPRay or to change Representation to Point >> Gaussian to give these points some extent an local normals to make the >> lighting look better on the point cloud. >> >> >> David E DeMarle >> Kitware, Inc. >> Principal Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 <(518)%20881-4909> >> >> On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D < >> b.partridge16 at imperial.ac.uk> wrote: >> >>> Hi Cory >>> >>> >>> Yes certainly, I have attached an Image below. The image shows a >>> section of the bone marrow in 3D. I wish to wrap an Isosurface around this. >>> >>> >>> Thanks >>> >>> Ben >>> ------------------------------ >>> *From:* Cory Quammen >>> *Sent:* 07 June 2017 14:01:36 >>> *To:* Partridge, Ben D >>> *Cc:* paraview at paraview.org >>> *Subject:* Re: [Paraview] 3D Data Visualisation >>> >>> Ben, >>> >>> I'm not sure that I entirely understand your problem. Could you attach >>> a small image showing what you are seeing? That may give me a clue on >>> how to guide you. >>> >>> Thanks, >>> Cory >>> >>> On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D >>> wrote: >>> > Hi Guys >>> > >>> > >>> > Probably a naive question - but I have the 3D pixel coordinates of a >>> > microscopy image that I wish to reconstruct using paraview, I have >>> loaded >>> > the coordinates in fine and the image is displayed. However,the >>> > re-constructed image looks more like 2D projection of a 3D image as >>> opposed >>> > to looking truly 3D. I was wondering what the easiest way is in which >>> to >>> > create a 3-D Isosurface with shadows/contours etc from my co-ordinate >>> > positions? >>> > >>> > >>> > Many thanks >>> > >>> > Ben >>> > >>> > >>> > _______________________________________________ >>> > Powered by www.kitware.com >>> > >>> > Visit other Kitware open-source projects 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&D 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 > > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.partridge16 at imperial.ac.uk Thu Jun 8 08:56:39 2017 From: b.partridge16 at imperial.ac.uk (Partridge, Ben D) Date: Thu, 8 Jun 2017 12:56:39 +0000 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: , Message-ID: Ok great, thanks for your input. I have access to another machine within the department so hopeful this will resolve the issue. A couple of final questions: Is there a way to alter the size of an individual data point in paraview? Finally, How would one go about changing the transparency of a set of data points? Many thanks Ben ________________________________ From: Ken Martin Sent: 08 June 2017 13:02:42 To: David E DeMarle Cc: Partridge, Ben D; paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation You might try ParaView 5.3. For a few windows systems I believe 5.3 will work where 5.4 may not. If you are using windows remote desktop then it will not work, but you might consider alternatives such as vnc or nomachine. On Wed, Jun 7, 2017 at 3:22 PM, David E DeMarle > wrote: No other download should be necessary. It would seem though that recent ParaView (which uses modern OpenGL capabilities) does not agree with your system's graphics. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jun 7, 2017 at 1:57 PM, Partridge, Ben D > wrote: Hi David Ok great thanks, I assume these filters are on the more recent versions of Paraview? I have just tried installing the most recent version (5.4 Windows) and I'm being hit with a series of error messages. Is there another download that I'm missing? Here are the error messages: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11394800): Shader object was not initialized, cannot attach it. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11393BC0): Shader object was not initialized, cannot attach it. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11395980): Shader object was not initialized, cannot attach it. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ESERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11395980): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: attribute vec4 ndCoordIn; 18: attribute vec2 texCoordIn; 19: varying vec2 texCoord; 20: void main() 21: { 22: gl_Position = ndCoordIn; 23: texCoord = texCoordIn; 24: } ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11395980): Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ESERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11395980): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: attribute vec4 ndCoordIn; 18: attribute vec2 texCoordIn; 19: varying vec2 texCoord; 20: void main() 21: { 22: gl_Position = ndCoordIn; 23: texCoord = texCoordIn; 24: } ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11395980): Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ES Cheers Ben ________________________________ From: David E DeMarle > Sent: 07 June 2017 17:57 To: Partridge, Ben D Cc: Cory Quammen; paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation I recommend Filters->PointVolumeInterpolator to make a mesh out of these isolated points so that you have something to isocontour within. On also recommend Enable OSPRay or to change Representation to Point Gaussian to give these points some extent an local normals to make the lighting look better on the point cloud. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D > wrote: Hi Cory Yes certainly, I have attached an Image below. The image shows a section of the bone marrow in 3D. I wish to wrap an Isosurface around this. Thanks Ben ________________________________ From: Cory Quammen > Sent: 07 June 2017 14:01:36 To: Partridge, Ben D Cc: paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation Ben, I'm not sure that I entirely understand your problem. Could you attach a small image showing what you are seeing? That may give me a clue on how to guide you. Thanks, Cory On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D > wrote: > Hi Guys > > > Probably a naive question - but I have the 3D pixel coordinates of a > microscopy image that I wish to reconstruct using paraview, I have loaded > the coordinates in fine and the image is displayed. However,the > re-constructed image looks more like 2D projection of a 3D image as opposed > to looking truly 3D. I was wondering what the easiest way is in which to > create a 3-D Isosurface with shadows/contours etc from my co-ordinate > positions? > > > Many thanks > > Ben > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D 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 -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Jun 8 09:15:49 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 8 Jun 2017 09:15:49 -0400 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: Message-ID: With both Point Gaussian and OSPRay, look for "Scale Array" on the advanced (gear icon or search) Properties tab. They let you assign a radius transfer function based on any scalar array. With Point Gaussian there is also an "Opacity Array" which similarly controls the opacity. If you file a feature request, at some point I'll remember to enable that in OSPRay too. You can do similar things with the Glyph filter's Scaling Mode and the standard color transfer function, but that will be vastly less efficient because it makes lots of geometry to represent each sphere rather than working at the renderer level. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 <(518)%20881-4909> On Thu, Jun 8, 2017 at 8:56 AM, Partridge, Ben D < b.partridge16 at imperial.ac.uk> wrote: > Ok great, thanks for your input. I have access to another machine within > the department so hopeful this will resolve the issue. > > > A couple of final questions: > > > Is there a way to alter the size of an individual data point in paraview? > > Finally, How would one go about changing the transparency of a set of data > points? > > > Many thanks > > Ben > ------------------------------ > *From:* Ken Martin > *Sent:* 08 June 2017 13:02:42 > *To:* David E DeMarle > *Cc:* Partridge, Ben D; paraview at paraview.org > *Subject:* Re: [Paraview] 3D Data Visualisation > > You might try ParaView 5.3. For a few windows systems I believe 5.3 will > work where 5.4 may not. If you are using windows remote desktop then it > will not work, but you might consider alternatives such as vnc or nomachine. > > On Wed, Jun 7, 2017 at 3:22 PM, David E DeMarle > wrote: > >> No other download should be necessary. It would seem though that recent >> ParaView (which uses modern OpenGL capabilities) does not agree with your >> system's graphics. >> >> >> >> >> David E DeMarle >> Kitware, Inc. >> Principal Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 <(518)%20881-4909> >> >> On Wed, Jun 7, 2017 at 1:57 PM, Partridge, Ben D < >> b.partridge16 at imperial.ac.uk> wrote: >> >>> Hi David >>> >>> >>> Ok great thanks, I assume these filters are on the more recent versions >>> of Paraview? I have just tried installing the most recent version (5.4 >>> Windows) and I'm being hit with a series of error messages. Is there >>> another download that I'm missing? >>> >>> >>> Here are the error messages: >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 819 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be >>> initialized. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 819 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be >>> initialized. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 453 >>> >>> vtkShaderProgram (0000026D11394800): Shader object was not initialized, >>> cannot attach it. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11394800): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: //VTK::PositionVC::Dec >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: >>> >>> 56: // Apple Bug >>> >>> 57: //VTK::PrimID::Dec >>> >>> 58: >>> >>> 59: // Value raster >>> >>> 60: //VTK::ValuePass::Dec >>> >>> 61: >>> >>> 62: void main() >>> >>> 63: { >>> >>> 64: //VTK::Color::Impl >>> >>> 65: >>> >>> 66: //VTK::Normal::Impl >>> >>> 67: >>> >>> 68: //VTK::TCoord::Impl >>> >>> 69: >>> >>> 70: //VTK::Clip::Impl >>> >>> 71: >>> >>> 72: //VTK::PrimID::Impl >>> >>> 73: >>> >>> 74: gl_Position = MCDCMatrix * vertexMC; >>> >>> 75: >>> >>> 76: >>> >>> 77: //VTK::ValuePass::Impl >>> >>> 78: >>> >>> 79: //VTK::Light::Impl >>> >>> 80: } >>> >>> 81: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11394800): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11394800): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: //VTK::PositionVC::Dec >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: >>> >>> 56: // Apple Bug >>> >>> 57: //VTK::PrimID::Dec >>> >>> 58: >>> >>> 59: // Value raster >>> >>> 60: //VTK::ValuePass::Dec >>> >>> 61: >>> >>> 62: void main() >>> >>> 63: { >>> >>> 64: //VTK::Color::Impl >>> >>> 65: >>> >>> 66: //VTK::Normal::Impl >>> >>> 67: >>> >>> 68: //VTK::TCoord::Impl >>> >>> 69: >>> >>> 70: //VTK::Clip::Impl >>> >>> 71: >>> >>> 72: //VTK::PrimID::Impl >>> >>> 73: >>> >>> 74: gl_Position = MCDCMatrix * vertexMC; >>> >>> 75: >>> >>> 76: >>> >>> 77: //VTK::ValuePass::Impl >>> >>> 78: >>> >>> 79: //VTK::Light::Impl >>> >>> 80: } >>> >>> 81: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11394800): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 453 >>> >>> vtkShaderProgram (0000026D11393BC0): Shader object was not initialized, >>> cannot attach it. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 1861 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >>> support the number of textures defined. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 1861 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >>> support the number of textures defined. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 1861 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >>> support the number of textures defined. >>> >>> >>> Generic Warning: In C:\bbd\7cc78367\source-paravie >>> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >>> >>> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >>> Ignoring. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 1861 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >>> support the number of textures defined. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 453 >>> >>> vtkShaderProgram (0000026D11395980): Shader object was not initialized, >>> cannot attach it. >>> >>> >>> Generic Warning: In C:\bbd\7cc78367\source-paravie >>> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >>> >>> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >>> Ignoring. >>> >>> >>> versionFunctions: Not supported on OpenGL ESERROR: In >>> C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 819 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be >>> initialized. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11394800): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: //VTK::PositionVC::Dec >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: >>> >>> 56: // Apple Bug >>> >>> 57: //VTK::PrimID::Dec >>> >>> 58: >>> >>> 59: // Value raster >>> >>> 60: //VTK::ValuePass::Dec >>> >>> 61: >>> >>> 62: void main() >>> >>> 63: { >>> >>> 64: //VTK::Color::Impl >>> >>> 65: >>> >>> 66: //VTK::Normal::Impl >>> >>> 67: >>> >>> 68: //VTK::TCoord::Impl >>> >>> 69: >>> >>> 70: //VTK::Clip::Impl >>> >>> 71: >>> >>> 72: //VTK::PrimID::Impl >>> >>> 73: >>> >>> 74: gl_Position = MCDCMatrix * vertexMC; >>> >>> 75: >>> >>> 76: >>> >>> 77: //VTK::ValuePass::Impl >>> >>> 78: >>> >>> 79: //VTK::Light::Impl >>> >>> 80: } >>> >>> 81: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11394800): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11394800): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: //VTK::PositionVC::Dec >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: >>> >>> 56: // Apple Bug >>> >>> 57: //VTK::PrimID::Dec >>> >>> 58: >>> >>> 59: // Value raster >>> >>> 60: //VTK::ValuePass::Dec >>> >>> 61: >>> >>> 62: void main() >>> >>> 63: { >>> >>> 64: //VTK::Color::Impl >>> >>> 65: >>> >>> 66: //VTK::Normal::Impl >>> >>> 67: >>> >>> 68: //VTK::TCoord::Impl >>> >>> 69: >>> >>> 70: //VTK::Clip::Impl >>> >>> 71: >>> >>> 72: //VTK::PrimID::Impl >>> >>> 73: >>> >>> 74: gl_Position = MCDCMatrix * vertexMC; >>> >>> 75: >>> >>> 76: >>> >>> 77: //VTK::ValuePass::Impl >>> >>> 78: >>> >>> 79: //VTK::Light::Impl >>> >>> 80: } >>> >>> 81: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11394800): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11394800): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: //VTK::PositionVC::Dec >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: >>> >>> 56: // Apple Bug >>> >>> 57: //VTK::PrimID::Dec >>> >>> 58: >>> >>> 59: // Value raster >>> >>> 60: //VTK::ValuePass::Dec >>> >>> 61: >>> >>> 62: void main() >>> >>> 63: { >>> >>> 64: //VTK::Color::Impl >>> >>> 65: >>> >>> 66: //VTK::Normal::Impl >>> >>> 67: >>> >>> 68: //VTK::TCoord::Impl >>> >>> 69: >>> >>> 70: //VTK::Clip::Impl >>> >>> 71: >>> >>> 72: //VTK::PrimID::Impl >>> >>> 73: >>> >>> 74: gl_Position = MCDCMatrix * vertexMC; >>> >>> 75: >>> >>> 76: >>> >>> 77: //VTK::ValuePass::Impl >>> >>> 78: >>> >>> 79: //VTK::Light::Impl >>> >>> 80: } >>> >>> 81: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11394800): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 1861 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >>> support the number of textures defined. >>> >>> >>> Generic Warning: In C:\bbd\7cc78367\source-paravie >>> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >>> >>> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >>> Ignoring. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 1861 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >>> support the number of textures defined. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11395980): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: attribute vec4 ndCoordIn; >>> >>> 18: attribute vec2 texCoordIn; >>> >>> 19: varying vec2 texCoord; >>> >>> 20: void main() >>> >>> 21: { >>> >>> 22: gl_Position = ndCoordIn; >>> >>> 23: texCoord = texCoordIn; >>> >>> 24: } >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11395980): >>> >>> >>> Generic Warning: In C:\bbd\7cc78367\source-paravie >>> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >>> >>> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >>> Ignoring. >>> >>> >>> versionFunctions: Not supported on OpenGL ESERROR: In >>> C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 819 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be >>> initialized. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11394800): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: //VTK::PositionVC::Dec >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: >>> >>> 56: // Apple Bug >>> >>> 57: //VTK::PrimID::Dec >>> >>> 58: >>> >>> 59: // Value raster >>> >>> 60: //VTK::ValuePass::Dec >>> >>> 61: >>> >>> 62: void main() >>> >>> 63: { >>> >>> 64: //VTK::Color::Impl >>> >>> 65: >>> >>> 66: //VTK::Normal::Impl >>> >>> 67: >>> >>> 68: //VTK::TCoord::Impl >>> >>> 69: >>> >>> 70: //VTK::Clip::Impl >>> >>> 71: >>> >>> 72: //VTK::PrimID::Impl >>> >>> 73: >>> >>> 74: gl_Position = MCDCMatrix * vertexMC; >>> >>> 75: >>> >>> 76: >>> >>> 77: //VTK::ValuePass::Impl >>> >>> 78: >>> >>> 79: //VTK::Light::Impl >>> >>> 80: } >>> >>> 81: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11394800): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11394800): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: //VTK::PositionVC::Dec >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: >>> >>> 56: // Apple Bug >>> >>> 57: //VTK::PrimID::Dec >>> >>> 58: >>> >>> 59: // Value raster >>> >>> 60: //VTK::ValuePass::Dec >>> >>> 61: >>> >>> 62: void main() >>> >>> 63: { >>> >>> 64: //VTK::Color::Impl >>> >>> 65: >>> >>> 66: //VTK::Normal::Impl >>> >>> 67: >>> >>> 68: //VTK::TCoord::Impl >>> >>> 69: >>> >>> 70: //VTK::Clip::Impl >>> >>> 71: >>> >>> 72: //VTK::PrimID::Impl >>> >>> 73: >>> >>> 74: gl_Position = MCDCMatrix * vertexMC; >>> >>> 75: >>> >>> 76: >>> >>> 77: //VTK::ValuePass::Impl >>> >>> 78: >>> >>> 79: //VTK::Light::Impl >>> >>> 80: } >>> >>> 81: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11394800): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11394800): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: //VTK::PositionVC::Dec >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: >>> >>> 56: // Apple Bug >>> >>> 57: //VTK::PrimID::Dec >>> >>> 58: >>> >>> 59: // Value raster >>> >>> 60: //VTK::ValuePass::Dec >>> >>> 61: >>> >>> 62: void main() >>> >>> 63: { >>> >>> 64: //VTK::Color::Impl >>> >>> 65: >>> >>> 66: //VTK::Normal::Impl >>> >>> 67: >>> >>> 68: //VTK::TCoord::Impl >>> >>> 69: >>> >>> 70: //VTK::Clip::Impl >>> >>> 71: >>> >>> 72: //VTK::PrimID::Impl >>> >>> 73: >>> >>> 74: gl_Position = MCDCMatrix * vertexMC; >>> >>> 75: >>> >>> 76: >>> >>> 77: //VTK::ValuePass::Impl >>> >>> 78: >>> >>> 79: //VTK::Light::Impl >>> >>> 80: } >>> >>> 81: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11394800): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11393BC0): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: >>> >>> 18: /*========================================================== >>> =============== >>> >>> 19: >>> >>> 20: Program: Visualization Toolkit >>> >>> 21: Module: vtkPolyDataVS.glsl >>> >>> 22: >>> >>> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >>> >>> 24: All rights reserved. >>> >>> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >>> details. >>> >>> 26: >>> >>> 27: This software is distributed WITHOUT ANY WARRANTY; without even >>> >>> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> 29: PURPOSE. See the above copyright notice for more information. >>> >>> 30: >>> >>> 31: ============================================================ >>> =============*/ >>> >>> 32: >>> >>> 33: attribute vec4 vertexMC; >>> >>> 34: >>> >>> 35: // frag position in VC >>> >>> 36: varying vec4 vertexVCVSOutput; >>> >>> 37: >>> >>> 38: // optional normal declaration >>> >>> 39: //VTK::Normal::Dec >>> >>> 40: >>> >>> 41: // extra lighting parameters >>> >>> 42: //VTK::Light::Dec >>> >>> 43: >>> >>> 44: // Texture coordinates >>> >>> 45: //VTK::TCoord::Dec >>> >>> 46: >>> >>> 47: // material property values >>> >>> 48: //VTK::Color::Dec >>> >>> 49: >>> >>> 50: // clipping plane vars >>> >>> 51: //VTK::Clip::Dec >>> >>> 52: >>> >>> 53: // camera and actor matrix values >>> >>> 54: uniform mat4 MCDCMatrix; >>> >>> 55: uniform mat4 MCVCMatrix; >>> >>> 56: >>> >>> 57: // Apple Bug >>> >>> 58: //VTK::PrimID::Dec >>> >>> 59: >>> >>> 60: // Value raster >>> >>> 61: //VTK::ValuePass::Dec >>> >>> 62: >>> >>> 63: void main() >>> >>> 64: { >>> >>> 65: //VTK::Color::Impl >>> >>> 66: >>> >>> 67: //VTK::Normal::Impl >>> >>> 68: >>> >>> 69: //VTK::TCoord::Impl >>> >>> 70: >>> >>> 71: //VTK::Clip::Impl >>> >>> 72: >>> >>> 73: //VTK::PrimID::Impl >>> >>> 74: >>> >>> 75: vertexVCVSOutput = MCVCMatrix * vertexMC; >>> >>> 76: gl_Position = MCDCMatrix * vertexMC; >>> >>> 77: >>> >>> 78: >>> >>> 79: //VTK::ValuePass::Impl >>> >>> 80: >>> >>> 81: //VTK::Light::Impl >>> >>> 82: } >>> >>> 83: >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11393BC0): >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 1861 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >>> support the number of textures defined. >>> >>> >>> Generic Warning: In C:\bbd\7cc78367\source-paravie >>> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >>> >>> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >>> Ignoring. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, >>> line 1861 >>> >>> vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not >>> support the number of textures defined. >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 408 >>> >>> vtkShaderProgram (0000026D11395980): 1: #version 120 >>> >>> 2: #ifdef GL_ES >>> >>> 3: #if __VERSION__ == 300 >>> >>> 4: #define attribute in >>> >>> 5: #define varying out >>> >>> 6: #endif // 300 >>> >>> 7: #else // GL_ES >>> >>> 8: #define highp >>> >>> 9: #define mediump >>> >>> 10: #define lowp >>> >>> 11: #if __VERSION__ == 150 >>> >>> 12: #define attribute in >>> >>> 13: #define varying out >>> >>> 14: #endif >>> >>> 15: #endif // GL_ES >>> >>> 16: >>> >>> 17: attribute vec4 ndCoordIn; >>> >>> 18: attribute vec2 texCoordIn; >>> >>> 19: varying vec2 texCoord; >>> >>> 20: void main() >>> >>> 21: { >>> >>> 22: gl_Position = ndCoordIn; >>> >>> 23: texCoord = texCoordIn; >>> >>> 24: } >>> >>> >>> >>> ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >>> line 409 >>> >>> vtkShaderProgram (0000026D11395980): >>> >>> >>> Generic Warning: In C:\bbd\7cc78367\source-paravie >>> w\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 >>> >>> vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. >>> Ignoring. >>> >>> >>> versionFunctions: Not supported on OpenGL ES >>> >>> >>> Cheers >>> >>> Ben >>> ------------------------------ >>> *From:* David E DeMarle >>> *Sent:* 07 June 2017 17:57 >>> *To:* Partridge, Ben D >>> *Cc:* Cory Quammen; paraview at paraview.org >>> *Subject:* Re: [Paraview] 3D Data Visualisation >>> >>> I recommend Filters->PointVolumeInterpolator to make a mesh out of >>> these isolated points so that you have something to isocontour within. >>> >>> On also recommend Enable OSPRay or to change Representation to Point >>> Gaussian to give these points some extent an local normals to make the >>> lighting look better on the point cloud. >>> >>> >>> David E DeMarle >>> Kitware, Inc. >>> Principal Engineer >>> 21 Corporate Drive >>> Clifton Park, NY 12065-8662 >>> Phone: 518-881-4909 <(518)%20881-4909> >>> >>> On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D < >>> b.partridge16 at imperial.ac.uk> wrote: >>> >>>> Hi Cory >>>> >>>> >>>> Yes certainly, I have attached an Image below. The image shows a >>>> section of the bone marrow in 3D. I wish to wrap an Isosurface around this. >>>> >>>> >>>> Thanks >>>> >>>> Ben >>>> ------------------------------ >>>> *From:* Cory Quammen >>>> *Sent:* 07 June 2017 14:01:36 >>>> *To:* Partridge, Ben D >>>> *Cc:* paraview at paraview.org >>>> *Subject:* Re: [Paraview] 3D Data Visualisation >>>> >>>> Ben, >>>> >>>> I'm not sure that I entirely understand your problem. Could you attach >>>> a small image showing what you are seeing? That may give me a clue on >>>> how to guide you. >>>> >>>> Thanks, >>>> Cory >>>> >>>> On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D >>>> wrote: >>>> > Hi Guys >>>> > >>>> > >>>> > Probably a naive question - but I have the 3D pixel coordinates of a >>>> > microscopy image that I wish to reconstruct using paraview, I have >>>> loaded >>>> > the coordinates in fine and the image is displayed. However,the >>>> > re-constructed image looks more like 2D projection of a 3D image as >>>> opposed >>>> > to looking truly 3D. I was wondering what the easiest way is in which >>>> to >>>> > create a 3-D Isosurface with shadows/contours etc from my co-ordinate >>>> > positions? >>>> > >>>> > >>>> > Many thanks >>>> > >>>> > Ben >>>> > >>>> > >>>> > _______________________________________________ >>>> > Powered by www.kitware.com >>>> > >>>> > Visit other Kitware open-source projects 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&D 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 >> >> > > > -- > Ken Martin PhD > Distinguished Engineer > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > > 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Jun 8 09:43:19 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 8 Jun 2017 09:43:19 -0400 Subject: [Paraview] lustre benchmark In-Reply-To: <26599451A6227E4F9D4DF1C3E3F3811BB58CB6@GSVCLU05.ges.ferlan.it> References: <26599451A6227E4F9D4DF1C3E3F3811BB58CB6@GSVCLU05.ges.ferlan.it> Message-ID: On Thu, Jun 8, 2017 at 4:51 AM, Nigro, Francesco < Francesco.Nigro at ferrari.com> wrote: > Hi all, > > Does anyone benchmarked paraview on different filesystems? > > I don't know the answer to that but would be interested in the results. > > > Does a parallel fs, such as Lustre, really boost performance? > > Emphatically yes, with the caveat that the data has to be large, and the format must be one that we have a parallel aware reader for. If the data is small or every node has to read the same portions then performance will be bad in parallel regardless and the PFS can make it worse. > > > Any suggestions about best fs for paraview? > > No opinion here. Lustre seems to be standard on most large machines. > > > Many thanks, > > fn > > [image: Ferrari] > ------------------------------ > > Questo messaggio ? da intendersi esclusivamente ad uso del destinatario e > pu? contenere informazioni che sono di natura privilegiata, confidenziale o > non divulgabile secondo le leggi vigenti. Se il lettore del presente > messaggio non ? il destinatario designato, o il dipendente/agente > responsabile per la consegna del messaggio al destinatario designato, si > informa che ogni disseminazione, distribuzione o copiatura di questa > comunicazione ? strettamente proibita anche ai sensi del decreto > legislativo 196/03 . Se avete ricevuto questo messaggio per errore, vi > preghiamo di notificarcelo immediatamente a mezzo e-mail di risposta e > successivamente di procedere alla cancellazione di questa e-mail e relativi > allegati dal vostro sistema. > ------------------------------ > > This message is intended only for the use of the addressee and may contain > information that is privileged, confidential and exempt from disclosure > under applicable law. If the reader of this message is not the intended > recipient, or the employee or agent responsible for delivering the message > to the intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. If > you have received this e-mail in error, please notify us immediately by > return e-mail and delete this e-mail and all attachments from your system. > ------------------------------ > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Jun 8 11:15:29 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 8 Jun 2017 11:15:29 -0400 Subject: [Paraview] Method to Clip Sources & View Closed Volumes? In-Reply-To: References: Message-ID: Joel, Alas, there is nothing built in to ParaView to do this. It's possible that Computational Model Builder (http://www.computationalmodelbuilder.org/), which is based on ParaView, better supports your use case, but I'm not familiar enough with it to say so for sure. Best regards, Cory On Sat, Jun 3, 2017 at 7:34 PM, Joel Kulesza wrote: > Cory, > > Thanks for the reply. Indeed, that's what I suspected was the case and > it's all reasonable. I was just hoping there might be a way to set a > preference (or another mechanism) so that when a user applied "clip" it > would perform the manipulations necessary to "see" the interior as a solid > region. > > I tried applying the Deluanay3D filter to my sphere (80 theta & 80 phi > segments) and got a broken triangularization. For more complicated shapes, > I'm concerned I'll have a similar result. > > Perhaps asking my question another way: is there a recommended approach to > converting constructive solid geometry (CSG, which is effectively only > concerned with boundaries) to something that could be viewed in ParaView > with filters like "clip" meaningfully applied to see the interior regions > (because the end-user may be interested in that internal structure). For > example, if I had several nested spherical shells defined with CSG, I'd > like to clip them and see those shells and not just the surfaces between > them. > > Thanks, > Joel > > On Sat, Jun 3, 2017 at 1:56 PM, Cory Quammen > wrote: > >> Joel, >> >> What you are seeing with the clipped sphere is indeed the clipped >> polygonal data from the sphere source. The sphere source does not >> produce volumetric cells inside the surface that you see, so there are >> no internal cells that would be clipped and produce the filled >> appearance you are after. >> >> I'm betting the VTK dataset you viewed has volumetric cells. In that >> case, you will see the surface of the clipped volumetric cells. >> >> You would need to fill the interior of polygonal datasets with >> volumetric cells through some kind of meshing procedure. In ParaView, >> that is pretty much limited to the Delaunay 3D filter, and it works >> fine if your polygonal dataset defines a convex volume. But there is >> no option to set that will do this automatically. >> >> - Cory >> >> On Sat, Jun 3, 2017 at 9:08 AM, Joel Kulesza wrote: >> > Colleagues, >> > >> > Is there an option I'm not finding that would allow me to continually >> render >> > sources as solid volumes rather than shells? >> > >> > For example, if I plot a VTK data set and "clip" it, I see all internal >> > structure (because there is some). >> > >> > However, if I plot a Sphere and "clip" it, I see a spherical shell (see >> > attached). I understand why this is, but I'd prefer to have the shell >> > capped so I have what appears to be a solid hemisphere. >> > >> > Any thoughts you can provide are appreciated! >> > >> > Thank you, >> > Joel >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects 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&D Engineer >> Kitware, Inc. >> > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Thu Jun 8 11:44:22 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Thu, 8 Jun 2017 09:44:22 -0600 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: Message-ID: <8ed93bd1-b846-7736-7b56-2697e3a0df30@bresnan.net> Ben, If you know ahead of time which Points you want to be prominent in the display, in your results output make them a separately displayable graphics object. You can then change their color and size to whatever you want. I don't know how to change the Transparency of a point? Hope this helps. Sam Key On 6/8/2017 6:56 AM, Partridge, Ben D wrote: > > Ok great, thanks for your input. I have access to another machine > within the department so hopeful this will resolve the issue. > > > A couple of final questions: > > > Is there a way to alter the size of an individual data point in paraview? > > Finally, How would one go about changing the transparency of a set of > data points? > > > Many thanks > > Ben > > ------------------------------------------------------------------------ > *From:* Ken Martin > *Sent:* 08 June 2017 13:02:42 > *To:* David E DeMarle > *Cc:* Partridge, Ben D; paraview at paraview.org > *Subject:* Re: [Paraview] 3D Data Visualisation > You might try ParaView 5.3. For a few windows systems I believe 5.3 > will work where 5.4 may not. If you are using windows remote desktop > then it will not work, but you might consider alternatives such as vnc > or nomachine. > > On Wed, Jun 7, 2017 at 3:22 PM, David E DeMarle > > wrote: > > No other download should be necessary. It would seem though that > recent ParaView (which uses modern OpenGL capabilities) does not > agree with your system's graphics. > > > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Wed, Jun 7, 2017 at 1:57 PM, Partridge, Ben D > > wrote: > > Hi David > > > Ok great thanks, I assume these filters are on the more recent > versions of Paraview? I have just tried installing the most > recent version (5.4 Windows) and I'm being hit with a series > of error messages. Is there another download that I'm missing? > > > Here are the error messages: > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 819 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could > not be initialized. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 819 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could > not be initialized. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 453 > > vtkShaderProgram (0000026D11394800): Shader object was not > initialized, cannot attach it. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 453 > > vtkShaderProgram (0000026D11393BC0): Shader object was not > initialized, cannot attach it. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does > not support the number of textures defined. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does > not support the number of textures defined. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does > not support the number of textures defined. > > > Generic Warning: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, > line 104 > > vtkOpenGLRenderTimer::Stop called before > vtkOpenGLRenderTimer::Start. Ignoring. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does > not support the number of textures defined. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 453 > > vtkShaderProgram (0000026D11395980): Shader object was not > initialized, cannot attach it. > > > Generic Warning: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, > line 104 > > vtkOpenGLRenderTimer::Stop called before > vtkOpenGLRenderTimer::Start. Ignoring. > > > versionFunctions: Not supported on OpenGL ESERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 819 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could > not be initialized. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does > not support the number of textures defined. > > > Generic Warning: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, > line 104 > > vtkOpenGLRenderTimer::Stop called before > vtkOpenGLRenderTimer::Start. Ignoring. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does > not support the number of textures defined. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11395980): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: attribute vec4 ndCoordIn; > > 18: attribute vec2 texCoordIn; > > 19: varying vec2 texCoord; > > 20: void main() > > 21: { > > 22: gl_Position = ndCoordIn; > > 23: texCoord = texCoordIn; > > 24: } > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11395980): > > > Generic Warning: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, > line 104 > > vtkOpenGLRenderTimer::Stop called before > vtkOpenGLRenderTimer::Start. Ignoring. > > > versionFunctions: Not supported on OpenGL ESERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 819 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could > not be initialized. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11394800): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: //VTK::PositionVC::Dec > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: > > 56: // Apple Bug > > 57: //VTK::PrimID::Dec > > 58: > > 59: // Value raster > > 60: //VTK::ValuePass::Dec > > 61: > > 62: void main() > > 63: { > > 64: //VTK::Color::Impl > > 65: > > 66: //VTK::Normal::Impl > > 67: > > 68: //VTK::TCoord::Impl > > 69: > > 70: //VTK::Clip::Impl > > 71: > > 72: //VTK::PrimID::Impl > > 73: > > 74: gl_Position = MCDCMatrix * vertexMC; > > 75: > > 76: > > 77: //VTK::ValuePass::Impl > > 78: > > 79: //VTK::Light::Impl > > 80: } > > 81: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11394800): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11393BC0): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: > > 18: > /*========================================================================= > > 19: > > 20: Program: Visualization Toolkit > > 21: Module: vtkPolyDataVS.glsl > > 22: > > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > 24: All rights reserved. > > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm > for details. > > 26: > > 27: This software is distributed WITHOUT ANY WARRANTY; without > even > > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > > 29: PURPOSE. See the above copyright notice for more information. > > 30: > > 31: > =========================================================================*/ > > 32: > > 33: attribute vec4 vertexMC; > > 34: > > 35: // frag position in VC > > 36: varying vec4 vertexVCVSOutput; > > 37: > > 38: // optional normal declaration > > 39: //VTK::Normal::Dec > > 40: > > 41: // extra lighting parameters > > 42: //VTK::Light::Dec > > 43: > > 44: // Texture coordinates > > 45: //VTK::TCoord::Dec > > 46: > > 47: // material property values > > 48: //VTK::Color::Dec > > 49: > > 50: // clipping plane vars > > 51: //VTK::Clip::Dec > > 52: > > 53: // camera and actor matrix values > > 54: uniform mat4 MCDCMatrix; > > 55: uniform mat4 MCVCMatrix; > > 56: > > 57: // Apple Bug > > 58: //VTK::PrimID::Dec > > 59: > > 60: // Value raster > > 61: //VTK::ValuePass::Dec > > 62: > > 63: void main() > > 64: { > > 65: //VTK::Color::Impl > > 66: > > 67: //VTK::Normal::Impl > > 68: > > 69: //VTK::TCoord::Impl > > 70: > > 71: //VTK::Clip::Impl > > 72: > > 73: //VTK::PrimID::Impl > > 74: > > 75: vertexVCVSOutput = MCVCMatrix * vertexMC; > > 76: gl_Position = MCDCMatrix * vertexMC; > > 77: > > 78: > > 79: //VTK::ValuePass::Impl > > 80: > > 81: //VTK::Light::Impl > > 82: } > > 83: > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11393BC0): > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does > not support the number of textures defined. > > > Generic Warning: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, > line 104 > > vtkOpenGLRenderTimer::Stop called before > vtkOpenGLRenderTimer::Start. Ignoring. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, > line 1861 > > vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does > not support the number of textures defined. > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > > vtkShaderProgram (0000026D11395980): 1: #version 120 > > 2: #ifdef GL_ES > > 3: #if __VERSION__ == 300 > > 4: #define attribute in > > 5: #define varying out > > 6: #endif // 300 > > 7: #else // GL_ES > > 8: #define highp > > 9: #define mediump > > 10: #define lowp > > 11: #if __VERSION__ == 150 > > 12: #define attribute in > > 13: #define varying out > > 14: #endif > > 15: #endif // GL_ES > > 16: > > 17: attribute vec4 ndCoordIn; > > 18: attribute vec2 texCoordIn; > > 19: varying vec2 texCoord; > > 20: void main() > > 21: { > > 22: gl_Position = ndCoordIn; > > 23: texCoord = texCoordIn; > > 24: } > > > > ERROR: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > > vtkShaderProgram (0000026D11395980): > > > Generic Warning: In > C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, > line 104 > > vtkOpenGLRenderTimer::Stop called before > vtkOpenGLRenderTimer::Start. Ignoring. > > > versionFunctions: Not supported on OpenGL ES > > > > Cheers > > Ben > > ------------------------------------------------------------------------ > *From:* David E DeMarle > > *Sent:* 07 June 2017 17:57 > *To:* Partridge, Ben D > *Cc:* Cory Quammen; paraview at paraview.org > > *Subject:* Re: [Paraview] 3D Data Visualisation > I recommend Filters->PointVolumeInterpolator to make a mesh > out of these isolated points so that you have something to > isocontour within. > > On also recommend Enable OSPRay or to change Representation to > Point Gaussian to give these points some extent an local > normals to make the lighting look better on the point cloud. > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D > > wrote: > > Hi Cory > > > Yes certainly, I have attached an Image below. The > image shows a section of the bone marrow in 3D. I wish to > wrap an Isosurface around this. > > > Thanks > > Ben > > ------------------------------------------------------------------------ > *From:* Cory Quammen > > *Sent:* 07 June 2017 14:01:36 > *To:* Partridge, Ben D > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] 3D Data Visualisation > Ben, > > I'm not sure that I entirely understand your problem. > Could you attach > a small image showing what you are seeing? That may give > me a clue on > how to guide you. > > Thanks, > Cory > > On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D > > wrote: > > Hi Guys > > > > > > Probably a naive question - but I have the 3D pixel > coordinates of a > > microscopy image that I wish to reconstruct using > paraview, I have loaded > > the coordinates in fine and the image is displayed. > However,the > > re-constructed image looks more like 2D projection of a > 3D image as opposed > > to looking truly 3D. I was wondering what the easiest > way is in which to > > create a 3-D Isosurface with shadows/contours etc from > my co-ordinate > > positions? > > > > > > Many thanks > > > > Ben > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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&D 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 > > > > > > -- > Ken Martin PhD > Distinguished Engineer > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.oleary at kitware.com Thu Jun 8 14:58:47 2017 From: patrick.oleary at kitware.com (Patrick O'Leary) Date: Thu, 8 Jun 2017 12:58:47 -0600 Subject: [Paraview] CFP: 3rd Annual Workshop on In Situ Infrastructures for Enabling Extreme-Scale Analysis and Visualization (ISAV 2017) Message-ID: In cooperation with SIGHPC and held in conjunction with SC16: The International Conference on High Performance Computing, Networking, Storage and Analysis, Denver, Colorado, U.S.A. ISAV 2017 - http://vis.lbl.gov/Events/ISAV-2017/ Full-day 9:00 AM - 5:30 PM Sunday November 12th, 2017 Workshop Theme The considerable interest in the HPC community regarding in situ analysis and visualization is due to several factors. First is an I/O cost savings, where data is analyzed/visualized while being generated, without first storing to a file system. Second is the potential for increased accuracy, where fine temporal sampling of transient analysis might expose some complex behavior missed in coarse temporal sampling. Third is the ability to use all available resources, CPUs and accelerators, in the computation of analysis products. The workshop brings together researchers, developers and practitioners from industry, academia, and government laboratories developing, applying, and deploying in situ methods in extreme-scale, high performance computing. The goal is to present research findings, lessons learned, and insights related to developing and applying in situ methods and infrastructure across a range of science and engineering applications in HPC environments; to discuss topics like opportunities presented by new architectures, existing infrastructure needs, requirements, and gaps, and experiences to foster and enable in situ analysis and visualization; to serve as a ?center of gravity? for researchers, practitioners, and users/consumers of in situ methods and infrastructure in the HPC space. Participation/Call for Papers and Oral Presentations We invite two types of submissions to ISAV 2017: (1) short, 4-page papers that present research results, that identify opportunities or challenges, and that present case studies/best practices for in situ methods/infrastructure in the areas of data management, analysis and visualization; (2) lightning presentation submission, consisting of a 1- or 2-page submission, for a brief oral presentation at the workshop. Short papers will appear in the workshop proceedings and will be invited to give an oral presentation of 15 to 20 minutes; lightning round submissions that are invited to present at the workshop will have author names and titles included as part of the proceedings. Submissions of both types are welcome that fall within one or more areas of interest, as follows: Areas of interest for ISAV, include, but are not limited to: In situ infrastructures * Current Systems: production quality, research prototypes * Opportunities * Gaps System resources, hardware, and emerging architectures * Enabling Hardware * Hardware and architectures that provide opportunities for in situ processing, such as burst buffers, staging computations on I/O nodes, sharing cores within a node for both simulation and in situ processing Methods/algorithms/applications/Case studies * Best practices * Analysis: feature detection, statistical methods, temporal methods, geometric methods * Visualization: information visualization, scientific visualization, time-varying methods * Data reduction/compression * Examples/case studies of solving a specific science challenge with in situ methods/infrastructure. Simulation * Integration:data modeling, software-engineering * Resilience: error detection, fault recovery * Workflows for supporting complex in situ processing pipelines Requirements * Preserve important elements * Significantly reduce the data size * Flexibility for post-processing exploration Review Process All submissions will undergo a peer-review process consisting of three reviews by experts in the field, and evaluated according to relevance to the workshop theme, technical soundness, creativity, originality, and impactfulness of method/results. Lightning round submissions will be evaluated primarily for relevance to the workshop. Submission Process Authors are invited to submit papers of at most 4 pages in PDF format, excluding references, and lightning presentations of at most 2 pages in PDF format, excluding references. Papers must be submitted in PDF format (readable by Adobe Acrobat Reader 5.0 and higher) and formatted for 8.5" x 11" (U.S. Letter). Submissions are required in the ACM format (http://www.acm.org/sigs/publications/proceedings-templates) using the sample-sigconf template and submitted via EasyChair (https://easychair.org/conferences/?conf=isav17). No changes to the margins, spacing, or font sizes as specified by the style file are allowed. Papers must be self-contained and provide the technical substance required for the program committee to evaluate their contributions. Submitted papers must be original work that has not appeared in and is not under consideration for another conference or a journal. See the ACM Prior Publication Policy for more details (http://www.acm.org/publications/policies/). Papers can be submitted at https://easychair.org/conferences/?conf=isav17. Publication in proceedings, presentation at the workshop All paper submissions that receive favorable reviews will be included as part of the workshop proceedings, which will be published through SIGHPC along with other SC17 workshop proceedings in the ACM Digital Library and IEEE Xplore. Lightning round submissions will not be included as part of the proceedings. Subject to the constraints of workshop length, some subset of the accepted publications will be invited to give a brief oral presentation at the workshop. The exact number of such presentations and their length will be determined after the review process has been completed. Timeline/Important Dates 1 August 2017 Paper submission deadline 15 September 2017 Author notification 30 September 2017 Camera ready copy due 15 October 2017 Final program posted to ISAV web page 12 November 2017 ISAV 2017 workshop at SC17 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno.lehyaric at gmail.com Thu Jun 8 17:24:44 2017 From: bruno.lehyaric at gmail.com (bruno le hyaric) Date: Thu, 8 Jun 2017 23:24:44 +0200 Subject: [Paraview] ParaView 5.4.0 is now available for download Message-ID: Hi Cory, I am interested to use Paraview 5.4 on Windows but it seems the render view is broken. When I try to display something (a sphere for example) I get a "black render view". I am running the build without MPI (ParaView-5.4.0-Qt5-OpenGL2-Windows-64bit.exe) on Windows 7 SP1 64-bit with Intel HD Graphics 5500 and OpenGL 4.3.0. Regards, Bruno LE HYARIC. On Tue, Jun 6, 2017 at 3:34 PM, Cory Quammen wrote: > On behalf of the ParaView development team, I am pleased to announce > that ParaView 5.4.0 has been released and can be downloaded in both > source and binary forms from > > http://www.paraview.org/download > > Release notes for ParaView 5.4.0 are available at > > https://blog.kitware.com/paraview-5-4-0-release-notes/ > > ParaView's superbuild has been updated to build 5.4.0 by default. > > Sincerely, > Cory and the ParaView team > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. From cory.quammen at kitware.com Thu Jun 8 20:06:45 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 8 Jun 2017 20:06:45 -0400 Subject: [Paraview] ParaView 5.4.0 is now available for download In-Reply-To: References: Message-ID: Hi Bruno, It sounds like you are running into this issue: https://gitlab.kitware.com/paraview/paraview/issues/17461 We don't yet have a fix in hand, but your report adds another data point. Thanks, Cory On Thu, Jun 8, 2017 at 5:24 PM, bruno le hyaric wrote: > Hi Cory, > > I am interested to use Paraview 5.4 on Windows but it seems the render > view is broken. When I try to display something (a sphere for example) > I get a "black render view". > > I am running the build without MPI > (ParaView-5.4.0-Qt5-OpenGL2-Windows-64bit.exe) on Windows 7 SP1 64-bit > with Intel HD Graphics 5500 and OpenGL 4.3.0. > > > Regards, > > Bruno LE HYARIC. > > > On Tue, Jun 6, 2017 at 3:34 PM, Cory Quammen > wrote: > > On behalf of the ParaView development team, I am pleased to announce > > that ParaView 5.4.0 has been released and can be downloaded in both > > source and binary forms from > > > > http://www.paraview.org/download > > > > Release notes for ParaView 5.4.0 are available at > > > > https://blog.kitware.com/paraview-5-4-0-release-notes/ > > > > ParaView's superbuild has been updated to build 5.4.0 by default. > > > > Sincerely, > > Cory and the ParaView team > > > > -- > > Cory Quammen > > Staff R&D Engineer > > Kitware, Inc. > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rccm.kyoshimi at gmail.com Fri Jun 9 04:44:23 2017 From: rccm.kyoshimi at gmail.com (kenichiro yoshimi) Date: Fri, 9 Jun 2017 17:44:23 +0900 Subject: [Paraview] VTU files for multi-body FEA models. In-Reply-To: References: Message-ID: Hi Jesse, Usually vtkMultiBlockDataSet is used so as to store multi-body datasets and the corresponding file format is a VTK vtkMultiBlockDataSet format (.vtm). But in time development model such as your case, you'd better use a ParaView Data format (.pvd) because vtm can't handle time information. I attach the pvd file sample. I also think the Multiblock Inspector is very convenient in multiblock processing. https://blog.kitware.com/upgrades-to-the-multiblock-inspector/ Thanks, 2017-06-07 1:22 GMT+09:00 Jesse Gerber : > Hello, > > I am a mechanical engineering grad student. This question is regarding an > active research project in our lab. We wrote a FEA program in C++ for 3D > solid mechanics problems. At each time step, we output a vtu file using the > unstructured grid format. Finally, we output a pvd file that creates a > collection and associates a time step value with each vtu file. So far, we > have been working with a single body, comprised of multiple hexahedral > elements. Our point data consists of displacement, velocity, and > acceleration. Our cell data consists of centroid stress and centroid strain. > > We now want to start solving multi-body models. Do we have to write a > separate vtu file for each body, at each time step? Is there a way to > combine multiple bodies into a single vtu file, at each time step, in a way > that we can still view them as separate parts in ParaView? I would like be > able to use show/hide and color on a part basis. How do people usually > handle this sort of thing? For example, if I have 10 parts, will I have 10 > separate vtu files at each time step? Note that, within the FEA code, we > define a part_id for each element in the model. Is there a way I can > associate each element with a part_id in the vtu file? That way ParaView > could tell the difference between each part? > > Thank you for your help! > > > > Best regards, > > > > Jesse > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: pvd_sample.7z Type: application/octet-stream Size: 16159 bytes Desc: not available URL: From Stefan.Melber at DLR.de Fri Jun 9 08:46:25 2017 From: Stefan.Melber at DLR.de (Stefan Melber) Date: Fri, 9 Jun 2017 14:46:25 +0200 Subject: [Paraview] Calculation of Lambda2 using ParaView... Message-ID: <181bccbf-b0fe-a6d1-cca5-6b2dfbb7b4cb@DLR.de> Hi, for vortex-detection i (tried) to calculate the lambda2-criterion (see e.g. https://en.wikipedia.org/wiki/Lambda2_method) with ParaView. The way of calculation is based on this link http://www.iesensor.com/blog/2016/01/24/using-paraview-to-visualise-vorticity-lambda2-vorticity-q-criterion/. However - the results are a kind of "wrong" - see attached pictures: l2_solver.png shows what the flow solver writes out for lambda2, l2_paraview.png shows what calculated with the algorithm below. Calculation of lambda2: D = Gradients = [d_ij] S = strain(Vel) S = (D + D^T)/2 Omega = (D - D^T)/2 lambda = EigenValue_of(S^2 + Omega^2) = EigenValue_of(S^2 + (D - S)^2) = EigenValue_of(S^2 + (Gradients - strain(vel))^2) lambda2 = lambda_Y and in ParaView this mean o Vector of velocity with "Calculator".................: Vel = iHat*x_velocity+jHat*y_velocity+kHat*z_velocity o Gradients of Vel with "GradientOfUnstructuredDataSet": switch on "compute gradient" and name it "Gradients" o Calculate lambda with "PythonCalculator".............: lambda = eigenvalue(strain(Vel)**2+(Gradients - strain(Vel))**2) o Caluclate lambda2 with Calculator....................: lambda2 = lambda_Y Does anyone see the error why the calculation of lambda2 with ParaView does not work? Remark: i contacted the author of the blog above already - seems he never tested his calculation and has no idea what is "wrong". Stefan ================================================================ _/ *Dr. Stefan Melber-Wilkending* _/_/ _/ _/ Deutsches Zentrum f?r Luft- _/_/_/_/_/_/_/_/_/_/ und Raumfahrt e.V. (DLR) _/ _/ _/ _/ _/ _/ _/ _/ German Aerospace Center _/_/_/_/_/_/_/_/_/_/ Institute of Aerodynamics _/ _/ _ _ and Flow Technology _/_/ | \ | |_| Transport Aircraft Branch _/ |_/ |_ | \ Lilienthalplatz 7 Fields of activities: 38108 Braunschweig Germany o Numerical Windtunnel Simulation o Aero-Acoustic Windtunnel Design Phone : +49 531/295-2836 o Numerical Optimization Fax. .: +49 531/295-2914 o Visualization Techniques o High-Lift Aerodynamics Email : Stefan.Melber at DLR.de o Glider-Aerodynamics Web ..: http://www.dlr.de/AS ================================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: l2_paraview.png Type: image/png Size: 491046 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: l2_solver.png Type: image/png Size: 184872 bytes Desc: not available URL: From sp_desjardins at hotmail.com Fri Jun 9 09:56:06 2017 From: sp_desjardins at hotmail.com (Simon-Pierre Desjardins) Date: Fri, 9 Jun 2017 13:56:06 +0000 Subject: [Paraview] How to create a vtkModule in Paraview In-Reply-To: References: , , Message-ID: Hi, Still no success trying to make the module produce a .lib. Does anyone have an idea of what I could be missing? Thank you, Simon-Pierre Desjardins ________________________________ De : Simon-Pierre Desjardins Envoy? : 6 juin 2017 14:52 ? : Utkarsh Ayachit Cc : paraview at paraview.org Objet : RE: [Paraview] How to create a vtkModule in Paraview Hi Utkarsh, I have tried adding the path to my external module via PARAVIEW_EXTERNAL_MODULE_ROOTS in cmake. I am able to compile the module in VS2015 but it only creates a .dll file. Usually, at least from what I've seen with the other modules, a library is also created which is needed to use the plugins in the modules. I have checked all the documentation and did a really simple module containing only a single plugin. Here is an overview of what it looks like: module.cmake: vtk_module(vtkSPXModule GROUPS StandAlone DEPENDS vtkCommonCore vtkCommonDataModel vtkCommonExecutionModel vtkCommonMisc vtkPVVTKExtensionsRendering vtkFiltersGeneral TEST_DEPENDS vtkTestingCore KIT vtkRemote ) and the Cmakelist.txt: set(Module_SRCS TestPlugin.cxx ) vtk_module_library(vtkSPXModule ${Module_SRCS}) I referred myself to this example that seemed to work https://github.com/lorensen/vtkAddon/blob/master/module.cmake Overall, to make sure it's clear, I am able to compile the module and I'm able to see it in my solution. The problem is more so linked to the creation of the .lib that isn't being done. Any idea what could cause that? Thank you, Simon-Pierre ________________________________ De : Utkarsh Ayachit Envoy? : 5 juin 2017 11:02 ? : Simon-Pierre Desjardins Cc : paraview at paraview.org Objet : Re: [Paraview] How to create a vtkModule in Paraview Simon, While plugins can have internal modules, it's really not designed to share those with other plugins. You have two options: 1. combine both plugins into a single one. 2. make the module a standard ParaView/VTK module that added via PARAVIEW_EXTERNAL_MODULE_ROOTS CMake variable, then the two plugins can use the module just liek any other ParaView/VTK module. Utkarsh On Thu, Jun 1, 2017 at 3:03 PM, Simon-Pierre Desjardins > wrote: Hi, I created a custom plugin that I want to use in a second plugin. To do so, I want to create a module with the custom plugin to be able to use it in my second one. I tried creating the module following the instructions on http://www.vtk.org/Wiki/VTK/Module_Development but it did not work. Basically, I am able to compile my module and create a .dll with it but I can't seem to be able to create the .lib and .ext necessary. I also added my module in the VTKModule.cmake. I'm unsure why it is not generating a .lib since I can see the line add_library in the cmake file generated for vtkmodules with my module name. Could anyone try to help me figure out what I'm missing? Thank you, Simon-Pierre Desjardins I'm compiling using Visual studio 2015 and Windows 10 64bits _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri Jun 9 10:47:33 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 9 Jun 2017 10:47:33 -0400 Subject: [Paraview] Calculation of Lambda2 using ParaView... In-Reply-To: <181bccbf-b0fe-a6d1-cca5-6b2dfbb7b4cb@DLR.de> References: <181bccbf-b0fe-a6d1-cca5-6b2dfbb7b4cb@DLR.de> Message-ID: Hi, Maybe compute each portion manually and check that against the correct values. Also, verifying the gradient calculation is correct is another thing to look at. If the grid isn't specified properly then the gradient operation will likely be wrong. On Fri, Jun 9, 2017 at 8:46 AM, Stefan Melber wrote: > Hi, > > > for vortex-detection i (tried) to calculate the lambda2-criterion (see > e.g. https://en.wikipedia.org/wiki/Lambda2_method) with ParaView. The way > of calculation is based on this link http://www.iesensor.com/blog/ > 2016/01/24/using-paraview-to-visualise-vorticity-lambda2- > vorticity-q-criterion/. > > However - the results are a kind of "wrong" - see attached pictures: > l2_solver.png shows what the flow solver writes out for lambda2, > l2_paraview.png shows what calculated with the algorithm below. > > Calculation of lambda2: > > D = Gradients = [d_ij] > S = strain(Vel) > > S = (D + D^T)/2 > Omega = (D - D^T)/2 > > lambda = EigenValue_of(S^2 + Omega^2) > = EigenValue_of(S^2 + (D - S)^2) > = EigenValue_of(S^2 + (Gradients - strain(vel))^2) > > lambda2 = lambda_Y > > and in ParaView this mean > > o Vector of velocity with "Calculator".................: Vel = > iHat*x_velocity+jHat*y_velocity+kHat*z_velocity > o Gradients of Vel with "GradientOfUnstructuredDataSet": switch on > "compute gradient" and name it "Gradients" > o Calculate lambda with "PythonCalculator".............: lambda = > eigenvalue(strain(Vel)**2+(Gradients - strain(Vel))**2) > o Caluclate lambda2 with Calculator....................: lambda2 = > lambda_Y > > > > Does anyone see the error why the calculation of lambda2 with ParaView > does not work? > > Remark: i contacted the author of the blog above already - seems he never > tested his calculation and has no idea what is "wrong". > > Stefan > > > > ================================================================ > > _/ *Dr. Stefan Melber-Wilkending* > _/_/ > _/ _/ Deutsches Zentrum f?r Luft- > _/_/_/_/_/_/_/_/_/_/ und Raumfahrt e.V. (DLR) > _/ _/ _/ _/ > _/ _/ _/ _/ German Aerospace Center > _/_/_/_/_/_/_/_/_/_/ Institute of Aerodynamics > _/ _/ _ _ and Flow Technology > _/_/ | \ | |_| Transport Aircraft Branch > _/ |_/ |_ | \ > Lilienthalplatz 7 > Fields of activities: 38108 Braunschweig > Germany > o Numerical Windtunnel Simulation > o Aero-Acoustic Windtunnel Design Phone : +49 531/295-2836 > <(531)%20295-2836> > o Numerical Optimization Fax. .: +49 531/295-2914 > <(531)%20295-2914> > o Visualization Techniques > o High-Lift Aerodynamics Email : Stefan.Melber at DLR.de > o Glider-Aerodynamics Web ..: http://www.dlr.de/AS > > > ================================================================ > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jun 9 18:25:07 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 9 Jun 2017 22:25:07 +0000 Subject: [Paraview] Plot over spline or intersecting plane Message-ID: <02085d34c59c42c9ab092f255d50d96b@ES01AMSNLNT.srn.sandia.gov> I am trying to figure out how to plot over more complex surfaces than a straight line. Say a user wants to plot over a curved line, with the line matching the inside surface of the can.exo. Can you now do this? How would a user control the line? Is the Plot On Intersection Curves filter what I want? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.partridge16 at imperial.ac.uk Sat Jun 10 07:01:18 2017 From: b.partridge16 at imperial.ac.uk (Partridge, Ben D) Date: Sat, 10 Jun 2017 11:01:18 +0000 Subject: [Paraview] 3D Data Visualisation In-Reply-To: References: , Message-ID: Again apologies if this is a basic question, but when applying the Filters->PointVolumeInterpolator is there any additional filters that the data points have to be passed through? I have quite simply applied the TabletoPoints filter to my initial data set, but the point volume interpolation filter does not appear available. Many thanks Ben ________________________________ From: David E DeMarle Sent: 08 June 2017 14:15:49 To: Partridge, Ben D Cc: Ken Martin; paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation With both Point Gaussian and OSPRay, look for "Scale Array" on the advanced (gear icon or search) Properties tab. They let you assign a radius transfer function based on any scalar array. With Point Gaussian there is also an "Opacity Array" which similarly controls the opacity. If you file a feature request, at some point I'll remember to enable that in OSPRay too. You can do similar things with the Glyph filter's Scaling Mode and the standard color transfer function, but that will be vastly less efficient because it makes lots of geometry to represent each sphere rather than working at the renderer level. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Jun 8, 2017 at 8:56 AM, Partridge, Ben D > wrote: Ok great, thanks for your input. I have access to another machine within the department so hopeful this will resolve the issue. A couple of final questions: Is there a way to alter the size of an individual data point in paraview? Finally, How would one go about changing the transparency of a set of data points? Many thanks Ben ________________________________ From: Ken Martin > Sent: 08 June 2017 13:02:42 To: David E DeMarle Cc: Partridge, Ben D; paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation You might try ParaView 5.3. For a few windows systems I believe 5.3 will work where 5.4 may not. If you are using windows remote desktop then it will not work, but you might consider alternatives such as vnc or nomachine. On Wed, Jun 7, 2017 at 3:22 PM, David E DeMarle > wrote: No other download should be necessary. It would seem though that recent ParaView (which uses modern OpenGL capabilities) does not agree with your system's graphics. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jun 7, 2017 at 1:57 PM, Partridge, Ben D > wrote: Hi David Ok great thanks, I assume these filters are on the more recent versions of Paraview? I have just tried installing the most recent version (5.4 Windows) and I'm being hit with a series of error messages. Is there another download that I'm missing? Here are the error messages: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11394800): Shader object was not initialized, cannot attach it. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11393BC0): Shader object was not initialized, cannot attach it. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 453 vtkShaderProgram (0000026D11395980): Shader object was not initialized, cannot attach it. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ESERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11395980): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: attribute vec4 ndCoordIn; 18: attribute vec2 texCoordIn; 19: varying vec2 texCoord; 20: void main() 21: { 22: gl_Position = ndCoordIn; 23: texCoord = texCoordIn; 24: } ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11395980): Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ESERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819 vtkGenericOpenGLRenderWindow (0000026D10DE3460): GLEW could not be initialized. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11394800): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: //VTK::PositionVC::Dec 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: 56: // Apple Bug 57: //VTK::PrimID::Dec 58: 59: // Value raster 60: //VTK::ValuePass::Dec 61: 62: void main() 63: { 64: //VTK::Color::Impl 65: 66: //VTK::Normal::Impl 67: 68: //VTK::TCoord::Impl 69: 70: //VTK::Clip::Impl 71: 72: //VTK::PrimID::Impl 73: 74: gl_Position = MCDCMatrix * vertexMC; 75: 76: 77: //VTK::ValuePass::Impl 78: 79: //VTK::Light::Impl 80: } 81: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11394800): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11393BC0): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: 18: /*========================================================================= 19: 20: Program: Visualization Toolkit 21: Module: vtkPolyDataVS.glsl 22: 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24: All rights reserved. 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26: 27: This software is distributed WITHOUT ANY WARRANTY; without even 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29: PURPOSE. See the above copyright notice for more information. 30: 31: =========================================================================*/ 32: 33: attribute vec4 vertexMC; 34: 35: // frag position in VC 36: varying vec4 vertexVCVSOutput; 37: 38: // optional normal declaration 39: //VTK::Normal::Dec 40: 41: // extra lighting parameters 42: //VTK::Light::Dec 43: 44: // Texture coordinates 45: //VTK::TCoord::Dec 46: 47: // material property values 48: //VTK::Color::Dec 49: 50: // clipping plane vars 51: //VTK::Clip::Dec 52: 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55: uniform mat4 MCVCMatrix; 56: 57: // Apple Bug 58: //VTK::PrimID::Dec 59: 60: // Value raster 61: //VTK::ValuePass::Dec 62: 63: void main() 64: { 65: //VTK::Color::Impl 66: 67: //VTK::Normal::Impl 68: 69: //VTK::TCoord::Impl 70: 71: //VTK::Clip::Impl 72: 73: //VTK::PrimID::Impl 74: 75: vertexVCVSOutput = MCVCMatrix * vertexMC; 76: gl_Position = MCDCMatrix * vertexMC; 77: 78: 79: //VTK::ValuePass::Impl 80: 81: //VTK::Light::Impl 82: } 83: ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11393BC0): ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861 vtkGenericOpenGLRenderWindow (0000026D10DE3460): Hardware does not support the number of textures defined. ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (0000026D11395980): 1: #version 120 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16: 17: attribute vec4 ndCoordIn; 18: attribute vec2 texCoordIn; 19: varying vec2 texCoord; 20: void main() 21: { 22: gl_Position = ndCoordIn; 23: texCoord = texCoordIn; 24: } ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (0000026D11395980): Generic Warning: In C:\bbd\7cc78367\source-paraview\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104 vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring. versionFunctions: Not supported on OpenGL ES Cheers Ben ________________________________ From: David E DeMarle > Sent: 07 June 2017 17:57 To: Partridge, Ben D Cc: Cory Quammen; paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation I recommend Filters->PointVolumeInterpolator to make a mesh out of these isolated points so that you have something to isocontour within. On also recommend Enable OSPRay or to change Representation to Point Gaussian to give these points some extent an local normals to make the lighting look better on the point cloud. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jun 7, 2017 at 9:58 AM, Partridge, Ben D > wrote: Hi Cory Yes certainly, I have attached an Image below. The image shows a section of the bone marrow in 3D. I wish to wrap an Isosurface around this. Thanks Ben ________________________________ From: Cory Quammen > Sent: 07 June 2017 14:01:36 To: Partridge, Ben D Cc: paraview at paraview.org Subject: Re: [Paraview] 3D Data Visualisation Ben, I'm not sure that I entirely understand your problem. Could you attach a small image showing what you are seeing? That may give me a clue on how to guide you. Thanks, Cory On Wed, Jun 7, 2017 at 7:01 AM, Partridge, Ben D > wrote: > Hi Guys > > > Probably a naive question - but I have the 3D pixel coordinates of a > microscopy image that I wish to reconstruct using paraview, I have loaded > the coordinates in fine and the image is displayed. However,the > re-constructed image looks more like 2D projection of a 3D image as opposed > to looking truly 3D. I was wondering what the easiest way is in which to > create a 3-D Isosurface with shadows/contours etc from my co-ordinate > positions? > > > Many thanks > > Ben > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D 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 -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From danielbo17 at hotmail.com Sun Jun 11 23:24:43 2017 From: danielbo17 at hotmail.com (Daniel Oliveira) Date: Mon, 12 Jun 2017 03:24:43 +0000 Subject: [Paraview] Paraview Crash In-Reply-To: References: Message-ID: Hello my friends, I need to use Paraview to view results in VTK generated by LIGGHTS?Public. Can anyone send materials of what filters should I I need Paraview to view some vtk files generated by the finite element solver LIGGGTHS. I receive a problem when I try to execute the binary of ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit. This is my error: [cid:inlineImage1] I click "OK" and "RENDER VIEW". After this Paraview crash. This is the error in console. #------------------------------------------------------------------------------------------------------------------------------# ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/build/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 587 vtkXOpenGLRenderWindow (0x20bac10): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/build/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 587 vtkXOpenGLRenderWindow (0x20bac10): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. #------------------------------------------------------------------------------------------------------------------------------# I thought that was mesa driver. I have compiled the newest mesa drivers and the problem persist. Can anyone help with this problem? My system is a Debian 8.4.0 amd64 in a HP g42-330BR notebook. Please, tell what additional info I need to inform. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot1.png Type: image/png Size: 19582 bytes Desc: snapshot1.png URL: From Stefan.Melber at DLR.de Mon Jun 12 00:54:30 2017 From: Stefan.Melber at DLR.de (Stefan Melber) Date: Mon, 12 Jun 2017 06:54:30 +0200 Subject: [Paraview] Calculation of Lambda2 using ParaView... In-Reply-To: References: <181bccbf-b0fe-a6d1-cca5-6b2dfbb7b4cb@DLR.de> Message-ID: Hi Andy, unfortunately my comparison values (correct lambda2) does not have an results in between to compare with. Regarding the gradients i am sure they are ok. For this dataset i calculated other stuff based on the gradients and thats ok. Maybe the error is in the syntax or the usage of the eigenvalues-function - will check there ... Stefan > Hi, > > Maybe compute each portion manually and check that against the correct > values. Also, verifying the gradient calculation is correct is another > thing to look at. If the grid isn't specified properly then the > gradient operation will likely be wrong. > > On Fri, Jun 9, 2017 at 8:46 AM, Stefan Melber > wrote: > > Hi, > > > for vortex-detection i (tried) to calculate the lambda2-criterion > (see e.g. https://en.wikipedia.org/wiki/Lambda2_method > ) with ParaView. The > way of calculation is based on this link > http://www.iesensor.com/blog/2016/01/24/using-paraview-to-visualise-vorticity-lambda2-vorticity-q-criterion/ > . > > However - the results are a kind of "wrong" - see attached > pictures: l2_solver.png shows what the flow solver writes out for > lambda2, l2_paraview.png shows what calculated with the algorithm > below. > > Calculation of lambda2: > > D = Gradients = [d_ij] > S = strain(Vel) > > S = (D + D^T)/2 > Omega = (D - D^T)/2 > > lambda = EigenValue_of(S^2 + Omega^2) > = EigenValue_of(S^2 + (D - S)^2) > = EigenValue_of(S^2 + (Gradients - strain(vel))^2) > > lambda2 = lambda_Y > > and in ParaView this mean > > o Vector of velocity with "Calculator".................: Vel = > iHat*x_velocity+jHat*y_velocity+kHat*z_velocity > o Gradients of Vel with "GradientOfUnstructuredDataSet": switch on > "compute gradient" and name it "Gradients" > o Calculate lambda with "PythonCalculator".............: lambda = > eigenvalue(strain(Vel)**2+(Gradients - strain(Vel))**2) > o Caluclate lambda2 with Calculator....................: lambda2 = > lambda_Y > > > > Does anyone see the error why the calculation of lambda2 with > ParaView does not work? > > Remark: i contacted the author of the blog above already - seems > he never tested his calculation and has no idea what is "wrong". > > Stefan > > > > ================================================================ > > _/ *Dr. Stefan Melber-Wilkending* > _/_/ > _/ _/ Deutsches Zentrum f?r Luft- > _/_/_/_/_/_/_/_/_/_/ und Raumfahrt e.V. (DLR) > _/ _/ _/ _/ > _/ _/ _/ _/ German Aerospace Center > _/_/_/_/_/_/_/_/_/_/ Institute of Aerodynamics > _/ _/ _ _ and Flow Technology > _/_/ | \ | |_| Transport Aircraft Branch > _/ |_/ |_ | \ > Lilienthalplatz 7 > Fields of activities: 38108 Braunschweig > Germany > o Numerical Windtunnel Simulation > o Aero-Acoustic Windtunnel Design Phone : +49 531/295-2836 > > o Numerical Optimization Fax. .: +49 531/295-2914 > > o Visualization Techniques > o High-Lift Aerodynamics Email : Stefan.Melber at DLR.de > > o Glider-Aerodynamics Web ..: http://www.dlr.de/AS > > ================================================================ > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wanying at utexas.edu Mon Jun 12 01:05:06 2017 From: wanying at utexas.edu (Wanying Wang) Date: Mon, 12 Jun 2017 00:05:06 -0500 Subject: [Paraview] adding layer from another data set Message-ID: Hi guys, I'm new to paraview and right now working on visualization of a 3D global data of the earth in vtu format. While visualizing this vtu file is pretty straight forward, I'm not sure how to add a layer of continental plate boundaries (polygons) to the earth's surface in paraview. The data of the surface plate boundaries can be in .txt or .nc format. It is 2D, containing the location in terms of latitude and longitude. I learnt that paraview uses xyz coordinate, so I guess I need to convert the coordinate information. But I'm very lost regarding the data formatting, and how to add the layer in the software. Could anyone point me to the best way of plotting this, including the data format, file type, and steps? Thanks a lot!! Best, Wanying -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Mon Jun 12 05:16:35 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Mon, 12 Jun 2017 11:16:35 +0200 Subject: [Paraview] ParaView Course October 11 Message-ID: Hello Kitware will be holding a ParaView course on October 11th 2017 in Lyon, France. We will provide you with hands-on paraview experience, as well as introduce python-scripting and plugins. Please visit our web site for more information and registration details at ParaView (English) : http://training.kitware.fr/browse/156 ParaView (French) : http://formations.kitware.fr/browse/156 Note that the course will be taught in English. If you have any question, please contact us at formations at http://www.kitware.fr Best Regards, Mathieu Westphal -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Jun 12 14:16:08 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 12 Jun 2017 18:16:08 +0000 Subject: [Paraview] [EXTERNAL] Re: Paraview Crash In-Reply-To: References: Message-ID: <5c0e7f4b799943a79b835dddc25e1843@ES01AMSNLNT.srn.sandia.gov> Daniel, Your issue is that ParaView is trying to pick up OpenGL from the system. The system version is still Mesa / OpenGL 2.1. I believe you have three options to move forward. Either do your vis on a computer that has a newer version of OpenGL (such as a Windows computer), rebuild and install system wide a newer version of Mesa (it needs to support OpenGL 3.2), or third you can fall back to ParaView 4.4.0 (available on the Kitware website). The primary difference between ParaView 4.* and 5.* is that 5 requires a newer (but still old) version of OpenGL. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Daniel Oliveira Sent: Sunday, June 11, 2017 9:25 PM To: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Paraview Crash Hello my friends, I need to use Paraview to view results in VTK generated by LIGGHTS(r)Public. Can anyone send materials of what filters should I I need Paraview to view some vtk files generated by the finite element solver LIGGGTHS. I receive a problem when I try to execute the binary of ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit. This is my error: [cid:image001.png at 01D2E375.17574600] I click "OK" and "RENDER VIEW". After this Paraview crash. This is the error in console. #------------------------------------------------------------------------------------------------------------------------------# ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/build/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 587 vtkXOpenGLRenderWindow (0x20bac10): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/build/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 587 vtkXOpenGLRenderWindow (0x20bac10): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. #------------------------------------------------------------------------------------------------------------------------------# I thought that was mesa driver. I have compiled the newest mesa drivers and the problem persist. Can anyone help with this problem? My system is a Debian 8.4.0 amd64 in a HP g42-330BR notebook. Please, tell what additional info I need to inform. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 19582 bytes Desc: image001.png URL: From wascott at sandia.gov Mon Jun 12 14:42:41 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 12 Jun 2017 18:42:41 +0000 Subject: [Paraview] [EXTERNAL] Re: Paraview Crash In-Reply-To: <5c0e7f4b799943a79b835dddc25e1843@ES01AMSNLNT.srn.sandia.gov> References: <5c0e7f4b799943a79b835dddc25e1843@ES01AMSNLNT.srn.sandia.gov> Message-ID: Daniel, I'm being stupid. What you want to do is run ParaView with the following command. See if that works. paraview --mesa-llvm Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Monday, June 12, 2017 12:16 PM To: Daniel Oliveira ; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Re: Paraview Crash Daniel, Your issue is that ParaView is trying to pick up OpenGL from the system. The system version is still Mesa / OpenGL 2.1. I believe you have three options to move forward. Either do your vis on a computer that has a newer version of OpenGL (such as a Windows computer), rebuild and install system wide a newer version of Mesa (it needs to support OpenGL 3.2), or third you can fall back to ParaView 4.4.0 (available on the Kitware website). The primary difference between ParaView 4.* and 5.* is that 5 requires a newer (but still old) version of OpenGL. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Daniel Oliveira Sent: Sunday, June 11, 2017 9:25 PM To: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Paraview Crash Hello my friends, I need to use Paraview to view results in VTK generated by LIGGHTS(r)Public. Can anyone send materials of what filters should I I need Paraview to view some vtk files generated by the finite element solver LIGGGTHS. I receive a problem when I try to execute the binary of ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit. This is my error: [cid:image001.png at 01D2E379.611FD5F0] I click "OK" and "RENDER VIEW". After this Paraview crash. This is the error in console. #------------------------------------------------------------------------------------------------------------------------------# ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/build/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 587 vtkXOpenGLRenderWindow (0x20bac10): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/build/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 587 vtkXOpenGLRenderWindow (0x20bac10): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. #------------------------------------------------------------------------------------------------------------------------------# I thought that was mesa driver. I have compiled the newest mesa drivers and the problem persist. Can anyone help with this problem? My system is a Debian 8.4.0 amd64 in a HP g42-330BR notebook. Please, tell what additional info I need to inform. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 19582 bytes Desc: image001.png URL: From info at seoaachen.de Mon Jun 12 17:24:43 2017 From: info at seoaachen.de (Daniel Zuidinga) Date: Mon, 12 Jun 2017 23:24:43 +0200 Subject: [Paraview] vtm in paraview web Message-ID: Hi, I converted a salome/code_aster med file to vtm and all values are right in paraview. But in paraview web there are failures on some time steps. I think this is a bug? What can I do? I tried this with several files and have always the same errors. Example file: https://www.dropbox.com/s/mt2qeb8d50koepv/Km5oysKroZ_VDb1iUuR.zip?dl=0 regards From sebastien.jourdain at kitware.com Mon Jun 12 17:51:50 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 12 Jun 2017 15:51:50 -0600 Subject: [Paraview] vtm in paraview web In-Reply-To: References: Message-ID: Hi Daniel, I've loaded your data files and it seems that the issue is related to the order the time serie. Because you do not have a 0 padding, the first 10 steps get interleaved with the 10, 20, 30... We can improve the sorting algorithm but if you add a zero for padding, you should be all set (I mean, I did try and that solved the issue). Seb On Mon, Jun 12, 2017 at 3:24 PM, Daniel Zuidinga wrote: > Hi, > > I converted a salome/code_aster med file to vtm and all values are right > in paraview. But in paraview web there are failures on some time steps. I > think this is a bug? What can I do? I tried this with several files and > have always the same errors. > > Example file: > https://www.dropbox.com/s/mt2qeb8d50koepv/Km5oysKroZ_VDb1iUuR.zip?dl=0 > > regards > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stefan.Melber at DLR.de Tue Jun 13 03:35:18 2017 From: Stefan.Melber at DLR.de (Stefan Melber) Date: Tue, 13 Jun 2017 09:35:18 +0200 Subject: [Paraview] Calculation of Lambda2 using ParaView... In-Reply-To: References: <181bccbf-b0fe-a6d1-cca5-6b2dfbb7b4cb@DLR.de> Message-ID: <9265b3d5-5061-63e2-dfa0-515232cd42e4@DLR.de> Hi Andy, i think i found the reason: i need the computation of (unsymmetrical) eigenvalues for lambda2 - however it seems that the function "eingenvalue" calculates only symmetric ones (see https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/paraview.vtk.numpy_interface.algorithms.html). How can i calculate the unsymmetric ones with ParaView? Best regards, Stefan > Hi, > > Maybe compute each portion manually and check that against the correct > values. Also, verifying the gradient calculation is correct is another > thing to look at. If the grid isn't specified properly then the > gradient operation will likely be wrong. > > On Fri, Jun 9, 2017 at 8:46 AM, Stefan Melber > wrote: > > Hi, > > > for vortex-detection i (tried) to calculate the lambda2-criterion > (see e.g. https://en.wikipedia.org/wiki/Lambda2_method > ) with ParaView. The > way of calculation is based on this link > http://www.iesensor.com/blog/2016/01/24/using-paraview-to-visualise-vorticity-lambda2-vorticity-q-criterion/ > . > > However - the results are a kind of "wrong" - see attached > pictures: l2_solver.png shows what the flow solver writes out for > lambda2, l2_paraview.png shows what calculated with the algorithm > below. > > Calculation of lambda2: > > D = Gradients = [d_ij] > S = strain(Vel) > > S = (D + D^T)/2 > Omega = (D - D^T)/2 > > lambda = EigenValue_of(S^2 + Omega^2) > = EigenValue_of(S^2 + (D - S)^2) > = EigenValue_of(S^2 + (Gradients - strain(vel))^2) > > lambda2 = lambda_Y > > and in ParaView this mean > > o Vector of velocity with "Calculator".................: Vel = > iHat*x_velocity+jHat*y_velocity+kHat*z_velocity > o Gradients of Vel with "GradientOfUnstructuredDataSet": switch on > "compute gradient" and name it "Gradients" > o Calculate lambda with "PythonCalculator".............: lambda = > eigenvalue(strain(Vel)**2+(Gradients - strain(Vel))**2) > o Caluclate lambda2 with Calculator....................: lambda2 = > lambda_Y > > > > Does anyone see the error why the calculation of lambda2 with > ParaView does not work? > > Remark: i contacted the author of the blog above already - seems > he never tested his calculation and has no idea what is "wrong". > > Stefan > > > > ================================================================ > > _/ *Dr. Stefan Melber-Wilkending* > _/_/ > _/ _/ Deutsches Zentrum f?r Luft- > _/_/_/_/_/_/_/_/_/_/ und Raumfahrt e.V. (DLR) > _/ _/ _/ _/ > _/ _/ _/ _/ German Aerospace Center > _/_/_/_/_/_/_/_/_/_/ Institute of Aerodynamics > _/ _/ _ _ and Flow Technology > _/_/ | \ | |_| Transport Aircraft Branch > _/ |_/ |_ | \ > Lilienthalplatz 7 > Fields of activities: 38108 Braunschweig > Germany > o Numerical Windtunnel Simulation > o Aero-Acoustic Windtunnel Design Phone : +49 531/295-2836 > > o Numerical Optimization Fax. .: +49 531/295-2914 > > o Visualization Techniques > o High-Lift Aerodynamics Email : Stefan.Melber at DLR.de > > o Glider-Aerodynamics Web ..: http://www.dlr.de/AS > > ================================================================ > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Jun 13 11:08:49 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 13 Jun 2017 11:08:49 -0400 Subject: [Paraview] Calculation of Lambda2 using ParaView... In-Reply-To: <9265b3d5-5061-63e2-dfa0-515232cd42e4@DLR.de> References: <181bccbf-b0fe-a6d1-cca5-6b2dfbb7b4cb@DLR.de> <9265b3d5-5061-63e2-dfa0-515232cd42e4@DLR.de> Message-ID: Hi, The best way to do this would be in a programmable filter. I'm guessing numpy has some method to compute eigenvalues for non-symmetric matrices. Beyond that adding the capability to the Python calculator or some other filter would be needed. On Tue, Jun 13, 2017 at 3:35 AM, Stefan Melber wrote: > Hi Andy, > > i think i found the reason: i need the computation of (unsymmetrical) > eigenvalues for lambda2 - however it seems that the function "eingenvalue" > calculates only symmetric ones (see https://www.paraview.org/ > ParaView/Doc/Nightly/www/py-doc/paraview.vtk.numpy_ > interface.algorithms.html). How can i calculate the unsymmetric ones with > ParaView? > > Best regards, > > Stefan > > > Hi, > > Maybe compute each portion manually and check that against the correct > values. Also, verifying the gradient calculation is correct is another > thing to look at. If the grid isn't specified properly then the gradient > operation will likely be wrong. > > On Fri, Jun 9, 2017 at 8:46 AM, Stefan Melber > wrote: > >> Hi, >> >> >> for vortex-detection i (tried) to calculate the lambda2-criterion (see >> e.g. https://en.wikipedia.org/wiki/Lambda2_method) with ParaView. The >> way of calculation is based on this link http://www.iesensor.com/blog/2 >> 016/01/24/using-paraview-to-visualise-vorticity-lambda2-vort >> icity-q-criterion/. >> >> However - the results are a kind of "wrong" - see attached pictures: >> l2_solver.png shows what the flow solver writes out for lambda2, >> l2_paraview.png shows what calculated with the algorithm below. >> >> Calculation of lambda2: >> >> D = Gradients = [d_ij] >> S = strain(Vel) >> >> S = (D + D^T)/2 >> Omega = (D - D^T)/2 >> >> lambda = EigenValue_of(S^2 + Omega^2) >> = EigenValue_of(S^2 + (D - S)^2) >> = EigenValue_of(S^2 + (Gradients - strain(vel))^2) >> >> lambda2 = lambda_Y >> >> and in ParaView this mean >> >> o Vector of velocity with "Calculator".................: Vel = >> iHat*x_velocity+jHat*y_velocity+kHat*z_velocity >> o Gradients of Vel with "GradientOfUnstructuredDataSet": switch on >> "compute gradient" and name it "Gradients" >> o Calculate lambda with "PythonCalculator".............: lambda = >> eigenvalue(strain(Vel)**2+(Gradients - strain(Vel))**2) >> o Caluclate lambda2 with Calculator....................: lambda2 = >> lambda_Y >> >> >> >> Does anyone see the error why the calculation of lambda2 with ParaView >> does not work? >> >> Remark: i contacted the author of the blog above already - seems he never >> tested his calculation and has no idea what is "wrong". >> >> Stefan >> >> >> >> ================================================================ >> >> _/ *Dr. Stefan Melber-Wilkending* >> _/_/ >> _/ _/ Deutsches Zentrum f?r Luft- >> _/_/_/_/_/_/_/_/_/_/ und Raumfahrt e.V. (DLR) >> _/ _/ _/ _/ >> _/ _/ _/ _/ German Aerospace Center >> _/_/_/_/_/_/_/_/_/_/ Institute of Aerodynamics >> _/ _/ _ _ and Flow Technology >> _/_/ | \ | |_| Transport Aircraft Branch >> _/ |_/ |_ | \ >> Lilienthalplatz 7 >> Fields of activities: 38108 Braunschweig >> Germany >> o Numerical Windtunnel Simulation >> o Aero-Acoustic Windtunnel Design Phone : +49 531/295-2836 >> <%28531%29%20295-2836> >> o Numerical Optimization Fax. .: +49 531/295-2914 >> <%28531%29%20295-2914> >> o Visualization Techniques >> o High-Lift Aerodynamics Email : Stefan.Melber at DLR.de >> o Glider-Aerodynamics Web ..: http://www.dlr.de/AS >> >> >> ================================================================ >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlopezfisica at ciencias.unam.mx Tue Jun 13 11:46:33 2017 From: jlopezfisica at ciencias.unam.mx (=?UTF-8?B?Sm9zw6kgTHVpcyBMw7NwZXogTMOzcGV6?=) Date: Tue, 13 Jun 2017 17:46:33 +0200 Subject: [Paraview] Filter MaterialInterfaceFilter Message-ID: Dear colleagues, I have a set of data: DATASET STRUCTURED_POINTS and I want to use the MaterialInterfaceFilter to measure the center of mass of some isovolume inside my dataset. According to the ParaView website the filter MaterialInterfaceFilter can measure the center of mass. However. its input should be: Input to the filter can be a hierarchical box data set containing image data or a multi-block of rectilinear grids. Do you have an idea what can I do? Or do you suggest another idea to measure the center of mass. I attached an image of my dataset. It is 3D and the isovolume of the droplet is the desired isovolume to measure. Thanks a lot, Jose -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshoot-t-6400.png Type: image/png Size: 29783 bytes Desc: not available URL: From tossin at gmail.com Tue Jun 13 12:24:40 2017 From: tossin at gmail.com (Evan Kao) Date: Tue, 13 Jun 2017 09:24:40 -0700 Subject: [Paraview] Use separate arrays for colormap and opacity Message-ID: Hello all, We would like to be able to visualize an object without tying the colormap to the same array as the opacity. Specifically, we would like to animate pathlines and color them by velocity, while setting their opacity according to particle age. Is this possible in Paraview? Thanks, Evan Kao -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stefan.Melber at DLR.de Wed Jun 14 04:07:31 2017 From: Stefan.Melber at DLR.de (Stefan Melber) Date: Wed, 14 Jun 2017 10:07:31 +0200 Subject: [Paraview] Calculation of Lambda2 using ParaView... In-Reply-To: References: <181bccbf-b0fe-a6d1-cca5-6b2dfbb7b4cb@DLR.de> <9265b3d5-5061-63e2-dfa0-515232cd42e4@DLR.de> Message-ID: <052ac0f1-96ba-c112-de51-9a4b46b15b64@DLR.de> Hi Andy, ok - try to do the job with a programmable filter: importnumpyasnp fromnumpyimportlinalg asLA fromparaview.numpy_supportimportvtk_to_numpy input0 =inputs[0] # Test NumPy w, v =LA.eig(np.diag((1, 2, 3))) printw printv npArr =vtk_to_numpy(input0.PointData["val"]) The test with the eig-function works fine. However - i have to convert the val-Tensor from VTK to NumPy to work with NumPy. I use therefore the vtk_to_numpy function - but it gives Traceback (most recent call last): File "", line 22, in File "", line 19, in RequestData File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/paraview/numpy_support.py", line 213, in vtk_to_numpy typ = vtk_array.GetDataType() AttributeError: 'VTKCompositeDataArray' object has no attribute 'GetDataType' [ 1. 2. 3.] [[ 1. 0. 0.] [ 0. 1. 0.] [ 0. 0. 1.]] What did i wrong? Stefan > Hi, > > The best way to do this would be in a programmable filter. I'm > guessing numpy has some method to compute eigenvalues for > non-symmetric matrices. Beyond that adding the capability to the > Python calculator or some other filter would be needed. > > > > On Tue, Jun 13, 2017 at 3:35 AM, Stefan Melber > wrote: > > Hi Andy, > > i think i found the reason: i need the computation of > (unsymmetrical) eigenvalues for lambda2 - however it seems that > the function "eingenvalue" calculates only symmetric ones (see > https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/paraview.vtk.numpy_interface.algorithms.html > ). > How can i calculate the unsymmetric ones with ParaView? > > Best regards, > > Stefan > > >> Hi, >> >> Maybe compute each portion manually and check that against the >> correct values. Also, verifying the gradient calculation is >> correct is another thing to look at. If the grid isn't specified >> properly then the gradient operation will likely be wrong. >> >> On Fri, Jun 9, 2017 at 8:46 AM, Stefan Melber >> > wrote: >> >> Hi, >> >> >> for vortex-detection i (tried) to calculate the >> lambda2-criterion (see e.g. >> https://en.wikipedia.org/wiki/Lambda2_method >> ) with >> ParaView. The way of calculation is based on this link >> http://www.iesensor.com/blog/2016/01/24/using-paraview-to-visualise-vorticity-lambda2-vorticity-q-criterion/ >> . >> >> However - the results are a kind of "wrong" - see attached >> pictures: l2_solver.png shows what the flow solver writes out >> for lambda2, l2_paraview.png shows what calculated with the >> algorithm below. >> >> Calculation of lambda2: >> >> D = Gradients = [d_ij] >> S = strain(Vel) >> >> S = (D + D^T)/2 >> Omega = (D - D^T)/2 >> >> lambda = EigenValue_of(S^2 + Omega^2) >> = EigenValue_of(S^2 + (D - S)^2) >> = EigenValue_of(S^2 + (Gradients - strain(vel))^2) >> >> lambda2 = lambda_Y >> >> and in ParaView this mean >> >> o Vector of velocity with "Calculator".................: Vel >> = iHat*x_velocity+jHat*y_velocity+kHat*z_velocity >> o Gradients of Vel with "GradientOfUnstructuredDataSet": >> switch on "compute gradient" and name it "Gradients" >> o Calculate lambda with "PythonCalculator".............: >> lambda = eigenvalue(strain(Vel)**2+(Gradients - strain(Vel))**2) >> o Caluclate lambda2 with Calculator....................: >> lambda2 = lambda_Y >> >> >> >> Does anyone see the error why the calculation of lambda2 with >> ParaView does not work? >> >> Remark: i contacted the author of the blog above already - >> seems he never tested his calculation and has no idea what is >> "wrong". >> >> Stefan >> >> >> >> ================================================================ >> >> _/ *Dr. Stefan Melber-Wilkending* >> _/_/ >> _/ _/ Deutsches Zentrum f?r Luft- >> _/_/_/_/_/_/_/_/_/_/ und Raumfahrt e.V. (DLR) >> _/ _/ _/ _/ >> _/ _/ _/ _/ German Aerospace Center >> _/_/_/_/_/_/_/_/_/_/ Institute of Aerodynamics >> _/ _/ _ _ and Flow Technology >> _/_/ | \ | |_| Transport Aircraft Branch >> _/ |_/ |_ | \ >> Lilienthalplatz 7 >> Fields of activities: 38108 Braunschweig >> Germany >> o Numerical Windtunnel Simulation >> o Aero-Acoustic Windtunnel Design Phone : +49 531/295-2836 >> >> o Numerical Optimization Fax. .: +49 531/295-2914 >> >> o Visualization Techniques >> o High-Lift Aerodynamics Email : Stefan.Melber at DLR.de >> >> o Glider-Aerodynamics Web ..: http://www.dlr.de/AS >> >> ================================================================ >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at seoaachen.de Wed Jun 14 10:54:49 2017 From: info at seoaachen.de (Daniel Zuidinga) Date: Wed, 14 Jun 2017 16:54:49 +0200 Subject: [Paraview] vtm in paraview web In-Reply-To: References: Message-ID: <42fb7e24-37ca-1bdc-0de6-ab9fcb63db68@seoaachen.de> Hi Seb, what do you mean by padding? how can I add it? br Am 12.06.2017 um 23:51 schrieb Sebastien Jourdain: > Hi Daniel, > > I've loaded your data files and it seems that the issue is related to > the order the time serie. > > Because you do not have a 0 padding, the first 10 steps get > interleaved with the 10, 20, 30... We can improve the sorting > algorithm but if you add a zero for padding, you should be all set (I > mean, I did try and that solved the issue). > > Seb > > > On Mon, Jun 12, 2017 at 3:24 PM, Daniel Zuidinga > wrote: > > Hi, > > I converted a salome/code_aster med file to vtm and all values are > right in paraview. But in paraview web there are failures on some > time steps. I think this is a bug? What can I do? I tried this > with several files and have always the same errors. > > Example file: > https://www.dropbox.com/s/mt2qeb8d50koepv/Km5oysKroZ_VDb1iUuR.zip?dl=0 > > > regards > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Jun 14 10:57:53 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 14 Jun 2017 08:57:53 -0600 Subject: [Paraview] vtm in paraview web In-Reply-To: <42fb7e24-37ca-1bdc-0de6-ab9fcb63db68@seoaachen.de> References: <42fb7e24-37ca-1bdc-0de6-ab9fcb63db68@seoaachen.de> Message-ID: I mean the file names should be as follow: uuzip.btm_00.vtm uuzip.btm_01.vtm uuzip.btm_02.vtm uuzip.btm_03.vtm uuzip.btm_04.vtm uuzip.btm_05.vtm uuzip.btm_06.vtm uuzip.btm_07.vtm uuzip.btm_08.vtm uuzip.btm_09.vtm uuzip.btm_10.vtm [...] On Wed, Jun 14, 2017 at 8:54 AM, Daniel Zuidinga wrote: > Hi Seb, > > what do you mean by padding? how can I add it? > > br > > > Am 12.06.2017 um 23:51 schrieb Sebastien Jourdain: > > Hi Daniel, > > I've loaded your data files and it seems that the issue is related to the > order the time serie. > > Because you do not have a 0 padding, the first 10 steps get interleaved > with the 10, 20, 30... We can improve the sorting algorithm but if you add > a zero for padding, you should be all set (I mean, I did try and that > solved the issue). > > Seb > > > On Mon, Jun 12, 2017 at 3:24 PM, Daniel Zuidinga > wrote: > >> Hi, >> >> I converted a salome/code_aster med file to vtm and all values are right >> in paraview. But in paraview web there are failures on some time steps. I >> think this is a bug? What can I do? I tried this with several files and >> have always the same errors. >> >> Example file: >> https://www.dropbox.com/s/mt2qeb8d50koepv/Km5oysKroZ_VDb1iUuR.zip?dl=0 >> >> regards >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Jun 14 11:06:34 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 14 Jun 2017 09:06:34 -0600 Subject: [Paraview] vtm in paraview web In-Reply-To: References: <42fb7e24-37ca-1bdc-0de6-ab9fcb63db68@seoaachen.de> Message-ID: Another solution would be to properly sort the content of "fileToLoad" here https://github.com/Kitware/ParaView/blob/master/Web/Python/paraview/web/protocols.py#L1888 On Wed, Jun 14, 2017 at 8:57 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > I mean the file names should be as follow: > > uuzip.btm_00.vtm > uuzip.btm_01.vtm > uuzip.btm_02.vtm > uuzip.btm_03.vtm > uuzip.btm_04.vtm > uuzip.btm_05.vtm > uuzip.btm_06.vtm > uuzip.btm_07.vtm > uuzip.btm_08.vtm > uuzip.btm_09.vtm > uuzip.btm_10.vtm > [...] > > On Wed, Jun 14, 2017 at 8:54 AM, Daniel Zuidinga > wrote: > >> Hi Seb, >> >> what do you mean by padding? how can I add it? >> >> br >> >> >> Am 12.06.2017 um 23:51 schrieb Sebastien Jourdain: >> >> Hi Daniel, >> >> I've loaded your data files and it seems that the issue is related to the >> order the time serie. >> >> Because you do not have a 0 padding, the first 10 steps get interleaved >> with the 10, 20, 30... We can improve the sorting algorithm but if you add >> a zero for padding, you should be all set (I mean, I did try and that >> solved the issue). >> >> Seb >> >> >> On Mon, Jun 12, 2017 at 3:24 PM, Daniel Zuidinga >> wrote: >> >>> Hi, >>> >>> I converted a salome/code_aster med file to vtm and all values are right >>> in paraview. But in paraview web there are failures on some time steps. I >>> think this is a bug? What can I do? I tried this with several files and >>> have always the same errors. >>> >>> Example file: >>> https://www.dropbox.com/s/mt2qeb8d50koepv/Km5oysKroZ_VDb1iUuR.zip?dl=0 >>> >>> regards >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects 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 >>> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From xoviat at tamu.edu Wed Jun 14 13:25:49 2017 From: xoviat at tamu.edu (Geoffrey Garner) Date: Wed, 14 Jun 2017 12:25:49 -0500 Subject: [Paraview] Black box when starting parvaview Message-ID: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> When I open Paraview 5.4.0 amd64 win10, I see the following black box on the screen. The box was not originally there and expands to the entire screen when data is loaded. Because the coordinate arrows should be there, I believe this has something to do with rendering. I have tried uninstalling and reinstalling the software, to no avail. Has anyone got any ideas? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 78E99BAECD264BDF9BE31A625C20DB60.png Type: image/png Size: 9075 bytes Desc: not available URL: From wascott at sandia.gov Wed Jun 14 13:45:06 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 14 Jun 2017 17:45:06 +0000 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> Message-ID: <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> Only thing I can think of is to blow away your configuration files. These do persist between versions, and I have seen these go bad. https://www.paraview.org/Wiki/ParaView_Settings_Files. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Geoffrey Garner Sent: Wednesday, June 14, 2017 11:26 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Black box when starting parvaview When I open Paraview 5.4.0 amd64 win10, I see the following black box on the screen. The box was not originally there and expands to the entire screen when data is loaded. Because the coordinate arrows should be there, I believe this has something to do with rendering. I have tried uninstalling and reinstalling the software, to no avail. Has anyone got any ideas? [cid:image001.png at 01D2E503.AA268740] Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 9075 bytes Desc: image001.png URL: From ken.martin at kitware.com Wed Jun 14 15:46:10 2017 From: ken.martin at kitware.com (Ken Martin) Date: Wed, 14 Jun 2017 15:46:10 -0400 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> Message-ID: I have seen this on one of my intel GPU systems as well. I think it is a known issue we are having with the new Qt version and those systems specific to Windows. I would bet the prior version of ParaView (5.3?) will work. Probably if you built the 5.4 version of ParaView against Qt4 it would work as well. - Ken On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan wrote: > Only thing I can think of is to blow away your configuration files. These > do persist between versions, and I have seen these go bad. > https://www.paraview.org/Wiki/ParaView_Settings_Files. > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Geoffrey > Garner > *Sent:* Wednesday, June 14, 2017 11:26 AM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Black box when starting parvaview > > > > When I open Paraview 5.4.0 amd64 win10, I see the following black box on > the screen. The box was not originally there and expands to the entire > screen when data is loaded. Because the coordinate arrows should be there, > I believe this has something to do with rendering. I have tried > uninstalling and reinstalling the software, to no avail. Has anyone got any > ideas? > > > > > > > > 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 > > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 9075 bytes Desc: not available URL: From xoviat at tamu.edu Wed Jun 14 16:08:16 2017 From: xoviat at tamu.edu (Geoffrey Garner) Date: Wed, 14 Jun 2017 15:08:16 -0500 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> Message-ID: <594197af.2c139d0a.edd8c.3ccd@mx.google.com> That seemed to solve the issue. From: Ken Martin Sent: Wednesday, June 14, 2017 2:46 PM To: Scott, W Alan Cc: Geoffrey Garner; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview I have seen this on one of my intel GPU systems as well. I think it is a known issue we are having with the new Qt version and those systems specific to Windows.? I would bet the prior version of ParaView (5.3?) will work. Probably if you built the 5.4 version of ParaView against Qt4 it would work as well. - Ken On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan wrote: Only thing I can think of is to blow away your configuration files.? These do persist between versions, and I have seen these go bad.? https://www.paraview.org/Wiki/ParaView_Settings_Files. ? Alan ? From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Geoffrey Garner Sent: Wednesday, June 14, 2017 11:26 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Black box when starting parvaview ? When I open Paraview 5.4.0 amd64 win10, I see the following black box on the screen. The box was not originally there and expands to the entire screen when data is loaded. Because the coordinate arrows should be there, I believe this has something to do with rendering. I have tried uninstalling and reinstalling the software, to no avail. Has anyone got any ideas? ? ? ? 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 -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 9075 bytes Desc: not available URL: From quang.t.ha.20 at gmail.com Wed Jun 14 17:19:20 2017 From: quang.t.ha.20 at gmail.com (Quang Ha) Date: Wed, 14 Jun 2017 17:19:20 -0400 Subject: [Paraview] Paraview with Python 3 make install failed to find six.pyc Message-ID: Hi, I was trying to build and install paraview with Python 3. Build was fine, make was 100% complete. Make install not so much... [100%] Built target paraview [100%] Built target paraview-launcher Install the project... -- Install configuration: "Debug" -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkPVPythonCatalystPython35D-pv5.4.so.1 -- Up-to-date: /usr/local/lib/paraview-5.4/ libvtkPVPythonCatalystPython35D-pv5.4.so -- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/vtk/vtkPVPythonCatalystPython.so -- Up-to-date: /usr/local/lib/paraview-5.4/.plugins -- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so.1 -- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so.1 -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so -- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/six.py CMake Error at VTK/ThirdParty/SixPython/cmake_install.cmake:36 (file): file INSTALL cannot find "/home/qth20/paraview/build/lib/site-packages/six.pyc". Call Stack (most recent call first): VTK/cmake_install.cmake:42 (include) cmake_install.cmake:94 (include) Makefile:71: recipe for target 'install' failed make: *** [install] Error 1 After utilising some google-fu I arrived at this: http://vtk.1045678.n5.nabble.com/VTK-Python-3-and-the-six-module-install-error-on-six-pyc-td5743242.html - which seems to have been merged into master already. What else should I tried in this case? Thanks, Quang -------------- next part -------------- An HTML attachment was scrubbed... URL: From fontana.mauro at gmail.com Wed Jun 14 19:30:03 2017 From: fontana.mauro at gmail.com (Mauro Fontana) Date: Wed, 14 Jun 2017 23:30:03 +0000 Subject: [Paraview] Paraview with Python 3 make install failed to find six.pyc In-Reply-To: References: Message-ID: Hi Quang, The exact same thing happened to me a few weeks ago while building Paraview 5.4 with Python3. To solve it you need to move and rename some files because Python's convention for naming precompiled code changed in Python3. In my case, I could see the precompiled files in paraview_build/lib/site-packages/__pycache__ (where paraview_build is, of course, my building dir). You'll probably find two files in there, named *six.cpython-PYVER.pyc* and *six.cpython-PYVER.opt-1.pyc* (PYVER is your version of python, 35 in my case, for 3.5). You need to move them to *../six.pyc* and *../six.pyo* (note the ../ meaning they end up in the site-packages directory, not __pycache__). With that manual changes, make installed worked like a charm. Hope it helps you. Cheers, Mauro Fontana On Wed, Jun 14, 2017 at 6:19 PM Quang Ha wrote: > Hi, > > I was trying to build and install paraview with Python 3. Build was fine, > make was 100% complete. Make install not so much... > > [100%] Built target paraview > [100%] Built target paraview-launcher > Install the project... > -- Install configuration: "Debug" > -- Up-to-date: > /usr/local/lib/paraview-5.4/libvtkPVPythonCatalystPython35D-pv5.4.so.1 > -- Up-to-date: /usr/local/lib/paraview-5.4/ > libvtkPVPythonCatalystPython35D-pv5.4.so > -- Up-to-date: > /usr/local/lib/paraview-5.4/site-packages/vtk/vtkPVPythonCatalystPython.so > -- Up-to-date: /usr/local/lib/paraview-5.4/.plugins > -- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so.1 > -- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so > -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so.1 > -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so > -- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/six.py > CMake Error at VTK/ThirdParty/SixPython/cmake_install.cmake:36 (file): > file INSTALL cannot find > "/home/qth20/paraview/build/lib/site-packages/six.pyc". > Call Stack (most recent call first): > VTK/cmake_install.cmake:42 (include) > cmake_install.cmake:94 (include) > > > Makefile:71: recipe for target 'install' failed > make: *** [install] Error 1 > > After utilising some google-fu I arrived at this: > http://vtk.1045678.n5.nabble.com/VTK-Python-3-and-the-six-module-install-error-on-six-pyc-td5743242.html > - which seems to have been merged into master already. What else should I > tried in this case? > > Thanks, > Quang > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quang.t.ha.20 at gmail.com Thu Jun 15 06:52:32 2017 From: quang.t.ha.20 at gmail.com (Quang Ha) Date: Thu, 15 Jun 2017 06:52:32 -0400 Subject: [Paraview] Paraview with Python 3 make install failed to find six.pyc In-Reply-To: References: Message-ID: Thanks for your solution Mauro! It works finally! :) Quang On 14 June 2017 at 19:30, Mauro Fontana wrote: > Hi Quang, > > The exact same thing happened to me a few weeks ago while building > Paraview 5.4 with Python3. > > To solve it you need to move and rename some files because Python's > convention for naming precompiled code changed in Python3. In my case, I > could see the precompiled files in paraview_build/lib/site-packages/__pycache__ > (where paraview_build is, of course, my building dir). You'll probably find > two files in there, named *six.cpython-PYVER.pyc* and > *six.cpython-PYVER.opt-1.pyc* (PYVER is your version of python, 35 in my > case, for 3.5). You need to move them to *../six.pyc* and *../six.pyo* (note > the ../ meaning they end up in the site-packages directory, not > __pycache__). > > With that manual changes, make installed worked like a charm. > > Hope it helps you. > > Cheers, > Mauro Fontana > > On Wed, Jun 14, 2017 at 6:19 PM Quang Ha wrote: > >> Hi, >> >> I was trying to build and install paraview with Python 3. Build was fine, >> make was 100% complete. Make install not so much... >> >> [100%] Built target paraview >> [100%] Built target paraview-launcher >> Install the project... >> -- Install configuration: "Debug" >> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkPVPythonCatalystPython35 >> D-pv5.4.so.1 >> -- Up-to-date: /usr/local/lib/paraview-5.4/li >> bvtkPVPythonCatalystPython35D-pv5.4.so >> -- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/vtk/ >> vtkPVPythonCatalystPython.so >> -- Up-to-date: /usr/local/lib/paraview-5.4/.plugins >> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so.1 >> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so >> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so.1 >> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so >> -- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/six.py >> CMake Error at VTK/ThirdParty/SixPython/cmake_install.cmake:36 (file): >> file INSTALL cannot find >> "/home/qth20/paraview/build/lib/site-packages/six.pyc". >> Call Stack (most recent call first): >> VTK/cmake_install.cmake:42 (include) >> cmake_install.cmake:94 (include) >> >> >> Makefile:71: recipe for target 'install' failed >> make: *** [install] Error 1 >> >> After utilising some google-fu I arrived at this: http://vtk.1045678.n5. >> nabble.com/VTK-Python-3-and-the-six-module-install-error- >> on-six-pyc-td5743242.html - which seems to have been merged into master >> already. What else should I tried in this case? >> >> Thanks, >> Quang >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rustem.khabetdinov at gmail.com Thu Jun 15 07:24:05 2017 From: rustem.khabetdinov at gmail.com (Rustem Khabetdinov) Date: Thu, 15 Jun 2017 14:24:05 +0300 Subject: [Paraview] Using python shell in pvserver Message-ID: Hello, Is it possible to run python scripts while connected to remote server? For example, I want to be able to run a script that downloads data on remote server. Best Regards, Rustem -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Thu Jun 15 08:54:01 2017 From: ken.martin at kitware.com (Ken Martin) Date: Thu, 15 Jun 2017 08:54:01 -0400 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: <594197af.2c139d0a.edd8c.3ccd@mx.google.com> References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> Message-ID: For others that have the same issue, was the solution using 5.3 or building against Qt4 for you? On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner wrote: > That seemed to solve the issue. > > > > *From: *Ken Martin > *Sent: *Wednesday, June 14, 2017 2:46 PM > *To: *Scott, W Alan > *Cc: *Geoffrey Garner ; paraview at paraview.org > *Subject: *Re: [Paraview] [EXTERNAL] Black box when starting parvaview > > > > I have seen this on one of my intel GPU systems as well. I think it is a > known issue we are having with the new Qt version and those systems > specific to Windows. I would bet the prior version of ParaView (5.3?) will > work. Probably if you built the 5.4 version of ParaView against Qt4 it > would work as well. > > > > - Ken > > > > > > > > > > > > On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan wrote: > > Only thing I can think of is to blow away your configuration files. These > do persist between versions, and I have seen these go bad. > https://www.paraview.org/Wiki/ParaView_Settings_Files > > . > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Geoffrey > Garner > *Sent:* Wednesday, June 14, 2017 11:26 AM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Black box when starting parvaview > > > > When I open Paraview 5.4.0 amd64 win10, I see the following black box on > the screen. The box was not originally there and expands to the entire > screen when data is loaded. Because the coordinate arrows should be there, > I believe this has something to do with rendering. I have tried > uninstalling and reinstalling the software, to no avail. Has anyone got any > ideas? > > > > > > [image: cid:image001.png at 01D2E503.AA268740] > > > > 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 > > > > > > > -- > > Ken Martin PhD > > Distinguished Engineer > Kitware Inc. > > 28 Corporate Drive > Clifton Park NY 12065 > > > > 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. > > > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From josue.barboza at gmail.com Thu Jun 15 09:33:12 2017 From: josue.barboza at gmail.com (=?UTF-8?Q?Josu=C3=A9_Aristide_Paul_Barboza?=) Date: Thu, 15 Jun 2017 15:33:12 +0200 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> Message-ID: Disabling the FXAA antialiasing on 3D geometry ( Menu Edit->Settings->Render View->disable "Use FXAA" ) has fixed my "black box" issue. Regards, 2017-06-15 14:54 GMT+02:00 Ken Martin : > For others that have the same issue, was the solution using 5.3 or > building against Qt4 for you? > > On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner wrote: > >> That seemed to solve the issue. >> >> >> >> *From: *Ken Martin >> *Sent: *Wednesday, June 14, 2017 2:46 PM >> *To: *Scott, W Alan >> *Cc: *Geoffrey Garner ; paraview at paraview.org >> *Subject: *Re: [Paraview] [EXTERNAL] Black box when starting parvaview >> >> >> >> I have seen this on one of my intel GPU systems as well. I think it is a >> known issue we are having with the new Qt version and those systems >> specific to Windows. I would bet the prior version of ParaView (5.3?) will >> work. Probably if you built the 5.4 version of ParaView against Qt4 it >> would work as well. >> >> >> >> - Ken >> >> >> >> >> >> >> >> >> >> >> >> On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan >> wrote: >> >> Only thing I can think of is to blow away your configuration files. >> These do persist between versions, and I have seen these go bad. >> https://www.paraview.org/Wiki/ParaView_Settings_Files >> >> . >> >> >> >> Alan >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Geoffrey >> Garner >> *Sent:* Wednesday, June 14, 2017 11:26 AM >> *To:* paraview at paraview.org >> *Subject:* [EXTERNAL] [Paraview] Black box when starting parvaview >> >> >> >> When I open Paraview 5.4.0 amd64 win10, I see the following black box on >> the screen. The box was not originally there and expands to the entire >> screen when data is loaded. Because the coordinate arrows should be there, >> I believe this has something to do with rendering. I have tried >> uninstalling and reinstalling the software, to no avail. Has anyone got any >> ideas? >> >> >> >> >> >> [image: cid:image001.png at 01D2E503.AA268740] >> >> >> >> 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 >> >> >> >> >> >> >> -- >> >> Ken Martin PhD >> >> Distinguished Engineer >> Kitware Inc. >> >> 28 Corporate Drive >> Clifton Park NY 12065 >> >> >> >> 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. >> >> >> > > > > -- > Ken Martin PhD > Distinguished Engineer > Kitware Inc. > 28 Corporate Drive > Clifton Park NY 12065 > > 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 > > -- Josu? Aristide Paul Barboza -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Jun 15 12:05:11 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 15 Jun 2017 16:05:11 +0000 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> Message-ID: <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> Has anyone at Kitware seen this issue? On a Windows box, just open ParaView. There will be a black window lower left side of the 3d view. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Josu? Aristide Paul Barboza Sent: Thursday, June 15, 2017 7:33 AM To: Ken Martin Cc: Geoffrey Garner ; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview Disabling the FXAA antialiasing on 3D geometry ( Menu Edit->Settings->Render View->disable "Use FXAA" ) has fixed my "black box" issue. Regards, 2017-06-15 14:54 GMT+02:00 Ken Martin >: For others that have the same issue, was the solution using 5.3 or building against Qt4 for you? On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner > wrote: That seemed to solve the issue. From: Ken Martin Sent: Wednesday, June 14, 2017 2:46 PM To: Scott, W Alan Cc: Geoffrey Garner; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview I have seen this on one of my intel GPU systems as well. I think it is a known issue we are having with the new Qt version and those systems specific to Windows. I would bet the prior version of ParaView (5.3?) will work. Probably if you built the 5.4 version of ParaView against Qt4 it would work as well. - Ken On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan > wrote: Only thing I can think of is to blow away your configuration files. These do persist between versions, and I have seen these go bad. https://www.paraview.org/Wiki/ParaView_Settings_Files. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Geoffrey Garner Sent: Wednesday, June 14, 2017 11:26 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Black box when starting parvaview When I open Paraview 5.4.0 amd64 win10, I see the following black box on the screen. The box was not originally there and expands to the entire screen when data is loaded. Because the coordinate arrows should be there, I believe this has something to do with rendering. I have tried uninstalling and reinstalling the software, to no avail. Has anyone got any ideas? 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 -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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 -- Josu? Aristide Paul Barboza -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Jun 15 12:22:42 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 15 Jun 2017 16:22:42 +0000 Subject: [Paraview] [EXTERNAL] Using python shell in pvserver In-Reply-To: References: Message-ID: <6bdec90f440f4839b36f9b6ae182af2f@ES01AMSNLNT.srn.sandia.gov> Should work. I believe you can create the script by running ParaView, connect remote server, then create a trace. Tools/ start trace. Download (I assume you mean File/ Open), tools/ stop trace. Now you have a python script that will work remote server. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Rustem Khabetdinov Sent: Thursday, June 15, 2017 5:24 AM To: ParaView Subject: [EXTERNAL] [Paraview] Using python shell in pvserver Hello, Is it possible to run python scripts while connected to remote server? For example, I want to be able to run a script that downloads data on remote server. Best Regards, Rustem -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Thu Jun 15 12:58:31 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Thu, 15 Jun 2017 16:58:31 +0000 Subject: [Paraview] Clever way to identify a ring of element? Message-ID: All, Imagine I have a model of a doughnut. I want to identify rings in the model. A ring is a set of elements in an r, z, theta coordinate system which has the same radius and z_coordinate and only differs in the angular coordinate. Of course, since trig functions are used in calculating the radius, we are not guaranteed that the radius will be absolutely identical for each element in the ring. Is there a clever (as in fast and easy) way to sort out elements belonging to individual rings and perhaps assign something like a ring number to them so that a threshold could be used to examine individual rings. I'm hoping there is some clever vtk stuff that I'm not familiar with that would help with this. Thanks for any thoughts Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From antech777 at gmail.com Fri Jun 16 03:39:52 2017 From: antech777 at gmail.com (Andrew) Date: Fri, 16 Jun 2017 10:39:52 +0300 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> Message-ID: Hello. I use ParaView via RDP on remote Windows-7 (x64) machine. Version 5.4.0 (x64) shows black render window... Disabling FXAA didn't help. Some info from About dialog: Qt version: 5.8.0, OpenGL Vendor: NVIDIA Corporation, OpenGL Version: 4.5.0 NVIDIA 377.35 (current driver version is installed), OpenGL renderer: Quadro K4000/PCIe/SSE2. Vesrions up to 5.2 work good. I understand that it's likely an RDP issue and don't hope that newer versions will work so just use 5.2 on this machine. 2017-06-15 19:05 GMT+03:00 Scott, W Alan : > Has anyone at Kitware seen this issue? > > > > On a Windows box, just open ParaView. There will be a black window lower > left side of the 3d view. > > > > Alan > > > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Josu? > Aristide Paul Barboza > *Sent:* Thursday, June 15, 2017 7:33 AM > *To:* Ken Martin > *Cc:* Geoffrey Garner ; paraview at paraview.org > *Subject:* Re: [Paraview] [EXTERNAL] Black box when starting parvaview > > > > Disabling the FXAA antialiasing on 3D geometry ( Menu > Edit->Settings->Render View->disable "Use FXAA" ) has fixed my "black box" > issue. > > > > Regards, > > > > 2017-06-15 14:54 GMT+02:00 Ken Martin : > > For others that have the same issue, was the solution using 5.3 or > building against Qt4 for you? > > > > On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner wrote: > > That seemed to solve the issue. > > > > *From: *Ken Martin > *Sent: *Wednesday, June 14, 2017 2:46 PM > *To: *Scott, W Alan > *Cc: *Geoffrey Garner ; paraview at paraview.org > *Subject: *Re: [Paraview] [EXTERNAL] Black box when starting parvaview > > > > I have seen this on one of my intel GPU systems as well. I think it is a > known issue we are having with the new Qt version and those systems > specific to Windows. I would bet the prior version of ParaView (5.3?) will > work. Probably if you built the 5.4 version of ParaView against Qt4 it > would work as well. > > > > - Ken > > > > > > > > > > > > On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan wrote: > > Only thing I can think of is to blow away your configuration files. These > do persist between versions, and I have seen these go bad. > https://www.paraview.org/Wiki/ParaView_Settings_Files > > . > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Geoffrey > Garner > *Sent:* Wednesday, June 14, 2017 11:26 AM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Black box when starting parvaview > > > > When I open Paraview 5.4.0 amd64 win10, I see the following black box on > the screen. The box was not originally there and expands to the entire > screen when data is loaded. Because the coordinate arrows should be there, > I believe this has something to do with rendering. I have tried > uninstalling and reinstalling the software, to no avail. Has anyone got any > ideas? > > > > > > > > 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 > > > > > > > -- > > Ken Martin PhD > > Distinguished Engineer > Kitware Inc. > > 28 Corporate Drive > Clifton Park NY 12065 > > > > 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. > > > > > > > > -- > > Ken Martin PhD > > Distinguished Engineer > Kitware Inc. > > 28 Corporate Drive > Clifton Park NY 12065 > > > > 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 > > > > > > -- > > Josu? Aristide Paul Barboza > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stefan.Melber at DLR.de Fri Jun 16 04:47:06 2017 From: Stefan.Melber at DLR.de (Stefan Melber) Date: Fri, 16 Jun 2017 10:47:06 +0200 Subject: [Paraview] MPI-Error during using "Programmable Filter"... Message-ID: <666115e6-5e02-b56f-f7e2-76cb3332e2ea@DLR.de> Hi, i have used a programmable filter (find it below) to calculate the lambda2-criterion from gradients of velocity. In serial mode this works fine - running it in parallel an error message comes up. Any idea what does it mean and whats wrong with the filter? Best regards, Stefan Executing with: 0 Executing with: 0 Executing with: 0 Executing with: 0 Executing with: 0 Executing with: 0 Executing with: 0 Executing with: 0 2385958 2406377 2220610 2292001 2144431 2331490 2061524 2344595 Traceback (most recent call last): File "", line 22, in File "", line 76, in RequestData File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 358, in max return _global_func(MaxImpl(), array, axis, controller) File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 199, in _global_func max_dims, size = _reduce_dims(res, comm) File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 168, in _reduce_dims comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list Traceback (most recent call last): File "", line 22, in Traceback (most recent call last): File "", line 76, in RequestData File "", line 22, in File "", line 76, in RequestData File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 358, in max File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 358, in max return _global_func(MaxImpl(), array, axis, controller) File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 199, in _global_func max_dims, size = _reduce_dims(res, comm) return _global_func(MaxImpl(), array, axis, controller) File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 199, in _global_func File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 168, in _reduce_dims max_dims, size = _reduce_dims(res, comm) comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) File "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", line 168, in _reduce_dims mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list grad =inputs[0].PointData["Gradients"] npoints =len(grad) printnpoints data =[] fori inrange(npoints): # Gradients dvx =grad[i,:][0] dvy =grad[i,:][1] dvz =grad[i,:][2] # Symmetrical part of flow tensor -> S s0 =dvx[0] s1 =0.5*(dvx[1] +dvy[0]) s2 =0.5*(dvx[2] +dvz[0]) s3 =0.5*(dvy[0] +dvx[1]) s4 =dvy[1]; s5 =0.5*(dvy[2] +dvz[1]) s6 =0.5*(dvz[0] +dvx[2]) s7 =0.5*(dvz[1] +dvy[2]) s8 =dvz[2] # Antisymmetrical part of flow tensor -> Omega Omega0 =0.0 Omega1 =0.5*(dvx[1] -dvy[0]) Omega2 =0.5*(dvx[2] -dvz[0]) Omega3 =0.5*(dvy[0] -dvx[1]) Omega4 =0.0 Omega5 =0.5*(dvy[2] -dvz[1]) Omega6 =0.5*(dvz[0] -dvx[2]) Omega7 =0.5*(dvz[1] -dvy[2]) Omega8 =0.0 # Matrix M = (S^2 + Omega^2) # M is symmetric # | m0 m1 m2 | # M = | m1 m3 m4 | # | m2 m4 m5 | m0 =s0*s0 +s1*s3 +s2*s6 +Omega1*Omega3 +Omega2*Omega6 m1 =s0*s1 +s1*s4 +s2*s7 +Omega2*Omega7 m2 =s0*s2 +s1*s5 +s2*s8 +Omega1*Omega5 m3 =s3*s1 +s4*s4 +s5*s7 +Omega3*Omega1 +Omega5*Omega7 m4 =s3*s2 +s4*s5 +s5*s8 +Omega3*Omega2 m5 =s6*s2 +s7*s5 +s8*s8 +Omega6*Omega2 +Omega7*Omega5 # computing now the eigenvalues of M # | M - lambda I | = 0 # returns the characteristic equation: # lambda^3 + p*lambda^2 + q*lambda + r = 0 # due to symmetric Matrix the following assumption can be made: # all three eigenvalues will be real root values ( no imaginary parts ) p =-1*( m0 +m3 +m5) q =-1*( m1*m1 +m2*m2 +m4*m4 -m0*m3 -m0*m5 -m3*m5) r =-1*( m0*m3*m5 +2*m1*m2*m4 -m2*m2*m3 -m4*m4*m0 -m1*m1*m5) # computing now the reduced equation # lambda^3 + s*lambda + t = 0 sx =(3.0*q -p*p) /3.0 t =(2.0*math.pow(p, 3.0) /27.0) -(p *q /3.0) +r # calculate unordered eigenvalues (Cardano's method) # -> at first check if ( 1.0 / sqrtt(-s^3) ) can be computed l =[0,0,0] if((sx *sx *sx) <-1e-16): tmp1 =math.sqrt( -1*sx /3.0) tmp2 =-1*t /(2.0*tmp1*tmp1*tmp1) c1 =2.0*tmp1 c2 =math.acos( min((1., max((-1., tmp2))) ) ) /3.0 l[0] =c1 *math.cos(c2) -p /3.0 l[1] =c1 *math.cos(c2 +2.*math.pi/3.) -p /3.0 l[2] =c1 *math.cos(c2 +4.*math.pi/3.) -p /3.0 # sort eigenvalues # lambda1 <= lambda2 <= lambda3 l.sort() # save second eigenvalue data.append(l[1]) output.PointData.append(data, "lambda2") -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Fri Jun 16 08:21:29 2017 From: ken.martin at kitware.com (Ken Martin) Date: Fri, 16 Jun 2017 08:21:29 -0400 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> Message-ID: I believe for RDP in some cases you can get it to work by starting the application before you connect with RDP. That way it gets a real OpenGL implementation. There are some threads on the internet about using time delayed scripts to do this etc. e.g. connect with RDP, run a script to launch the application in two minutes. Disconnect. Two minutes later reconnect and there is your app running with a real OpenGL. Why Microsoft makes this so difficult is a mystery to me. Probably because they originally wanted to forward the OpenGL calls as opposed to the resulting image. If you are connected with RDP Microsoft replaces whatever OpenGL you have with some ancient version of OpenGL and you are stuck back in 1990. I believe Nomachine and VNC both work as alternatives if you have that option. On Fri, Jun 16, 2017 at 3:39 AM, Andrew wrote: > Hello. I use ParaView via RDP on remote Windows-7 (x64) machine. Version > 5.4.0 (x64) shows black render window... > Disabling FXAA didn't help. Some info from About dialog: Qt version: > 5.8.0, OpenGL Vendor: NVIDIA Corporation, OpenGL Version: 4.5.0 NVIDIA > 377.35 (current driver version is installed), OpenGL renderer: Quadro > K4000/PCIe/SSE2. Vesrions up to 5.2 work good. I understand that it's > likely an RDP issue and don't hope that newer versions will work so just > use 5.2 on this machine. > > 2017-06-15 19:05 GMT+03:00 Scott, W Alan : > >> Has anyone at Kitware seen this issue? >> >> >> >> On a Windows box, just open ParaView. There will be a black window lower >> left side of the 3d view. >> >> >> >> Alan >> >> >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Josu? >> Aristide Paul Barboza >> *Sent:* Thursday, June 15, 2017 7:33 AM >> *To:* Ken Martin >> *Cc:* Geoffrey Garner ; paraview at paraview.org >> *Subject:* Re: [Paraview] [EXTERNAL] Black box when starting parvaview >> >> >> >> Disabling the FXAA antialiasing on 3D geometry ( Menu >> Edit->Settings->Render View->disable "Use FXAA" ) has fixed my "black box" >> issue. >> >> >> >> Regards, >> >> >> >> 2017-06-15 14:54 GMT+02:00 Ken Martin : >> >> For others that have the same issue, was the solution using 5.3 or >> building against Qt4 for you? >> >> >> >> On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner wrote: >> >> That seemed to solve the issue. >> >> >> >> *From: *Ken Martin >> *Sent: *Wednesday, June 14, 2017 2:46 PM >> *To: *Scott, W Alan >> *Cc: *Geoffrey Garner ; paraview at paraview.org >> *Subject: *Re: [Paraview] [EXTERNAL] Black box when starting parvaview >> >> >> >> I have seen this on one of my intel GPU systems as well. I think it is a >> known issue we are having with the new Qt version and those systems >> specific to Windows. I would bet the prior version of ParaView (5.3?) will >> work. Probably if you built the 5.4 version of ParaView against Qt4 it >> would work as well. >> >> >> >> - Ken >> >> >> >> >> >> >> >> >> >> >> >> On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan >> wrote: >> >> Only thing I can think of is to blow away your configuration files. >> These do persist between versions, and I have seen these go bad. >> https://www.paraview.org/Wiki/ParaView_Settings_Files >> >> . >> >> >> >> Alan >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Geoffrey >> Garner >> *Sent:* Wednesday, June 14, 2017 11:26 AM >> *To:* paraview at paraview.org >> *Subject:* [EXTERNAL] [Paraview] Black box when starting parvaview >> >> >> >> When I open Paraview 5.4.0 amd64 win10, I see the following black box on >> the screen. The box was not originally there and expands to the entire >> screen when data is loaded. Because the coordinate arrows should be there, >> I believe this has something to do with rendering. I have tried >> uninstalling and reinstalling the software, to no avail. Has anyone got any >> ideas? >> >> >> >> >> >> >> >> 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 >> >> >> >> >> >> >> -- >> >> Ken Martin PhD >> >> Distinguished Engineer >> Kitware Inc. >> >> 28 Corporate Drive >> Clifton Park NY 12065 >> >> >> >> 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. >> >> >> >> >> >> >> >> -- >> >> Ken Martin PhD >> >> Distinguished Engineer >> Kitware Inc. >> >> 28 Corporate Drive >> Clifton Park NY 12065 >> >> >> >> 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 >> >> >> >> >> >> -- >> >> Josu? Aristide Paul Barboza >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 > > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From antech777 at gmail.com Fri Jun 16 08:31:34 2017 From: antech777 at gmail.com (Andrew) Date: Fri, 16 Jun 2017 15:31:34 +0300 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> Message-ID: Ken, thanks for this idea about delayed ParaView start and about RDP issues. Actually, I use FreeRDP 1.0.2 on CentOS 6.5 laptop, I don't know should it work with "real" OpenGL or with "fake" OpenGL. There are also some Citrix services on remote machine (CtxSvcHost, CitrixCseEngine e.t.c.), maybe it affects RDP function someway... -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Fri Jun 16 08:38:00 2017 From: ken.martin at kitware.com (Ken Martin) Date: Fri, 16 Jun 2017 08:38:00 -0400 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> Message-ID: I have seen this with ParaView 5.4 on one of my 3-4 year old laptops. I have to turn off the nvidia chip so I am using the Intel GPU to see the issue. For me it impacts all rendering, not just volumes as some have reported. As soon as I startup PV 5.4 I get the black box in the corner where the axis actor is positioned. I just realized Cory and Utkarsh are both on vacation which is probably why this issue has been a bit quite on the Kitware side. On Thu, Jun 15, 2017 at 12:05 PM, Scott, W Alan wrote: > Has anyone at Kitware seen this issue? > > > > On a Windows box, just open ParaView. There will be a black window lower > left side of the 3d view. > > > > Alan > > > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Josu? > Aristide Paul Barboza > *Sent:* Thursday, June 15, 2017 7:33 AM > *To:* Ken Martin > *Cc:* Geoffrey Garner ; paraview at paraview.org > *Subject:* Re: [Paraview] [EXTERNAL] Black box when starting parvaview > > > > Disabling the FXAA antialiasing on 3D geometry ( Menu > Edit->Settings->Render View->disable "Use FXAA" ) has fixed my "black box" > issue. > > > > Regards, > > > > 2017-06-15 14:54 GMT+02:00 Ken Martin : > > For others that have the same issue, was the solution using 5.3 or > building against Qt4 for you? > > > > On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner wrote: > > That seemed to solve the issue. > > > > *From: *Ken Martin > *Sent: *Wednesday, June 14, 2017 2:46 PM > *To: *Scott, W Alan > *Cc: *Geoffrey Garner ; paraview at paraview.org > *Subject: *Re: [Paraview] [EXTERNAL] Black box when starting parvaview > > > > I have seen this on one of my intel GPU systems as well. I think it is a > known issue we are having with the new Qt version and those systems > specific to Windows. I would bet the prior version of ParaView (5.3?) will > work. Probably if you built the 5.4 version of ParaView against Qt4 it > would work as well. > > > > - Ken > > > > > > > > > > > > On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan wrote: > > Only thing I can think of is to blow away your configuration files. These > do persist between versions, and I have seen these go bad. > https://www.paraview.org/Wiki/ParaView_Settings_Files > > . > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Geoffrey > Garner > *Sent:* Wednesday, June 14, 2017 11:26 AM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Black box when starting parvaview > > > > When I open Paraview 5.4.0 amd64 win10, I see the following black box on > the screen. The box was not originally there and expands to the entire > screen when data is loaded. Because the coordinate arrows should be there, > I believe this has something to do with rendering. I have tried > uninstalling and reinstalling the software, to no avail. Has anyone got any > ideas? > > > > > > > > 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 > > > > > > > -- > > Ken Martin PhD > > Distinguished Engineer > Kitware Inc. > > 28 Corporate Drive > Clifton Park NY 12065 > > > > 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. > > > > > > > > -- > > Ken Martin PhD > > Distinguished Engineer > Kitware Inc. > > 28 Corporate Drive > Clifton Park NY 12065 > > > > 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 > > > > > > -- > > Josu? Aristide Paul Barboza > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jun 16 13:28:52 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 16 Jun 2017 17:28:52 +0000 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> Message-ID: <04ab79414b614e3cbbcbca8b136d561c@ES01AMSNLNT.srn.sandia.gov> And why I have been poking it. :-) I now have a user that has replicated it. I will write up a bug, including the fact that you can see it. Thanks Ken! Alan From: Ken Martin [mailto:ken.martin at kitware.com] Sent: Friday, June 16, 2017 6:38 AM To: Scott, W Alan Cc: Josu? Aristide Paul Barboza ; Geoffrey Garner ; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview I have seen this with ParaView 5.4 on one of my 3-4 year old laptops. I have to turn off the nvidia chip so I am using the Intel GPU to see the issue. For me it impacts all rendering, not just volumes as some have reported. As soon as I startup PV 5.4 I get the black box in the corner where the axis actor is positioned. I just realized Cory and Utkarsh are both on vacation which is probably why this issue has been a bit quite on the Kitware side. On Thu, Jun 15, 2017 at 12:05 PM, Scott, W Alan > wrote: Has anyone at Kitware seen this issue? On a Windows box, just open ParaView. There will be a black window lower left side of the 3d view. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Josu? Aristide Paul Barboza Sent: Thursday, June 15, 2017 7:33 AM To: Ken Martin > Cc: Geoffrey Garner >; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview Disabling the FXAA antialiasing on 3D geometry ( Menu Edit->Settings->Render View->disable "Use FXAA" ) has fixed my "black box" issue. Regards, 2017-06-15 14:54 GMT+02:00 Ken Martin >: For others that have the same issue, was the solution using 5.3 or building against Qt4 for you? On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner > wrote: That seemed to solve the issue. From: Ken Martin Sent: Wednesday, June 14, 2017 2:46 PM To: Scott, W Alan Cc: Geoffrey Garner; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview I have seen this on one of my intel GPU systems as well. I think it is a known issue we are having with the new Qt version and those systems specific to Windows. I would bet the prior version of ParaView (5.3?) will work. Probably if you built the 5.4 version of ParaView against Qt4 it would work as well. - Ken On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan > wrote: Only thing I can think of is to blow away your configuration files. These do persist between versions, and I have seen these go bad. https://www.paraview.org/Wiki/ParaView_Settings_Files. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Geoffrey Garner Sent: Wednesday, June 14, 2017 11:26 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Black box when starting parvaview When I open Paraview 5.4.0 amd64 win10, I see the following black box on the screen. The box was not originally there and expands to the entire screen when data is loaded. Because the coordinate arrows should be there, I believe this has something to do with rendering. I have tried uninstalling and reinstalling the software, to no avail. Has anyone got any ideas? 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 -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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 -- Josu? Aristide Paul Barboza -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jun 16 15:25:37 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 16 Jun 2017 19:25:37 +0000 Subject: [Paraview] [EXTERNAL] Black box when starting parvaview In-Reply-To: <04ab79414b614e3cbbcbca8b136d561c@ES01AMSNLNT.srn.sandia.gov> References: <5941719d.e1289d0a.1b10c.21f9@mx.google.com> <1e62d89871e84ea2a69d897372390e85@ES01AMSNLNT.srn.sandia.gov> <594197af.2c139d0a.edd8c.3ccd@mx.google.com> <01132ed5ae584113852678509ffb9dd2@ES01AMSNLNT.srn.sandia.gov> <04ab79414b614e3cbbcbca8b136d561c@ES01AMSNLNT.srn.sandia.gov> Message-ID: <2c075e34c5884d42aeeaf7350705728f@ES01AMSNLNT.srn.sandia.gov> OK, this has been replicated twice, once at Kitware. I believe there may be two issues going on, thus wrote up two bugs ? and a master bug. Numerous developers are on vacation ? Utkarsh is back next week, I believe. We will see what they say at that point. Master bug: https://gitlab.kitware.com/paraview/paraview/issues/17521 Black box, lower left, replicated is here: https://gitlab.kitware.com/paraview/paraview/issues/17523 Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Friday, June 16, 2017 11:29 AM To: Ken Martin Cc: Geoffrey Garner ; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview And why I have been poking it. :-) I now have a user that has replicated it. I will write up a bug, including the fact that you can see it. Thanks Ken! Alan From: Ken Martin [mailto:ken.martin at kitware.com] Sent: Friday, June 16, 2017 6:38 AM To: Scott, W Alan > Cc: Josu? Aristide Paul Barboza >; Geoffrey Garner >; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview I have seen this with ParaView 5.4 on one of my 3-4 year old laptops. I have to turn off the nvidia chip so I am using the Intel GPU to see the issue. For me it impacts all rendering, not just volumes as some have reported. As soon as I startup PV 5.4 I get the black box in the corner where the axis actor is positioned. I just realized Cory and Utkarsh are both on vacation which is probably why this issue has been a bit quite on the Kitware side. On Thu, Jun 15, 2017 at 12:05 PM, Scott, W Alan > wrote: Has anyone at Kitware seen this issue? On a Windows box, just open ParaView. There will be a black window lower left side of the 3d view. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Josu? Aristide Paul Barboza Sent: Thursday, June 15, 2017 7:33 AM To: Ken Martin > Cc: Geoffrey Garner >; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview Disabling the FXAA antialiasing on 3D geometry ( Menu Edit->Settings->Render View->disable "Use FXAA" ) has fixed my "black box" issue. Regards, 2017-06-15 14:54 GMT+02:00 Ken Martin >: For others that have the same issue, was the solution using 5.3 or building against Qt4 for you? On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner > wrote: That seemed to solve the issue. From: Ken Martin Sent: Wednesday, June 14, 2017 2:46 PM To: Scott, W Alan Cc: Geoffrey Garner; paraview at paraview.org Subject: Re: [Paraview] [EXTERNAL] Black box when starting parvaview I have seen this on one of my intel GPU systems as well. I think it is a known issue we are having with the new Qt version and those systems specific to Windows. I would bet the prior version of ParaView (5.3?) will work. Probably if you built the 5.4 version of ParaView against Qt4 it would work as well. - Ken On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan > wrote: Only thing I can think of is to blow away your configuration files. These do persist between versions, and I have seen these go bad. https://www.paraview.org/Wiki/ParaView_Settings_Files. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Geoffrey Garner Sent: Wednesday, June 14, 2017 11:26 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Black box when starting parvaview When I open Paraview 5.4.0 amd64 win10, I see the following black box on the screen. The box was not originally there and expands to the entire screen when data is loaded. Because the coordinate arrows should be there, I believe this has something to do with rendering. I have tried uninstalling and reinstalling the software, to no avail. Has anyone got any ideas? 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 -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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 -- Josu? Aristide Paul Barboza -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jun 16 17:01:19 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 16 Jun 2017 21:01:19 +0000 Subject: [Paraview] [EXTERNAL] Use separate arrays for colormap and opacity In-Reply-To: References: Message-ID: Hi Evan, The main Kitware folks that may know this answer are on vacation. They will be back within a week?ish. If you don?t have an answer in a week, send a friendly reminder. I believe that, without some python voodoo, this is not possible. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Evan Kao Sent: Tuesday, June 13, 2017 10:25 AM To: ParaView Subject: [EXTERNAL] [Paraview] Use separate arrays for colormap and opacity Hello all, We would like to be able to visualize an object without tying the colormap to the same array as the opacity. Specifically, we would like to animate pathlines and color them by velocity, while setting their opacity according to particle age. Is this possible in Paraview? Thanks, Evan Kao -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyndyb at email.arizona.edu Fri Jun 16 18:15:37 2017 From: cyndyb at email.arizona.edu (Hart, Cynthia Joyce - (cyndyb)) Date: Fri, 16 Jun 2017 22:15:37 +0000 Subject: [Paraview] troubles with netCDF reader ? Message-ID: 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Fri Jun 16 18:31:59 2017 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Fri, 16 Jun 2017 22:31:59 +0000 Subject: [Paraview] troubles with netCDF reader ? In-Reply-To: References: Message-ID: 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) < cyndyb at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkxls23 at gmail.com Sat Jun 17 21:40:50 2017 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Sun, 18 Jun 2017 11:40:50 +1000 Subject: [Paraview] [Non-DoD Source] XDMF makes paraview crash with JOIN In-Reply-To: References: Message-ID: Hi Frederic, have you been able to make progress on this issue? I apparently ran into the same problem, which is quite frustrating since there is currently no way to concatenate more than 10 data items, despite having to independent implementations of the xdmf reader! I filed two bug reports for these issues in ParaView (not sure though if this is an ParaView/VTK or XDMF issue): https://gitlab.kitware.com/paraview/paraview/issues/17516 https://gitlab.kitware.com/paraview/paraview/issues/17517 Please feel free to add more information or test cases to these bug reports as well. @Andrew: I have never seen the "$0|$1" syntax in any xdmf documentation. When was this added and shouldn't this be mentioned in the xdmf wiki ( http://www.xdmf.org/index.php/XDMF_Model_and_Format#Function)? Cheers, Armin On Tue, Feb 14, 2017 at 12:41 AM, Burns, Andrew J CTR USARMY RDECOM ARL (US) wrote: > In Xdmf3's reader, the assignment of variables occurs in > XdmfArray::populateItem. The evaluation of the function occurs in > XdmfFunction "|" denotes XdmfFunction::chunk (effectively concatenate). > From there it should be a bunch of XdmfArray::insert calls. > > Xdmf3's source in Paraview is under Paraview/VTK/ThirdParty/xdmf3. > > Andrew Burns > Software Engineer | Parsons > Phone: 410-306-0409 > ARL DSRC > andrew.j.burns35.ctr at mail.mil > > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of > Frederic Perez > Sent: Saturday, February 11, 2017 6:03 PM > To: paraview at paraview.org > Subject: Re: [Paraview] [Non-DoD Source] XDMF makes paraview crash with > JOIN > > 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. > > > > > ---- > > Hi, > > I have been looking closely into this problem in the past few days, and I > have never been able to make the Xdmf3 reader to JOIN any HDF5 data. > Neither with the JOIN() syntax nor with the "$0|$1" one. At least to > populate an Attribute's DataItem. The Xdmf2 reader works until 10 elements > are joined. > > To go further in this investigation, could someone point me to the source > code of the Xdmf3 reader, specifically where the "joining" > takes place? > > Cheers > Fred > > > 2017-02-08 23:24 GMT+01:00 Frederic Perez : > > I must have done something wrong in my previous attempt with Xdmf3, > > because it no longer crashes. Note that it works even without your > > suggestion, as the JOIN() syntax works. > > > > Now the problem is that, when I click "Apply", I get the following error: > > "Failed to locate selected scalars. Will use image scalars by default > > No scalar values found for texture input!" > > > > Note that the same exact file works with Xdmf instead of Xdmf3. > > > > Fred > > > > > > 2017-02-08 22:54 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) > > : > >> I think that is because Xdmf3 uses different syntax for concatenation. > Try using Function="$0|$1|$2|$3|$4|$5|$6|$7|$8|$9" with the Xdmf3 reader. > >> > >> -Andrew Burns > >> > >> -----Original Message----- > >> From: Frederic Perez [Caution-mailto:fredericperez1 at gmail.com] > >> Sent: Wednesday, February 08, 2017 4:50 PM > >> To: Burns, Andrew J CTR USARMY RDECOM ARL (US) > >> > >> Cc: paraview at paraview.org > >> Subject: Re: [Non-DoD Source] [Paraview] XDMF makes paraview crash > >> with JOIN > >> > >> I tried both, but Xdmf3 makes ParaView crash even earlier (directly > after opening the file) while Xdmf2 makes it crash upon "Apply". > >> > >> Fred > >> > >> 2017-02-08 22:28 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) > >> : > >>> Are you using the Xdmf2 or Xdmf3 reader? > >>> > >>> Andrew Burns > >>> Software Engineer | Parsons > >>> Phone: 410-306-0409 > >>> ARL DSRC > >>> andrew.j.burns35.ctr at mail.mil > >>> > >>> -----Original Message----- > >>> From: ParaView [Caution-mailto:paraview-bounces at paraview.org] On > >>> Behalf Of Frederic Perez > >>> Sent: Wednesday, February 08, 2017 3:39 PM > >>> To: paraview at paraview.org > >>> Subject: [Non-DoD Source] [Paraview] XDMF makes paraview crash with > >>> JOIN > >>> > >>> 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. > >>> > >>> > >>> > >>> > >>> ---- > >>> > >>> Hi all, > >>> > >>> I have successfully used the JOIN Function for the XDMF reader to > concatenate the data from several HDF5 files. > >>> > >>> > >>> > >>> > >>> >>> TopologyType="2DCoRectMesh" Dimensions="21 10"/> > >>> GeometryType="ORIGIN_DXDY"> > >>> >>> Dimensions="2">0.0 0.0 > >>> >>> Dimensions="2">0.3 0.06 > >>> > >>> > >>> >>> Function="JOIN($0,$1,$2,$3,$4,$5,$6,$7,$8,$9)" Dimensions="21 10"> > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000002/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000007/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000012/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000017/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000022/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000027/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000032/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000037/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000042/By > >>> >>> Precision="8" Dimensions="21" > >>> Format="HDF">mystuff.h5:/0000000047/By > >>> > >>> > >>> > >>> > >>> > >>> > >>> However, this technique only works when joining a maximum of 10 > different pieces of data. If I add one DataItem in the JOIN Function, > ParaView crashes upon clicking "Apply". > >>> > >>> Is there a reason for this? Am I doing something wrong? Is there a > workaround? > >>> > >>> Cheers > >>> Fred > >>> _______________________________________________ > >>> Powered by Caution-Caution-www.kitware.com > >>> > >>> Visit other Kitware open-source projects at > >>> Caution-Caution-http://www.kitware.com/opensource/opensource.html > >>> > >>> Please keep messages on-topic and check the ParaView Wiki at: > >>> Caution-Caution-http://paraview.org/Wiki/ParaView > >>> > >>> Search the list archives at: > >>> Caution-Caution-http://markmail.org/search/?q=ParaView > >>> > >>> Follow this link to subscribe/unsubscribe: > >>> Caution-Caution-http://public.kitware.com/mailman/listinfo/paraview > _______________________________________________ > Powered by Caution-www.kitware.com > > Visit other Kitware open-source projects at Caution-http://www.kitware. > com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: Caution- > http://paraview.org/Wiki/ParaView > > Search the list archives at: Caution-http://markmail.org/ > search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > Caution-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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dani.schmid at gmail.com Sun Jun 18 08:44:49 2017 From: dani.schmid at gmail.com (Dani Schmid) Date: Sun, 18 Jun 2017 14:44:49 +0200 Subject: [Paraview] Animate Clip - Cue does not have domain or property set! Message-ID: Hi, I try to animate a clip through an object by putting a ramp on Clip1 - Clip Type - Offset. This results in an error: vtkPVKeyFrameAnimationCueForProxies (00000192A6D1C570): Cue does not have domain or property set! Animating other properties such as orgin and normals works. The error can be reproduced by adding a sphere, applying a clip, and then adding Clip1 - Clip Type - Offset [-.2 .2] in the animation view. Using the same values as offset values in the Properties of the clip works as expected. What do I do wrong? Cheers, Dani From tomislav.maric at gmx.com Mon Jun 19 07:07:58 2017 From: tomislav.maric at gmx.com (Tomislav Maric) Date: Mon, 19 Jun 2017 13:07:58 +0200 Subject: [Paraview] Overriding the maximal cylinder source resolution In-Reply-To: References: <06b74055-eb22-e51f-0646-8c661aca1dad@gmx.com> Message-ID: <1e3d4563-9932-42ee-6582-b92a91a3952d@gmx.com> Hi Mathieu, OK, thank you for the infos! Kind regards, Tomislav On 05/30/2017 09:49 AM, Mathieu Westphal wrote: > Hello > > One way to go would be to copy (or subclass) vtkCylinderSource and > built it as a Plugin for paraview. > Easy if you are building ParaView yourself, more complex otherwise. > > Another way would be to write your own cylinder source in a Python > Programmable Source, > not easy but you will be able to use your new source with the binary > release of ParaView > > Regards, > > Mathieu Westphal > > On Tue, May 30, 2017 at 5:27 AM, kenichiro yoshimi > > wrote: > > Hi Tomislav, > > I find restriction on the resolution number of a cyliner source in > vtkCylinderSource.h, that is: > vtkSetClampMacro(Resolution,int,2,VTK_CELL_SIZE). > This macro amounts to saying that the resolution is restricted to a > range between 2 and VTK_CELL_SIZE(=512). Hence, I think it difficult > to override. > > In order to increase the resolution of the cylinder, one thing you can > try is to apply the loop subdivision filter after triangulating it. > > Thanks, > yoshimi > > 2017-05-30 0:06 GMT+09:00 Tomislav Maric >: > > Hello everyone, > > > > I have exported the paraview trace into the attached script that > > generates a cylinder source without caps, triangulates and saves > an STL > > file. > > > > I have noticed that the cylinder resolution can be prescribed to any > > number in the python script: > > > > ~~~ > > # create a new 'Cylinder' > > cylinder1 = Cylinder() > > > > # Properties modified on cylinder1 > > cylinder1.Resolution = 100000 > > ~~~ > > > > And this number is reported by the print command as well > > > > ~~~ > > print(cylinder1.Resolution) > > ~~~ > > > > However, the actual resolution of the cylinder source never > exceeds the > > number 512. This I have figured out after manually inspecting > the number > > of triangles in the 'cylinder.stl' file generated by the > attached script. > > > > I have browsed the VTK code as well, but I could not find the point > > where the maximal cylinder source resolution is restricted to 512. > > > > My question is: can I somehow (in python, or in VTK) override the > > resolution that is actually then applied to the cylinder? I am using > > paraview version 4.4.0. Does it work in a newer paraview version? > > > > Kind Regards, > > > > Tomislav > > > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomislav.maric at gmx.com Mon Jun 19 07:09:44 2017 From: tomislav.maric at gmx.com (Tomislav Maric) Date: Mon, 19 Jun 2017 13:09:44 +0200 Subject: [Paraview] Overriding the maximal cylinder source resolution In-Reply-To: References: <06b74055-eb22-e51f-0646-8c661aca1dad@gmx.com> Message-ID: Hi Yoshimi, Thanks for the info. I built my tests around the maximal available resolution. I will check out the programmable source / filter / loop subdivision if this turns out not to be sufficiently accurate. Kind regards, Tomislav On 05/30/2017 05:27 AM, kenichiro yoshimi wrote: > Hi Tomislav, > > I find restriction on the resolution number of a cyliner source in > vtkCylinderSource.h, that is: > vtkSetClampMacro(Resolution,int,2,VTK_CELL_SIZE). > This macro amounts to saying that the resolution is restricted to a > range between 2 and VTK_CELL_SIZE(=512). Hence, I think it difficult > to override. > > In order to increase the resolution of the cylinder, one thing you can > try is to apply the loop subdivision filter after triangulating it. > > Thanks, > yoshimi > > 2017-05-30 0:06 GMT+09:00 Tomislav Maric : >> Hello everyone, >> >> I have exported the paraview trace into the attached script that >> generates a cylinder source without caps, triangulates and saves an STL >> file. >> >> I have noticed that the cylinder resolution can be prescribed to any >> number in the python script: >> >> ~~~ >> # create a new 'Cylinder' >> cylinder1 = Cylinder() >> >> # Properties modified on cylinder1 >> cylinder1.Resolution = 100000 >> ~~~ >> >> And this number is reported by the print command as well >> >> ~~~ >> print(cylinder1.Resolution) >> ~~~ >> >> However, the actual resolution of the cylinder source never exceeds the >> number 512. This I have figured out after manually inspecting the number >> of triangles in the 'cylinder.stl' file generated by the attached script. >> >> I have browsed the VTK code as well, but I could not find the point >> where the maximal cylinder source resolution is restricted to 512. >> >> My question is: can I somehow (in python, or in VTK) override the >> resolution that is actually then applied to the cylinder? I am using >> paraview version 4.4.0. Does it work in a newer paraview version? >> >> Kind Regards, >> >> Tomislav >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 >> From dorian.vogel at fhnw.ch Mon Jun 19 07:18:38 2017 From: dorian.vogel at fhnw.ch (Vogel Dorian) Date: Mon, 19 Jun 2017 11:18:38 +0000 Subject: [Paraview] Paraview segfault on (orthographic) slice view Message-ID: <6810150.cDZEUX3Ych@mu15am33074-linux> Hi all, I've had a serious issue since last week now: Whenever I visualize a polygonal Mesh in the Slice View or orthogonal slice view: - in slice view: Paraview crashes as soon as I click on any of the slice cursors to grab it to another position. - in orthographic slice view: I can scroll in one direction on each of the slice views, however, when I scroll in the second direction, Paraview crashes. Version 5.3 compiled from source was working fine until I hit this error, I suspected a package upgrade to be the source of the problem, and downgraded Mesa (17.1.2-1 -> 17.1.1-1) and the Intel driver on laptop (17.1.2-1 -> 17.1.1-1) however, this did not help, and I am sure Paraview 5.3 used to work on those versions of mesa and Intel driver. Systems: -laptop (Archlinux) using Intel IGP or Nvidia discrete GPU using open-source driver (DRI_PRIME). Crash can be reproduced on both GPU. -desktop (Majaro, Arch based): using Nvidia GPU, proprietary driver. Please find attached the gdb traces. I just started Paraview with each GPU, created a box, created a orthographic slice view, and tried to scroll. Did anyone else observe that ? Best regards, -- Dorian Vogel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: paraview-gdb_intelIGP_laptop.log Type: text/x-log Size: 4061 bytes Desc: paraview-gdb_intelIGP_laptop.log URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: paraview-gdb_nvidia_laptop.log Type: text/x-log Size: 4181 bytes Desc: paraview-gdb_nvidia_laptop.log URL: From Stefan.Melber at DLR.de Mon Jun 19 08:34:17 2017 From: Stefan.Melber at DLR.de (Stefan Melber) Date: Mon, 19 Jun 2017 14:34:17 +0200 Subject: [Paraview] MPI-Error during using "Programmable Filter"... In-Reply-To: <666115e6-5e02-b56f-f7e2-76cb3332e2ea@DLR.de> References: <666115e6-5e02-b56f-f7e2-76cb3332e2ea@DLR.de> Message-ID: <999ef1a4-a51d-e9bc-0805-6ef5a47881d0@DLR.de> Hi, Update: found the reason of the mpi-error - maybe a PV-bug: If i use this formula in a programmable filter v_bad =min((1., max((-1., tmp2)))) then paraview crashes in parallel. If i use the same but written out in if(tmp2 >-1.): if(tmp2 >1.): v =1. else: v =tmp2 else: v =-1. the result for v is the same, however paraview does not crash. Further more, the results of v_bad and v in parallel differ, in serial mode they are the same. Find attached a short restart file, which demonstrates the effect. Stefan Hi, > > i have used a programmable filter (find it below) to calculate the > lambda2-criterion from gradients of velocity. In serial mode this > works fine - running it in parallel an error message comes up. Any > idea what does it mean and whats wrong with the filter? > > Best regards, > > Stefan > > > > > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > > 2385958 > 2406377 > 2220610 > 2292001 > 2144431 > 2331490 > 2061524 > 2344595 > Traceback (most recent call last): > File "", line 22, in > File "", line 76, in RequestData > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 358, in max > return _global_func(MaxImpl(), array, axis, controller) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 199, in _global_func > max_dims, size = _reduce_dims(res, comm) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 168, in _reduce_dims > comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) > File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce > (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) > mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list > Traceback (most recent call last): > File "", line 22, in > Traceback (most recent call last): > File "", line 76, in RequestData > File "", line 22, in > File "", line 76, in RequestData > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 358, in max > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 358, in max > return _global_func(MaxImpl(), array, axis, controller) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 199, in _global_func > max_dims, size = _reduce_dims(res, comm) > return _global_func(MaxImpl(), array, axis, controller) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 199, in _global_func > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 168, in _reduce_dims > max_dims, size = _reduce_dims(res, comm) > comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) > File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce > (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 168, in _reduce_dims > mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list > comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) > File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce > (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) > mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list > > > > > > > > grad =inputs[0].PointData["Gradients"] > npoints =len(grad) > printnpoints > data =[] > fori inrange(npoints): > # Gradients > dvx =grad[i,:][0] > dvy =grad[i,:][1] > dvz =grad[i,:][2] > # Symmetrical part of flow tensor -> S > s0 =dvx[0] > s1 =0.5*(dvx[1] +dvy[0]) > s2 =0.5*(dvx[2] +dvz[0]) > s3 =0.5*(dvy[0] +dvx[1]) > s4 =dvy[1]; > s5 =0.5*(dvy[2] +dvz[1]) > s6 =0.5*(dvz[0] +dvx[2]) > s7 =0.5*(dvz[1] +dvy[2]) > s8 =dvz[2] > # Antisymmetrical part of flow tensor -> Omega > Omega0 =0.0 > Omega1 =0.5*(dvx[1] -dvy[0]) > Omega2 =0.5*(dvx[2] -dvz[0]) > Omega3 =0.5*(dvy[0] -dvx[1]) > Omega4 =0.0 > Omega5 =0.5*(dvy[2] -dvz[1]) > Omega6 =0.5*(dvz[0] -dvx[2]) > Omega7 =0.5*(dvz[1] -dvy[2]) > Omega8 =0.0 > # Matrix M = (S^2 + Omega^2) > # M is symmetric > # | m0 m1 m2 | > # M = | m1 m3 m4 | > # | m2 m4 m5 | > m0 =s0*s0 +s1*s3 +s2*s6 +Omega1*Omega3 +Omega2*Omega6 > m1 =s0*s1 +s1*s4 +s2*s7 +Omega2*Omega7 > m2 =s0*s2 +s1*s5 +s2*s8 +Omega1*Omega5 > m3 =s3*s1 +s4*s4 +s5*s7 +Omega3*Omega1 +Omega5*Omega7 > m4 =s3*s2 +s4*s5 +s5*s8 +Omega3*Omega2 > m5 =s6*s2 +s7*s5 +s8*s8 +Omega6*Omega2 +Omega7*Omega5 > # computing now the eigenvalues of M > # | M - lambda I | = 0 > # returns the characteristic equation: > # lambda^3 + p*lambda^2 + q*lambda + r = 0 > # due to symmetric Matrix the following assumption can be made: > # all three eigenvalues will be real root values ( no imaginary parts ) > p =-1*( m0 +m3 +m5) > q =-1*( m1*m1 +m2*m2 +m4*m4 -m0*m3 -m0*m5 -m3*m5) > r =-1*( m0*m3*m5 +2*m1*m2*m4 -m2*m2*m3 -m4*m4*m0 -m1*m1*m5) > # computing now the reduced equation > # lambda^3 + s*lambda + t = 0 > sx =(3.0*q -p*p) /3.0 > t =(2.0*math.pow(p, 3.0) /27.0) -(p *q /3.0) +r > # calculate unordered eigenvalues (Cardano's method) > # -> at first check if ( 1.0 / sqrtt(-s^3) ) can be computed > l =[0,0,0] > if((sx *sx *sx) <-1e-16): > tmp1 =math.sqrt( -1*sx /3.0) > tmp2 =-1*t /(2.0*tmp1*tmp1*tmp1) > c1 =2.0*tmp1 > c2 =math.acos( min((1., max((-1., tmp2))) ) ) /3.0 > l[0] =c1 *math.cos(c2) -p /3.0 > l[1] =c1 *math.cos(c2 +2.*math.pi/3.) -p /3.0 > l[2] =c1 *math.cos(c2 +4.*math.pi/3.) -p /3.0 > # sort eigenvalues > # lambda1 <= lambda2 <= lambda3 > l.sort() > # save second eigenvalue > data.append(l[1]) > output.PointData.append(data, "lambda2") > > > > > > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- From rustem.khabetdinov at gmail.com Mon Jun 19 11:35:21 2017 From: rustem.khabetdinov at gmail.com (Rustem Khabetdinov) Date: Mon, 19 Jun 2017 18:35:21 +0300 Subject: [Paraview] Zoom in/out Message-ID: Hello, Is there any python script to zoom in by some percent? I tried to create one myself but it fails to zoom in correctly. Best Regards, Rustem. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Jun 19 13:56:59 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 19 Jun 2017 17:56:59 +0000 Subject: [Paraview] [EXTERNAL] Zoom in/out In-Reply-To: References: Message-ID: <61f0264ba7d942d19d7d7d0e3f5b933c@ES01AMSNLNT.srn.sandia.gov> One set of ParaView tutorials is here: https://www.paraview.org/Wiki/SNL_ParaView_4_Tutorials. In the one ParaView and Python, the command is given, with supporting python. https://www.paraview.org/Wiki/ParaView_and_Python I believe you are looking for the ?Dolly? command. So, Control the camera We want to move the camera. First, get the camera and reset the camera to a known good position. camera=GetActiveCamera() camera.SetFocalPoint(0,0,0) camera.SetPosition(0,0,-10) camera.SetViewUp(0,1,0) How to move the camera closer or further away camera.Dolly(10) Render() camera.Dolly(.1) Render() From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Rustem Khabetdinov Sent: Monday, June 19, 2017 9:35 AM To: ParaView Subject: [EXTERNAL] [Paraview] Zoom in/out Hello, Is there any python script to zoom in by some percent? I tried to create one myself but it fails to zoom in correctly. Best Regards, Rustem. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpreisig at geomod.ch Tue Jun 20 04:23:26 2017 From: mpreisig at geomod.ch (Matthias Preisig) Date: Tue, 20 Jun 2017 10:23:26 +0200 Subject: [Paraview] Diagrams displayed on sections in 3D Message-ID: <6c330a54-2b7e-8277-5ef8-b0d1f4d26cf1@geomod.ch> My question is related to a typical problem occurring in postprocessing of finite element results for shell elements. Usually one would like to display sectional forces as diagrams, but plotted directly onto the 3D shell model, as in https://ibb.co/irp2v5. I can imagine that it should be feasible to create a paraview filter that can do the following: - create a plane as in the clip/cut filter - select the component to display (membrane force x/y/magnitude, moments, shear force etc) - scale the diagram appropriately Similar functionality would be useful for beam/truss results, visualizing forces along the elements. I'm quite sure that I'm not the first one with such a demand. Does anyone know of a paraview plugin that would accomplish this? Thanks and best regards Matthias -- Ing?nieur civil EPFL/SIA / Dr ?s sciences EPFL Geomod SA Ch. des Epinettes 32 1007 Lausanne 079 7657226 From rccm.kyoshimi at gmail.com Tue Jun 20 07:50:16 2017 From: rccm.kyoshimi at gmail.com (kenichiro yoshimi) Date: Tue, 20 Jun 2017 20:50:16 +0900 Subject: [Paraview] Clever way to identify a ring of element? In-Reply-To: References: Message-ID: Hello Dennis, To apply the slice filter to a doughnut polygon creates line segments obtained by intersecting it with section planes. And then to apply the connectivity filter to the result gives curve rings consisting of consecutive line segments and each of rings is assigned a RegionId. You can try the attached Status file with ParaView 5.4. Unfortunately these elements belonging to the rings are in Cartesian coordinate system. So, you need to convert the elements' coordinates from Cartesian (x,y,z) to Cylindrical (r,\theta,z). At that time, the following code would be helpful to compute a barycenter and a mean radius of individual rings: https://github.com/vmtk/vmtk/blob/master/vtkVmtk/ComputationalGeometry/vtkvmtkBoundaryReferenceSystems.cxx Thanks, yoshimi 2017-06-16 1:58 GMT+09:00 Dennis Conklin : > All, > > > > Imagine I have a model of a doughnut. I want to identify rings in the > model. A ring is a set of elements in an r, z, theta coordinate system > which has the same radius and z_coordinate and only differs in the angular > coordinate. Of course, since trig functions are used in calculating the > radius, we are not guaranteed that the radius will be absolutely identical > for each element in the ring. > > > > Is there a clever (as in fast and easy) way to sort out elements belonging > to individual rings and perhaps assign something like a ring number to them > so that a threshold could be used to examine individual rings. I?m hoping > there is some clever vtk stuff that I?m not familiar with that would help > with this. > > > > Thanks for any thoughts > > > > Dennis > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: rings.tar.gz Type: application/x-gzip Size: 30180 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Tue Jun 20 10:13:54 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 20 Jun 2017 10:13:54 -0400 Subject: [Paraview] Dropping Qt 4 support from ParaView 5.5 onwards In-Reply-To: References: <5936DBF8.7030908@bluequartz.net> <99ffa137-4316-40cd-f3c4-97854e9bd601@zoho.com> Message-ID: Great! Our official release binaries will indeed use Qt 5.9, but we probably want to keep the required min version for building ParaVeiw at 5.6 for reasons Dave mentioned. Utkarsh On Thu, Jun 8, 2017 at 7:22 AM, David E DeMarle wrote: > +1 for dropping 4 > > Regarding 5.9 what distros/versions is it not yet readily available on? If > nothing major, then +1 as well. > > On Jun 8, 2017 2:43 AM, "MicK7" wrote: > > +1 for qt 5.9 > > And thanks for the great job on 5.4 release. > > Mickael PHILIT > > > On 06/06/2017 18:44, Michael Jackson wrote: >> >> +1. >> Also I would vote to jump all the way to Qt 5.9 since it is a LTS release >> and you can stabilize on Qt 5.9 for the next 3 years at least where as Qt >> 5.6 is only supported in a security bug fix from here on for another 2 >> years. I don't think Qt is going to add support for newer operating systems >> so if something breaks on newer releases of macOS or Windows Qt made it >> sound like they would not fix Qt 5.6 >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > From utkarsh.ayachit at kitware.com Tue Jun 20 12:09:06 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 20 Jun 2017 12:09:06 -0400 Subject: [Paraview] MPI-Error during using "Programmable Filter"... In-Reply-To: <999ef1a4-a51d-e9bc-0805-6ef5a47881d0@DLR.de> References: <666115e6-5e02-b56f-f7e2-76cb3332e2ea@DLR.de> <999ef1a4-a51d-e9bc-0805-6ef5a47881d0@DLR.de> Message-ID: Stefan, I am a little confused on how test your state file. Is the attached state bad or good? I don't get any errors even when I run in parallel with 2 pvservers. Utkarsh On Mon, Jun 19, 2017 at 8:34 AM, Stefan Melber wrote: > Hi, > > > Update: found the reason of the mpi-error - maybe a PV-bug: > > If i use this formula in a programmable filter > > v_bad = min((1., max((-1., tmp2)))) > > > then paraview crashes in parallel. If i use the same but written out in > > if (tmp2 > -1.): > > if (tmp2 > 1.): > > v = 1. > > else: > > v = tmp2 > > else: > > v = -1. > > the result for v is the same, however paraview does not crash. > > Further more, the results of v_bad and v in parallel differ, in serial mode > they are the same. Find attached a short restart file, which demonstrates > the effect. > > Stefan > > Hi, > > > i have used a programmable filter (find it below) to calculate the > lambda2-criterion from gradients of velocity. In serial mode this works fine > - running it in parallel an error message comes up. Any idea what does it > mean and whats wrong with the filter? > > Best regards, > > Stefan > > > > > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > Executing with: 0 > > 2385958 > 2406377 > 2220610 > 2292001 > 2144431 > 2331490 > 2061524 > 2344595 > Traceback (most recent call last): > File "", line 22, in > File "", line 76, in RequestData > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 358, in max > return _global_func(MaxImpl(), array, axis, controller) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 199, in _global_func > max_dims, size = _reduce_dims(res, comm) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 168, in _reduce_dims > comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) > File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce > (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) > mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list > Traceback (most recent call last): > File "", line 22, in > Traceback (most recent call last): > File "", line 76, in RequestData > File "", line 22, in > File "", line 76, in RequestData > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 358, in max > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 358, in max > return _global_func(MaxImpl(), array, axis, controller) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 199, in _global_func > max_dims, size = _reduce_dims(res, comm) > return _global_func(MaxImpl(), array, axis, controller) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 199, in _global_func > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 168, in _reduce_dims > max_dims, size = _reduce_dims(res, comm) > comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) > File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce > (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) > File > "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", > line 168, in _reduce_dims > mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list > comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) > File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce > (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) > mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list > > > > > > > > > grad = inputs[0].PointData["Gradients"] > > npoints = len(grad) > > print npoints > > data = [] > > for i in range(npoints): > > # Gradients > > dvx = grad[i,:][0] > > dvy = grad[i,:][1] > > dvz = grad[i,:][2] > > # Symmetrical part of flow tensor -> S > > s0 = dvx[0] > > s1 = 0.5 * (dvx[1] + dvy[0]) > > s2 = 0.5 * (dvx[2] + dvz[0]) > > s3 = 0.5 * (dvy[0] + dvx[1]) > > s4 = dvy[1]; > > s5 = 0.5 * (dvy[2] + dvz[1]) > > s6 = 0.5 * (dvz[0] + dvx[2]) > > s7 = 0.5 * (dvz[1] + dvy[2]) > > s8 = dvz[2] > > # Antisymmetrical part of flow tensor -> Omega > > Omega0 = 0.0 > > Omega1 = 0.5 * (dvx[1] - dvy[0]) > > Omega2 = 0.5 * (dvx[2] - dvz[0]) > > Omega3 = 0.5 * (dvy[0] - dvx[1]) > > Omega4 = 0.0 > > Omega5 = 0.5 * (dvy[2] - dvz[1]) > > Omega6 = 0.5 * (dvz[0] - dvx[2]) > > Omega7 = 0.5 * (dvz[1] - dvy[2]) > > Omega8 = 0.0 > > # Matrix M = (S^2 + Omega^2) > > # M is symmetric > > # | m0 m1 m2 | > > # M = | m1 m3 m4 | > > # | m2 m4 m5 | > > m0 = s0*s0 + s1*s3 + s2*s6 + Omega1*Omega3 + Omega2*Omega6 > > m1 = s0*s1 + s1*s4 + s2*s7 + Omega2*Omega7 > > m2 = s0*s2 + s1*s5 + s2*s8 + Omega1*Omega5 > > m3 = s3*s1 + s4*s4 + s5*s7 + Omega3*Omega1 + Omega5*Omega7 > > m4 = s3*s2 + s4*s5 + s5*s8 + Omega3*Omega2 > > m5 = s6*s2 + s7*s5 + s8*s8 + Omega6*Omega2 + Omega7*Omega5 > > # computing now the eigenvalues of M > > # | M - lambda I | = 0 > > # returns the characteristic equation: > > # lambda^3 + p*lambda^2 + q*lambda + r = 0 > > # due to symmetric Matrix the following assumption can be made: > > # all three eigenvalues will be real root values ( no imaginary parts ) > > p = -1*( m0 + m3 + m5) > > q = -1*( m1*m1 + m2*m2 + m4*m4 - m0*m3 - m0*m5 - m3*m5) > > r = -1*( m0*m3*m5 + 2*m1*m2*m4 - m2*m2*m3 - m4*m4*m0 - m1*m1*m5) > > # computing now the reduced equation > > # lambda^3 + s*lambda + t = 0 > > sx = (3.0 * q - p*p) / 3.0 > > t = (2.0 * math.pow(p, 3.0) / 27.0) - (p * q / 3.0) + r > > # calculate unordered eigenvalues (Cardano's method) > > # -> at first check if ( 1.0 / sqrtt(-s^3) ) can be computed > > l = [0,0,0] > > if ((sx * sx * sx) < -1e-16): > > tmp1 = math.sqrt( -1* sx / 3.0 ) > > tmp2 = -1* t / (2.0 * tmp1*tmp1*tmp1) > > c1 = 2.0 * tmp1 > > c2 = math.acos( min((1., max((-1., tmp2))) ) ) / 3.0 > > l[0] = c1 * math.cos(c2) - p / 3.0 > > l[1] = c1 * math.cos(c2 + 2.*math.pi/3.) - p / 3.0 > > l[2] = c1 * math.cos(c2 + 4.*math.pi/3.) - p / 3.0 > > # sort eigenvalues > > # lambda1 <= lambda2 <= lambda3 > > l.sort() > > # save second eigenvalue > > data.append(l[1]) > > output.PointData.append(data, "lambda2") > > > > > > > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > From shuhao at shuhaowu.com Tue Jun 20 22:33:38 2017 From: shuhao at shuhaowu.com (Shuhao Wu) Date: Tue, 20 Jun 2017 22:33:38 -0400 Subject: [Paraview] Coloring isocontour by the coordinates outputted from a Transform filter and some other questions In-Reply-To: References: Message-ID: <91a59f4c-54ab-6661-9252-25c50f30f1e6@shuhaowu.com> Hello Cory, I've been playing around a little bit more and followed your suggestion with using the calculator to "expose" the transformed coordinates. However, my understanding is that this Calculator will duplicate the memory usage for that coordinate and be an additional step in the filtering process, slowing it down. I have to use the Calculator filter to expose all 3 coordinates before using a threshold to filter for only a subset region that I want to plt, which results in a filtering chain as follows: ExposeX (Calculator) -> ExposeY (Calculator) -> ExposeZ (Calculator) -> ThresholdX (Threshold) -> ThresholdY (Threshold) -> ThresholdZ (Threshold). This is 6 filters, which is very slow with my data set (>29M nodes in a rectlinear grid). Is there a way to speed this up? Thanks, Shuhao On 2017-06-07 03:29 PM, Cory Quammen wrote: > Shuhao, > > Welcome to ParaView! > > On Sun, Jun 4, 2017 at 6:33 PM, Shuhao Wu wrote: >> Hello all, >> >> Is there a way to color an isocontour via the coordinates outputted from a >> Transform filter? I'm using the Transform filter to "normalize" my >> coordinate systems and I want to display the isocontour colored by the >> normalized Y coordinates. Do I have to create yet another Calculator filter >> to recalculate the normalized Y value that is already calculated by the >> Transform filter? > > There is currently no direct way to color surfaces by coordinate > value. You can, however, add a Calculator after the Transform filter > and simply set the expression to coordsY - no recomputation of the > normalization is needed. This will copy your normalized Y coordinate > values to a new array named "Result", and you can then color the > isosurface by "Result". "Result" is just the default name - you can > change it however you wish. > >> Also: is there a way to turn off one axis on the axis grid (so turn off the >> Y axis display and leave only X and Z)? > > Click the Edit button next to the Axes Grid option. Click the gear > icon in the top right of the dialog that appears. Under Face > Properties, click on the "Faces to Render" combo box. Turn off the > sides you do not wish to see by selecting them in the combo box. > >> What about changing the interval on >> the axis itself (instead of incrementing by 100 as it chooses, increment by >> 250). > > In the same dialog described above, check the "X Axis Use Custom > Labels", and you can specify exactly the labels you want. There is no > property to directly change the increment. > > Best, > Cory > >> I'm pretty new to Paraview (coming from Tecplot). Please bear with me as I >> likely will have more question. >> >> Thanks, >> Shuhao >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 > > > From Stefan.Melber at DLR.de Wed Jun 21 00:57:46 2017 From: Stefan.Melber at DLR.de (Stefan Melber) Date: Wed, 21 Jun 2017 06:57:46 +0200 Subject: [Paraview] MPI-Error during using "Programmable Filter"... In-Reply-To: References: <666115e6-5e02-b56f-f7e2-76cb3332e2ea@DLR.de> <999ef1a4-a51d-e9bc-0805-6ef5a47881d0@DLR.de> Message-ID: Hi Utkarsh, the state file is the one with errors. I got a long list of differences between v_bad and v in the window, where i have started the pvservers with mpi like -0.149121856689 0.485999450684 -0.158555145264 0.47960144043 -0.17734588623 0.457775421143 -0.149189071655 0.476917114258 -0.241045379639 0.370332946777 -0.177021789551 0.414346313477 -0.333812713623 0.232836074829 -0.237988204956 0.299920196533 -0.446063957214 0.0598551177979 -0.324894866943 0.146606750488 -0.566599311829 -0.131107559204 -0.42886264801 -0.0301560974121 Running it in serial no differences between v_bad and v occur. I tried the same binaries of 5.4 from the webpage ... same error. Best regards, Stefan > Stefan, > > I am a little confused on how test your state file. Is the attached > state bad or good? I don't get any errors even when I run in parallel > with 2 pvservers. > > Utkarsh > > On Mon, Jun 19, 2017 at 8:34 AM, Stefan Melber wrote: >> Hi, >> >> >> Update: found the reason of the mpi-error - maybe a PV-bug: >> >> If i use this formula in a programmable filter >> >> v_bad = min((1., max((-1., tmp2)))) >> >> >> then paraview crashes in parallel. If i use the same but written out in >> >> if (tmp2 > -1.): >> >> if (tmp2 > 1.): >> >> v = 1. >> >> else: >> >> v = tmp2 >> >> else: >> >> v = -1. >> >> the result for v is the same, however paraview does not crash. >> >> Further more, the results of v_bad and v in parallel differ, in serial mode >> they are the same. Find attached a short restart file, which demonstrates >> the effect. >> >> Stefan >> >> Hi, >> >> >> i have used a programmable filter (find it below) to calculate the >> lambda2-criterion from gradients of velocity. In serial mode this works fine >> - running it in parallel an error message comes up. Any idea what does it >> mean and whats wrong with the filter? >> >> Best regards, >> >> Stefan >> >> >> >> >> Executing with: 0 >> Executing with: 0 >> Executing with: 0 >> Executing with: 0 >> Executing with: 0 >> Executing with: 0 >> Executing with: 0 >> Executing with: 0 >> >> 2385958 >> 2406377 >> 2220610 >> 2292001 >> 2144431 >> 2331490 >> 2061524 >> 2344595 >> Traceback (most recent call last): >> File "", line 22, in >> File "", line 76, in RequestData >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 358, in max >> return _global_func(MaxImpl(), array, axis, controller) >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 199, in _global_func >> max_dims, size = _reduce_dims(res, comm) >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 168, in _reduce_dims >> comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) >> File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce >> (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) >> mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list >> Traceback (most recent call last): >> File "", line 22, in >> Traceback (most recent call last): >> File "", line 76, in RequestData >> File "", line 22, in >> File "", line 76, in RequestData >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 358, in max >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 358, in max >> return _global_func(MaxImpl(), array, axis, controller) >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 199, in _global_func >> max_dims, size = _reduce_dims(res, comm) >> return _global_func(MaxImpl(), array, axis, controller) >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 199, in _global_func >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 168, in _reduce_dims >> max_dims, size = _reduce_dims(res, comm) >> comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) >> File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce >> (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) >> File >> "/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0.bin/lib/site-packages/vtk/numpy_interface/algorithms.py", >> line 168, in _reduce_dims >> mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list >> comm.Allreduce([dims, mpitype], [max_dims, mpitype], MPI.MAX) >> File "MPI/Comm.pyx", line 715, in mpi4py.MPI.Comm.Allreduce >> (/opt/PARAVIEW_5_4_0_OpenGL2/ParaView-v5.4.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:99224) >> mpi4py.MPI.Exception: MPI_ERR_OTHER: known error not in list >> >> >> >> >> >> >> >> >> grad = inputs[0].PointData["Gradients"] >> >> npoints = len(grad) >> >> print npoints >> >> data = [] >> >> for i in range(npoints): >> >> # Gradients >> >> dvx = grad[i,:][0] >> >> dvy = grad[i,:][1] >> >> dvz = grad[i,:][2] >> >> # Symmetrical part of flow tensor -> S >> >> s0 = dvx[0] >> >> s1 = 0.5 * (dvx[1] + dvy[0]) >> >> s2 = 0.5 * (dvx[2] + dvz[0]) >> >> s3 = 0.5 * (dvy[0] + dvx[1]) >> >> s4 = dvy[1]; >> >> s5 = 0.5 * (dvy[2] + dvz[1]) >> >> s6 = 0.5 * (dvz[0] + dvx[2]) >> >> s7 = 0.5 * (dvz[1] + dvy[2]) >> >> s8 = dvz[2] >> >> # Antisymmetrical part of flow tensor -> Omega >> >> Omega0 = 0.0 >> >> Omega1 = 0.5 * (dvx[1] - dvy[0]) >> >> Omega2 = 0.5 * (dvx[2] - dvz[0]) >> >> Omega3 = 0.5 * (dvy[0] - dvx[1]) >> >> Omega4 = 0.0 >> >> Omega5 = 0.5 * (dvy[2] - dvz[1]) >> >> Omega6 = 0.5 * (dvz[0] - dvx[2]) >> >> Omega7 = 0.5 * (dvz[1] - dvy[2]) >> >> Omega8 = 0.0 >> >> # Matrix M = (S^2 + Omega^2) >> >> # M is symmetric >> >> # | m0 m1 m2 | >> >> # M = | m1 m3 m4 | >> >> # | m2 m4 m5 | >> >> m0 = s0*s0 + s1*s3 + s2*s6 + Omega1*Omega3 + Omega2*Omega6 >> >> m1 = s0*s1 + s1*s4 + s2*s7 + Omega2*Omega7 >> >> m2 = s0*s2 + s1*s5 + s2*s8 + Omega1*Omega5 >> >> m3 = s3*s1 + s4*s4 + s5*s7 + Omega3*Omega1 + Omega5*Omega7 >> >> m4 = s3*s2 + s4*s5 + s5*s8 + Omega3*Omega2 >> >> m5 = s6*s2 + s7*s5 + s8*s8 + Omega6*Omega2 + Omega7*Omega5 >> >> # computing now the eigenvalues of M >> >> # | M - lambda I | = 0 >> >> # returns the characteristic equation: >> >> # lambda^3 + p*lambda^2 + q*lambda + r = 0 >> >> # due to symmetric Matrix the following assumption can be made: >> >> # all three eigenvalues will be real root values ( no imaginary parts ) >> >> p = -1*( m0 + m3 + m5) >> >> q = -1*( m1*m1 + m2*m2 + m4*m4 - m0*m3 - m0*m5 - m3*m5) >> >> r = -1*( m0*m3*m5 + 2*m1*m2*m4 - m2*m2*m3 - m4*m4*m0 - m1*m1*m5) >> >> # computing now the reduced equation >> >> # lambda^3 + s*lambda + t = 0 >> >> sx = (3.0 * q - p*p) / 3.0 >> >> t = (2.0 * math.pow(p, 3.0) / 27.0) - (p * q / 3.0) + r >> >> # calculate unordered eigenvalues (Cardano's method) >> >> # -> at first check if ( 1.0 / sqrtt(-s^3) ) can be computed >> >> l = [0,0,0] >> >> if ((sx * sx * sx) < -1e-16): >> >> tmp1 = math.sqrt( -1* sx / 3.0 ) >> >> tmp2 = -1* t / (2.0 * tmp1*tmp1*tmp1) >> >> c1 = 2.0 * tmp1 >> >> c2 = math.acos( min((1., max((-1., tmp2))) ) ) / 3.0 >> >> l[0] = c1 * math.cos(c2) - p / 3.0 >> >> l[1] = c1 * math.cos(c2 + 2.*math.pi/3.) - p / 3.0 >> >> l[2] = c1 * math.cos(c2 + 4.*math.pi/3.) - p / 3.0 >> >> # sort eigenvalues >> >> # lambda1 <= lambda2 <= lambda3 >> >> l.sort() >> >> # save second eigenvalue >> >> data.append(l[1]) >> >> output.PointData.append(data, "lambda2") >> >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 >> > . > From rustem.khabetdinov at gmail.com Wed Jun 21 10:11:40 2017 From: rustem.khabetdinov at gmail.com (Rustem Khabetdinov) Date: Wed, 21 Jun 2017 17:11:40 +0300 Subject: [Paraview] [EXTERNAL] Zoom in/out In-Reply-To: <61f0264ba7d942d19d7d7d0e3f5b933c@ES01AMSNLNT.srn.sandia.gov> References: <61f0264ba7d942d19d7d7d0e3f5b933c@ES01AMSNLNT.srn.sandia.gov> Message-ID: Thank you! This is what I really needed. 2017-06-19 20:56 GMT+03:00 Scott, W Alan : > One set of ParaView tutorials is here: https://www.paraview.org/Wiki/ > SNL_ParaView_4_Tutorials. > > > > In the one ParaView and Python, the command is given, with supporting > python. https://www.paraview.org/Wiki/ParaView_and_Python > > > > I believe you are looking for the ?Dolly? command. So, > > > > *Control the camera* > > We want to move the camera. > > First, get the camera and reset the camera to a known good position. > > *camera=GetActiveCamera()* > > *camera.SetFocalPoint(0,0,0)* > > *camera.SetPosition(0,0,-10)* > > *camera.SetViewUp(0,1,0)* > > How to move the camera closer or further away > > *camera.Dolly(10)* > > *Render()* > > *camera.Dolly(.1)* > > *Render()* > > > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Rustem > Khabetdinov > *Sent:* Monday, June 19, 2017 9:35 AM > *To:* ParaView > *Subject:* [EXTERNAL] [Paraview] Zoom in/out > > > > Hello, > > > > Is there any python script to zoom in by some percent? I tried to create > one myself but it fails to zoom in correctly. > > > > Best Regards, > > Rustem. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rustem.khabetdinov at gmail.com Wed Jun 21 10:24:05 2017 From: rustem.khabetdinov at gmail.com (Rustem Khabetdinov) Date: Wed, 21 Jun 2017 17:24:05 +0300 Subject: [Paraview] Paraview LOD Message-ID: Hello, Is it possible to use vtkLODActor instead of vtkPVLODActor? I need to be able to add more than 3 mappers but default pvlodactor does not allow to do so. Best Regards, Rustem. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.briffard.1 at ulaval.ca Wed Jun 21 10:55:18 2017 From: thomas.briffard.1 at ulaval.ca (Thomas Briffard) Date: Wed, 21 Jun 2017 10:55:18 -0400 Subject: [Paraview] Paraview stereo type "Crystal-Eyes" Message-ID: <80b1a33d-3c59-b870-635f-fd438bc96b62@ulaval.ca> Hello, I'm used to launch Paraview 5.2 in stereo mode via the command paraview --stereo --stereo-type="Crystal Eyes". However, this command doesn't seem to work anymore with Paraview 5.3/5.4. I didn't find any info on that, did anyone encounter this ? Thanks ! PS: I'm on linux (fedora 24) From lev.karatun at gmail.com Wed Jun 21 14:28:52 2017 From: lev.karatun at gmail.com (Lev Karatun) Date: Wed, 21 Jun 2017 14:28:52 -0400 Subject: [Paraview] Paraview not responding after hibernation on Windows Message-ID: Hi, I have a problem with Paraview 5.* -- when I open it originally it works fine, but if I put my laptop in hibernate and then wake it, Paraview doesn't respond. The problem seems to exist with all 5.* versions (I tried about 5 of them) and does not exist on any versions before 5.*. Currently I'm using 4.3.1 and it works fine. My OS is Windows 8.1. Let me know if you need any more info. Thanks! Best regards, Lev Karatun. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lev.karatun at gmail.com Wed Jun 21 14:32:20 2017 From: lev.karatun at gmail.com (Lev Karatun) Date: Wed, 21 Jun 2017 14:32:20 -0400 Subject: [Paraview] Paraview not responding after hibernation on Windows In-Reply-To: References: Message-ID: I don't think the message went through, resending. (if it did, sorry for multiple emails) Best regards, Lev Karatun. 2017-06-21 14:28 GMT-04:00 Lev Karatun : > Hi, > > I have a problem with Paraview 5.* -- when I open it originally it works > fine, but if I put my laptop in hibernate and then wake it, Paraview > doesn't respond. The problem seems to exist with all 5.* versions (I tried > about 5 of them) and does not exist on any versions before 5.*. Currently > I'm using 4.3.1 and it works fine. My OS is Windows 8.1. Let me know if you > need any more info. > > Thanks! > > Best regards, > Lev Karatun. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Jun 21 14:52:57 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 21 Jun 2017 18:52:57 +0000 Subject: [Paraview] [EXTERNAL] Plot over spline or intersecting plane In-Reply-To: <02085d34c59c42c9ab092f255d50d96b@ES01AMSNLNT.srn.sandia.gov> References: <02085d34c59c42c9ab092f255d50d96b@ES01AMSNLNT.srn.sandia.gov> Message-ID: <684ce4451e6444cc9bc80d16b1117b2a@ES01AMSNLNT.srn.sandia.gov> Ping? From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Friday, June 9, 2017 4:25 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Plot over spline or intersecting plane I am trying to figure out how to plot over more complex surfaces than a straight line. Say a user wants to plot over a curved line, with the line matching the inside surface of the can.exo. Can you now do this? How would a user control the line? Is the Plot On Intersection Curves filter what I want? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Jun 22 13:17:28 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 22 Jun 2017 17:17:28 +0000 Subject: [Paraview] ParaView 5.4.0, Linux, Save Animation .avi bug Message-ID: <2899d6c4c6df4a2bb76ff58909c80eae@ES01AMSNLNT.srn.sandia.gov> Many of my users are finding the .avi writer to be broken . The cure for this is to close ParaView and delete your configuration files. We are probably getting some strange state from previous versions of ParaView interacting with 5.4.0. I will write up a bug, and help Kitware fix it for future releases. Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From sp_desjardins at hotmail.com Thu Jun 22 13:20:42 2017 From: sp_desjardins at hotmail.com (Simon-Pierre Desjardins) Date: Thu, 22 Jun 2017 17:20:42 +0000 Subject: [Paraview] How to create a vtkModule in Paraview In-Reply-To: References: , , Message-ID: Hi, Still no success trying to make the module produce a .lib. Does anyone have an idea of what I could be missing? Thank you, Simon-Pierre Desjardins ________________________________ De : Simon-Pierre Desjardins Envoy? : 6 juin 2017 14:52 ? : Utkarsh Ayachit Cc : paraview at paraview.org Objet : RE: [Paraview] How to create a vtkModule in Paraview Hi Utkarsh, I have tried adding the path to my external module via PARAVIEW_EXTERNAL_MODULE_ROOTS in cmake. I am able to compile the module in VS2015 but it only creates a .dll file. Usually, at least from what I've seen with the other modules, a library is also created which is needed to use the plugins in the modules. I have checked all the documentation and did a really simple module containing only a single plugin. Here is an overview of what it looks like: module.cmake: vtk_module(vtkSPXModule GROUPS StandAlone DEPENDS vtkCommonCore vtkCommonDataModel vtkCommonExecutionModel vtkCommonMisc vtkPVVTKExtensionsRendering vtkFiltersGeneral TEST_DEPENDS vtkTestingCore KIT vtkRemote ) and the Cmakelist.txt: set(Module_SRCS TestPlugin.cxx ) vtk_module_library(vtkSPXModule ${Module_SRCS}) I referred myself to this example that seemed to work https://github.com/lorensen/vtkAddon/blob/master/module.cmake Overall, to make sure it's clear, I am able to compile the module and I'm able to see it in my solution. The problem is more so linked to the creation of the .lib that isn't being done. Any idea what could cause that? Thank you, Simon-Pierre ________________________________ De : Utkarsh Ayachit Envoy? : 5 juin 2017 11:02 ? : Simon-Pierre Desjardins Cc : paraview at paraview.org Objet : Re: [Paraview] How to create a vtkModule in Paraview Simon, While plugins can have internal modules, it's really not designed to share those with other plugins. You have two options: 1. combine both plugins into a single one. 2. make the module a standard ParaView/VTK module that added via PARAVIEW_EXTERNAL_MODULE_ROOTS CMake variable, then the two plugins can use the module just liek any other ParaView/VTK module. Utkarsh On Thu, Jun 1, 2017 at 3:03 PM, Simon-Pierre Desjardins > wrote: Hi, I created a custom plugin that I want to use in a second plugin. To do so, I want to create a module with the custom plugin to be able to use it in my second one. I tried creating the module following the instructions on http://www.vtk.org/Wiki/VTK/Module_Development but it did not work. Basically, I am able to compile my module and create a .dll with it but I can't seem to be able to create the .lib and .ext necessary. I also added my module in the VTKModule.cmake. I'm unsure why it is not generating a .lib since I can see the line add_library in the cmake file generated for vtkmodules with my module name. Could anyone try to help me figure out what I'm missing? Thank you, Simon-Pierre Desjardins I'm compiling using Visual studio 2015 and Windows 10 64bits _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Jun 22 13:21:38 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 22 Jun 2017 17:21:38 +0000 Subject: [Paraview] [EXTERNAL] ParaView 5.4.0, Linux, Save Animation .avi bug In-Reply-To: <2899d6c4c6df4a2bb76ff58909c80eae@ES01AMSNLNT.srn.sandia.gov> References: <2899d6c4c6df4a2bb76ff58909c80eae@ES01AMSNLNT.srn.sandia.gov> Message-ID: Sorry for the noise. Configuration files are found here: https://www.paraview.org/Wiki/ParaView_Settings_Files Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Thursday, June 22, 2017 11:17 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] ParaView 5.4.0, Linux, Save Animation .avi bug Many of my users are finding the .avi writer to be broken . The cure for this is to close ParaView and delete your configuration files. We are probably getting some strange state from previous versions of ParaView interacting with 5.4.0. I will write up a bug, and help Kitware fix it for future releases. Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From insley at anl.gov Thu Jun 22 13:34:05 2017 From: insley at anl.gov (Insley, Joseph A.) Date: Thu, 22 Jun 2017 17:34:05 +0000 Subject: [Paraview] Simple XDMF example Message-ID: Hi all, I am trying to get a simple XDMF example working, but am having no success. I must be doing something obvious wrong, but I?m not seeing it. Here?s what the data looks like: $ h5dump -H ./small_ds.hdf5 HDF5 "./small_ds.hdf5" { GROUP "/" { DATASET "myelin" { DATATYPE H5T_STD_U8LE DATASPACE SIMPLE { ( 256, 256, 256 ) / ( 256, 256, 256 ) } } } } And here?s the xdmf file I?m trying to use: small_ds.hdf5:/myelin Choosing the Xdmf3 Reader or Xdmf3 Reader (Top Level Partition) results in an empty data set, where there are no point or cell arrays, and everything on the Information tab is listed as NA. Choosing the Xdmf Reader results in a seg fault. Any suggestions would be appreciated. Thanks joe From utkarsh.ayachit at kitware.com Thu Jun 22 14:44:06 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 22 Jun 2017 14:44:06 -0400 Subject: [Paraview] How to create a vtkModule in Paraview In-Reply-To: References: Message-ID: Just to make sure I am understanding the current state correctly, The vtkAddon module works fine, but your custom module doesn't. Is that correct? If so, may be you want share a stripped down version of the module so we can spot what's missing by building locally. Utkarsh On Tue, Jun 6, 2017 at 2:52 PM, Simon-Pierre Desjardins < sp_desjardins at hotmail.com> wrote: > Hi Utkarsh, > > > I have tried adding the path to my external module via > PARAVIEW_EXTERNAL_MODULE_ROOTS in cmake. I am able to compile the module in > VS2015 but it only creates a .dll file. Usually, at least from what I've > seen with the other modules, a library is also created which is needed to > use the plugins in the modules. I have checked all the documentation and > did a really simple module containing only a single plugin. > > > Here is an overview of what it looks like: > > > module.cmake: > > > vtk_module(vtkSPXModule > GROUPS > StandAlone > DEPENDS > vtkCommonCore > vtkCommonDataModel > vtkCommonExecutionModel > vtkCommonMisc > vtkPVVTKExtensionsRendering > vtkFiltersGeneral > TEST_DEPENDS > vtkTestingCore > KIT > vtkRemote > ) > > > and the Cmakelist.txt: > > > set(Module_SRCS > TestPlugin.cxx > ) > > > vtk_module_library(vtkSPXModule ${Module_SRCS}) > > > I referred myself to this example that seemed to work > https://github.com/lorensen/vtkAddon/blob/master/module.cmake > > > Overall, to make sure it's clear, I am able to compile the module and I'm > able to see it in my solution. The problem is more so linked to the > creation of the .lib that isn't being done. Any idea what could cause that? > > Thank you, > > Simon-Pierre > > ------------------------------ > *De :* Utkarsh Ayachit > *Envoy? :* 5 juin 2017 11:02 > *? :* Simon-Pierre Desjardins > *Cc :* paraview at paraview.org > *Objet :* Re: [Paraview] How to create a vtkModule in Paraview > > Simon, > > While plugins can have internal modules, it's really not designed to share > those with other plugins. You have two options: > > 1. combine both plugins into a single one. > 2. make the module a standard ParaView/VTK module that added via > PARAVIEW_EXTERNAL_MODULE_ROOTS CMake variable, then the two plugins can use > the module just liek any other ParaView/VTK module. > > Utkarsh > > On Thu, Jun 1, 2017 at 3:03 PM, Simon-Pierre Desjardins < > sp_desjardins at hotmail.com> wrote: > >> Hi, >> >> I created a custom plugin that I want to use in a second plugin. To do >> so, I want to create a module with the custom plugin to be able to use it >> in my second one. >> >> I tried creating the module following the instructions on >> http://www.vtk.org/Wiki/VTK/Module_Development but it did not work. >> >> >> Basically, I am able to compile my module and create a .dll with it but I >> can't seem to be able to create the .lib and .ext necessary. >> >> I also added my module in the VTKModule.cmake. I'm unsure why it is not >> generating a .lib since I can see the line add_library in the cmake file >> generated for vtkmodules with my module name. >> >> >> Could anyone try to help me figure out what I'm missing? >> >> >> Thank you, >> >> >> Simon-Pierre Desjardins >> >> >> >> I'm compiling using Visual studio 2015 and Windows 10 64bits >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Jun 22 15:39:54 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 22 Jun 2017 15:39:54 -0400 Subject: [Paraview] Paraview not responding after hibernation on Windows In-Reply-To: References: Message-ID: Could be related to OpenGL drivers. Can you check the About dialog and see what OpenGL drivers ParaView is reporting before and after hibernation? On Wed, Jun 21, 2017 at 2:32 PM, Lev Karatun wrote: > I don't think the message went through, resending. (if it did, sorry for > multiple emails) > > Best regards, > Lev Karatun. > > 2017-06-21 14:28 GMT-04:00 Lev Karatun : > >> Hi, >> >> I have a problem with Paraview 5.* -- when I open it originally it works >> fine, but if I put my laptop in hibernate and then wake it, Paraview >> doesn't respond. The problem seems to exist with all 5.* versions (I tried >> about 5 of them) and does not exist on any versions before 5.*. Currently >> I'm using 4.3.1 and it works fine. My OS is Windows 8.1. Let me know if you >> need any more info. >> >> Thanks! >> >> Best regards, >> Lev Karatun. >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Jun 22 17:04:03 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 22 Jun 2017 17:04:03 -0400 Subject: [Paraview] Simple XDMF example In-Reply-To: References: Message-ID: Try something like this: 0 0 0 1 1 1 small_ds.hdf5:/myelin If that doesn't work sent me the h5 offlist and I'll fix the above David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Jun 22, 2017 at 1:34 PM, Insley, Joseph A. wrote: > Hi all, > > I am trying to get a simple XDMF example working, but am having no > success. I must be doing something obvious wrong, but I?m not seeing it. > Here?s what the data looks like: > > $ h5dump -H ./small_ds.hdf5 > HDF5 "./small_ds.hdf5" { > GROUP "/" { > DATASET "myelin" { > DATATYPE H5T_STD_U8LE > DATASPACE SIMPLE { ( 256, 256, 256 ) / ( 256, 256, 256 ) } > } > } > } > > And here?s the xdmf file I?m trying to use: > > > > > > Format="HDF" > NumberType="UInt" > Precision="1" > Dimensions="256 256 256"> > small_ds.hdf5:/myelin > > > > > Choosing the Xdmf3 Reader or Xdmf3 Reader (Top Level Partition) results in > an empty data set, where there are no point or cell arrays, and everything > on the Information tab is listed as NA. > Choosing the Xdmf Reader results in a seg fault. > > Any suggestions would be appreciated. > > Thanks > joe > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michalwozniak at live.ca Thu Jun 22 17:15:51 2017 From: michalwozniak at live.ca (michal wozniak) Date: Thu, 22 Jun 2017 21:15:51 +0000 Subject: [Paraview] How to create a vtkModule in Paraview In-Reply-To: References: , Message-ID: Hi, The .lib isn't created on Windows if we have no exports. To generate the .lib file, you will need to at least have one class in your module with a "VTK_EXPORT". [Michael Burr] https://stackoverflow.com/questions/584041/how-do-i-build-an-import-library-lib-and-a-dll-in-visual-c ________________________________ From: ParaView on behalf of Utkarsh Ayachit Sent: Thursday, June 22, 2017 2:44 PM To: Simon-Pierre Desjardins Cc: paraview at paraview.org Subject: Re: [Paraview] How to create a vtkModule in Paraview Just to make sure I am understanding the current state correctly, The vtkAddon module works fine, but your custom module doesn't. Is that correct? If so, may be you want share a stripped down version of the module so we can spot what's missing by building locally. Utkarsh On Tue, Jun 6, 2017 at 2:52 PM, Simon-Pierre Desjardins > wrote: Hi Utkarsh, I have tried adding the path to my external module via PARAVIEW_EXTERNAL_MODULE_ROOTS in cmake. I am able to compile the module in VS2015 but it only creates a .dll file. Usually, at least from what I've seen with the other modules, a library is also created which is needed to use the plugins in the modules. I have checked all the documentation and did a really simple module containing only a single plugin. Here is an overview of what it looks like: module.cmake: vtk_module(vtkSPXModule GROUPS StandAlone DEPENDS vtkCommonCore vtkCommonDataModel vtkCommonExecutionModel vtkCommonMisc vtkPVVTKExtensionsRendering vtkFiltersGeneral TEST_DEPENDS vtkTestingCore KIT vtkRemote ) and the Cmakelist.txt: set(Module_SRCS TestPlugin.cxx ) vtk_module_library(vtkSPXModule ${Module_SRCS}) I referred myself to this example that seemed to work https://github.com/lorensen/vtkAddon/blob/master/module.cmake Overall, to make sure it's clear, I am able to compile the module and I'm able to see it in my solution. The problem is more so linked to the creation of the .lib that isn't being done. Any idea what could cause that? Thank you, Simon-Pierre ________________________________ De : Utkarsh Ayachit > Envoy? : 5 juin 2017 11:02 ? : Simon-Pierre Desjardins Cc : paraview at paraview.org Objet : Re: [Paraview] How to create a vtkModule in Paraview Simon, While plugins can have internal modules, it's really not designed to share those with other plugins. You have two options: 1. combine both plugins into a single one. 2. make the module a standard ParaView/VTK module that added via PARAVIEW_EXTERNAL_MODULE_ROOTS CMake variable, then the two plugins can use the module just liek any other ParaView/VTK module. Utkarsh On Thu, Jun 1, 2017 at 3:03 PM, Simon-Pierre Desjardins > wrote: Hi, I created a custom plugin that I want to use in a second plugin. To do so, I want to create a module with the custom plugin to be able to use it in my second one. I tried creating the module following the instructions on http://www.vtk.org/Wiki/VTK/Module_Development but it did not work. Basically, I am able to compile my module and create a .dll with it but I can't seem to be able to create the .lib and .ext necessary. I also added my module in the VTKModule.cmake. I'm unsure why it is not generating a .lib since I can see the line add_library in the cmake file generated for vtkmodules with my module name. Could anyone try to help me figure out what I'm missing? Thank you, Simon-Pierre Desjardins I'm compiling using Visual studio 2015 and Windows 10 64bits _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From insley at anl.gov Thu Jun 22 18:24:38 2017 From: insley at anl.gov (Insley, Joseph A.) Date: Thu, 22 Jun 2017 22:24:38 +0000 Subject: [Paraview] Simple XDMF example In-Reply-To: References: Message-ID: Thanks, Dave! That did the trick. Although, for completeness, I had to change the Center Attribute from ?Point? to ?Node?. Otherwise ParaView crashed, complaining that Center was not one of ?Grid?, ?Cell?, ?Face?, ?Edge?, ?Node?. Thanks again, joe On Jun 22, 2017, at 4:04 PM, David E DeMarle > wrote: Try something like this: 0 0 0 1 1 1 small_ds.hdf5:/myelin If that doesn't work sent me the h5 offlist and I'll fix the above David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Jun 22, 2017 at 1:34 PM, Insley, Joseph A. > wrote: Hi all, I am trying to get a simple XDMF example working, but am having no success. I must be doing something obvious wrong, but I?m not seeing it. Here?s what the data looks like: $ h5dump -H ./small_ds.hdf5 HDF5 "./small_ds.hdf5" { GROUP "/" { DATASET "myelin" { DATATYPE H5T_STD_U8LE DATASPACE SIMPLE { ( 256, 256, 256 ) / ( 256, 256, 256 ) } } } } And here?s the xdmf file I?m trying to use: small_ds.hdf5:/myelin Choosing the Xdmf3 Reader or Xdmf3 Reader (Top Level Partition) results in an empty data set, where there are no point or cell arrays, and everything on the Information tab is listed as NA. Choosing the Xdmf Reader results in a seg fault. Any suggestions would be appreciated. Thanks joe _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.groner at psu.edu Thu Jun 22 17:28:16 2017 From: rob.groner at psu.edu (Rob Groner) Date: Thu, 22 Jun 2017 17:28:16 -0400 Subject: [Paraview] Trouble building the ParaView sources Message-ID: <1498166896.2608.19.camel@psu.edu> Hello, I'm trying to build the paraview sources. I downloaded the 5.4.0 sources, and I'm using Fedora 25 Workstation. I've read through the README.md that's in the root directory, and that leads me to Documentation/dev/build.md. Going through these steps: 1) I've verified cmake is on my system and in the PATH. 2) I've verified qt is installed, and is version 4.8.7 3) Compiler and Build tool: Here's where issues begin. Since I'm using Fedora/yum, the packages don't directly translate. I've verified or installed the following packages from the list: cmake git python-dev freeglut3-dev autoconf libtool bison flex ninja-build But I can't seem to find these: mesa-common-dev mesa-utils libhdf5-serial-dev (I did notice that some mesa packages were installed when freeglut was) I continued on to see how much farther I could get, and the next step immediately stumped me: sudo python get-pip.py That returns a "no get-pip.py found" error. I've verified no get- pip.py file is in the ParaView sources (or anywhere else on the system), so I'm missing something here. I still continued on, and ran into another issue. The "Run CMake" step references a src and build directory. I understand that it is talking about the previous step using git to "Retrieve the source", but I downloaded them as a single .tar.gz file from the website instead. Looking at the git sources, they appear to be the same files and structure as what is in the .tar.gz, so I just put the extracted contents of the archive into a "src" dir, and create a "build" dir at the same level. I then execute: ccmake ../src CMake does come up, but instead of seeing the 3 variables shown in the README, I see just "EMPTY CACHE". Any additional help or guidance would be appreciated. Thank you. Rob -- Rob Groner Software Engineer? Institute for CyberScience The Pennsylvania State University 222E Computer Building University Park, PA 16802 Phone: 814.867.6074 From garcfd at gmail.com Fri Jun 23 08:59:01 2017 From: garcfd at gmail.com (Richardson CFD) Date: Fri, 23 Jun 2017 13:59:01 +0100 Subject: [Paraview] long animations are freezing halfway through Message-ID: I have been having trouble creating longer animations (150 frames) from larger data files (1million cells). The animation works fine initially but then freezes up about half way through the avi file - displaying just a constant unchanging image. Streamlines seems to work fine, but velocity contours (attached) is the one causing problems. I am having to create the animation in 2 parts, creating 2 seperate avi file and then join them after. Any suggestions or similar experience please let me know. Regards Giles. -- Richardson CFD http://richardsoncfd.weebly.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture_kitware.PNG Type: image/png Size: 495302 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Fri Jun 23 09:06:57 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 23 Jun 2017 09:06:57 -0400 Subject: [Paraview] long animations are freezing halfway through In-Reply-To: References: Message-ID: Giles, What OS is this on? Utkarsh On Fri, Jun 23, 2017 at 8:59 AM, Richardson CFD wrote: > I have been having trouble creating longer animations (150 frames) > from larger data files (1million cells). The animation works fine > initially but then freezes up about half way through the avi file - > displaying just a constant unchanging image. Streamlines seems to work > fine, but velocity contours (attached) is the one causing problems. I > am having to create the animation in 2 parts, creating 2 seperate avi > file and then join them after. > > Any suggestions or similar experience please let me know. Regards Giles. > > -- > Richardson CFD > http://richardsoncfd.weebly.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 > From utkarsh.ayachit at kitware.com Fri Jun 23 09:14:42 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 23 Jun 2017 09:14:42 -0400 Subject: [Paraview] Trouble building the ParaView sources In-Reply-To: <1498166896.2608.19.camel@psu.edu> References: <1498166896.2608.19.camel@psu.edu> Message-ID: On Thu, Jun 22, 2017 at 5:28 PM, Rob Groner wrote: > Hello, > > I'm trying to build the paraview sources. I downloaded the 5.4.0 > sources, and I'm using Fedora 25 Workstation. > > I've read through the README.md that's in the root directory, and that > leads me to Documentation/dev/build.md. > > Going through these steps: > 1) I've verified cmake is on my system and in the PATH. > 2) I've verified qt is installed, and is version 4.8.7 > 3) Compiler and Build tool: > > Here's where issues begin. Since I'm using Fedora/yum, the packages > don't directly translate. > > I've verified or installed the following packages from the list: > cmake > git > python-dev > freeglut3-dev > autoconf > libtool > bison > flex > ninja-build > > But I can't seem to find these: > mesa-common-dev > mesa-utils > libhdf5-serial-dev > > (I did notice that some mesa packages were installed when freeglut was) > > I continued on to see how much farther I could get, and the next step > immediately stumped me: > > sudo python get-pip.py > > That returns a "no get-pip.py found" error. I've verified no get- > pip.py file is in the ParaView sources (or anywhere else on the > system), so I'm missing something here. > > I still continued on, and ran into another issue. The "Run CMake" step > references a src and build directory. I understand that it is talking > about the previous step using git to "Retrieve the source", but I > downloaded them as a single .tar.gz file from the website instead. > Looking at the git sources, they appear to be the same files and > structure as what is in the .tar.gz, so I just put the extracted > contents of the archive into a "src" dir, and create a "build" dir at > the same level. > > I then execute: ccmake ../src > > CMake does come up, but instead of seeing the 3 variables shown in the > README, I see just "EMPTY CACHE". > > Any additional help or guidance would be appreciated. Thank you. > > Rob > > -- > Rob Groner > Software Engineer > > Institute for CyberScience > The Pennsylvania State University > 222E Computer Building > University Park, PA 16802 > Phone: 814.867.6074 > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 From utkarsh.ayachit at kitware.com Fri Jun 23 09:16:18 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 23 Jun 2017 09:16:18 -0400 Subject: [Paraview] Trouble building the ParaView sources In-Reply-To: References: <1498166896.2608.19.camel@psu.edu> Message-ID: >> I then execute: ccmake ../src >> >> CMake does come up, but instead of seeing the 3 variables shown in the >> README, I see just "EMPTY CACHE". Since you have installed Ninja, do this. > ccmake -G Ninja ../src Next hit "c" to configure. That will process cmake configuration files in ParaView and then provide you with options that you can set. Any time you change options, hit "c" to configure again. Once done, you can hit "g" to generate the build files. Then do > ninja-build From rob.groner at psu.edu Fri Jun 23 09:58:57 2017 From: rob.groner at psu.edu (Rob Groner) Date: Fri, 23 Jun 2017 09:58:57 -0400 Subject: [Paraview] Trouble building the ParaView sources In-Reply-To: References: <1498166896.2608.19.camel@psu.edu> Message-ID: <1498226337.2578.1.camel@psu.edu> On Fri, 2017-06-23 at 09:16 -0400, Utkarsh Ayachit wrote: > > > I then execute:??ccmake ../src > > > > > > CMake does come up, but instead of seeing the 3 variables shown > > > in the > > > README, I see just "EMPTY CACHE". > > > Since you have installed Ninja, do this. > > > ccmake -G Ninja ../src > > Next hit "c" to configure. That will process cmake configuration > files > in ParaView and then provide you with options that you can set. Any > time you change options, hit "c" to configure again. Once done, you > can hit "g" to generate the build files. Then do > > > ninja-build Ok, thank you. I hit 'c' and it is doing things now ("Configuring, please wait..."). I also had to set the CXX environment variable to the path of ccmake. I'll hit 'g' and then ninja-build after that to see what happens. Thank you for the help so far! Rob -- Rob Groner Software Engineer? Institute for CyberScience The Pennsylvania State University 222E Computer Building University Park, PA 16802 Phone: 814.867.6074 From rob.groner at psu.edu Fri Jun 23 11:06:34 2017 From: rob.groner at psu.edu (Rob Groner) Date: Fri, 23 Jun 2017 11:06:34 -0400 Subject: [Paraview] Trouble building the ParaView sources In-Reply-To: References: <1498166896.2608.19.camel@psu.edu> Message-ID: <1498230394.2578.5.camel@psu.edu> Thank you for the help, Jutta. When you say "There are many of them, takes some time"...do you mean hours? So far I've tried running ccmake and cmake-gui and executing the configure, but once it starts doing that, I see absolutely no indication that it is doing anything else. Nothing prints to the screen, "top" doesn't show that cmake is using any CPU, and when I use cmake-gui, the little progress bar does not move. If it's that slow of a process, than I can just leave it for a day and come back, but it seems more likely that something is wrong. Rob On Fri, 2017-06-23 at 10:17 +0000, Dreer, Jutta wrote: > Hi Rob, > > I did not install 5.4 so far, only 5.2. But I have a hint for the > last of your questions that might help: > > When calling ccmake, the cache is always empty in the beginning. The > first action you should initiate is to type "c" (abbreviation of > "configure"). This will trigger ccmake to read all CMakeLists.txt > files in the software tree (there are many of them, takes some time). > These describe the installation with all its variables. After that > you should see all the variables. > > If your cache is still empty, maybe you did not specify the correct > directory for ccmake. You should specify the top level directory > which contains a CMakeLists.txt file. For Paraview 5.2 this was a > directory Paraview-5.2.0 at the top level of the software tree after > unpacking. So maybe instead of ../src you need some ../src/Paraview- > 5.4....(whatever version number). > > As soon as you see the cache variables, you can change them, then > again choose "configure", then "generate". After that you are > prepared to initiate a run of "make" or whatever is necessary for > further installation. > > Good Luck > > > Best Regards > > Jutta Dreer > Leibniz Supercomputing Centre Munich? > > ------------------------------------------------------------------? > Boltzmannstr. 1??????????????????????Phone:??+49 89 35831 8741? > D-85748 Garching?????????????????????Fax:????+49 89 35831 9700 > > > > -----Urspr?ngliche Nachricht----- > Von: ParaView [mailto:paraview-bounces at paraview.org] Im Auftrag von > Rob Groner > Gesendet: Donnerstag, 22. Juni 2017 23:28 > An: paraview at paraview.org > Betreff: [Paraview] Trouble building the ParaView sources > > Hello, > > I'm trying to build the paraview sources.??I downloaded the 5.4.0 > sources, and I'm using Fedora 25 Workstation. > > I've read through the README.md that's in the root directory, and > that leads me to Documentation/dev/build.md. > > Going through these steps: > 1) I've verified cmake is on my system and in the PATH. > 2) I've verified qt is installed, and is version 4.8.7 > 3) Compiler and Build tool: > > Here's where issues begin.??Since I'm using Fedora/yum, the packages > don't directly translate. > > I've verified or installed the following packages from the list: > cmake > git > python-dev > freeglut3-dev > autoconf > libtool > bison > flex > ninja-build > > But I can't seem to find these: > mesa-common-dev > mesa-utils > libhdf5-serial-dev > > (I did notice that some mesa packages were installed when freeglut > was) > > I continued on to see how much farther I could get, and the next step > immediately stumped me: > > sudo python get-pip.py > > That returns a "no get-pip.py found" error.??I've verified no get- > pip.py file is in the ParaView sources (or anywhere else on the > system), so I'm missing something here. > > I still continued on, and ran into another issue.??The "Run CMake" > step references a src and build directory.??I understand that it is > talking about the previous step using git to "Retrieve the source", > but I downloaded them as a single .tar.gz file from the website > instead.? > Looking at the git sources, they appear to be the same files and > structure as what is in the .tar.gz, so I just put the extracted > contents of the archive into a "src" dir, and create a "build" dir at > the same level. > > I then execute:??ccmake ../src > > CMake does come up, but instead of seeing the 3 variables shown in > the README, I see just "EMPTY CACHE". > > Any additional help or guidance would be appreciated.??Thank you. > > Rob > > -- > Rob Groner > Software Engineer? > > Institute for CyberScience > The Pennsylvania State University > 222E Computer Building > University Park, PA 16802 > Phone: 814.867.6074 > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/op > ensource/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 From rob.groner at psu.edu Fri Jun 23 11:33:38 2017 From: rob.groner at psu.edu (Rob Groner) Date: Fri, 23 Jun 2017 11:33:38 -0400 Subject: [Paraview] Trouble building the ParaView sources In-Reply-To: <1498230394.2578.5.camel@psu.edu> References: <1498166896.2608.19.camel@psu.edu> <1498230394.2578.5.camel@psu.edu> Message-ID: <1498232018.2578.6.camel@psu.edu> Hmm...nevermind. i think I just don't have my CMAKE environment setup correctly. Let me tinker with that for a bit before I need more help. Rob On Fri, 2017-06-23 at 11:06 -0400, Rob Groner wrote: > Thank you for the help, Jutta. > > When you say "There are many of them, takes some time"...do you mean > hours???So far I've tried running ccmake and cmake-gui and executing > the configure, but once it starts doing that, I see absolutely no > indication that it is doing anything else.??Nothing prints to the > screen, "top" doesn't show that cmake is using any CPU, and when I > use > cmake-gui, the little progress bar does not move. > > If it's that slow of a process, than I can just leave it for a day > and > come back, but it seems more likely that something is wrong. > > Rob > > > On Fri, 2017-06-23 at 10:17 +0000, Dreer, Jutta wrote: > > Hi Rob, > > > > I did not install 5.4 so far, only 5.2. But I have a hint for the > > last of your questions that might help: > > > > When calling ccmake, the cache is always empty in the beginning. > > The > > first action you should initiate is to type "c" (abbreviation of > > "configure"). This will trigger ccmake to read all CMakeLists.txt > > files in the software tree (there are many of them, takes some > > time). > > These describe the installation with all its variables. After that > > you should see all the variables. > > > > If your cache is still empty, maybe you did not specify the correct > > directory for ccmake. You should specify the top level directory > > which contains a CMakeLists.txt file. For Paraview 5.2 this was a > > directory Paraview-5.2.0 at the top level of the software tree > > after > > unpacking. So maybe instead of ../src you need some > > ../src/Paraview- > > 5.4....(whatever version number). > > > > As soon as you see the cache variables, you can change them, then > > again choose "configure", then "generate". After that you are > > prepared to initiate a run of "make" or whatever is necessary for > > further installation. > > > > Good Luck > > > > > > Best Regards > > > > Jutta Dreer > > Leibniz Supercomputing Centre Munich? > > > > ------------------------------------------------------------------? > > Boltzmannstr. 1??????????????????????Phone:??+49 89 35831 8741? > > D-85748 Garching?????????????????????Fax:????+49 89 35831 9700 > > > > > > > > -----Urspr?ngliche Nachricht----- > > Von: ParaView [mailto:paraview-bounces at paraview.org] Im Auftrag von > > Rob Groner > > Gesendet: Donnerstag, 22. Juni 2017 23:28 > > An: paraview at paraview.org > > Betreff: [Paraview] Trouble building the ParaView sources > > > > Hello, > > > > I'm trying to build the paraview sources.??I downloaded the 5.4.0 > > sources, and I'm using Fedora 25 Workstation. > > > > I've read through the README.md that's in the root directory, and > > that leads me to Documentation/dev/build.md. > > > > Going through these steps: > > 1) I've verified cmake is on my system and in the PATH. > > 2) I've verified qt is installed, and is version 4.8.7 > > 3) Compiler and Build tool: > > > > Here's where issues begin.??Since I'm using Fedora/yum, the > > packages > > don't directly translate. > > > > I've verified or installed the following packages from the list: > > cmake > > git > > python-dev > > freeglut3-dev > > autoconf > > libtool > > bison > > flex > > ninja-build > > > > But I can't seem to find these: > > mesa-common-dev > > mesa-utils > > libhdf5-serial-dev > > > > (I did notice that some mesa packages were installed when freeglut > > was) > > > > I continued on to see how much farther I could get, and the next > > step > > immediately stumped me: > > > > sudo python get-pip.py > > > > That returns a "no get-pip.py found" error.??I've verified no get- > > pip.py file is in the ParaView sources (or anywhere else on the > > system), so I'm missing something here. > > > > I still continued on, and ran into another issue.??The "Run CMake" > > step references a src and build directory.??I understand that it is > > talking about the previous step using git to "Retrieve the source", > > but I downloaded them as a single .tar.gz file from the website > > instead.? > > Looking at the git sources, they appear to be the same files and > > structure as what is in the .tar.gz, so I just put the extracted > > contents of the archive into a "src" dir, and create a "build" dir > > at > > the same level. > > > > I then execute:??ccmake ../src > > > > CMake does come up, but instead of seeing the 3 variables shown in > > the README, I see just "EMPTY CACHE". > > > > Any additional help or guidance would be appreciated.??Thank you. > > > > Rob > > > > -- > > Rob Groner > > Software Engineer? > > > > Institute for CyberScience > > The Pennsylvania State University > > 222E Computer Building > > University Park, PA 16802 > > Phone: 814.867.6074 > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at http://www.kitware.com/ > > op > > ensource/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/op > ensource/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 From wascott at sandia.gov Fri Jun 23 12:05:50 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 23 Jun 2017 16:05:50 +0000 Subject: [Paraview] [EXTERNAL] Re: long animations are freezing halfway through In-Reply-To: References: Message-ID: <575e4d66cec04221a06d846344dd5e6d@ES01AMSNLNT.srn.sandia.gov> I have another user with this complaint. I have not been able to replicate it. Are you using either opacity or volume rendering? Would you be able to pass the data files to Kitware? Alan > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of > Utkarsh Ayachit > Sent: Friday, June 23, 2017 7:07 AM > To: Richardson CFD > Cc: ParaView > Subject: [EXTERNAL] Re: [Paraview] long animations are freezing halfway > through > > Giles, > > What OS is this on? > > Utkarsh > > On Fri, Jun 23, 2017 at 8:59 AM, Richardson CFD wrote: > > I have been having trouble creating longer animations (150 frames) > > from larger data files (1million cells). The animation works fine > > initially but then freezes up about half way through the avi file - > > displaying just a constant unchanging image. Streamlines seems to work > > fine, but velocity contours (attached) is the one causing problems. I > > am having to create the animation in 2 parts, creating 2 seperate avi > > file and then join them after. > > > > Any suggestions or similar experience please let me know. Regards Giles. > > > > -- > > Richardson CFD > > http://richardsoncfd.weebly.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 > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 From utkarsh.ayachit at kitware.com Fri Jun 23 12:08:13 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 23 Jun 2017 12:08:13 -0400 Subject: [Paraview] [EXTERNAL] Re: long animations are freezing halfway through In-Reply-To: <575e4d66cec04221a06d846344dd5e6d@ES01AMSNLNT.srn.sandia.gov> References: <575e4d66cec04221a06d846344dd5e6d@ES01AMSNLNT.srn.sandia.gov> Message-ID: Alan, I am discussing with Giles off line. Will keep you posted. Utkarsh On Fri, Jun 23, 2017 at 12:05 PM, Scott, W Alan wrote: > I have another user with this complaint. I have not been able to replicate it. > > Are you using either opacity or volume rendering? > > Would you be able to pass the data files to Kitware? > > Alan > >> -----Original Message----- >> From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of >> Utkarsh Ayachit >> Sent: Friday, June 23, 2017 7:07 AM >> To: Richardson CFD >> Cc: ParaView >> Subject: [EXTERNAL] Re: [Paraview] long animations are freezing halfway >> through >> >> Giles, >> >> What OS is this on? >> >> Utkarsh >> >> On Fri, Jun 23, 2017 at 8:59 AM, Richardson CFD wrote: >> > I have been having trouble creating longer animations (150 frames) >> > from larger data files (1million cells). The animation works fine >> > initially but then freezes up about half way through the avi file - >> > displaying just a constant unchanging image. Streamlines seems to work >> > fine, but velocity contours (attached) is the one causing problems. I >> > am having to create the animation in 2 parts, creating 2 seperate avi >> > file and then join them after. >> > >> > Any suggestions or similar experience please let me know. Regards Giles. >> > >> > -- >> > Richardson CFD >> > http://richardsoncfd.weebly.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 >> > >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 From shuhao at shuhaowu.com Fri Jun 23 12:44:45 2017 From: shuhao at shuhaowu.com (Shuhao Wu) Date: Fri, 23 Jun 2017 12:44:45 -0400 Subject: [Paraview] Paraview Python best practise? Message-ID: <5590eff7-791b-5def-8c3e-01f1841875aa@shuhaowu.com> Hello, I was wondering if there are any sort of general best practise when writing Python based Paraview scripts for visualizations. From the materials I've gathered, everything feels very much like mutating a global state machine, which might not be the best if you want to turn certain actions into a library/general utility executable. What are the best practises in this regard? Furthermore, is there a way to specify ProgrammableFilter not as strings but in a file that you import and invoke? Judging from the source code it doesn't appear this is an ability that comes out of the box as it just spins up a python interpreter with that string. I've tried to create a function and them execute it, but this only works under pvpython, not with the python shell in the Paraview GUI. What are the best practises for this, as well? Thanks, Shuhao From dan.lipsa at kitware.com Fri Jun 23 13:57:02 2017 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Fri, 23 Jun 2017 13:57:02 -0400 Subject: [Paraview] troubles with netCDF reader ? In-Reply-To: References: Message-ID: 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.chaudhary at 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) < > cyndyb at 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Jun 23 14:31:52 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 23 Jun 2017 14:31:52 -0400 Subject: [Paraview] Paraview Python best practise? In-Reply-To: <5590eff7-791b-5def-8c3e-01f1841875aa@shuhaowu.com> References: <5590eff7-791b-5def-8c3e-01f1841875aa@shuhaowu.com> Message-ID: On Fri, Jun 23, 2017 at 12:44 PM, Shuhao Wu wrote: > Hello, > > I was wondering if there are any sort of general best practise when > writing Python based Paraview scripts for visualizations. From the > materials I've gathered, everything feels very much like mutating a global > state machine, which might not be the best if you want to turn certain > actions into a library/general utility executable. What are the best > practises in this regard? > > Others can provide better advice than I on this point. > Furthermore, is there a way to specify ProgrammableFilter not as strings > but in a file that you import and invoke? Judging from the source code it > doesn't appear this is an ability that comes out of the box as it just > spins up a python interpreter with that string. I've tried to create a > function and them execute it, but this only works under pvpython, not with > the python shell in the Paraview GUI. What are the best practises for this, > as well? > > I find Programmable Filter script string(s) that simply execfile(...) or import ... are convenient for this. > Thanks, > Shuhao > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Raheel.Rana at arconic.com Fri Jun 23 14:51:08 2017 From: Raheel.Rana at arconic.com (Rana, Raheel (Tek Connexion)) Date: Fri, 23 Jun 2017 18:51:08 +0000 Subject: [Paraview] FW: paraview error. In-Reply-To: References: Message-ID: Hello, I am trying to run paraview on rhel 7.3 getting following error, please help. *atcmach2-/usr/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin: paraview Fontconfig warning: line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf Segmentation fault (core dumped) Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jun 23 15:05:35 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 23 Jun 2017 19:05:35 +0000 Subject: [Paraview] [EXTERNAL] FW: paraview error. In-Reply-To: References: Message-ID: The Fontconfig warning is most likely unrelated to the crash. Try the following: paraview --mesa-llvm (that was two dashes at the start of the command) Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Rana, Raheel (Tek Connexion) Sent: Friday, June 23, 2017 12:51 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] FW: paraview error. Hello, I am trying to run paraview on rhel 7.3 getting following error, please help. *atcmach2-/usr/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin: paraview Fontconfig warning: line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf Segmentation fault (core dumped) Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Raheel.Rana at arconic.com Fri Jun 23 15:19:07 2017 From: Raheel.Rana at arconic.com (Rana, Raheel (Tek Connexion)) Date: Fri, 23 Jun 2017 19:19:07 +0000 Subject: [Paraview] [EXTERNAL] FW: paraview error. In-Reply-To: References: Message-ID: Thank you Alan - the command works but display is all black with following error; Xlib: extension "MIT-SHM" missing on display "localhost:13.0" Raheel. From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, June 23, 2017 3:06 PM To: Rana, Raheel (Tek Connexion) ; paraview at paraview.org Subject: EXT: RE: [EXTERNAL] [Paraview] FW: paraview error. The Fontconfig warning is most likely unrelated to the crash. Try the following: paraview --mesa-llvm (that was two dashes at the start of the command) Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Rana, Raheel (Tek Connexion) Sent: Friday, June 23, 2017 12:51 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] FW: paraview error. Hello, I am trying to run paraview on rhel 7.3 getting following error, please help. *atcmach2-/usr/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin: paraview Fontconfig warning: line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf Segmentation fault (core dumped) Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Jun 23 15:29:33 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 23 Jun 2017 15:29:33 -0400 Subject: [Paraview] [EXTERNAL] FW: paraview error. In-Reply-To: References: Message-ID: On Fri, Jun 23, 2017 at 3:19 PM, Rana, Raheel (Tek Connexion) < Raheel.Rana at arconic.com> wrote: > "MIT-SHM" missing Try setting this environment variable before you start ParaView. QT_X11_NO_MITSHM=1 David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Raheel.Rana at arconic.com Fri Jun 23 15:40:42 2017 From: Raheel.Rana at arconic.com (Rana, Raheel (Tek Connexion)) Date: Fri, 23 Jun 2017 19:40:42 +0000 Subject: [Paraview] [EXTERNAL] FW: paraview error. In-Reply-To: References: Message-ID: Thank you it works!! From: David E DeMarle [mailto:dave.demarle at kitware.com] Sent: Friday, June 23, 2017 3:30 PM To: Rana, Raheel (Tek Connexion) Cc: Scott, W Alan ; paraview at paraview.org Subject: EXT: Re: [Paraview] [EXTERNAL] FW: paraview error. On Fri, Jun 23, 2017 at 3:19 PM, Rana, Raheel (Tek Connexion) > wrote: "MIT-SHM" missing Try setting this environment variable before you start ParaView. QT_X11_NO_MITSHM=1 David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jun 23 16:35:46 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 23 Jun 2017 20:35:46 +0000 Subject: [Paraview] [EXTERNAL] FW: paraview error. In-Reply-To: References: Message-ID: <5cbaa44301d649228a712fcea775d509@ES01AMSNLNT.srn.sandia.gov> Dave, What does this environment variable do? Is there a list of magic environment variables for ParaView? Where is it? Thanks, Alan From: Rana, Raheel (Tek Connexion) [mailto:Raheel.Rana at arconic.com] Sent: Friday, June 23, 2017 1:41 PM To: DeMarle, David E. (External Contacts) Cc: Scott, W Alan ; paraview at paraview.org Subject: RE: Re: [Paraview] [EXTERNAL] FW: paraview error. Thank you it works!! From: David E DeMarle [mailto:dave.demarle at kitware.com] Sent: Friday, June 23, 2017 3:30 PM To: Rana, Raheel (Tek Connexion) > Cc: Scott, W Alan >; paraview at paraview.org Subject: EXT: Re: [Paraview] [EXTERNAL] FW: paraview error. On Fri, Jun 23, 2017 at 3:19 PM, Rana, Raheel (Tek Connexion) > wrote: "MIT-SHM" missing Try setting this environment variable before you start ParaView. QT_X11_NO_MITSHM=1 David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Jun 23 17:08:08 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 23 Jun 2017 17:08:08 -0400 Subject: [Paraview] [EXTERNAL] FW: paraview error. In-Reply-To: <5cbaa44301d649228a712fcea775d509@ES01AMSNLNT.srn.sandia.gov> References: <5cbaa44301d649228a712fcea775d509@ES01AMSNLNT.srn.sandia.gov> Message-ID: That is a Qt thing and not strongly related to ParaView. I found out about on a non ParaView project (Cinema's qt viewer) a while ago. It basically tells Qt apps not to rely on the availability of shared memory in X something or other. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jun 23, 2017 at 4:35 PM, Scott, W Alan wrote: > Dave, > > What does this environment variable do? > > > > Is there a list of magic environment variables for ParaView? Where is it? > > > > Thanks, > > > > Alan > > > > *From:* Rana, Raheel (Tek Connexion) [mailto:Raheel.Rana at arconic.com] > *Sent:* Friday, June 23, 2017 1:41 PM > *To:* DeMarle, David E. (External Contacts) > *Cc:* Scott, W Alan ; paraview at paraview.org > *Subject:* RE: Re: [Paraview] [EXTERNAL] FW: paraview error. > > > > Thank you it works!! > > > > *From:* David E DeMarle [mailto:dave.demarle at kitware.com > ] > *Sent:* Friday, June 23, 2017 3:30 PM > *To:* Rana, Raheel (Tek Connexion) > *Cc:* Scott, W Alan ; paraview at paraview.org > *Subject:* EXT: Re: [Paraview] [EXTERNAL] FW: paraview error. > > > > > > On Fri, Jun 23, 2017 at 3:19 PM, Rana, Raheel (Tek Connexion) < > Raheel.Rana at arconic.com> wrote: > > "MIT-SHM" missing > > > Try setting this environment variable before you start ParaView. > > QT_X11_NO_MITSHM=1 > > > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Stock at nrel.gov Fri Jun 23 17:22:47 2017 From: Mark.Stock at nrel.gov (Stock, Mark) Date: Fri, 23 Jun 2017 21:22:47 +0000 Subject: [Paraview] Eye separation has been wrong since Immersive ParaView 5.2 - here's how to fix it Message-ID: 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 I am viewing a triangle mesh, some triangles seem to flip normals (and get dark) when I move the object around. The first two problems are caused by a change in the VTK source code from March 2016 which arbitrarily multiples the eye separation distance by 10, and also tightens the near and far clipping planes. The third can be corrected by adding a single comment (which will help CAVE and Immersive users, but probably nobody else). Both fixes will require you to build ParaView from source - which you're probably doing anyway. I can't comment on how these changes will affect HMD VR users. The first and second problems are caused by a single commit to the VTK repository that began to appear in ParaView with version 5.2.0. The problem code is in VTK/Rendering/Core/vtkCamera.cxx starting at line 452 in versions 5.3 and 5.4. This problem can be fixed by replacing double eyeSeparationCorrectionFactor = 10.0; double shiftDistance = this->EyeSeparation / (2.0 * eyeSeparationCorrectionFactor); if(this->Distance < 1.0) { shiftDistance *= this->Distance; } with simply double shiftDistance = this->EyeSeparation; The second problem (clipping planes) is just a few lines down. I fixed it by replacing // Front (aka near) double F = E[2] - (this->Distance + this->Thickness);//E[2] - 10000.0;//this->ClippingRange[1]; // Back (aka far) double nearDistanceCorrectionFactor = 1000.0; double B = E[2] - (this->Distance / nearDistanceCorrectionFactor);//E[2] - .1;//this->ClippingRange[0]; with // Front (aka near) double F = E[2] - 10000.0;//this->ClippingRange[1]; // Back (aka far) double B = E[2] - .1;//this->ClippingRange[0]; The third problem can be fixed by commenting out this line in VTK/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx (around line 1198 in 5.1, 1416 in 5.2 to 5.4): " if (cameraParallel == 0 && dot(normalVCVSOutput,vertexVC.xyz) > 0.0) { normalVCVSOutput = -1.0*normalVCVSOutput; }" I hope these fixes help some of you out there get your CAVE updated to the latest ParaView. Mark Mark.Stock at nrel.gov From cyndyb at email.arizona.edu Fri Jun 23 18:45:24 2017 From: cyndyb at email.arizona.edu (Hart, Cynthia Joyce - (cyndyb)) Date: Fri, 23 Jun 2017 22:45:24 +0000 Subject: [Paraview] troubles with netCDF reader ? In-Reply-To: References: Message-ID: Thank you, Dan, very much! The files were generated by a scientist here and forwarded to me to visualize. He is using the NCAR WRF model ? so it surprises me his data is non-compliant, but I will pass this info on to him ? for the next time he generates data for someone else to work with Sincerely, Cynthia From: Dan Lipsa Date: Friday, June 23, 2017 at 10:57 AM To: Aashish Chaudhary Cc: "Hart, Cynthia Joyce - (cyndyb)" , "paraview at 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 > 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) > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lev.karatun at gmail.com Sat Jun 24 21:38:56 2017 From: lev.karatun at gmail.com (Lev Karatun) Date: Sat, 24 Jun 2017 21:38:56 -0400 Subject: [Paraview] Paraview not responding after hibernation on Windows In-Reply-To: References: Message-ID: Hi Utkarsh, when I open Paraview it says "4.5.0 NVIDIA 376.19". I can't check what it is when it hangs for the obvious reason. Best regards, Lev Karatun. 2017-06-22 15:39 GMT-04:00 Utkarsh Ayachit : > Could be related to OpenGL drivers. Can you check the About dialog and see > what OpenGL drivers ParaView is reporting before and after hibernation? > > On Wed, Jun 21, 2017 at 2:32 PM, Lev Karatun > wrote: > >> I don't think the message went through, resending. (if it did, sorry for >> multiple emails) >> >> Best regards, >> Lev Karatun. >> >> 2017-06-21 14:28 GMT-04:00 Lev Karatun : >> >>> Hi, >>> >>> I have a problem with Paraview 5.* -- when I open it originally it works >>> fine, but if I put my laptop in hibernate and then wake it, Paraview >>> doesn't respond. The problem seems to exist with all 5.* versions (I tried >>> about 5 of them) and does not exist on any versions before 5.*. Currently >>> I'm using 4.3.1 and it works fine. My OS is Windows 8.1. Let me know if you >>> need any more info. >>> >>> Thanks! >>> >>> Best regards, >>> Lev Karatun. >>> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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 >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph.g.hennessey2.ctr at mail.mil Mon Jun 26 11:42:05 2017 From: joseph.g.hennessey2.ctr at mail.mil (Hennessey, Joseph G CTR USARMY RDECOM ARL (US)) Date: Mon, 26 Jun 2017 15:42:05 +0000 Subject: [Paraview] [Non-DoD Source] Eye separation has been wrong since Immersive ParaView 5.2 - here's how to fix it In-Reply-To: References: Message-ID: <10A03274360DCF47A6EE78C9952A31CA91EF31F3@UCOLHPUD.easf.csd.disa.mil> 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.0000000 to 0.0000001 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] - 10000.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-bounces at 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 I am viewing a triangle mesh, some triangles seem to flip normals (and get dark) when I move the object around. The first two problems are caused by a change in the VTK source code from March 2016 which arbitrarily multiples the eye separation distance by 10, and also tightens the near and far clipping planes. The third can be corrected by adding a single comment (which will help CAVE and Immersive users, but probably nobody else). Both fixes will require you to build ParaView from source - which you're probably doing anyway. I can't comment on how these changes will affect HMD VR users. The first and second problems are caused by a single commit to the VTK repository that began to appear in ParaView with version 5.2.0. The problem code is in VTK/Rendering/Core/vtkCamera.cxx starting at line 452 in versions 5.3 and 5.4. This problem can be fixed by replacing double eyeSeparationCorrectionFactor = 10.0; double shiftDistance = this->EyeSeparation / (2.0 * eyeSeparationCorrectionFactor); if(this->Distance < 1.0) { shiftDistance *= this->Distance; } with simply double shiftDistance = this->EyeSeparation; The second problem (clipping planes) is just a few lines down. I fixed it by replacing // Front (aka near) double F = E[2] - (this->Distance + this->Thickness);//E[2] - 10000.0;//this->ClippingRange[1]; // Back (aka far) double nearDistanceCorrectionFactor = 1000.0; double B = E[2] - (this->Distance / nearDistanceCorrectionFactor);//E[2] - .1;//this->ClippingRange[0]; with // Front (aka near) double F = E[2] - 10000.0;//this->ClippingRange[1]; // Back (aka far) double B = E[2] - .1;//this->ClippingRange[0]; The third problem can be fixed by commenting out this line in VTK/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx (around line 1198 in 5.1, 1416 in 5.2 to 5.4): " if (cameraParallel == 0 && dot(normalVCVSOutput,vertexVC.xyz) > 0.0) { normalVCVSOutput = -1.0*normalVCVSOutput; }" I hope these fixes help some of you out there get your CAVE updated to the latest ParaView. Mark Mark.Stock at nrel.gov _______________________________________________ Powered by Caution-www.kitware.com Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView Search the list archives at: Caution-http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: Caution-http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5615 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Mon Jun 26 16:17:16 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 26 Jun 2017 16:17:16 -0400 Subject: [Paraview] Paraview not responding after hibernation on Windows In-Reply-To: References: Message-ID: Go to Settings and from the "General" tab change the "Default View Type" to None. Now, if you restart ParaView after hiberate, does it still hang? If not, what does the About dialog say? I don't have any specific ideas here, just grasping at straws really. On Sat, Jun 24, 2017 at 9:38 PM, Lev Karatun wrote: > Hi Utkarsh, > > when I open Paraview it says "4.5.0 NVIDIA 376.19". I can't check what it is > when it hangs for the obvious reason. > > Best regards, > Lev Karatun. > > 2017-06-22 15:39 GMT-04:00 Utkarsh Ayachit : >> >> Could be related to OpenGL drivers. Can you check the About dialog and see >> what OpenGL drivers ParaView is reporting before and after hibernation? >> >> On Wed, Jun 21, 2017 at 2:32 PM, Lev Karatun >> wrote: >>> >>> I don't think the message went through, resending. (if it did, sorry for >>> multiple emails) >>> >>> Best regards, >>> Lev Karatun. >>> >>> 2017-06-21 14:28 GMT-04:00 Lev Karatun : >>>> >>>> Hi, >>>> >>>> I have a problem with Paraview 5.* -- when I open it originally it works >>>> fine, but if I put my laptop in hibernate and then wake it, Paraview doesn't >>>> respond. The problem seems to exist with all 5.* versions (I tried about 5 >>>> of them) and does not exist on any versions before 5.*. Currently I'm using >>>> 4.3.1 and it works fine. My OS is Windows 8.1. Let me know if you need any >>>> more info. >>>> >>>> Thanks! >>>> >>>> Best regards, >>>> Lev Karatun. >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects 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 >>> >> > From josejmcriollo at gmail.com Tue Jun 27 08:17:35 2017 From: josejmcriollo at gmail.com (Jose Javier Munoz Criollo) Date: Tue, 27 Jun 2017 13:17:35 +0100 Subject: [Paraview] script to save plotSelectionOverTime Message-ID: <3d274815-cc50-c26b-273d-68d83df794fd@gmail.com> I'm trying to write a script to save the results of plotSelectionOverTime. So far no success. I'm using the Trace functionality to keep track of the necessary steps. I use Paraview 5.2.0 64 bit on Fedora 25. What I have is a data set representing the temperature field in a 2D domain. I use the calculator and integrateVariables to estimate the thermal energy with respect to a reference temperature. Then I use plotSelectionOverTime to plot the result. In the GUI it works well, but the generated trace contains all functions related with the creation of the different windows. Removing these, I kept what I think are the relevant parts for the script: > from paraview.simple import * > > solutionpvd = PVDReader(FileName='/my/path/solution.pvd') > > calculator1 = Calculator(Input=solutionpvd) > calculator1.AttributeMode = 'Point Data' > calculator1.ResultArrayName = 'Energy (MJ/m)' > calculator1.Function = 'volumetric_heat_capacity*(temperature-10)/1E6' > > integrateVariables1 = IntegrateVariables(Input=calculator1) > > plotSelectionOverTime1 = PlotSelectionOverTime(Input=integrateVariables1, > OnlyReportSelectionStatistics=1, > Selection=None) > > SaveData('/my/path/output_data.csv', proxy=plotSelectionOverTime1, > Precision=5, > UseScientificNotation=0, > WriteAllTimeSteps=0) I execute the script like this: > pvpython my_script.py However, nothing is generated and no error message is printed either. If I save the data from integrate variables: > from paraview.simple import * > > solutionpvd = PVDReader(FileName='/my/path/solution.pvd') > > calculator1 = Calculator(Input=solutionpvd) > calculator1.AttributeMode = 'Point Data' > calculator1.ResultArrayName = 'Energy (MJ/m)' > calculator1.Function = 'volumetric_heat_capacity*(temperature-10)/1E6' > > integrateVariables1 = IntegrateVariables(Input=calculator1) > > SaveData('/my/path/output_data.csv', proxy= integrateVariables1, > Precision=5, > UseScientificNotation=0, > WriteAllTimeSteps=0) I can save the data corresponding to the first time step. If I set WriteAllTimeSteps=1, then I produce all timesteps in different files which is not useful either since the number of timesteps are too many. So, my question is, how can I save the output from plotSelectionOverTime OR save the data from integrateVariables for all timesteps in the same file. Regards Javier From rob.groner at psu.edu Tue Jun 27 14:45:33 2017 From: rob.groner at psu.edu (Rob Groner) Date: Tue, 27 Jun 2017 14:45:33 -0400 Subject: [Paraview] Trouble building the ParaView sources In-Reply-To: <535d6fb2107e4b959127ae3af6e21b07@lrz.de> References: <1498166896.2608.19.camel@psu.edu> ,<1498230394.2578.5.camel@psu.edu> <535d6fb2107e4b959127ae3af6e21b07@lrz.de> Message-ID: <1498589133.2493.4.camel@psu.edu> No worries. Turns out it was badly configured environment variables. I think there was some recursion going on in there somewhere, and so it said "Configuring..." and never returned. I got it sorted out for now. Thanks! Rob On Tue, 2017-06-27 at 17:08 +0000, Dreer, Jutta wrote: > Hi Rob, > > sorry for the late reply, other topics at work and at home were > consuming all of my time... > > As to the time cmake needs for configuration and for generating all > the makefiles: I did not mean hours, but rather minutes. Configure > took about 30 seconds and generate up to 90 seconds. But half a > minute can be a long time when you want to go along and test the > effects of your changes. > > As far as I remember there was some cmake-Variable where you could > specify if you want to download the most recent version of the > sources from a repository. I did not use that, and I would expect to > happen the download not when configuring but when calling "make", but > I installed 5.2 and this might have changed. Are you sure you are not > waiting for some download to take place? > > When calling make, Paraview 5.2 fetched some prerequisites from the > Paraview download page which took quite some time. > > Sorry, no more ideas. > > Regards > > Jutta > Von: Rob Groner > Gesendet: Freitag, 23. Juni 2017 17:06:34 > An: Dreer, Jutta > Cc: paraview at paraview.org > Betreff: Re: AW: [Paraview] Trouble building the ParaView sources > ? > Thank you for the help, Jutta. > > When you say "There are many of them, takes some time"...do you mean > hours?? So far I've tried running ccmake and cmake-gui and executing > the configure, but once it starts doing that, I see absolutely no > indication that it is doing anything else.? Nothing prints to the > screen, "top" doesn't show that cmake is using any CPU, and when I > use > cmake-gui, the little progress bar does not move. > > If it's that slow of a process, than I can just leave it for a day > and > come back, but it seems more likely that something is wrong. > > Rob > > > On Fri, 2017-06-23 at 10:17 +0000, Dreer, Jutta wrote: > > Hi Rob, > >? > > I did not install 5.4 so far, only 5.2. But I have a hint for the > > last of your questions that might help: > >? > > When calling ccmake, the cache is always empty in the beginning. > The > > first action you should initiate is to type "c" (abbreviation of > > "configure"). This will trigger ccmake to read all CMakeLists.txt > > files in the software tree (there are many of them, takes some > time). > > These describe the installation with all its variables. After that > > you should see all the variables. > >? > > If your cache is still empty, maybe you did not specify the correct > > directory for ccmake. You should specify the top level directory > > which contains a CMakeLists.txt file. For Paraview 5.2 this was a > > directory Paraview-5.2.0 at the top level of the software tree > after > > unpacking. So maybe instead of ../src you need some > ../src/Paraview- > > 5.4....(whatever version number). > >? > > As soon as you see the cache variables, you can change them, then > > again choose "configure", then "generate". After that you are > > prepared to initiate a run of "make" or whatever is necessary for > > further installation. > >? > > Good Luck > >? > >? > > Best Regards > >? > > Jutta Dreer > > Leibniz Supercomputing Centre Munich? > >? > > ------------------------------------------------------------------? > > Boltzmannstr. 1??????????????????????Phone:??+49 89 35831 8741? > > D-85748 Garching?????????????????????Fax:????+49 89 35831 9700 > >? > >? > >? > > -----Urspr?ngliche Nachricht----- > > Von: ParaView [mailto:paraview-bounces at paraview.org] Im Auftrag von > > Rob Groner > > Gesendet: Donnerstag, 22. Juni 2017 23:28 > > An: paraview at paraview.org > > Betreff: [Paraview] Trouble building the ParaView sources > >? > > Hello, > >? > > I'm trying to build the paraview sources.??I downloaded the 5.4.0 > > sources, and I'm using Fedora 25 Workstation. > >? > > I've read through the README.md that's in the root directory, and > > that leads me to Documentation/dev/build.md. > >? > > Going through these steps: > > 1) I've verified cmake is on my system and in the PATH. > > 2) I've verified qt is installed, and is version 4.8.7 > > 3) Compiler and Build tool: > >? > > Here's where issues begin.??Since I'm using Fedora/yum, the > packages > > don't directly translate. > >? > > I've verified or installed the following packages from the list: > > cmake > > git > > python-dev > > freeglut3-dev > > autoconf > > libtool > > bison > > flex > > ninja-build > >? > > But I can't seem to find these: > > mesa-common-dev > > mesa-utils > > libhdf5-serial-dev > >? > > (I did notice that some mesa packages were installed when freeglut > > was) > >? > > I continued on to see how much farther I could get, and the next > step > > immediately stumped me: > >? > > sudo python get-pip.py > >? > > That returns a "no get-pip.py found" error.??I've verified no get- > > pip.py file is in the ParaView sources (or anywhere else on the > > system), so I'm missing something here. > >? > > I still continued on, and ran into another issue.??The "Run CMake" > > step references a src and build directory.??I understand that it is > > talking about the previous step using git to "Retrieve the source", > > but I downloaded them as a single .tar.gz file from the website > > instead.? > > Looking at the git sources, they appear to be the same files and > > structure as what is in the .tar.gz, so I just put the extracted > > contents of the archive into a "src" dir, and create a "build" dir > at > > the same level. > >? > > I then execute:??ccmake ../src > >? > > CMake does come up, but instead of seeing the 3 variables shown in > > the README, I see just "EMPTY CACHE". > >? > > Any additional help or guidance would be appreciated.??Thank you. > >? > > Rob > >? > > -- > > Rob Groner > > Software Engineer? > >? > > Institute for CyberScience > > The Pennsylvania State University > > 222E Computer Building > > University Park, PA 16802 > > Phone: 814.867.6074 > > _______________________________________________ > > Powered by www.kitware.com > >? > > Visit other Kitware open-source projects at http://www.kitware.com/ > op > > ensource/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 From ross.gardiner at ultrahaptics.com Wed Jun 28 07:56:31 2017 From: ross.gardiner at ultrahaptics.com (Ross Gardiner) Date: Wed, 28 Jun 2017 11:56:31 +0000 Subject: [Paraview] Sliding time window statistics Message-ID: <6F5FF284-4245-4E1E-A0FD-D7A57C8F26A3@ultrahaptics.com> Hi all, I have a time series of scalar fields (imageData) and want to use ParaView to compute a moving average of the values in the field with respect to time. For example (just looking at a single point in the field for this example): Time --------------> 0 2 4 6 2 |---------| 2 |---------| 4 |---------| 4 In my research so far, I?ve found the Temporal Statistics filter, but this doesn?t appear to support ?chunking? the time series or using a sliding window. Is there any way to do something like this in ParaView? Would I have to write a custom filter? If so, where should I start? I?m trying to do this as part of a numerical approximation to an integral dt. Thanks, Ross From andy.bauer at kitware.com Wed Jun 28 10:47:27 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 28 Jun 2017 10:47:27 -0400 Subject: [Paraview] Sliding time window statistics In-Reply-To: <6F5FF284-4245-4E1E-A0FD-D7A57C8F26A3@ultrahaptics.com> References: <6F5FF284-4245-4E1E-A0FD-D7A57C8F26A3@ultrahaptics.com> Message-ID: Hi Ross, The easiest way I can think of to do this would be to create a ParaView Python script to loop over the windows/chunks that you want. What I would do is use the trace capability to load the files in your first chunk that you want and create your full pipeline. Then save that state and edit it to loop over the set chunks that you want with the given files corresponding to that chunk. Note that I'm assuming here that the data time steps fall nicely into your time chunks. If your data sets have multiple time steps in a single file (e.g. time series ExodusII files) then you can use the Extract Time Steps filter to get what time steps you want from your reader. Cheers, Andy On Wed, Jun 28, 2017 at 7:56 AM, Ross Gardiner < ross.gardiner at ultrahaptics.com> wrote: > Hi all, > > I have a time series of scalar fields (imageData) and want to use ParaView > to compute a moving average of the values in the field with respect to time. > > For example (just looking at a single point in the field for this example): > > Time --------------> > > 0 2 4 6 2 > > |---------| > 2 > |---------| > 4 > |---------| > 4 > > In my research so far, I?ve found the Temporal Statistics filter, but this > doesn?t appear to support ?chunking? the time series or using a sliding > window. > > Is there any way to do something like this in ParaView? Would I have to > write a custom filter? If so, where should I start? > > I?m trying to do this as part of a numerical approximation to an integral > dt. > > Thanks, > > Ross > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ezhkr601 at student.liu.se Wed Jun 28 14:14:01 2017 From: ezhkr601 at student.liu.se (Ezhilmathi Krishnasamy) Date: Wed, 28 Jun 2017 20:14:01 +0200 Subject: [Paraview] how to build the paraview superbuild with mesa on a cluster (where user is not a root user) Message-ID: Hi, Can anyone please give me some instructions how to Paraview Superbuid to install and use them with out using the GUI (using the python script to render the images on the cluster or super computer). I see there are some instructions in here: https://gitlab.kitware.com/paraview/paraview-superbuild/ But I could not find any build instructions. Kind regards, Mathi -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Jun 28 14:48:40 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 28 Jun 2017 18:48:40 +0000 Subject: [Paraview] Add tkinter to Paraview without compiling? Message-ID: All, Is there a way to add tkinter to the Linux binary downloaded from the site or will we need to compile from source here to accomplish this? Thanks Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ben.Harrison at arup.com Wed Jun 28 20:47:43 2017 From: Ben.Harrison at arup.com (Ben Harrison) Date: Thu, 29 Jun 2017 00:47:43 +0000 Subject: [Paraview] Windows build with PCL plugin? Message-ID: Please excuse the basic nature of this... I would like a Windows build of ParaView with the PCL plugin for point cloud processing. Do I need to compile from source to do this, or is there already a binary with this plugin included? Regards, Ben ____________________________________________________________ Electronic mail messages entering and leaving Arup business systems are scanned for viruses and acceptability of content From mbahameish at gmail.com Thu Jun 29 06:31:42 2017 From: mbahameish at gmail.com (Mariam) Date: Thu, 29 Jun 2017 11:31:42 +0100 Subject: [Paraview] ParaViewWeb Error - vtkweb-loader.js Message-ID: Hi, I am trying to run ParaViewWeb using the following command: ./pvpython -dr ../Resources/web/visualizer/server/pvw-visualizer.py --content ../Resources/web/visualizer/www The connection is established, however, when accessing http://localhost:8080, I receive the following error in the browser (checked from Chrome Developer Tools): vtkweb-loader.js Failed to load resource: the server responded with a status of 404 (Not Found) localhost/:15 Uncaught ReferenceError: vtkWeb is not defined at localhost/:15 >From the command line, I receive the following: [HTTPChannel,0,127.0.0.1] "127.0.0.1" - - [29/Jun/2017:10:23:14 +0000] "GET /lib/core/vtkweb-loader.js HTTP/1.1" 404 145 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.104 Safari/537.36" ParaView version: 5.2 OS: Mac I tried to look for /lib/core/vtkweb-loader.js, but this location doesn?t exist in the current version. It seems to be existed in older versions such as 5.1, so I tried to install 5.1 as well but I got the same error. Any idea on how to resolve the issue? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Jun 29 08:04:59 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 29 Jun 2017 08:04:59 -0400 Subject: [Paraview] Windows build with PCL plugin? In-Reply-To: References: Message-ID: 99% certain that you have to build from source. The paraview binaries from Kitware do not have it. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Jun 28, 2017 at 8:47 PM, Ben Harrison wrote: > Please excuse the basic nature of this... I would like a Windows build of > ParaView with the PCL plugin for point cloud processing. Do I need to > compile from source to do this, or is there already a binary with this > plugin included? > > Regards, > Ben > > ____________________________________________________________ > Electronic mail messages entering and leaving Arup business > systems are scanned for viruses and acceptability of content > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bastien.jacquet at kitware.com Thu Jun 29 08:09:02 2017 From: bastien.jacquet at kitware.com (Bastien Jacquet) Date: Thu, 29 Jun 2017 14:09:02 +0200 Subject: [Paraview] Fwd: Windows build with PCL plugin? In-Reply-To: References: Message-ID: My initial answer was rejected on the mailing list because I was not yet subscribed to it. For the record, here it is. ---------- Forwarded message ---------- From: Bastien Jacquet Date: Thu, Jun 29, 2017 at 10:03 AM Subject: [Paraview] Windows build with PCL plugin? To: Ben Harrison Cc: "paraview at paraview.org" , Mathieu Westphal < mathieu.westphal at kitware.com> Hello Ben, The PCL plugin for ParaView has not been updated for a while, hence it does not compile out-of-the-box with recent ParaView. Kitware could be hired to update the plugin, if you wish. On the other hand, we internally used an adapted version for another ParaView-based project named VeloView. It's based on ParaView 5.1.2 (Qt 4.8.6), and PCL 1.7.1 , you can find the win64 plugin+installer here (VeloView binaries are stripped) Note that: - The installer shows off as "VeloView" installer - You need to manually launch the paraview binary from /bin/paraview.exe - Then you can load the PCL plugin which is in the same zip. - This paraview binary has a rendering bug causing the +2 columns of "Alphabetical Order" Filter not to show. Please use CTRL+SPACE to find pcl related filters. If you need more information, just contact me. Best regards, Bastien Jacquet, PhD Technical Leader - Computer Vision Team Kitware SAS 26 rue Louis Gu?rin - 69100 Villeurbanne - France F: +33 (0)4.37.45.04.15 <+33%204%2037%2045%2004%2015> ---------- Original message ---------- From: "Ben Harrison" Date: 29 Jun 2017 2:58 am Subject: [Paraview] Windows build with PCL plugin? To: "paraview at paraview.org" Please excuse the basic nature of this... I would like a Windows build of ParaView with the PCL plugin for point cloud processing. Do I need to compile from source to do this, or is there already a binary with this plugin included? Regards, Ben ____________________________________________________________ Electronic mail messages entering and leaving Arup business systems are scanned for viruses and acceptability of content -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Jun 29 09:24:59 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 29 Jun 2017 08:24:59 -0500 Subject: [Paraview] Filter MaterialInterfaceFilter In-Reply-To: References: Message-ID: On Tue, Jun 13, 2017 at 10:46 AM, Jos? Luis L?pez L?pez wrote: > Dear colleagues, > > I have a set of data: > > DATASET STRUCTURED_POINTS > > and I want to use the MaterialInterfaceFilter to measure the center of mass > of some isovolume inside my dataset. Is it not working? > According to the ParaView website the filter MaterialInterfaceFilter can > measure the center of mass. However. its input should be: > > Input to the filter can be a hierarchical box data set containing image data > or a multi-block of rectilinear grids. It seems you have a rectilinear grid data set, so I think it should work. Let us know if it doesn't. HTH, Cory > Do you have an idea what can I do? Or do you suggest another idea to measure > the center of mass. I attached an image of my dataset. It is 3D and the > isovolume of the droplet is the desired isovolume to measure. > > > Thanks a lot, > Jose > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. From cory.quammen at kitware.com Thu Jun 29 09:57:09 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 29 Jun 2017 08:57:09 -0500 Subject: [Paraview] Use separate arrays for colormap and opacity In-Reply-To: References: Message-ID: > We would like to be able to visualize an object without tying the colormap > to the same array as the opacity. Specifically, we would like to animate > pathlines and color them by velocity, while setting their opacity according > to particle age. Is this possible in Paraview? Unfortunately, this is not currently possible in ParaView. - Cory > Thanks, > Evan Kao > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. From utkarsh.ayachit at kitware.com Thu Jun 29 10:55:45 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 29 Jun 2017 10:55:45 -0400 Subject: [Paraview] Use separate arrays for colormap and opacity In-Reply-To: References: Message-ID: One option is to use "Python Programmable Filter" to generate an RGBA array in which you do the color and opacity mapping yourself. You won't have access to the color and opacity transfer ParaView sets up, but you can create your own internally. Not the most elegant solution -- but a solution, nonetheless. Utkarsh On Tue, Jun 13, 2017 at 12:24 PM, Evan Kao wrote: > Hello all, > > We would like to be able to visualize an object without tying the colormap > to the same array as the opacity. Specifically, we would like to animate > pathlines and color them by velocity, while setting their opacity according > to particle age. Is this possible in Paraview? > > Thanks, > Evan Kao > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > From super_achie at hotmail.com Thu Jun 29 11:47:15 2017 From: super_achie at hotmail.com (A .) Date: Thu, 29 Jun 2017 15:47:15 +0000 Subject: [Paraview] Pipe back data from ParaView to simulation program through Catalyst Message-ID: Dear members, I have successfully been able to use ParaView Catalyst to do in-situ visualization. The data that is generated from my simulation program is forwarded to ParaView with the use of these so-called 'adaptors'. The API is very straightforward and it was done easily. However I was wondering if feeding back data from ParaView into my simulation program through Catalyst is also possible. In other words can ParaView serve as a (semi) graphical user interface? For instance, at some point in the simulation in ParaView I want to change the size of one of my simulation objects, which in my simulation program is represented as a private data member of the object's class. So I want to pause the simulation, select the object and change the value of the object's size. Is there a way to pipe this data back into the simulation (in-situ) and continue the simulation? If the above description is too specific, I would just like to ask if the user can be interactive with simulation program through ParaView in any way. I can think of a way of exporting the changed ParaView state to file, parse that in my simulation program and update the simulation state, but I was wondering if there is a neater / faster way of doing this. Best, Jimmy -------------- next part -------------- An HTML attachment was scrubbed... URL: From bak at lanl.gov Thu Jun 29 12:52:33 2017 From: bak at lanl.gov (Kashiwa, Bucky) Date: Thu, 29 Jun 2017 16:52:33 +0000 Subject: [Paraview] ... not yet supported for more than 2147483647 bytes. In-Reply-To: References: Message-ID: Andy, Ashton: We have now tried versions 5.2, 5.3, and 5.4. With large point data sets we still have the same Generic Warning cited below (followed by ERRORS that cause PV to hang). I reckon that we are hitting the MPI wall associated with 2^31 items communicated at once - as per Andy?s note below. All of our recent work has been using the downloadable binaries from paraview.org, for both the client and the server. We see the same behavior using the MacOS client to Linux server, and Linux client to Linux server. This MPI shortcoming is a serious showstopper for us so we are going to have to find a remedy. The first question is: why should either the client or the server think that more than 2^31 items need to be communicated in the first place? On the surface, this seems to be unreasonable. To be clear, there is no problem opening and reading the datafiles, and displaying the outline view. The warning appears when we try to display the point view, when the number of points is too large. If we take a slice that reduces the number of points to below some threshold, then the point view display is okay. As an example, consider a .cosmo64 formatted point data file. There are 36 Bytes of data per point. We can display ~28,000,000 points and ~35,500,000 points just fine. At 45,500,000 points (=1.638 GBytes) the Generic Warning gets thrown. This seems to be independent of the number of nodes and PEs used by the server, and whether the view RenderView or EyeDomeLighting. We also write/read .vtm format that behaves in a similar fashion: slices will display okay until the slice is thick enough that there are too many points in the image. I have tried doing MPI on the client, which seems to have no effect on the foregoing limitation on the number of displayable points. Please let me know if you can think of other switches that can be thrown, that may shed some more light on the issue, or if you are aware of a forthcoming repair. Thanks very much, b. =======================================================================73 <>Bucky Kashiwa PhD, PE <> Post: MS B216, Los Alamos, NM 87545 <> <> Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov, kashiwa at qwest.net <> <>Voice: 505-667-8812 <> Fax: 505-665-5926 <> <> Home: 505-988-7332 <> Cell: 505-795-5581 <> =======================================================================73 From: Andy Bauer > Date: Monday, December 19, 2016 at 4:17 PM To: andrealphus > Cc: Bucky Kashiwa >, "ParaView at ParaView.org" > Subject: Re: [Paraview] ... not yet supported for more than 2147483647 bytes. There are two parts to this issue. The first is that that vtkMPICommunicator for PV 4.3.1 won't communicate data that is over 2^31 bytes of data. This is fixed in PV 5.2. The other issue is due to MPI having a limit of 2^31 objects to be communicated in a single shot. This is MPI's API in that the count for objects that are typically sent/received is an int. See http://www.mpich.org/static/docs/v3.1/www3/MPI_Send.html for example. On Mon, Dec 19, 2016 at 4:59 PM, andrealphus > wrote: That is a 32 bit error, from trying to index something with more than (2^32)/2 elements or indices. Are you using any custom libraries/packages/modules which might not be 64 bit compliant? Are you sure you built a 64 bit version (check your gcc -v). -ashton On Mon, Dec 19, 2016 at 1:32 PM, Kashiwa, Bucky > wrote: > On Linux using ParaView version 4.3.1 built with OSMesa-9.0.1, OpenMPI, > etc. Running pvserver with 12 PEs, client-server mode, Standard Release > ParaView-4.3.1-Linux-64bit client. With large point data (>2Gb) we get > this error, upon trying to display a large number of points: > > Generic Warning: In > ../ParaView-v4.3.1-source/VTK/Parallel/MPI/vtkMPICommunicator.cxx, > line 194 > > This operation not yet supported for more than 2147483647 bytes. > > Our CMakeCache.txt is attached, in case it may provide helpful clues. > > Thanks much. B. Kashiwa > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Jun 29 13:31:22 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 29 Jun 2017 17:31:22 +0000 Subject: [Paraview] [EXTERNAL] Re: ... not yet supported for more than 2147483647 bytes. In-Reply-To: References: Message-ID: <47605a4a8f074b24bd29e73da1599b0c@ES01AMSNLNT.srn.sandia.gov> I notice you are running ParaView 4.3.1? We had a bug in the earlier 4.*.* versions where we were passing massive amounts of information from all processes to all processes on the state of the status bar, bottom of the screen. We stopped doing that. I wonder if this could be an issue with huge numbers of points? Try PV 5.4.0? (Or possibly wait for 5.4.1, out Real Soon Now?) Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Kashiwa, Bucky Sent: Thursday, June 29, 2017 10:53 AM To: Bauer, Andy (External Contacts) ; andrealphus Cc: ParaView at ParaView.org Subject: [EXTERNAL] Re: [Paraview] ... not yet supported for more than 2147483647 bytes. Andy, Ashton: We have now tried versions 5.2, 5.3, and 5.4. With large point data sets we still have the same Generic Warning cited below (followed by ERRORS that cause PV to hang). I reckon that we are hitting the MPI wall associated with 2^31 items communicated at once - as per Andy's note below. All of our recent work has been using the downloadable binaries from paraview.org, for both the client and the server. We see the same behavior using the MacOS client to Linux server, and Linux client to Linux server. This MPI shortcoming is a serious showstopper for us so we are going to have to find a remedy. The first question is: why should either the client or the server think that more than 2^31 items need to be communicated in the first place? On the surface, this seems to be unreasonable. To be clear, there is no problem opening and reading the datafiles, and displaying the outline view. The warning appears when we try to display the point view, when the number of points is too large. If we take a slice that reduces the number of points to below some threshold, then the point view display is okay. As an example, consider a .cosmo64 formatted point data file. There are 36 Bytes of data per point. We can display ~28,000,000 points and ~35,500,000 points just fine. At 45,500,000 points (=1.638 GBytes) the Generic Warning gets thrown. This seems to be independent of the number of nodes and PEs used by the server, and whether the view RenderView or EyeDomeLighting. We also write/read .vtm format that behaves in a similar fashion: slices will display okay until the slice is thick enough that there are too many points in the image. I have tried doing MPI on the client, which seems to have no effect on the foregoing limitation on the number of displayable points. Please let me know if you can think of other switches that can be thrown, that may shed some more light on the issue, or if you are aware of a forthcoming repair. Thanks very much, b. =======================================================================73 <>Bucky Kashiwa PhD, PE <> Post: MS B216, Los Alamos, NM 87545 <> <> Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov, kashiwa at qwest.net <> <>Voice: 505-667-8812 <> Fax: 505-665-5926 <> <> Home: 505-988-7332 <> Cell: 505-795-5581 <> =======================================================================73 From: Andy Bauer > Date: Monday, December 19, 2016 at 4:17 PM To: andrealphus > Cc: Bucky Kashiwa >, "ParaView at ParaView.org" > Subject: Re: [Paraview] ... not yet supported for more than 2147483647 bytes. There are two parts to this issue. The first is that that vtkMPICommunicator for PV 4.3.1 won't communicate data that is over 2^31 bytes of data. This is fixed in PV 5.2. The other issue is due to MPI having a limit of 2^31 objects to be communicated in a single shot. This is MPI's API in that the count for objects that are typically sent/received is an int. See http://www.mpich.org/static/docs/v3.1/www3/MPI_Send.html for example. On Mon, Dec 19, 2016 at 4:59 PM, andrealphus > wrote: That is a 32 bit error, from trying to index something with more than (2^32)/2 elements or indices. Are you using any custom libraries/packages/modules which might not be 64 bit compliant? Are you sure you built a 64 bit version (check your gcc -v). -ashton On Mon, Dec 19, 2016 at 1:32 PM, Kashiwa, Bucky > wrote: > On Linux using ParaView version 4.3.1 built with OSMesa-9.0.1, OpenMPI, > etc. Running pvserver with 12 PEs, client-server mode, Standard Release > ParaView-4.3.1-Linux-64bit client. With large point data (>2Gb) we get > this error, upon trying to display a large number of points: > > Generic Warning: In > ../ParaView-v4.3.1-source/VTK/Parallel/MPI/vtkMPICommunicator.cxx, > line 194 > > This operation not yet supported for more than 2147483647 bytes. > > Our CMakeCache.txt is attached, in case it may provide helpful clues. > > Thanks much. B. Kashiwa > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Jun 29 13:50:37 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 29 Jun 2017 13:50:37 -0400 Subject: [Paraview] Pipe back data from ParaView to simulation program through Catalyst In-Reply-To: References: Message-ID: Hi Jimmy, There is no current way to do this in Catalyst without custom code. I know others have done it already but haven't seen the actual implementation for that. We hope to have funding in the next year to get more sophisticated with this in Catalyst but there are not specific projects yet that will fund us to work on this. If I were to try to do a simple implementation of this now what I would do is add in a filter with the options you want and add that in as a plugin to PV. Then in your Python script you can interrogate those values and pass the data back to the simulation through the vtkCPDataDescription::UserData. Cheers, Andy On Thu, Jun 29, 2017 at 11:47 AM, A . wrote: > Dear members, > > > I have successfully been able to use ParaView Catalyst to do in-situ > visualization. The data that is generated from my simulation program is > forwarded to ParaView with the use of these so-called 'adaptors'. The API > is very straightforward and it was done easily. However I was wondering if > feeding back data from ParaView into my simulation program through Catalyst > is also possible. In other words can ParaView serve as a (semi) graphical > user interface? > > > For instance, at some point in the simulation in ParaView I want to change > the size of one of my simulation objects, which in my simulation program is > represented as a private data member of the object's class. So I want to > pause the simulation, select the object and change the value of the > object's size. Is there a way to pipe this data back into the simulation > (in-situ) and continue the simulation? > > > If the above description is too specific, I would just like to ask if the > user can be interactive with simulation program through ParaView in any > way. I can think of a way of exporting the changed ParaView state to file, > parse that in my simulation program and update the simulation state, but I > was wondering if there is a neater / faster way of doing this. > > > Best, > > Jimmy > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sankhesh.jhaveri at kitware.com Thu Jun 29 14:29:26 2017 From: sankhesh.jhaveri at kitware.com (Sankhesh Jhaveri) Date: Thu, 29 Jun 2017 18:29:26 +0000 Subject: [Paraview] Use separate arrays for colormap and opacity Message-ID: Hi Evan, This is already supported in VTK for the volume mapper. You can have a single array with either 2 components and set them as dependent components via vtkVolumeProperty . This feature is not exposed in ParaView but it would just be a matter of creating the GUI elements and adding a filtering step to combine two arrays into a single two-component array. For polygonal data, can?t think of a better route than the one suggested by Utkarsh i.e. manually map the arrays through the lookup tables and create an RGBA array. Make sure to uncheck Map Scalars to use the RGBA values directly. Having said that, this can also be implemented as a feature on the vtkPolyDataMapper similar to the volume mapper. Hope that helps, Sankhesh From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com](mailto:utkarsh.ayachit at kitware.com) To: Evan Kao [tossin at gmail.com](mailto:tossin at gmail.com) Cc: ParaView [paraview at paraview.org](mailto:paraview at paraview.org) Bcc: Date: Thu, 29 Jun 2017 10:55:45 -0400 Subject: Re: [Paraview] Use separate arrays for colormap and opacity One option is to use ?Python Programmable Filter? to generate an RGBA array in which you do the color and opacity mapping yourself. You won?t have access to the color and opacity transfer ParaView sets up, but you can create your own internally. Not the most elegant solution ? but a solution, nonetheless. Utkarsh ? -- Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware | (518) 881-4417 ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From hayk.grigoryan.a at gmail.com Thu Jun 29 16:39:02 2017 From: hayk.grigoryan.a at gmail.com (hayk.grigoryan.a at gmail.com) Date: Fri, 30 Jun 2017 00:39:02 +0400 Subject: [Paraview] ParaviewWeb OSMesa build Message-ID: <59556572.d4931c0a.53696.5630@mx.google.com> Hi, I'm trying to build ParaViewWeb with OSMesa. I need help with my question. I've ubuntu 14.04 server without desktop and X. Can I install and make ParaViewWeb to work as a web service on my server? Thank in advance, Hayk -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdausc2 at uic.edu Thu Jun 29 18:21:34 2017 From: mdausc2 at uic.edu (Maxwell Dausch) Date: Thu, 29 Jun 2017 17:21:34 -0500 Subject: [Paraview] Animation and Filter Help with CSV/VTP XYZ Data Message-ID: Hello, ?I am very new to using paraview and have had a couple questions that I am having trouble finding the resources needed to help my situation. I've been searching the mailing list and other forums for the past week or so and have not had much progress. I am trying to figure out how to 1) Animate a series of points that were obtained by tracking a person's movement, and animate it in a way that would play back the moment path, I would like to animate it by the order the points are in with a set time interval in-between each point if possible. In this situation there are multiple different trackers which is why I also need a bit of guidance on part 2, so the data just doesn?t get all mixed up together. 2) Color points by a source id for the movement tracker assigned to the point, i.e. id?s 1-5 would be blue, 6-10 would be red and so on, I've only been able to color the whole table of points one color and not sure how to proceed. Currently I am working with a csv (that I also have been able to convert to an .vtp file if that is able to help the situation at all) that contains a source Id for the tracker as well as the points xyz. Ive been trying to mess around with the programmable filters ( I don?t have too much experience with python though ), but I am unsure on how to access the other attributes of the data(the source id) and thus when I try link the points with a line, it jumps from one path to another and in return it mixes the movement paths. I?d appreciate any guidance with this, as I am at wits ends trying to figure everything out. Especially when Ive only been able to find solid objects being animated and not too much point data being worked with when searching for any possible solutions to the problem. If it might be of any help I could upload one of the csv files that we have generated. Thanks again -Max -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ben.Harrison at arup.com Thu Jun 29 19:46:13 2017 From: Ben.Harrison at arup.com (Ben Harrison) Date: Thu, 29 Jun 2017 23:46:13 +0000 Subject: [Paraview] Windows build with PCL plugin? In-Reply-To: References: Message-ID: Thanks Bastien, that's very good of you! I am the only one with ParaView experience in our organisation (though some are starting to use OpenFOAM), so I probably won't have the authority to request further dev work at the moment. Ben ____________________________________________________________ Electronic mail messages entering and leaving Arup business systems are scanned for viruses and acceptability of content From wascott at sandia.gov Thu Jun 29 20:12:41 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 30 Jun 2017 00:12:41 +0000 Subject: [Paraview] [EXTERNAL] Add tkinter to Paraview without compiling? In-Reply-To: References: Message-ID: <3abdf799e3cf4790828e311e96ee3527@ES01AMSNLNT.srn.sandia.gov> Dennis, Did you ever get an answer? Ping Kitware? Thanks team, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Dennis Conklin Sent: Wednesday, June 28, 2017 12:49 PM To: Paraview (paraview at paraview.org) Subject: [EXTERNAL] [Paraview] Add tkinter to Paraview without compiling? All, Is there a way to add tkinter to the Linux binary downloaded from the site or will we need to compile from source here to accomplish this? Thanks Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Jun 29 22:13:15 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 29 Jun 2017 21:13:15 -0500 Subject: [Paraview] how to build the paraview superbuild with mesa on a cluster (where user is not a root user) In-Reply-To: References: Message-ID: On Wed, Jun 28, 2017 at 1:14 PM, Ezhilmathi Krishnasamy wrote: > Hi, > > Can anyone please give me some instructions how to Paraview Superbuid > to install and use them with out using the GUI (using the python script to > render the images on the cluster or super computer). > > I see there are some instructions in here: > https://gitlab.kitware.com/paraview/paraview-superbuild/ > > But I could not find any build instructions. Take a look again, that page includes the README.md file contents which includes build instructions. To build without the GUI, you should just need to set the options ENABLE_qt4 and ENABLE_qt5 to OFF. To build with Python, set ENABLE_python to ON. Best regards, Cory > > Kind regards, > Mathi > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. From mathieu.westphal at kitware.com Fri Jun 30 03:21:31 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Fri, 30 Jun 2017 09:21:31 +0200 Subject: [Paraview] [EXTERNAL] Add tkinter to Paraview without compiling? In-Reply-To: <3abdf799e3cf4790828e311e96ee3527@ES01AMSNLNT.srn.sandia.gov> References: <3abdf799e3cf4790828e311e96ee3527@ES01AMSNLNT.srn.sandia.gov> Message-ID: Hi Dennis Setting the PYTHONPATH environment variables is taken into account by pvpython or paraview : [glow at snowman ~/work/paraview/paraviewSecondary/paraview_build]$ ./bin/pvpython Python 2.7.13 (default, Feb 11 2017, 12:22:40) [GCC 6.3.1 20170109] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print(sys.path) ['', '/home/glow/work/paraview/paraviewSecondary/paraview_build/lib/site-packages', '/home/glow/work/paraview/paraviewSecondary/paraview_build'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynpackages', '/usr/lib/python2.7/site-packages/gtk-2.0'] >>> vtkDebugLeaks has found no leaks. [glow at snowman ~/work/paraview/paraviewSecondary/paraview_build]$ PYTHONPATH=/home/glow/tmp/ ./bin/pvpython Python 2.7.13 (default, Feb 11 2017, 12:22:40) [GCC 6.3.1 20170109] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print(sys.path) ['', '/home/glow/work/paraview/paraviewSecondary/paraview_build/lib/site-packages', '/home/glow/work/paraview/paraviewSecondary/paraview_buildib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/libib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gtk-2.0'] >>> You may notice the supplementary "/home/glow/tmp" in the second execution. So you may want to check the python path when you execute pvpython. FYI there is a python shell within paraview in Tools->Python Shell. Regards, @Alan : Yes, we have been exchanging but I forgot to include the ML. Mathieu Westphal On Fri, Jun 30, 2017 at 2:12 AM, Scott, W Alan wrote: Dennis, Did you ever get an answer? Ping Kitware? Thanks team, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Dennis Conklin Sent: Wednesday, June 28, 2017 12:49 PM To: Paraview (paraview at paraview.org) Subject: [EXTERNAL] [Paraview] Add tkinter to Paraview without compiling? All, Is there a way to add tkinter to the Linux binary downloaded from the site or will we need to compile from source here to accomplish this? Thanks Dennis _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview @Alan : Yes, we have been exchanging but I forgot to include the ML. Mathieu Westphal On Fri, Jun 30, 2017 at 2:12 AM, Scott, W Alan wrote: > Dennis, > > Did you ever get an answer? > > > > Ping Kitware? > > > > Thanks team, > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Dennis > Conklin > *Sent:* Wednesday, June 28, 2017 12:49 PM > *To:* Paraview (paraview at paraview.org) > *Subject:* [EXTERNAL] [Paraview] Add tkinter to Paraview without > compiling? > > > > All, > > > > Is there a way to add tkinter to the Linux binary downloaded from the site > or will we need to compile from source here to accomplish this? > > > > Thanks > > > > Dennis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Jun 30 10:32:27 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 30 Jun 2017 09:32:27 -0500 Subject: [Paraview] Plot over spline or intersecting plane In-Reply-To: <02085d34c59c42c9ab092f255d50d96b@ES01AMSNLNT.srn.sandia.gov> References: <02085d34c59c42c9ab092f255d50d96b@ES01AMSNLNT.srn.sandia.gov> Message-ID: Alan, I'm not very familiar with the use of Plot On Intersection Curves, so I'm not sure if that would be applicable in this use case. My thought was to use a Spline Source to create the curve to plot, then resample the data onto that spline and plot the result, which looks like this: [image: Inline image 1] However, a couple things make this approach not work well: a) The spline source controls points can be snapped to the surface, but the points between the control points will not conform to the surface exactly, instead being somewhat to one side or the other of the surface. This will lead to problems when resampling the data on the spline. b) To plot this well, the spline source would need to produce an array containing the distance along the length of the spline so that your data points in the plot are spaced the same way the data points are spaced on the spline. Another way might be to Extract Surface, Slice the data with a plane clip type, then use the Clip filter to select the portion you wish to plot. For an isosurface extracted from the Wavelet, this looks like: [image: Inline image 2] Note the black curve at the bottom of the surface is the one being plotted. Again, this won't contain any kind of distance along the resulting curve, so the plot points may not be spaced how you want them in your plot. - Cory On Fri, Jun 9, 2017 at 5:25 PM, Scott, W Alan wrote: > I am trying to figure out how to plot over more complex surfaces than a > straight line. Say a user wants to plot over a curved line, with the line > matching the inside surface of the can.exo. Can you now do this? How > would a user control the line? > > > > Is the Plot On Intersection Curves filter what I want? > > > > 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 > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 140605 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 150465 bytes Desc: not available URL: From Schuld at ist.rwth-aachen.de Fri Jun 30 10:43:10 2017 From: Schuld at ist.rwth-aachen.de (Schuld, Heinrich) Date: Fri, 30 Jun 2017 14:43:10 +0000 Subject: [Paraview] Two issues with time-dependent data Message-ID: <5ea6aa0d2a6e48d38a75f2d62c3d5d3b@rwthex-s1-b.rwth-ad.de> Hello all, we are working on a filter which provides a time-dependent, periodic dataset. During validation of the filter, we encountered two issues, which we think, we cannot solve on our own. 1. In RequestInformation of the filter, we provide the pipeline just with a TIME_RANGE. This is so far working without problem, we can go through the range by Sequence or Real Time. When running the Animation as a loop though, we encounter the issue that the beginning and the end of the time range are both displayed. Since our data is periodic and the TIME_RANGE is a cycle duration, these two steps are identical. As you can guess, it is not desired to see the same step two times right behind each other. Is there a way to prevent this behaviour? 2. When we save the filter in a state file and load it afterwards with a different dataset, the displayed time range in ParaView shows the wrong data. Although in RequestInformation the correct TIME_RANGE of the new dataset is set to the pipeline, ParaView/the Animation View still shows the time data of the state file. It only changes, if after loading the state file, a different TIME_RANGE with different values is set in RequestInformation. We can live with this issue, but maybe it is a bug that is easy to fix. We will be grateful for any advice or suggestion! Thanks in advance and cheers, Heinrich -- Dipl.-Ing. Heinrich Schuld Institute of Jet Propulsion and Turbomachinery RWTH Aachen Templergraben 55 52062 Aachen Germany Tel: +49 241 80 99652 Fax: +49 241 80 92229 E-Mail: schuld at ist.rwth-aachen.de www: http://www.ist.rwth-aachen.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From brantosaurus at hotmail.com Fri Jun 30 11:48:46 2017 From: brantosaurus at hotmail.com (David Brant) Date: Fri, 30 Jun 2017 15:48:46 +0000 Subject: [Paraview] Help - What is the difference between the windows Message-ID: Hello. A couple of trivial queries if I may. 1 Is the zip version essentially a standalone app that can be installed simply by extracting and a shortcut to the exe? 2 What is the difference between the MPI-windows and -windows versions of the app? I appreciate MPI is for parallel working, but does one version (which?) come with self contained MPI support, while the other requires MPI support to be independently installed. Thanks, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Jun 30 12:10:07 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 30 Jun 2017 11:10:07 -0500 Subject: [Paraview] Help - What is the difference between the windows In-Reply-To: References: Message-ID: > > 1 Is the zip version essentially a standalone app that can be installed > simply by extracting and a shortcut to the exe? > Yes, the paraview.exe will work right out of the unzipped directory. > 2 What is the difference between the MPI-windows and -windows versions of > the app? > > I appreciate MPI is for parallel working, but does one version > (which?) come with self contained MPI support, while the other requires MPI > support to be independently installed. > Neither version comes with self-contained MPI support. The MPI version on Windows requires that you install Microsoft's MPI, which you can obtain here: https://msdn.microsoft.com/en-us/library/bb524831(v=vs.85).aspx. The non-MPI version simply does not make use of MPI, even if you have Microsoft's MPI installed. Cory > Thanks, Dave > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bak at lanl.gov Fri Jun 30 12:28:55 2017 From: bak at lanl.gov (Kashiwa, Bucky) Date: Fri, 30 Jun 2017 16:28:55 +0000 Subject: [Paraview] [EXTERNAL] Re: ... not yet supported for more than 2147483647 bytes. In-Reply-To: <47605a4a8f074b24bd29e73da1599b0c@ES01AMSNLNT.srn.sandia.gov> References: <47605a4a8f074b24bd29e73da1599b0c@ES01AMSNLNT.srn.sandia.gov> Message-ID: Hey Alan: We originally encountered the Generic Warning in v4.3.1; Andy suggested trying 5.2 (see below). Subsequently (see below) we have tried v5.2, v5.3, and v5.4 - all of which behave much the same with large point numbers. I believe that Andy?s assessment is correct: this is an MPI issue. However, why ParaView should find it necessary to pass all of the point data, all at once, is kinda baffling. So maybe you have pointed to something to study: has the 4.* bug really been fixed? Especially in the case of point data (rather than grid data, which, in our case, is always considerably smaller). Thanks for writing, and thinking about the issue. Cheers, b. =======================================================================73 <>Bucky Kashiwa PhD, PE <> Post: MS B216, Los Alamos, NM 87545 <> <> Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov, kashiwa at qwest.net <> <>Voice: 505-667-8812 <> Fax: 505-665-5926 <> <> Home: 505-988-7332 <> Cell: 505-795-5581 <> =======================================================================73 From: "Scott, W Alan" > Date: Thursday, June 29, 2017 at 11:31 AM To: Bucky Kashiwa >, "Bauer, Andy (External Contacts)" >, andrealphus > Cc: "ParaView at ParaView.org" > Subject: RE: [EXTERNAL] Re: [Paraview] ... not yet supported for more than 2147483647 bytes. I notice you are running ParaView 4.3.1? We had a bug in the earlier 4.*.* versions where we were passing massive amounts of information from all processes to all processes on the state of the status bar, bottom of the screen. We stopped doing that. I wonder if this could be an issue with huge numbers of points? Try PV 5.4.0? (Or possibly wait for 5.4.1, out Real Soon Now?) Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Kashiwa, Bucky Sent: Thursday, June 29, 2017 10:53 AM To: Bauer, Andy (External Contacts) >; andrealphus > Cc: ParaView at ParaView.org Subject: [EXTERNAL] Re: [Paraview] ... not yet supported for more than 2147483647 bytes. Andy, Ashton: We have now tried versions 5.2, 5.3, and 5.4. With large point data sets we still have the same Generic Warning cited below (followed by ERRORS that cause PV to hang). I reckon that we are hitting the MPI wall associated with 2^31 items communicated at once - as per Andy?s note below. All of our recent work has been using the downloadable binaries from paraview.org, for both the client and the server. We see the same behavior using the MacOS client to Linux server, and Linux client to Linux server. This MPI shortcoming is a serious showstopper for us so we are going to have to find a remedy. The first question is: why should either the client or the server think that more than 2^31 items need to be communicated in the first place? On the surface, this seems to be unreasonable. To be clear, there is no problem opening and reading the datafiles, and displaying the outline view. The warning appears when we try to display the point view, when the number of points is too large. If we take a slice that reduces the number of points to below some threshold, then the point view display is okay. As an example, consider a .cosmo64 formatted point data file. There are 36 Bytes of data per point. We can display ~28,000,000 points and ~35,500,000 points just fine. At 45,500,000 points (=1.638 GBytes) the Generic Warning gets thrown. This seems to be independent of the number of nodes and PEs used by the server, and whether the view RenderView or EyeDomeLighting. We also write/read .vtm format that behaves in a similar fashion: slices will display okay until the slice is thick enough that there are too many points in the image. I have tried doing MPI on the client, which seems to have no effect on the foregoing limitation on the number of displayable points. Please let me know if you can think of other switches that can be thrown, that may shed some more light on the issue, or if you are aware of a forthcoming repair. Thanks very much, b. =======================================================================73 <>Bucky Kashiwa PhD, PE <> Post: MS B216, Los Alamos, NM 87545 <> <> Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov, kashiwa at qwest.net <> <>Voice: 505-667-8812 <> Fax: 505-665-5926 <> <> Home: 505-988-7332 <> Cell: 505-795-5581 <> =======================================================================73 From: Andy Bauer > Date: Monday, December 19, 2016 at 4:17 PM To: andrealphus > Cc: Bucky Kashiwa >, "ParaView at ParaView.org" > Subject: Re: [Paraview] ... not yet supported for more than 2147483647 bytes. There are two parts to this issue. The first is that that vtkMPICommunicator for PV 4.3.1 won't communicate data that is over 2^31 bytes of data. This is fixed in PV 5.2. The other issue is due to MPI having a limit of 2^31 objects to be communicated in a single shot. This is MPI's API in that the count for objects that are typically sent/received is an int. See http://www.mpich.org/static/docs/v3.1/www3/MPI_Send.html for example. On Mon, Dec 19, 2016 at 4:59 PM, andrealphus > wrote: That is a 32 bit error, from trying to index something with more than (2^32)/2 elements or indices. Are you using any custom libraries/packages/modules which might not be 64 bit compliant? Are you sure you built a 64 bit version (check your gcc -v). -ashton On Mon, Dec 19, 2016 at 1:32 PM, Kashiwa, Bucky > wrote: > On Linux using ParaView version 4.3.1 built with OSMesa-9.0.1, OpenMPI, > etc. Running pvserver with 12 PEs, client-server mode, Standard Release > ParaView-4.3.1-Linux-64bit client. With large point data (>2Gb) we get > this error, upon trying to display a large number of points: > > Generic Warning: In > ../ParaView-v4.3.1-source/VTK/Parallel/MPI/vtkMPICommunicator.cxx, > line 194 > > This operation not yet supported for more than 2147483647 bytes. > > Our CMakeCache.txt is attached, in case it may provide helpful clues. > > Thanks much. B. Kashiwa > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ezhkr601 at student.liu.se Fri Jun 30 12:54:57 2017 From: ezhkr601 at student.liu.se (Ezhilmathi Krishnasamy) Date: Fri, 30 Jun 2017 18:54:57 +0200 Subject: [Paraview] how to build the paraview superbuild with mesa on a cluster (where user is not a root user) In-Reply-To: References: Message-ID: Hi Thanks! When I try to install Paraview, I am getting the following error. Could some one please tell me how to fix this issue. I am trying to install the Paraview on a super computer to use it for remote rendering without using the GUI, like with mesa support. kriezh at beskow-login2:/cfs/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD> git clone --recursive https://gitlab.kitware.com/paraview/paraview-superbuild.git Cloning into 'paraview-superbuild'... warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied remote: Counting objects: 6723, done. remote: Compressing objects: 100% (2459/2459), done. warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied remote: Total 6723 (delta 4451), reused 6342 (delta 4201) Receiving objects: 100% (6723/6723), 2.05 MiB | 741 KiB/s, done. Resolving deltas: 100% (4451/4451), done. warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied Checking out files: 100% (196/196), done. warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied Submodule 'superbuild' ( https://gitlab.kitware.com/paraview/common-superbuild.git) registered for path 'superbuild' warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied Cloning into 'superbuild'... warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied remote: Counting objects: 6752, done. remote: Compressing objects: 100% (2235/2235), done. warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied remote: Total 6752 (delta 4505), reused 6574 (delta 4395) Receiving objects: 100% (6752/6752), 1.59 MiB | 592 KiB/s, done. Resolving deltas: 100% (4505/4505), done. warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied Submodule path 'superbuild': checked out '8f357bb5bf35419c210b3f9e0adbc9df08f565f2' warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied kriezh at beskow-login2:/cfs/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD/paraview-superbuild> cmake . -- The C compiler identification is Intel 14.0.4.20140805 -- The CXX compiler identification is Intel 14.0.4.20140805 -- Cray Programming Environment 2.2.1 C -- Check for working C compiler: /opt/cray/craype/2.2.1/bin/cc -- Check for working C compiler: /opt/cray/craype/2.2.1/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Cray Programming Environment 2.2.1 CXX -- Check for working CXX compiler: /opt/cray/craype/2.2.1/bin/CC -- Check for working CXX compiler: /opt/cray/craype/2.2.1/bin/CC -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning at superbuild/cmake/SuperbuildUtils.cmake:242 (message): Failed to determine if the common superbuild is an old checkout. The common superbuild may be out of date, but cannot be verified.: warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied warning: unable to access '/afs/pdc.kth.se/home/k/kriezh/.gitconfig': Permission denied error: unknown option `is-ancestor' usage: git merge-base [-a|--all] ... or: git merge-base [-a|--all] --octopus ... or: git merge-base --independent ... -a, --all output all common ancestors --octopus find ancestors for a single n-way merge --independent list revs not reachable from others Call Stack (most recent call first): superbuild/CMakeLists.txt:28 (_superbuild_check_up_to_date) -- Check size of void* -- Check size of void* - done -- Found Git: /usr/bin/git (found version "1.7.12.4") -- Determined source version for paraview: 5.4.0 CMake Error at superbuild/cmake/SuperbuildMacros.cmake:289 (message): The build tree appears to be inside of the git repository located at /cfs/klemming/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD/paraview-superbuild. This interferes with the way the superbuild applies patches to projects and is not supported. Please relocate the build tree to a directory which is not under a git repository. Call Stack (most recent call first): superbuild/projects/bzip2.cmake:7 (superbuild_apply_patch) superbuild/cmake/SuperbuildMacros.cmake:477 (include) superbuild/CMakeLists.txt:113 (_superbuild_discover_projects) -- Configuring incomplete, errors occurred! See also "/cfs/nobackup/k/kriezh/PARAVIEW_SUPER_BUILD/paraview-superbuild/CMakeFiles/CMakeOutput.log". Kind regards, Mathi On 30 June 2017 at 04:13, Cory Quammen wrote: > On Wed, Jun 28, 2017 at 1:14 PM, Ezhilmathi Krishnasamy > wrote: > > Hi, > > > > Can anyone please give me some instructions how to Paraview Superbuid > > to install and use them with out using the GUI (using the python script > to > > render the images on the cluster or super computer). > > > > I see there are some instructions in here: > > https://gitlab.kitware.com/paraview/paraview-superbuild/ > > > > But I could not find any build instructions. > > Take a look again, that page includes the README.md file contents > which includes build instructions. > > To build without the GUI, you should just need to set the options > ENABLE_qt4 and ENABLE_qt5 to OFF. To build with Python, set > ENABLE_python to ON. > > Best regards, > Cory > > > > > Kind regards, > > Mathi > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yux1991 at gmail.com Fri Jun 30 22:51:00 2017 From: yux1991 at gmail.com (Yu Xiang) Date: Fri, 30 Jun 2017 22:51:00 -0400 Subject: [Paraview] ParaView unable to adjust object opacity Message-ID: <006201d2f214$dfee9bb0$9fcbd310$@gmail.com> Hi, I downloaded the ParaView Binary Installers (ParaView-5.4.0-Qt5-OpenGL2-Windows-64bit.exe) from https://www.paraview.org/download/ and installed it on my Thinkpad T430 which is running Windows 10. I was using ParaView for the first time and found two things puzzling: 1. When I open ParaView, the default window looks like the following. There is a small black square on the bottom left corner in RenderView1 (circled in red). I couldn't figure out why it showed up there. 2. Then I opened the first Example Visualization and selected Clip2 under can.ex2. When I tried to adjust the Opacity under Styling in the Properties tab, any value other than 1 will make the object in the RenderView1 window disappear like the following: I tried other examples, and similar things happened. I couldn't figure out why. Does anybody know what might be going on and how I can fix it? Thanks, Yu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 120842 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 206013 bytes Desc: not available URL: