1. 10 Nov, 2016 1 commit
    • Ken Martin's avatar
      Remove the old FBO compatability Code · 57bd525c
      Ken Martin authored
      The prior commit contains the merging of the FBO and
      FBO2 functionality. This commit removes a fair amount of
      the old FBO functionality to keep the API clean and encourage
      people to use FOs in a consistent manner.
      57bd525c
  2. 09 Nov, 2016 1 commit
    • Ken Martin's avatar
      combine fbo and fbo2 into one class and clean it up · 39010fa7
      Ken Martin authored
      having two VBO classes was confusing. This topic
      moves the functionality of FBO2 into FBO while
      keeping some of the original FBO functionality and
      cleaning it up a bit.
      
      All OpenGL2 code in VTK using FBOs is updated in
      this topic to use the merged FBO class. Mainly this
      impacts classes that were using the FBO class.
      
      The old FBO methods and code are converted but
      commented out in this commit.
      39010fa7
  3. 07 Nov, 2016 1 commit
  4. 04 Nov, 2016 1 commit
    • Ken Martin's avatar
      add opengl resource management to polydatamapper2d · a9fa6d3b
      Ken Martin authored
      In some cases it could attempt to free opengl resources
      when it was not the current context or after the context
      was destroyed. Add the new resource management logic
      via vtkOpenGLResourceFreeCallback the class to prevent
      this.
      a9fa6d3b
  5. 03 Nov, 2016 4 commits
    • Ken Martin's avatar
      fix a compiler error on es3 · 08c27636
      Ken Martin authored
      GL_MULTISAMPLE is not defined for ES3
      08c27636
    • Alvaro Sanchez's avatar
      Fixed stochastic jittering and added API to customize noise settings. · b3adde6e
      Alvaro Sanchez authored
      The mapper uses vtkPerlinNoise by default with a texture size and frequency
      equivalent to the window size.  It is possible to fully customize the noise
      generator and texture size.  UseJittering changed to be off by default so some
      of the baselines were updated.  Added tests for both default and customized noise
      ray jittering.  Disabled TestGPURayCastMapperSampleDistance in legacy OpenGL.
      b3adde6e
    • Eloi Gaudry's avatar
      missing check · 46187e3c
      Eloi Gaudry authored
      46187e3c
    • Eloi Gaudry's avatar
      Segfault in create awindow · 90f09635
      Eloi Gaudry authored
      there are some paths in the vtkXOpenGLRenderWindow (CreateAWindow for instance) that would need better NULL pointer check to avoid SEGFAULT and allow a clean abort.
      this fix should also be merged to the release branch
      90f09635
  6. 02 Nov, 2016 2 commits
  7. 01 Nov, 2016 2 commits
    • Ken Martin's avatar
      Remove ES2 support for VTK 8.0 · 0f750114
      Ken Martin authored
      ES2 is causing headaches and code mess and is
      getting old. Remove for 8.0 so we can focus on
      more modern APIs. Most Apple and Adroid devices
      from the past 4 years support ES3.
      0f750114
    • David Gobbi's avatar
      Clean up by destroying the vtkTkRenderWidget. · cd1c29e6
      David Gobbi authored
      Currently, the only way for Python/Tk to force Tcl to delete the
      vtkTkRenderWidget is to destroy() the widget.  This has to be done with
      care, since the widget must hold the only reference to its vtkRenderWindow
      at the time of its destruction.  If the widget is not destroyed, then a
      memory leak results.
      cd1c29e6
  8. 31 Oct, 2016 1 commit
  9. 29 Oct, 2016 4 commits
    • Ken Martin's avatar
      try fix for offscreen rendering on Windows · 275da290
      Ken Martin authored
      The context was getting cleaned too often maybe.
      This fix reverts one line from commit
      https://gitlab.kitware.com/vtk/vtk/commit/
      3a8e4497
      
      This commit fixes issue
      
      vtk/vtk#16876
      
      and adds a test for that condition as well as
      a few other cases that should work but could
      cause problems.
      
      This change could introduce other issues limited
      to windows as the code is fairly complex and
      the use cases vary widely. At some point the whole
      process of creating windows and handling offscreen
      drawing needs to be reworked. It is a mishmash of 20
      years of code and overdue for a real workover for all
      platforms. But this topic is intended to fix this one
      case until we have time to really look at it and rework
      it.
      
      Currently the new test is only active for OpenGL2 and
      Windows. OpenGL1 and other platforms has issues with
      it that need to be fixed in the future. But for now this
      change fixes the reported Windows issues and adds a
      test to maintain that fix.
      275da290
    • Ken Martin's avatar
      better handling of how to get an OpenGL context win32 · c3e87b66
      Ken Martin authored
      Fix some long standing issues with multisamples
      and stereo capable window requests on Win32.
      c3e87b66
    • David C. Lonie's avatar
      Reset extents pointer in SurfaceLICComposite. · 7e126fbd
      David C. Lonie authored
      This fixes an MPI deadlock issue when LIC is used in parallel.
      7e126fbd
    • Michael Fogleman's avatar
      use vtkMath::IsNan · 30dd43d7
      Michael Fogleman authored
      30dd43d7
  10. 28 Oct, 2016 3 commits
  11. 25 Oct, 2016 6 commits
  12. 24 Oct, 2016 1 commit
    • Ken Martin's avatar
      try fix for offscreen rendering on Windows · 52d32544
      Ken Martin authored
      The context was getting cleaned too often maybe.
      This fix reverts one line from commit
      https://gitlab.kitware.com/vtk/vtk/commit/
      3a8e4497
      
      This commit fixes issue
      
      vtk/vtk#16876
      
      and adds a test for that condition as well as
      a few other cases that should work but could
      cause problems.
      
      This change could introduce other issues limited
      to windows as the code is fairly complex and
      the use cases vary widely. At some point the whole
      process of creating windows and handling offscreen
      drawing needs to be reworked. It is a mishmash of 20
      years of code and overdue for a real workover for all
      platforms. But this topic is intended to fix this one
      case until we have time to really look at it and rework
      it.
      
      Currently the new test is only active for OpenGL2 and
      Windows. OpenGL1 and other platforms has issues with
      it that need to be fixed in the future. But for now this
      change fixes the reported Windows issues and adds a
      test to maintain that fix.
      52d32544
  13. 23 Oct, 2016 1 commit
  14. 22 Oct, 2016 2 commits
  15. 21 Oct, 2016 5 commits
  16. 20 Oct, 2016 1 commit
  17. 17 Oct, 2016 4 commits
    • Ken Martin's avatar
      Improve bounds when orienting by an array · 3d1ebe02
      Ken Martin authored
      To handle arbitrary glyph orientations, reflect the bounds of the
      glyph across the origin in each dimension. The union of the reflected
      bounds and original bounds will then bound any orientation of the
      glyph. This union is automatically centered at the origin, so there
      is no need to translate it by the center of the bounding box.
      3d1ebe02
    • Michael Fogleman's avatar
      dd850b44
    • David C. Lonie's avatar
      Reset extents pointer in SurfaceLICComposite. · 3c0be7e0
      David C. Lonie authored
      This fixes an MPI deadlock issue when LIC is used in parallel.
      3c0be7e0
    • Mathieu Westphal's avatar
      Bugfixes and Improvements for vtkPolarAxesActor · 1373e9d6
      Mathieu Westphal authored
       * Correcting a bug with accumulation of TickPoints at each tick building
           Corrects a bug in the vtkPolarAxes where the tick points
           where accumulated, drawing more and more points as we build the axes multiple
           times
      
       * Removing useless parameter
       * Correcting axis follower angle LOD
           Corrects the way angle LOD works.
           Before this change, disabling the LOD would not mean
           that all is visible but merelly that only current visible
           will stay visible
      
       * Correcting title and exponent location modified
       * Correcting polar axes documentation
       * Correcting numberOfRadialAxes default
       * Fix the TickSize computation
           Changes the way the tick sizex behave,
           enabling user to change them even to automatic computation
           of tick is enable, and autocomputing tick size when it's
           values is zero
      1373e9d6