[vtk-developers] vtk-developers Digest, Vol 142, Issue 10

Rebecca Wise rebecca at xetta.io
Fri Feb 5 16:28:33 EST 2016


Unsubscribe

> On Feb 5, 2016, at 1:17 PM, vtk-developers-request at vtk.org wrote:
> 
> Send vtk-developers mailing list submissions to
>    vtk-developers at vtk.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://public.kitware.com/mailman/listinfo/vtk-developers
> or, via email, send a message with subject or body 'help' to
>    vtk-developers-request at vtk.org
> 
> You can reach the person managing the list at
>    vtk-developers-owner at vtk.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtk-developers digest..."
> 
> 
> Today's Topics:
> 
>   1. CDash offine? (Ken Martin)
>   2. Re: [EXTERNAL] Re: VTK OpenGL2 Shaders (Bill Lorensen)
>   3. Re: TestImageDataLIC2D test failures (Ken Martin)
>   4. Re: [EXTERNAL] Re: VTK OpenGL2 Shaders (Ken Martin)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 5 Feb 2016 15:58:57 -0500
> From: Ken Martin <ken.martin at kitware.com>
> To: VTK Developers <vtk-developers at vtk.org>
> Subject: [vtk-developers] CDash offine?
> Message-ID:
>    <CANXz0Sb6XvBfd5Tyrt9sfzVtAb11sUeJR=+=XEc+drYAb_Xtng at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Just hangs for me right now ...
> 
> 
> -- 
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
> 
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160205/1f71d6ce/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 5 Feb 2016 16:09:51 -0500
> From: Bill Lorensen <bill.lorensen at gmail.com>
> To: Gerrick Bivins <Gerrick.Bivins at halliburton.com>
> Cc: VTK Developers <vtk-developers at vtk.org>, Steve Pieper
>    <pieper at isomics.com>
> Subject: Re: [vtk-developers] [EXTERNAL] Re: VTK OpenGL2 Shaders
> Message-ID:
>    <CADZJ4hOFoU+=aaqGR8GBEW67nQqc4xrFt7MpJROVPPMpy-C0KQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> They look old to me. I am interested in the OpenGL2 rendwering backend.
> 
> Perhaps an expert will comment.
> 
> 
> On Fri, Feb 5, 2016 at 3:16 PM, Gerrick Bivins
> <Gerrick.Bivins at halliburton.com> wrote:
>> So are these not valid anymore?
>> 
>> http://www.vtk.org/Wiki/Shader_In_VTK
>> 
>> http://www.vtk.org/Wiki/images/3/39/Vtk_shaders_tudelft_tut.pdf
>> 
>> 
>> 
>> Or am I misunderstanding the question?
>> 
>> Gerrick
>> 
>> 
>> 
>> From: vtk-developers [mailto:vtk-developers-bounces at vtk.org] On Behalf Of
>> Ken Martin
>> Sent: Friday, February 05, 2016 12:21 PM
>> To: Aashish Chaudhary
>> Cc: VTK Developers; Steve Pieper
>> Subject: [EXTERNAL] Re: [vtk-developers] VTK OpenGL2 Shaders
>> 
>> 
>> 
>> Here is some info from an old email on customizing the polydatamapper
>> shaders. The PointGaussianMapper also supports custom shaders and there is
>> an example of that in
>> Rendering/OpenGL2/Testing/Cxx/TestPointGaussianMapperOpacity.cxx
>> 
>> Thanks
>> 
>> Ken
>> 
>> 
>> 
>> 2)      CUSTOM SHADERS - Added support for customizing the default
>> PolyDataMapper shaders. You can now modify or completely replace the default
>> VTK shadersusing methods such as
>> 
>> 
>> 
>> AddShaderReplacement: replaces a strings in the current shader
>> SetVertexShaderCode: replaces the default shader template with your own
>> 
>> AddObserver(vtkCommand::UpdateShaderEvent,...)
>> 
>> 
>> 
>> These methods (and similar others) give you a great degree on control of the
>> VTK PolyData shaders. There are examples/tests in
>> Rendering/OpenGL2/Testing/Cxx/TestUserShader.cxx and TestUserShader2.cxx.
>> Through the UpdateShaderEvent you can modify the default VTK uniforms or
>> your own uniforms as desired. There is currently not a general purpose easy
>> API for binding your own data arrays to attributes but we may add one at
>> some point in the future. Currently VTK will send down the default
>> attributes for you to use in your shader (position, normal, tcoords, colors,
>> etc)
>> 
>> 
>> 
>> 
>> 
>> On Fri, Feb 5, 2016 at 12:11 PM, Aashish Chaudhary
>> <aashish.chaudhary at kitware.com> wrote:
>> 
>> Not to my knowledge. Although we talked about it at-least having an API so
>> that folks can replace the shader or ember new shader code to the existing
>> one. Also, having some common convention would be nice.
>> 
>> 
>> 
>> Thanks,
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On Fri, Feb 5, 2016 at 11:31 AM, Steve Pieper <pieper at isomics.com> wrote:
>> 
>> Hi Bill -
>> 
>> 
>> 
>> Great question - I'm looking forward to hear what folks have been doing in
>> this respect.
>> 
>> 
>> 
>> For me, I have two classes I have been testing with Slicer - one that
>> manages 3D textures and one that implements shaders [1,2].  We worked on it
>> at project week [3] and I'm liking how it works.
>> 
>> 
>> 
>> -Steve
>> 
>> 
>> 
>> [1]
>> https://github.com/pieper/CommonGL/blob/master/ShadedActor/Logic/vtkOpenGLTextureImage.h
>> 
>> 
>> 
>> [2]
>> https://github.com/pieper/CommonGL/blob/master/ShadedActor/Logic/vtkOpenGLShaderComputation.h
>> 
>> 
>> 
>> [3]
>> http://www.na-mic.org/Wiki/index.php/2016_Winter_Project_Week/Projects/CommonGL
>> 
>> 
>> 
>> On Fri, Feb 5, 2016 at 11:10 AM, Bill Lorensen <bill.lorensen at gmail.com>
>> wrote:
>> 
>> Folks,
>> 
>> Is there documentation on how to write glsl shaders for VTK?
>> 
>> Bill
>> --
>> Unpaid intern in BillsBasement at noware dot com
>> _______________________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>> 
>> 
>> 
>> 
>> 
>> --
>> 
>> | Aashish Chaudhary
>> | Technical Leader
>> | Kitware Inc.
>> 
>> | http://www.kitware.com/company/team/chaudhary.html
>> 
>> 
>> _______________________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>> 
>> 
>> 
>> 
>> 
>> --
>> 
>> Ken Martin PhD
>> 
>> Chairman & CFO
>> Kitware Inc.
>> 28 Corporate Drive
>> Clifton Park NY 12065
>> 518 371 3971
>> 
>> 
>> 
>> This communication, including all attachments, contains confidential and
>> legally privileged information, and it is intended only for the use of the
>> addressee.  Access to this email by anyone else is unauthorized. If you are
>> not the intended recipient, any disclosure, copying, distribution or any
>> action taken in reliance on it is prohibited and may be unlawful. If you
>> received this communication in error please notify us immediately and
>> destroy the original message.  Thank you.
>> 
>> 
>> _______________________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
> 
> 
> 
> -- 
> Unpaid intern in BillsBasement at noware dot com
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 5 Feb 2016 16:16:04 -0500
> From: Ken Martin <ken.martin at kitware.com>
> To: Brad King <brad.king at kitware.com>
> Cc: VTK Developers <vtk-developers at vtk.org>, David Gobbi
>    <david.gobbi at gmail.com>
> Subject: Re: [vtk-developers] TestImageDataLIC2D test failures
> Message-ID:
>    <CANXz0SaVtkZPTzRqBxU2bkgVsTDhqvUqmdoqN8Xh3862X4gE+g at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> OK using
> 
> https://open.cdash.org/index.php?project=VTK&filtercount=4&showfilters=1&filtercombine=and&field1=site/string&compare1=63&value1=hythloth&field2=buildstarttime/date&compare2=83&value2=2015-12-01&field3=buildname/string&compare3=64&value3=OpenGL1&field4=buildname/string&compare4=64&value4=External
> 
> the test passed on
> 
> https://open.cdash.org/viewUpdate.php?buildid=4148832  (Dec 13th 2015) as
> well as lots of times before then. It has consistently failed since then.
> The changes listed for the failing build are here:
> 
> https://open.cdash.org/viewUpdate.php?buildid=4148832 with authors of:
> 
> KWSys Upstream
> David Gobbi
> Ben Boekle
> Utkarsh
> Bill Lorensen
> Brad King
> 
> none of the changes particularly look like an issue to me but I have not
> looked closely.
> 
> I suppose we could try doing a git bisect of that day to see if a
> particular change introduced the failure (or exposed a pre existing issue)
> or if there was a system change that introduced the issue.
> 
> Ken
> 
> 
> 
> 
> 
>> On Fri, Feb 5, 2016 at 2:54 PM, Brad King <brad.king at kitware.com> wrote:
>> 
>>> On 02/05/2016 01:11 PM, Ken Martin wrote:
>>> I would bet this is a driver issue aka the typical Linux driver
>>> sometimes shows black images issue.
>> 
>> On hythloth it runs with a software mesa GL implementation.
>> It happens every time and is not spurious.
>> 
>>> try running the test interactively and see if it works
>> 
>> The test does not create a render window interactor and does not
>> respond to the -I command-line option :(
>> 
>> -Brad
> 
> 
> -- 
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
> 
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160205/b9bfdc69/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 5 Feb 2016 16:17:50 -0500
> From: Ken Martin <ken.martin at kitware.com>
> To: Bill Lorensen <bill.lorensen at gmail.com>
> Cc: VTK Developers <vtk-developers at vtk.org>, Steve Pieper
>    <pieper at isomics.com>
> Subject: Re: [vtk-developers] [EXTERNAL] Re: VTK OpenGL2 Shaders
> Message-ID:
>    <CANXz0SYhsRJkksEeaTmxycrnaWy1=XE1htTVrv=MB4Gn5mm4=w at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> I believe that is from the old OpenGL backend. - Ken
> 
> On Fri, Feb 5, 2016 at 4:09 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> 
>> They look old to me. I am interested in the OpenGL2 rendwering backend.
>> 
>> Perhaps an expert will comment.
>> 
>> 
>> On Fri, Feb 5, 2016 at 3:16 PM, Gerrick Bivins
>> <Gerrick.Bivins at halliburton.com> wrote:
>>> So are these not valid anymore?
>>> 
>>> http://www.vtk.org/Wiki/Shader_In_VTK
>>> 
>>> http://www.vtk.org/Wiki/images/3/39/Vtk_shaders_tudelft_tut.pdf
>>> 
>>> 
>>> 
>>> Or am I misunderstanding the question?
>>> 
>>> Gerrick
>>> 
>>> 
>>> 
>>> From: vtk-developers [mailto:vtk-developers-bounces at vtk.org] On Behalf
>> Of
>>> Ken Martin
>>> Sent: Friday, February 05, 2016 12:21 PM
>>> To: Aashish Chaudhary
>>> Cc: VTK Developers; Steve Pieper
>>> Subject: [EXTERNAL] Re: [vtk-developers] VTK OpenGL2 Shaders
>>> 
>>> 
>>> 
>>> Here is some info from an old email on customizing the polydatamapper
>>> shaders. The PointGaussianMapper also supports custom shaders and there
>> is
>>> an example of that in
>>> Rendering/OpenGL2/Testing/Cxx/TestPointGaussianMapperOpacity.cxx
>>> 
>>> Thanks
>>> 
>>> Ken
>>> 
>>> 
>>> 
>>> 2)      CUSTOM SHADERS - Added support for customizing the default
>>> PolyDataMapper shaders. You can now modify or completely replace the
>> default
>>> VTK shadersusing methods such as
>>> 
>>> 
>>> 
>>> AddShaderReplacement: replaces a strings in the current shader
>>> SetVertexShaderCode: replaces the default shader template with your own
>>> 
>>> AddObserver(vtkCommand::UpdateShaderEvent,...)
>>> 
>>> 
>>> 
>>> These methods (and similar others) give you a great degree on control of
>> the
>>> VTK PolyData shaders. There are examples/tests in
>>> Rendering/OpenGL2/Testing/Cxx/TestUserShader.cxx and TestUserShader2.cxx.
>>> Through the UpdateShaderEvent you can modify the default VTK uniforms or
>>> your own uniforms as desired. There is currently not a general purpose
>> easy
>>> API for binding your own data arrays to attributes but we may add one at
>>> some point in the future. Currently VTK will send down the default
>>> attributes for you to use in your shader (position, normal, tcoords,
>> colors,
>>> etc)
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Fri, Feb 5, 2016 at 12:11 PM, Aashish Chaudhary
>>> <aashish.chaudhary at kitware.com> wrote:
>>> 
>>> Not to my knowledge. Although we talked about it at-least having an API
>> so
>>> that folks can replace the shader or ember new shader code to the
>> existing
>>> one. Also, having some common convention would be nice.
>>> 
>>> 
>>> 
>>> Thanks,
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On Fri, Feb 5, 2016 at 11:31 AM, Steve Pieper <pieper at isomics.com>
>>> wrote:
>>> 
>>> Hi Bill -
>>> 
>>> 
>>> 
>>> Great question - I'm looking forward to hear what folks have been doing
>> in
>>> this respect.
>>> 
>>> 
>>> 
>>> For me, I have two classes I have been testing with Slicer - one that
>>> manages 3D textures and one that implements shaders [1,2].  We worked on
>> it
>>> at project week [3] and I'm liking how it works.
>>> 
>>> 
>>> 
>>> -Steve
>>> 
>>> 
>>> 
>>> [1]
>> https://github.com/pieper/CommonGL/blob/master/ShadedActor/Logic/vtkOpenGLTextureImage.h
>>> 
>>> 
>>> 
>>> [2]
>> https://github.com/pieper/CommonGL/blob/master/ShadedActor/Logic/vtkOpenGLShaderComputation.h
>>> 
>>> 
>>> 
>>> [3]
>> http://www.na-mic.org/Wiki/index.php/2016_Winter_Project_Week/Projects/CommonGL
>>> 
>>> 
>>> 
>>> On Fri, Feb 5, 2016 at 11:10 AM, Bill Lorensen <bill.lorensen at gmail.com>
>>> wrote:
>>> 
>>> Folks,
>>> 
>>> Is there documentation on how to write glsl shaders for VTK?
>>> 
>>> Bill
>>> --
>>> Unpaid intern in BillsBasement at noware dot com
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>> 
>>> Search the list archives at:
>> http://markmail.org/search/?q=vtk-developers
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>> 
>>> Search the list archives at:
>> http://markmail.org/search/?q=vtk-developers
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> 
>>> | Aashish Chaudhary
>>> | Technical Leader
>>> | Kitware Inc.
>>> 
>>> | http://www.kitware.com/company/team/chaudhary.html
>>> 
>>> 
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>> 
>>> Search the list archives at:
>> http://markmail.org/search/?q=vtk-developers
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> 
>>> Ken Martin PhD
>>> 
>>> Chairman & CFO
>>> Kitware Inc.
>>> 28 Corporate Drive
>>> Clifton Park NY 12065
>>> 518 371 3971
>>> 
>>> 
>>> 
>>> This communication, including all attachments, contains confidential and
>>> legally privileged information, and it is intended only for the use of
>> the
>>> addressee.  Access to this email by anyone else is unauthorized. If you
>> are
>>> not the intended recipient, any disclosure, copying, distribution or any
>>> action taken in reliance on it is prohibited and may be unlawful. If you
>>> received this communication in error please notify us immediately and
>>> destroy the original message.  Thank you.
>>> 
>>> 
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>> 
>>> Search the list archives at:
>> http://markmail.org/search/?q=vtk-developers
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtk-developers
>> 
>> 
>> 
>> --
>> Unpaid intern in BillsBasement at noware dot com
> 
> 
> 
> -- 
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
> 
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160205/429d0631/attachment.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
> 
> ------------------------------
> 
> End of vtk-developers Digest, Vol 142, Issue 10
> ***********************************************


More information about the vtk-developers mailing list