- Apr 17, 2024
-
-
Jaswant Panchumarti (Kitware) authored
- otherwise the shader could produce a different image from the baseline in case the timer fired before vtkWindowToImageFilter captured a screenshot - make the test produce a deterministic image instead of using random noise function
-
- Apr 16, 2024
-
-
604c2d6c Fix gradient and textured backgrounds in tiled displays 96b01e3c Support custom uniforms in opengl 2D polydata mapper Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com> Merge-request: !11040
-
- Apr 15, 2024
-
-
0c27c453 Fix block coloring when scalar visibility is overriden and color is overriden Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Merge-request: !11045
-
-
85718276 vtkPythonInterpreter: release GIL in SetupPythonPaths Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !11048
-
85718276 vtkPythonInterpreter: release GIL in SetupPythonPaths Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !11048
-
-
0bd3322d HTG Contour: support masked refined cells 9c76edca fix ModelTransformMatrix mtime issue 67b9ff5a rendering: Fix gpu ray cast volume mapper bff95fa9 fix(HTGProbe): remove useless line b3a3cf8f TestReflectionFilter: remove unneeded GetPointer() calls for vtkNew 6e1dedd6 TestReflectionFilter: add test for triangle strip with even number of tris 4f8b8a73 TestReflectionFilter: add line number when reporting failed assert 1dde99bd vtkReflectionFilter: fix cell point ids in reflected triangle strips ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Louis Gombert <louis.gombert@kitware.com> Reviewed-by:
Nicolas Vuaille <nicolas.vuaille@kitware.com> Merge-request: !11043
-
0bd3322d HTG Contour: support masked refined cells 9c76edca fix ModelTransformMatrix mtime issue 67b9ff5a rendering: Fix gpu ray cast volume mapper bff95fa9 fix(HTGProbe): remove useless line b3a3cf8f TestReflectionFilter: remove unneeded GetPointer() calls for vtkNew 6e1dedd6 TestReflectionFilter: add test for triangle strip with even number of tris 4f8b8a73 TestReflectionFilter: add line number when reporting failed assert 1dde99bd vtkReflectionFilter: fix cell point ids in reflected triangle strips ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Louis Gombert <louis.gombert@kitware.com> Reviewed-by:
Nicolas Vuaille <nicolas.vuaille@kitware.com> Merge-request: !11043
-
- Apr 14, 2024
-
-
Jaswant Panchumarti (Kitware) authored
- address paraview/paraview#22559 - Render a full-screen quadrilateral as an overlay with `vtkActor2D` and `vtkPolyDataMapper2D`. This method is more robust because the 2D Overlay VTK rendering subsytem ensures that the projection matrix accounts for tiled displays.
-
Jaswant Panchumarti (Kitware) authored
- allows specification of custom uniforms on a vtkActor2D's shader property. - this design follows the pattern from the 3D vtkOpenGLPolyDataMapper. - finally, ensure texture coordinates are available as inputs for vertex and fragment shaders so that shader developers can use that for any purpose besides texture mapping while customizing shader code.
-
Cory Quammen authored
Client applications that initialize Python prior to initializing vtkPythonInterpreter and which add Python search paths would hang because the GIL was not released on Windows with Python version > 3.8 after DLL search paths were added. Fixed that by using the default vtkPythonScopeGilEnsurer constructor, which defaults to releasing the GIL. (cherry picked from commit 25b17126)
-
- Apr 12, 2024
-
-
Jaswant Panchumarti (Kitware) authored
- When a block color is overriden and the scalar visibility was also overriden to true, the block in question was colored by the solid overriden color instead of scalars. - This commit fixes the above bug by requring the scalar visibility of a block to be turned off whenever the block color is overriden. - This makes the treatment of color-by-solid vs color-by-array for composite datasets consistent with how the mapper works for a single polydata.
-
-
81bf4ad5 Fix point picking for vtkOpenGLGlyph3DMapper Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com> Merge-request: !11041
-
Jaswant Panchumarti (Kitware) authored
- For point picking, the glyph mapper sets the point size using fixed function method. In order to reliably select points with reasonable tolerances, VTK always sets a point size of greater than 1 during the point selection pass. This is how point picking has worked in all the VTK mappers. - The problem was that the `glPointSize(pointSize)` function is unreliable in few OpenGL implementations, particularly Angle's implementation of OpenGL over D3D11. This implementation is used in Chrome/Edge on windows. As a result, on windows, the function `glPointSize` never did anything and pointSize was always 1.0 which lead the point picker to consistently fail. - The solution in this commit sets a variable `gl_PointSize` from the vertex shader which is supported by webgl2 and desktop implementations as well. - For now, the mapper still uses the fixed function `glPointSize` on desktop and only sets `gl_PointSize` from the vertex shader when GLES 3.0 is being used.
-
- Apr 11, 2024
-
-
(cherry picked from commit 936175e3)
-
(cherry picked from commit 02c956f3)
-
Fix a problem with the mapper that breaks volume rendering when the active vtkCamera has a non-identity ModelTransformMatrix. Since the eye position is needed in data space, and the camera's ModelViewTransform can affect that, combine camera and volume matrices to infer the eye position for each volume. Also, this can be computed on the cpu, avoiding a matrix/matrix multiply and and handful of matrix/vector multiplies in the fragment shader. (cherry picked from commit cd252fcb)
-
(cherry picked from commit f79a587d)
-
(cherry picked from commit 98a66caf)
-
(cherry picked from commit 7ce8855a)
-
(cherry picked from commit 2c5f5be5)
-
With CopyInput on, triangle strips with an even number of triangles were not reflected correctly. The first four cell ids were not set correctly because the number of points in the copied input was not added to these point ids, so they pointed to points in the copied input, not the reflected points. Fix that by computing a point id offset that depends on the CopyInput property and applying it to all cell ids when reflecting triangle strips that match this criteria. (cherry picked from commit b70fd33d)
-
(cherry picked from commit 2a02120c)
-
The `vtkPResampleWithDataSet` could produce incorrect values when having a `HyperTreeGrid` as a source and using multiple process. It was due to the fact that the `vtkCompositeDataProbeFilter` makes an internal call to `vtkHyperTreeGridProbeFilter` but didn't propagate the value of the MaskPoints, which led to no point data being exchanged between any of the process. (cherry picked from commit b06be999)
-
This change removes the pan event's reliance on a translation based on start event position as the overall motion was getting scaled exponentially with each event process execution. (cherry picked from commit 6430b99e)
-
This change fixes an issue with the interactor where gesture recognition is not fired with button release event for two finger gestures. (cherry picked from commit 1184de1c)
-
(cherry picked from commit c3950620)
-
- Apr 10, 2024
-
-
e051080d vtkIntegrateAttributes: Fix wrong print when dataset is empty Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Merge-request: !11034
-
-
b794af44 Fix GLES 3.0 implementation of GetZbufferData 3e48ef48 Fix shader debugging file logic dcf1ff19 Fixed clip plane transform 15830030 Streamlines: Update tests according to new surface code 9f3bdbc0 Streamlines: Fix Streamtracer surface option Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com> Reviewed-by:
Nicolas Vuaille <nicolas.vuaille@kitware.com> Merge-request: !11035
-
b794af44 Fix GLES 3.0 implementation of GetZbufferData 3e48ef48 Fix shader debugging file logic dcf1ff19 Fixed clip plane transform 15830030 Streamlines: Update tests according to new surface code 9f3bdbc0 Streamlines: Fix Streamtracer surface option Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com> Reviewed-by:
Nicolas Vuaille <nicolas.vuaille@kitware.com> Merge-request: !11035
-
- Apr 09, 2024
-
-
Spiros Tsalikis authored
When the dataset was empty is was printing that it can not handle it, while it can, but it is just empty.
-
- closes vtk/vtk#19296 - also increment `j` when code within the `#ifdef` block is not executed. - corrected the depth normalization to use maximum integer that can fit in the number of bits supported by the depth buffer instead of the max 32-bit integer. This is important for correct results when the depth buffer is not 32 bits wide. (cherry picked from commit cf2d7dd3)
-
- Apr 08, 2024
-
-
71add951 FiltersOpenTURNS: help with missing OpenTURNS usage requirements 0d17aa05 FiltersOpenTURNS: require OpenTURNS 1.12 or newer Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Acked-by:
Ryan Krattiger <ryan.krattiger@kitware.com> Merge-request: !10941
-
- Apr 05, 2024
-
-
2ed2f65a Fix warnings and add a release note. adf26e0b Change the signature of GenerateFileId(). 68ba603d Add a missing include. a8f7d065 Make some IOSS reader ivars protected, not private. 618c4e08 Move IOSS-reader internal class to its own file. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !11011
-
Ben Boeckel authored
The missing `find_dependency()` calls in the configuration file can't be fixed reliably here, but the missing preprocessor symbol will at least allow for a build to complete.
-
Ben Boeckel authored
The 1.12 release included a proper usgae interface that allows us to just use the target directly. We can also drop the `UseOpenTURNS` file as its purpose is handled by the imported target. Fixes: #19265
-
- if shader failed to compile, restore the source strings to the last working code. - otherwise, the shader code was never refreshed even after fixing the errors. (cherry picked from commit 20f7c8bf)
-