1. 06 Jul, 2016 1 commit
  2. 06 May, 2016 1 commit
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
  3. 08 Mar, 2016 1 commit
  4. 07 Jan, 2016 1 commit
    • Ken Martin's avatar
      Fix some coverity issues · 69bafcd8
      Ken Martin authored
      Fix a bunch of issues reported by coverity that seemed
      fairly stright forward and related to rendering
  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.
  6. 13 Nov, 2015 1 commit
    • Ken Martin's avatar
      Update coincident geomtry support · 4be38a3f
      Ken Martin authored
      Add in support for specifying different offsets for surfaces
      lines and points. Update some example to remove the specified
      polydata value as the defaults are better.
      Update a valid image due to lighting changes
      Add a test that has points lines and surfaces all
      drawn on top of each other.
  7. 14 Oct, 2015 1 commit
  8. 12 Oct, 2015 1 commit
  9. 21 Sep, 2015 1 commit
  10. 08 Sep, 2015 1 commit
  11. 27 Aug, 2015 1 commit
  12. 24 Aug, 2015 1 commit
  13. 10 Aug, 2015 1 commit
  14. 04 Aug, 2015 1 commit
  15. 13 Jul, 2015 1 commit
  16. 09 Jul, 2015 1 commit
    • Ben Boeckel's avatar
      vtkOpenGLRenderUtilities: move Render{Quad,Triangle} · bba39d5b
      Ben Boeckel authored
      These methods cause vtkOpenGLRenderWindow to include vtk_glew.h (for
      GLuint) which must be included before gl.h to work properly. Since this
      header gets included in many places, move the affected methods to
      another class rather than forcing all users to do the proper inclusion
      order dance.
  17. 22 Jun, 2015 1 commit
  18. 10 Jun, 2015 1 commit
  19. 01 Jun, 2015 2 commits
    • 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
    • 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.
  20. 12 May, 2015 1 commit
  21. 08 May, 2015 1 commit
  22. 07 May, 2015 1 commit
  23. 06 May, 2015 1 commit
    • Ken Martin's avatar
      Fix a few issues exposed by PV testing · af81970a
      Ken Martin authored
      A couple fixes.  The big one is fixes to picking for
      CompositePolydataMapper2 but there are a couple other minor
      fixes in there as well.
      SetPixelData was not turning off depth tests.
      Some cases with a lot of degenerate cells could result
      in negative array sizes.
      Testing for a stereo capable window on Win32 was not correct
  24. 01 May, 2015 5 commits
    • Ken Martin's avatar
      Fix compile error · 1d77180d
      Ken Martin authored
    • Ken Martin's avatar
      redo how cell data is handled and picking · ece3886b
      Ken Martin authored
    • Ken Martin's avatar
      Convert Cocoa to default to OpenGL 3.2 · 780a38c1
      Ken Martin authored
      OSX is a bit more strict on its opengl so a bunch more changes were
      required such as using in/out instead of attribute/varying. Also
      handle gl_FragData properly for 3.2 as an output variable.
      glew had a bug preventing glGenVertextAttribute... from being
      defined. Made a change to correct that.
    • Ken Martin's avatar
      Add support for picking indirection arrays · a74d8a2b
      Ken Martin authored
      At the same time this patch completely changes how cell data is
      handled. In the past we would duplicate any shared vertices so
      that we could apply the cell data uniquely to each vertex.
      That causes a huge increase in size for the data as a typical
      mesh has each vertex shared by 6 triangles.
      The new approach we create a texture buffer where we store the
      cell data. Then in the fragment shader we use the gl_PrimitiveID
      to index into the texture buffer to lookup the relevent cell data.
      With this change gl_PrimitiveID support is now required not just
      for picking but for everything.
    • Ken Martin's avatar
      redo how cell data is handled and picking · c4ba26d8
      Ken Martin authored
  25. 04 Apr, 2015 1 commit
  26. 24 Mar, 2015 1 commit
  27. 22 Mar, 2015 1 commit
  28. 21 Mar, 2015 1 commit
    • Ken Martin's avatar
      Fix PV text composite with cell data issues · fb11ced5
      Ken Martin authored
      Fix an issue with composite datasets that have cell data
      and pieces that have points but no cells and are using
      cell coloring.
      Also clean up a it of memory useage and naming in the
      cell data support code. All for OpenGL2.
  29. 24 Feb, 2015 1 commit
    • Ken Martin's avatar
      Fix a couple issues · 4f3354b2
      Ken Martin authored and Ben Boeckel's avatar Ben Boeckel committed
      Fix the case where a polydata is passed to CompositePolyDataMapper2
      instead of a CompositeDataSet. Also fix a failure with scalar coloring
      when not using texture maps.
      Change-Id: I9fc88464994fc41f439fe1288a78c7f898805b1c
  30. 13 Feb, 2015 1 commit
    • Ken Martin's avatar
      Fix a couple issues · f5f9ecbf
      Ken Martin authored
      Fix the case where a polydata is passed to CompositePolyDataMapper2
      instead of a CompositeDataSet. Also fix a failure with scalar coloring
      when not using texture maps.
      Change-Id: I2388b8c02e97c0a01755596d0c3489162c045afc
  31. 09 Feb, 2015 1 commit
  32. 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
  33. 05 Dec, 2014 1 commit
    • Ken Martin's avatar
      A fix for rendering coincident polygons or lines. · a7460ef0
      Ken Martin authored
      Specifically fixed edge visibility which I had implemented
      incorrectly. Trying to move the lines closer when you need
      to move the polygons back instead.
      Change-Id: I2a210e20287d4881767fe445afdde3458dfbac3b
  34. 02 Dec, 2014 1 commit
  35. 24 Nov, 2014 1 commit