1. 08 Jan, 2019 2 commits
  2. 04 Dec, 2018 1 commit
  3. 15 Nov, 2018 1 commit
    • Bill Lorensen's avatar
      BUG: OBJImporter did not handle negative indices · eb147fa3
      Bill Lorensen authored
      Negative indices are specified relative to the current maximum vertex
      position.  (-1 references the last vertex defined). This makes it easy
      to describe the points in a face, then the face, without the need to
      store a large list of points and their indexes.
      eb147fa3
  4. 02 Nov, 2018 1 commit
  5. 30 Oct, 2018 5 commits
    • Bill Lorensen's avatar
      ENH: Refactor testing · 97552d26
      Bill Lorensen authored
      Change tests from using ExternalData_add_test to vtk_add_test_cxx.
      Added baselines for the tests. Ghe OBJImport tests were not being run.
      97552d26
    • Bill Lorensen's avatar
      ENH: Refactor testing · 617852b8
      Bill Lorensen authored
      Change tests from using ExternalData_add_test to vtk_add_test_cxx.
      Added baselines for the tests. Ghe OBJImport tests were not being run.
      617852b8
    • Bill Lorensen's avatar
      BUG: vtkOBJImporter does not handle multiple groups using same material · 517aed2b
      Bill Lorensen authored
      The original code assumed that each material could only be used by one
      actor (group). There is no mention of this restriction in the
      Wavefront obj specification. The solution is to use a map of vectors
      to map between material and actors.
      New test added.
      
      BUG: vtkOBJImporter fails if vt are present but texture indices not present
      Another bug was discovered while addressing the original issue. If
      texture coordinates are present via "vt" command but texture indices
      are not defined for the faces, the actor was skipped. The solution is
      to add a boolean variable that indicates whether texture indices are
      defined. If there are no texture indices, do not add TCoords to the
      PointData.
      517aed2b
    • Bill Lorensen's avatar
      BUG: vtkOBJImporterr does not handle multiple groups using same material · e1fcad45
      Bill Lorensen authored
      The original code assumed that each material could only be used by one
      actor (group). There is no mention of this restriction in the
      Wavefront obj specification. The solution is to use a map of vectors
      to map between material and actors.
      
      BUG: vtkOBJExporter fails if vt are present but texture indices not present
      Another bug was discovered while addressing the original issue. If
      texture coordinates are present via "vt" command but texture indices
      are not defined for the faces, the actor was skipped. The solution is
      to add a boolean variable that indicates whether texture indices are
      defined. If there are no texture indices, do not add TCoords to the
      PointData.
      e1fcad45
    • Bill Lorensen's avatar
      BUG: OBJImporter fails if a textue map occurs more than once. · 0dde5662
      Bill Lorensen authored
      If an mtl file refers to a texture map file more than once, the
      generated texture filename consists of the original name dupilcated n
      times.
      
      For example:
      newmtl material0
      map_Ka abc.png
      map_Kd abc.png
      map_Ks abc.png
      
      will try open a fileabc.pngabc.pngabc.png
      0dde5662
  6. 11 Jun, 2018 1 commit
  7. 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
  8. 22 Mar, 2018 1 commit
  9. 20 Mar, 2018 3 commits
  10. 08 Mar, 2018 1 commit
  11. 16 Feb, 2018 1 commit
    • Ken Martin's avatar
      provide support for existing multitexture calls · bbc96ed3
      Ken Martin authored
      The old MapDataArrayTGoMultiTexture relied on
      being able to lock dowwn a specific texture unit
      which cannot be guaranteed as external code
      or render passes may bne uising that texture unit.
      
      Instead we support the method having the name of a texture
      along with the matching ethod in vtkProperty to name
      a texture. Between these two users can assign texture
      coordinate arrays to specific textures.
      
      Deprecated the old index and unit based methods.
      Removed a no longer needed vtkTexture.h include
      which may bite some folks who are using vtkTexture
      but not including the header (which they shoudl do)
      bbc96ed3
  12. 29 Jan, 2018 1 commit
    • luz.paz's avatar
      Misc. typos · 84960d64
      luz.paz authored
      Found via `codespell -q 3 -I ../vtk-whitelist-words.txt --skip="./ThirdParty,./Utilities"`
      84960d64
  13. 24 Jan, 2018 1 commit
  14. 22 Jan, 2018 1 commit
    • Ken Martin's avatar
      rework the mtl file handling for obj/mtl files · 8674ca6b
      Ken Martin authored
      also add a new exporter designed to work with
      obj file although it will work with any scene
      in vtk.
      
      The new exporter takes all the actors in a scene
      and stores them as a single vtp file. It also takes
      all the texturs and combines them into a single texture.
      The exporter is designed to take OBJ files that may
      consist of mulitple parts each with their own texture
      and convert them into a singlke vtp file so that they are
      easier to work with in ParaView/etc.
      8674ca6b
  15. 04 Jan, 2018 1 commit
  16. 20 Dec, 2017 1 commit
  17. 11 Dec, 2017 3 commits
  18. 05 Dec, 2017 4 commits
  19. 01 Dec, 2017 1 commit
  20. 15 Nov, 2017 1 commit
  21. 11 Oct, 2017 1 commit
  22. 04 Oct, 2017 1 commit
  23. 02 Oct, 2017 1 commit
  24. 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
  25. 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
  26. 24 Aug, 2017 1 commit
  27. 08 Aug, 2017 1 commit
  28. 27 Jul, 2017 1 commit