Skip to content
Snippets Groups Projects
  1. Mar 05, 2025
  2. Sep 10, 2024
    • Jaswant Panchumarti (Kitware)'s avatar
      Enable runtime detection of GLX, EGL and OSMesa for OpenGL context · 04661f4b
      Jaswant Panchumarti (Kitware) authored
      - closes #18547
      - closes #19383
      - Use glad instead of glew for loading GL extension functions
      because GLEW has trouble using GLX and EGL in the same build.
      - Replaces the VTK::glew module with VTK::glad.
      - Removed the utility VTK::opengl module because it is unnecessary
      after the changes made to vtkOpenGLOptions.cmake
      - OpenGL is now loaded at runtime in desktop platforms.
      - For mobile and webassembly, when VTK_OPENGL_USE_GLES is ON,
      glad finds and links to the OpenGL::GLES3 library.
      - Support for OSMesa is always available from VTK. Users must make
      sure the libOSMesa.so or osmesa.dll is installed.
      - Support for EGL is always available from VTK in Linux and Android.
      Users must make sure libEGL is installed.
      - On platforms where multiple render window backends are possible, the
      vtkOpenGLRenderWindow is made the default factory override and it's
      New method implements runtime tests to determine what render windows
      can work. It basically constructs the platform implementation render
      window, attempts to initialize it and checks whether it was
      successfully intialized.
      - The X OpenGL render window class was updated to not call abort.
      It also print warnings instead of errors when it fails to open X
      display. This allows us to safely test support for GLX at runtime.
      - The new environment variable VTK_DEFAULT_OPENGL_WINDOW
      can optionally be used to force a render window subclass
      at runtime. It is useful to debug support for a fallback render
      window on different system configuration.
      - Remove usage of unnecessary CMake flag VTK_OPENGL_HAS_MESA.
      - Since there is no compile time depedency for OSMesa in VTK,
      this commit makes VTK act as if it can always use OSMesa,
      obviously when the system executing VTK code has osmesa installed.
      - ci scripts will be adjusted in next commits
      04661f4b
  3. Aug 22, 2024
  4. Jul 17, 2024
    • Scott Wittenburg's avatar
      Rendering: Move two VR classes into OpenGL2 · 9345c1b9
      Scott Wittenburg authored
      Move vtkVRRay and vtkOpenGLAvatar into the Rendering/OpenGL2 module
      so that vtkSynchronizableOpenGLAvatar (added to Rendering/Parallel
      in the previous commit) can depend on those classes without creating
      a cycle in the module dependency graph.
      9345c1b9
  5. Mar 27, 2024
  6. Mar 26, 2024
  7. Sep 28, 2023
  8. Jul 25, 2023
    • Mathieu Westphal (Kitware)'s avatar
      Adding standard SPDX copyright and license to all vtk modules · 987d39ac
      Mathieu Westphal (Kitware) authored
      Replace 1
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================(.|\n)*.*Program:   Visualization Toolkit\n.*Module:.*\n\n  Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n  All rights reserved.\n  See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace 2
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================(.|\n)*.*Program:   Visualization Toolkit\n.*Module:.*\n\n  Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n  All rights reserved.\n  See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace 3
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n.*Program:.*Visualization Toolkit\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n.*\n.*\n.*\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace 4
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace 5
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace 6
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace 7
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace 8
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\/\*==================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n===================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace sandia 1
      
       cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n\n-------------------------------------------------------------------------\n.*Copyright 2008 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,\n.*the U.S. Government retains certain rights in this software.\n-------------------------------------------------------------------------\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-CLAUSE-Sandia-USGov/g' %s
      
      Replace 9
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*Visualization Toolkit\n.*Module:.*\n.*Language:.*\n\n.*Copyright \(c\) .* Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Manual 1
      
      Replace 10
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace 11
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n.*Program:.*\n.*Module:.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n.*\n.*\n.*\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Replace Valve 1
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\nParts Copyright Valve Corporation from.*\nunder their BSD license found here:\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) 2015, Valve Corporation\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Manual 2
      
      Manual 3
      
      manual 4
      
      manual sandia 1
      
      manual 5
      
      Replace ParaView 1
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Sandia Corporation, Kitware Inc.\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) Sandia Corporation, Kitware Inc\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Manual Sandia 2
      
      Replace 13
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Manual sandia 3
      
      replace 14
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .* for details.\n\n.*\n.*\n.*\n\n.*=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Manual sandia 4
      
      Manual 6
      
      manual 7
      
      manual sandia 5
      
      Manual Kitware SAS 1
      
      manual 7
      
      Manual 10
      
      manual 11
      
      manual 12
      
      manual 15
      
      Fix wrong spdx name
      
      Remove useless cmake copyright
      
      Remove useless copyrights
      
      Remove useless copyright and license statement in python files
      
      Removal glsl
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe "s/.*=========================================================================\n.*\n.*Program:.*\n.*Module:.*\n.*\n.*Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n.*All rights reserved.\n.*See Copyright.txt or .*for details.\n.*\n.*\n.*\n.*\n.*\n.*=========================================================================\n//g" %s
      
      Replace sandia accel
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\/=============================================================================\n.*\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See LICENSE.txt for details.\n.*\n.*This.*\n.*the.*\n.*PURPOSE.*\n.*\n.*Copyright 2012 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,\n.*the U.S. Government retains certain rights in this software.\n.*\n.*=============================================================================/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.\n\/\/ SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s
      
      Manual sandia accel
      
      manual Kitware inc
      
      Manual fixups
      
      Manual 14
      
      Replace 15
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\*=========================================================================\n\n.*Program:.*\n.*Module:.*\n\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See LICENSE file for details.\n\n.*\n.*\n.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-CLAUSE/g' %s
      
      Manual 16
      
      Removing non-standard file header
      
      cat files.out | xargs -I %s perl -i~ -0777 -pe 's/\/\/ \-\*\- c\+\+.*\n\n//g' %s
      
      Manual removal non standard header
      
      Adding custom sandia and lanl licenses
      
      Fix missing header common core
      
      Manual missing headers
      
      Add missing sandia
      
      cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\n\/\*\n.*Copyright 2004 Sandia Corporation.\n.*Under.*\n.*license.*\n.*U.*\n.*or.*\n.*statement.*\n \*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2004 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s
      
      Adding missing sandia licenses
      
      Adding sandia licenses
      
      Adding missing sandia licenses
      
      Replace sandia
      
      Adding sandia module changes
      
      Use new custom license system
      
      Replace sandia
      
      cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*-------------------------------------------------------------------------\n.*Copyright 2009 Sandia Corporation.\n.*Under the terms of Contract DE-AC04-94AL85000.*\n.*the.*\n-------------------------------------------------------------------------\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright 2009 Sandia Corporation\n\/\/ SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov/g' %s
      
      Adding missing sandia licenses
      
      Sandia final fixup license
      
      Adding missing sandia license
      
      Fix remaining sandia license
      
      Manual LANL license
      
      Replace sandia BSD
      
      cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*----------------------------------------------------------------------------\n.*Copyright \(c\) Sandia Corporation\n.*See Copyright.txt.*\n.*----------------------------------------------------------------------------\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) Sandia Corporation\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s
      
      Replace Kitware, Inc.
      
       cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\*=========================================================================\n\n.*Program.*\n.*Module.*\n\n.*Copyright \(c\) Kitware, Inc.\n.*All rights reserved.\n.*See Copyright.txt.*\n\n.*This.*\n.*the.*\n.*PURPOSE.*\n\n=========================================================================\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) Kitware, Inc.\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s
      
      Manual ParaView license
      
      Remove useless license statement in cmake files
      
      Manual licenses
      
      Replace lanl
      
       cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\n\/\*.*\n.*\n.*Copyright \(c\) 2000.*2009.*Lawrence Livermore National Security, LLC\n.*Produced at the Lawrence.*\n.*LLNL-CODE-400124\n.*All rights reserved.\n.*\n.*This.*\n.*see.*\n.*file.*\n.*http.*\n.*\n.*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) 2000 - 2009, Lawrence Livermore National Security, LLC\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s
      
      Manual LANL
      
      NVIDIA license impact
      
      Manual Indiana
      
      Manual copyrights
      
      More manual licenses
      
      More manual licenses
      
      Replace Atamai
      
       cat a.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\/ SPDX-FileCopyrightText.*\n\/\/ SPDX-License-Identifier.*\n\/\*.*\n\n.*Copyright \(c\) 2006 Atamai, Inc.\n\nUse.*\nbinary.*\nconditions.*\n\n1.*\n   form.*\n   the.*\n   license.*\n\n2.*\n   notice.*\n   in.*\n   distribution.*\n\n3.*\n   and.*\n\nTHE.*\nWITHOUT.*\nTHE.*\nPURPOSE.*\nMODIFY.*\nBE.*\n.*\nOR.*\nTHE.*\nPOSSIBILITY.*\n\n.*\*\//\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-FileCopyrightText: Copyright \(c\) 2006 Atamai, Inc.\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s
      
      Manual MIT
      
      Manual licenses
      
      Xdmf2 License
      
      PLY license
      
      Manual VRML licenses
      
      replace Netcdf license
      
      Manual OpenXR license
      
      Manual Licenses
      
      Example Licenses manual
      
      Manual Copyrights and licenses
      
      Manual licensing
      
      Removing empty lines
      
      Manual licenses
      
      Manual final pass
      
      Manual Dicom
      
      Replace all cxx without copyright info
      
      find .  -name "*.cxx" -exec grep -L "SPDX" {} \; | grep -v ThirdParty | grep -v Utilities > files.out
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\A(.*)\n/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-Clause\n$1\n/g' %s
      
      Replace all header missing license
      
      find .  -name "*\.h" -exec grep -L "SPDX" {} \; | grep -v ThirdParty | grep -v Utilities > files.out
      
      cat files.out |  xargs -I %s perl -i~ -0777 -pe 's/\A(.*)\n/\/\/ SPDX-FileCopyrightText: Copyright \(c\) Ken Martin, Will Schroeder, Bill Lorensen\n\/\/ SPDX-License-Identifier: BSD-3-Clause\n$1\n/g' %s
      
      Manual from build
      
      Add missing license
      
      Replace copyright.txt
      
      Remove license files
      
      Manual fixes found by building
      
      Fix header testing
      
      Add license in vtkEncodeString
      
      Manual new filters
      
      Review JF
      987d39ac
  9. Jun 29, 2022
  10. Dec 03, 2021
    • Charles Gueunet's avatar
      Introduce a new HyperTreeGrid mapper · d246a238
      Charles Gueunet authored
      This mapper may take advantage of the vtkAdaptiveDataSetSurfaceFilter to
      extract and render only the part of the HTG in the camera frustum.
      This version only works on 2D as of today.
      d246a238
  11. Jun 24, 2021
    • David Gobbi's avatar
      Add more OpenGL2 modules to Rendering group · 40203c05
      David Gobbi authored
      The RenderingVolumeOpenGL2 module was in the Rendering group,
      but not RenderingContextOpenGL2 or DomainsChemistryOpenGL2.
      As a result, the latter two modules were not part of the
      default build, even though they implement the backends for
      modules that are part of the default build (DomainsChemistry,
      RenderingContext2D, Charts, etc).
      
      The fact that the VTK Python wheels provided modules without
      backends has caused trouble for several users.
      
      The RenderingOpenGL2 module itself was not part of the Rendering
      group, either, but seems to have been brought in as a dependency
      of RenderingVolumeOpenGL2.
      40203c05
  12. Feb 24, 2021
    • David Gobbi's avatar
      Add more OpenGL2 modules to Rendering group · 11fbec70
      David Gobbi authored
      The RenderingVolumeOpenGL2 module was in the Rendering group,
      but not RenderingContextOpenGL2 or DomainsChemistryOpenGL2.
      As a result, the latter two modules were not part of the
      default build, even though they implement the backends for
      modules that are part of the default build (DomainsChemistry,
      RenderingContext2D, Charts, etc).
      
      The fact that the VTK Python wheels provided modules without
      backends has caused trouble for several users.
      
      The RenderingOpenGL2 module itself was not part of the Rendering
      group, either, but seems to have been brought in as a dependency
      of RenderingVolumeOpenGL2.
      11fbec70
  13. Jul 15, 2020
    • Paul Lafoix's avatar
      Handle anisotropy in the PBR shader · ba1c76b4
      Paul Lafoix authored
      Add two options to vtkProperty, and link them to OSPray:
      
      * anisotropy (between 0 and 1) that controls the strength of the anisotropy.
      It will be possible to use a texture to hold this value (WIP).
      
      * rotation (between 0 and 1) that rotate the direction of the anisotropy
      (ie. the tangent) around the normal counter-clockwise.
      A value of 1 correspond to a rotation of 2*PI. If needed, the rotation is done is
      the fragment shader because it allows the user to pass the rotaion as a
      texture value.
      ba1c76b4
  14. May 29, 2020
  15. Feb 26, 2020
  16. Feb 14, 2020
    • Ken Martin's avatar
      Move interactors into new UI module · b19ea9ff
      Ken Martin authored
      These interactors are based on their native
      UI but do not have any requirement on OpenGL.
      Move them into this new directory so that Vulkan
      or other toolkits can make use of them.
      
      While at it remove the use of Xt as it is no longer
      really used and instead simplify the code and go directly
      to Xlib.
      b19ea9ff
  17. Jan 08, 2019
Loading