Skip to content
Snippets Groups Projects
  1. Jan 08, 2019
  2. Dec 04, 2018
  3. Nov 15, 2018
    • 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. Nov 02, 2018
  5. Oct 30, 2018
    • 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. Jun 11, 2018
  7. May 18, 2018
    • Kitware Robot's avatar
      ExternalData: Convert content links from MD5 to SHA512 · d6d05b2a
      Kitware Robot authored and Brad King's avatar Brad King committed
      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. Mar 22, 2018
  9. Mar 20, 2018
  10. Mar 08, 2018
  11. Feb 16, 2018
    • 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. Jan 29, 2018
    • 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. Jan 24, 2018
  14. Jan 22, 2018
    • 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. Jan 04, 2018
  16. Dec 20, 2017
  17. Dec 11, 2017
  18. Dec 05, 2017
  19. Dec 01, 2017
  20. Nov 15, 2017
  21. Oct 11, 2017
  22. Oct 04, 2017
  23. Oct 02, 2017
  24. Sep 29, 2017
    • 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. Sep 08, 2017
    • 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. Aug 24, 2017
  27. Aug 08, 2017
  28. Jul 27, 2017
  29. Jul 26, 2017
    • Kitware Robot's avatar
      Replace many NULL and 0 occurances with nullptr · a855cab0
      Kitware Robot authored
      This topic is the result of running clang-tidy to
      modernize our usage of NULL and 0 to nullptr. It also
      includes some manual and semi manual changes where
      clang-tidy would not be expected to work (such as in
      comments, or classes not compiled on this build)
      
      There are definitely many comments and occurances that
      this topic misses that we will need to fix over time.
      a855cab0
Loading