1. 07 Sep, 2015 1 commit
  2. 14 Jul, 2015 1 commit
  3. 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.
  4. 12 Jun, 2015 2 commits
  5. 05 Jun, 2015 1 commit
  6. 04 Jun, 2015 2 commits
  7. 02 Jun, 2015 2 commits
  8. 22 Apr, 2015 3 commits
  9. 17 Apr, 2015 5 commits
  10. 14 Apr, 2015 1 commit
  11. 06 Apr, 2015 5 commits
    • Sankhesh Jhaveri's avatar
      Account for window position when drawing in external context · 67bfb78e
      Sankhesh Jhaveri authored
      In the VTK world display coordinates are with reference to the
      VTK window origin and size. However, when rendering in an
      external context, the display coordinates should consider the
      whole context origin and size.
      This change fixes the issue where all VTK rendering was happening
      on the left side of a VRUI stereo window.
    • Sankhesh Jhaveri's avatar
      Added ability to automatically resize external window · 1fd0e34b
      Sankhesh Jhaveri authored
      Added a boolean that enables/disables querying the OpenGL state for
      viewport size. By default, the viewport size is queried at the start
      of each frame and the VTK window is resized based on the query result.
    • Sankhesh Jhaveri's avatar
      Changed GLUT test to remove VTK lights · c5c0794f
      Sankhesh Jhaveri authored
      With the external lighting change, VTK external renderer does not
      support any VTK lights. This change enables the GLUT test to
      create OpenGL lights and adds a new baseline.
    • Sankhesh Jhaveri's avatar
      Set spot parameters on the newly created lights · e7b5c093
      Sankhesh Jhaveri authored
      Query spot parameters on the OpenGL light from the OpenGL state
      and set it on the VTK light.
    • Sankhesh Jhaveri's avatar
      Fix lights issue in external render environments · bb59caeb
      Sankhesh Jhaveri authored
      With this change, the external VTK renderer disables automatic light
      creation. In each frame, OpenGL lights are queried from the OpenGL
      state and a new headlight is added in VTK for each enabled OpenGL
      light. This way VTK objects in the scene are lit with lights from the
      external OpenGL application.
      NOTE: VTK lights created in the pipeline are discarded and only
      the externally created OpenGL lights are regarded.
  12. 26 Feb, 2015 1 commit
  13. 09 Jan, 2015 5 commits
  14. 08 Jan, 2015 4 commits
  15. 05 Jan, 2015 1 commit
  16. 02 Jan, 2015 1 commit
    • Sankhesh Jhaveri's avatar
      ENH: Use generic render window to support multiple platforms · 0319b49c
      Sankhesh Jhaveri authored
      New renderwindow class inherits from vtkGenericOpenGLRenderWindow.
      The ExternalVTKWidget now allows setting a user defined
      The external application must provide the size to the widget/window now.
      Change-Id: I9a7d57e9b774527bb18f8de46f5dc235630a0713
  17. 24 Sep, 2014 1 commit
  18. 18 Sep, 2014 1 commit
  19. 15 Jul, 2014 1 commit
  20. 10 Jul, 2014 1 commit