- Jan 08, 2019
-
-
Ben Boeckel authored
-
- Dec 04, 2018
-
-
Sean McBride authored
-
- Nov 15, 2018
-
-
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.
-
- Nov 02, 2018
-
-
Bill Lorensen authored
-
- Oct 30, 2018
-
-
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.
-
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.
-
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.
-
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.
-
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
-
- Jun 11, 2018
-
-
Ken Martin authored
Update to allow numbers as texture names
-
- May 18, 2018
-
-
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
-
- Mar 22, 2018
-
-
Ken Martin authored
now allows for textures to be in BMP format also allows the obj file to start with a BOM
-
- Mar 20, 2018
-
-
Sean McBride authored
-
Sean McBride authored
154 occurances of ;;\n
-
Sean McBride authored
This required some clean up, because the automatic changes borked a couple of files, but mostly resulted in stupid whitespacing. A few find/replace fixed things up. There are now some duplicate semis because it did changes like: ~AMRIndexIterator() override{}; to ~AMRIndexIterator() override= default;; Note there was a pointless semi before, which clang-tidy didn’t expect / account for. My next commit will remove them.
-
- Mar 08, 2018
-
-
Sean McBride authored
I was surprised how many there were. But no bugs at least, as best as I could tell. Removed a few useless semi-colons that were nearby.
-
- Feb 16, 2018
-
-
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)
-
- Jan 29, 2018
-
-
luz.paz authored
Found via `codespell -q 3 -I ../vtk-whitelist-words.txt --skip="./ThirdParty,./Utilities"`
-
- Jan 24, 2018
-
-
Ken Martin authored
The parser had a .c extension which caused some warnings on one system as it contained c++ code. Also fix a minor performance issue.
-
- Jan 22, 2018
-
-
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.
-
- Jan 04, 2018
-
-
luz.paz authored
Found via `codespell`
-
- Dec 20, 2017
-
-
Ben Boeckel authored
-
- Dec 11, 2017
-
-
Ben Boeckel authored
The property isn't used anymore by the wrapping tools.
-
Ben Boeckel authored
-
Ben Boeckel authored
Now that Tcl wrapping is gone, all wrapping tools now use `WRAP_EXCLUDE_PYTHON` instead.
-
- Dec 05, 2017
-
-
Ben Boeckel authored
-
Ben Boeckel authored
-
Ben Boeckel authored
-
Ben Boeckel authored
-
- Dec 01, 2017
-
-
Sean McBride authored
For now, vtkTypeBool is just a typedef for int, but one day it can become a real bool. Found with a regex: vtkBooleanMacro.*int\)
-
- Nov 15, 2017
-
-
Ben Boeckel authored
Now that instantiators are gone, nothing cares about the ABSTRACT property.
-
- Oct 11, 2017
-
-
Sean McBride authored
After reading the docs for some of the warnings, I think many are obsolete and can be unsuppressed.
-
- Oct 04, 2017
-
-
Kitware Robot authored
Now that VTK requires a C++11 compiler we can ditch using custom typedefs to wrap =delete;
-
- Oct 02, 2017
-
-
Kitware Robot authored
Now that VTK requires a C++11 compiler we can ditch using custom typedefs
-
- Sep 29, 2017
-
-
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.
-
- Sep 08, 2017
-
-
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.
-
- Aug 24, 2017
-
-
Ken Martin authored
seems some mtl files have a three character utf BOM also handle spaces after the material name better
-
- Aug 08, 2017
-
-
Ken Martin authored
Mark as legacy for now, delete later on
-
- Jul 27, 2017
-
-
Ken Martin authored
fixes for MPI ADIOS and VRML
-
- Jul 26, 2017
-
-
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.
-