This project is mirrored from https://gitlab.kitware.com/vtk/vtk-m.git. Pull mirroring updated .
  1. 31 Oct, 2018 1 commit
    • 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
  2. 30 Oct, 2018 3 commits
    • 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