1. 22 Feb, 2016 1 commit
  2. 04 Feb, 2016 1 commit
  3. 22 Jan, 2016 1 commit
  4. 04 Jan, 2016 1 commit
    • Sean McBride's avatar
      Fixed a bunch of clang-tidy misc-macro-parentheses warnings · a595ab8e
      Sean McBride authored
      This tool warns where macros should be using parens.
      Fixed many issues it pointed out by either:
       - adding parens (which it can do automatically)
       - removed unused (or rarely used) macros
       - replacing macros with functions, notably vtkMath stuff
      a595ab8e
  5. 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
  6. 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
  7. 28 Oct, 2015 1 commit
  8. 27 Oct, 2015 1 commit
  9. 21 Oct, 2015 3 commits
  10. 14 Oct, 2015 1 commit
  11. 09 Oct, 2015 1 commit
    • Ken Martin's avatar
      Add android vr example and fixes to support it · c8fd8f3e
      Ken Martin authored
      This topic adds a volume rendering example to android builds.  It also
      fixes a number of issues to make it work with android including on
      Samsung devices which have a different OpenGL driver.
      
      VR use of 1D textures have been replaced with 2D textures as
      1D textures are not supported on OpenGL ES.
      
      Some minor build inprovements are included as well.
      c8fd8f3e
  12. 22 Sep, 2015 1 commit
    • David Gobbi's avatar
      Wrap many more classes with python. · e6f75b9a
      David Gobbi authored
      This makes the python wrappers ignore WRAP_EXCLUDE, and instead use
      the new property WRAP_EXCLUDE_PYTHON that excludes fewer classes.
      The WRAP_SPECIAL flag, which used to act as a whitelist for python,
      has been removed.
      
      Because this change causes classes to be wrapped in python by default,
      some third-party VTK packages might break until they modify their own
      CMakeLists.txt files to add WRAP_EXCLUDE_PYTHON where necessary.
      e6f75b9a
  13. 31 Aug, 2015 1 commit
    • Dan Lipsa's avatar
      COMP: Add logic to selectively use OpenGL or OSMesa. · f09903e4
      Dan Lipsa authored
      Use vtkOpenGL.cmake to decide to use (LINK_PRIVATE) OpenGL or Offscreen Mesa.
      OpenGL is now LINK_PRIVATE, so additional libraries and tests need to include OpenGL.
      Include the following in your CMakeLists.txt:
      
      include(vtkOpenGL)
      vtk_opengl_link(${module})
      
      for every ${module} that uses OpenGL. This takes care of include directories and
      linking of proper libraries.
      f09903e4
  14. 20 Aug, 2015 1 commit
    • Brad King's avatar
      ENH: Remove use of include <vtksys/stl/*> and vtksys_stl::* · eaf0f6ac
      Brad King authored
      We no longer need this compatibility layer for the compilers we support.
      Use the following commands to switch to standard header and namespace:
      
       git grep -l vtksys/stl/ | xargs sed -i 's|vtksys/stl/||'
       git grep -l vtksys_stl | xargs sed -i 's|vtksys_stl|std|g'
      eaf0f6ac
  15. 04 Aug, 2015 1 commit
  16. 21 Jul, 2015 2 commits
  17. 09 Jul, 2015 1 commit
  18. 19 Jun, 2015 1 commit
  19. 10 Jun, 2015 1 commit
  20. 05 Jun, 2015 1 commit
  21. 01 Jun, 2015 3 commits
    • Ken Martin's avatar
      Rebased to master · 844bdfc5
      Ken Martin authored
      844bdfc5
    • Ken Martin's avatar
      More cleanups · f1535309
      Ken Martin authored
      vtkgl::CellBO renamed vtkOpenGLHelper
      vtkgl::substitute moved to vtkShaderProgram::Substitute
      Creation of vtkOpenGLIndexBufferObject
      Creation of vtkOpenGLVertexBufferObject
      Move methods that were in vtkglVBOHelper into new classes
      Move IndexCount from CellBO to vtkOpenGLIndexBufferObject
      etc
      f1535309
    • Ken Martin's avatar
      Clenup some OpenGL2 code · 37f39403
      Ken Martin authored
      As we get closer to a next VTK release, make sure this is
      fairly clean or at least cleaner than it was.
      37f39403
  22. 26 May, 2015 1 commit
  23. 08 May, 2015 2 commits
  24. 06 Apr, 2015 1 commit
  25. 02 Apr, 2015 1 commit
    • Sean McBride's avatar
      Fix -Wimplicit-fallthrough warnings; introduce VTK_FALLTHROUGH · 3cc4d9fc
      Sean McBride authored
      Fixed all clang -Wimplicit-fallthrough warnings:
      - Some fixed by adding missing breaks
      - Other fixed by adding VTK_FALLTHROUGH statement
      
      Under (modern) clang with C++11:
       #define VTK_FALLTHROUGH [[clang::fallthrough]]
      
      Otherwise:
       #define VTK_FALLTHROUGH ((void)0)
      
      VTK_FALLTHROUGH serves two purposes:
       - under clang, suppresses -Wimplicit-fallthrough warnings
       - makes code more self-documenting
      3cc4d9fc
  26. 11 Mar, 2015 1 commit
  27. 01 Mar, 2015 1 commit
  28. 07 Feb, 2015 1 commit
  29. 03 Feb, 2015 1 commit
  30. 29 Jan, 2015 1 commit
    • Ken Martin's avatar
      Add a subclass for faster composite dataset mapping · 1862e2d0
      Ken Martin authored
      This class is a faster implementation of vtkCompositePolyDataMapper
      that requires its inputs to adhear to some constraints. The big change
      is that it required adding functions to append to a VBO or IBO.
      
      Part of this change is I decoupled the opacity from scalar coloring.
      Previously a change in opacity required rebuilding the VBO if
      scalar coloring was on. While this is still the behavior, it can
      now be optimized to not do that.  It doesn't made sense for
      the property's opacity to be mixed in with scalar colors, it
      was just done that way because that we all the old pipeline
      could do.
      
      Also cleaned up a few long lines while I was a it.
      
      Change-Id: I3a06b502f154c4da7465e53eeeaeab9492bca88f
      1862e2d0
  31. 22 Jan, 2015 1 commit
    • Ken Martin's avatar
      Use MCDCMatrix in shaders · de8deb6a
      Ken Martin authored
      A few changes here. The motivation is to support using the MCDCMatrix
      in the vertex shader where possible. This has the advantage of
      performing the MCVC x VCDC multiplication in double precision
      on the CPU as opposed to float precision on the shader. This fixes
      a couple test failures.
      
      Along with that change cleanup a bit how we determine what uniforms
      to set. There were some uniforms being set when they did not exist
      in the program. Provided a more general approach for passing that
      type of information between the code that builds the shader program
      and the code that sets the uniforms.
      
      Add a substitute helper function that does the same job as replace
      but returns a bool if a replacement was made. Also operates on
      the source string by reference.
      
      Cleaned up some long lines to be shorter.
      
      Change-Id: Ic23133679f1d40d51c29f11810d29baf85edd306
      de8deb6a
  32. 13 Jan, 2015 1 commit
    • Ken Martin's avatar
      Break the UpdateVBO method into smaller pieces. · f5e3a9b1
      Ken Martin authored
      This change breaks the Update VBO method into a method
      to GetNeedToRebuildBufferObjects and BuildBufferObjects to make
      it easier for subclasses to override the default behavior.
      
      Change-Id: I99b3378b0e6b7c3ec9da4000ab33d213b8fc67c4
      f5e3a9b1
  33. 18 Dec, 2014 1 commit