1. 22 Mar, 2019 1 commit
  2. 06 Mar, 2019 1 commit
  3. 08 Jan, 2019 2 commits
  4. 17 Jul, 2018 1 commit
  5. 10 Jul, 2018 1 commit
    • Ken Martin's avatar
      improve picking performance and memory footprint · 82fffd9c
      Ken Martin authored
      Significant rework of the hardware picking code.
      
      Previously each mapper had to make sure that the rendered
      colors were correct for point/cell etc ID during hardware picking
      and this required large datastructures and texture uploads
      to the GPU on each pick.
      
      Now it collects the color buffers and gives the mappers a chance to
      update them. This allows us to use gl_VertexId and gl_PrimitiveId
      directly in the shader and then if picked, allow the mapper to
      adjust the color buffer as needed. This allows us to avoid
      rebuilding the VBO and textures each time and avoids the memory
      footprint related to that.
      82fffd9c
  6. 18 May, 2018 1 commit
    • Kitware Robot's avatar
      ExternalData: Convert content links from MD5 to SHA512 · d6d05b2a
      Kitware Robot authored
      Populate a script with `map_<md5>=<sha512>` variable settings and
      then run the following to convert the content link files:
      
          git ls-files -- '*.md5' | while read f; do
            md5="$(cat "$f")"
            sha512="$(eval echo \${map_$md5})"
            rm "$f"
            echo $sha512 > ${f%.md5}.sha512
          done
      d6d05b2a
  7. 20 Mar, 2018 1 commit
    • Sean McBride's avatar
      Applied clang-tidy modernize-use-equals-default fixes · 84ec1d57
      Sean McBride authored
      This required some clean up, because the automatic changes borked a couple of files, but mostly resulted in stupid whitespacing. A few find/replace fixed things up.
      
      There are now some duplicate semis because it did changes like:
      
        ~AMRIndexIterator() override{};
      to
        ~AMRIndexIterator() override= default;;
      
      Note there was a pointless semi before, which clang-tidy didn’t expect / account for.
      
      My next commit will remove them.
      84ec1d57
  8. 20 Dec, 2017 1 commit
  9. 12 Dec, 2017 1 commit
    • Ken Martin's avatar
      use a smaller exponent for the shadow maps · a841ddf2
      Ken Martin authored
      It seems like Mesa may use a half float rep when
      it does not actually have float support. Or something
      similar. So reduce the range of possible values to fit
      within half float range.
      a841ddf2
  10. 11 Dec, 2017 2 commits
  11. 05 Dec, 2017 2 commits
  12. 04 Oct, 2017 1 commit
  13. 02 Oct, 2017 1 commit
  14. 29 Sep, 2017 1 commit
    • Andrew Bauer's avatar
      Improvements for vtkNew for stl containers and comparison operations · fd04b442
      Andrew Bauer authored
      Adding in functionality to allow inserting vtkNew objects into
      stl containers of vtkSmartPointer objects as well as comparisons
      between vtkNew objects and raw pointers. Also removing Get() and
      GetPointer() calls from vtkNew objects since in most instances we
      can just pass in the vtkNew<> object instead of having to use the
      Get() or GetPointer() methods to get the raw pointer.
      fd04b442
  15. 08 Sep, 2017 1 commit
    • Ken Martin's avatar
      deprecate scalar material mode · 5abc0618
      Ken Martin authored
      The old scalar material mode was largely unused or used in
      an inappropriate manner and yet adds complexity and cost
      to the code. Thsi topic removes it and replaces it with
      an implementation that is similar to
      VTK_MATERIALMODE_AMBIENT_AND_DIFFUSE so that scalar colors
      are used for ambient and diffuse colors but the ambient
      and diffuse intensities are still respected.
      5abc0618
  16. 31 Aug, 2017 1 commit
    • Ken Martin's avatar
      update handling of scalar material mode · 7bc7e583
      Ken Martin authored
      Previously scalar material mode when used
      with scalars would ignore the ambient and diffuse
      material intensities and when mapping one of them
      set that one to 1.0 while leaving th eother alone.
      This caused lots of odd situations where objects would be
      over illuminated etc or where changing the diffuse or
      ambient seemed to have o impact.
      
      With this change the diffuse and ambient intensities
      are always used. The sclaar simply controls the color
      not the intensity.
      7bc7e583
  17. 22 Jan, 2017 1 commit
    • Sean McBride's avatar
      const improvements to APIs and internal usage · 8b32854b
      Sean McBride authored
      - Made a few APIs' params const
      - Changed many usages of the evil GetBounds() to expect a const
        return value, even though it does not (yet?) return const
      - Slightly changed return values of vtkTextActor3D::GetBounds()
        to return its own ivar instead of its ImageActor's
      8b32854b
  18. 16 Jan, 2017 1 commit
  19. 23 Sep, 2016 2 commits
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
    • David E. DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David E. DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  20. 12 Sep, 2016 1 commit
    • Haocheng LIU's avatar
      Rewrite all public&private dependency in module.cmake file · 6e113ad4
      Haocheng LIU authored
      The current dependency relationship in vtk is unclear and misleading.
      This MR tries to rewrite them based on header files inclusion of headers
      and source files in each module. Corner cases are considered and
      modules are sorted in alphabetical order to facilitate future reference.
      See details in my gitlab python based script project. In future we can continue
      using this script to clean the VTK Dependency easily from
      time to time.
      6e113ad4
  21. 02 Sep, 2016 1 commit
  22. 26 Aug, 2016 2 commits
  23. 25 Aug, 2016 2 commits
  24. 11 Aug, 2016 1 commit
    • David C. Lonie's avatar
      Add Depth stage to polydata fragment shaders. · 101f9eeb
      David C. Lonie authored
      The depth peelers currently assume gl_FragCoord.z is always the depth,
      but the imposter shaders in Domains/Chemistry modify the depth.
      
      This patch adds a //VTK::Depth::Impl hook into the fragment shader
      template, before any depth peeling processing is applied. The depth
      is stored into gl_FragDepth, and all depth processing now uses this
      variable instead of gl_FragCoord.z.
      101f9eeb
  25. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  26. 18 Apr, 2016 1 commit
  27. 11 Apr, 2016 1 commit
  28. 08 Mar, 2016 1 commit
  29. 04 Feb, 2016 1 commit
  30. 22 Jan, 2016 1 commit
  31. 03 Dec, 2015 1 commit
    • Ken Martin's avatar
      Make the rebuilding of VBO and IBO very conservative_vbo_ibo_rebuild · 263583d1
      Ken Martin authored
      This topic should make it so that the VBO and IBO only gets
      rebuilt when it really needs to. Instead of relying on high
      level MTimes it actually looks at the pieces of data that impact
      the VBO or IBO respectively. The VBO can build without the IBO
      rebuilding and vice versa.
      263583d1
  32. 29 Oct, 2015 2 commits
    • Ken Martin's avatar
      Fix accidental commit of one test · 4a6ace82
      Ken Martin authored
      Forgot to revert this back to normal
      4a6ace82
    • Ken Martin's avatar
      Improve rendering shadows and DOF · b457301c
      Ken Martin authored
      Add an option in vtkLight to control how much a shadow
      will attenuate the light.
      
      Added a mode in the DOF pass where the focal depth is driven
      by the center pixel.
      
      Added a test of using SSAA with Shadows and with DOF all
      at once.
      b457301c