Skip to content
Snippets Groups Projects
  1. Feb 26, 2025
  2. Feb 25, 2025
  3. Feb 24, 2025
  4. Feb 23, 2025
  5. Feb 22, 2025
  6. Feb 21, 2025
    • Jaswant Panchumarti (Kitware)'s avatar
      Implement hardware selector in webgpu · d6fdc689
      Jaswant Panchumarti (Kitware) authored
      - This commit implements the features for hardware selector in vtkWebGPUHardwareSelector.
      - It implements the superclass `GetPixelInformation()` function to parse the contents of the Ids attachment into items of type `vtkHardwareSelector::PixelInformation`.
      - The new `TestHardwareSelector.cxx` exercises picking geometry in a single pixel and a rectangle of pixels using webgpu backend.
      d6fdc689
    • Jaswant Panchumarti (Kitware)'s avatar
      Add utility function to save an attachment of the webgpu render window to VTI · a8478e70
      Jaswant Panchumarti (Kitware) authored
      - This is a convenient function to write the attachment to a VTI file which can be later opened in ParaView for inspecting individual pixel values.
      - Supported outputs are color (rgb/rgba), depth and ids.
      - The `vti` file for Ids attachment will have a 4-component scalar array describing the cell id, prop id, composite id and process id.
      a8478e70
    • Jaswant Panchumarti (Kitware)'s avatar
      Write ids from webgpu shaders into the Ids attachment · 3a2b8020
      Jaswant Panchumarti (Kitware) authored
      - This commit adapts the shaders to write the cell, prop, composite and process id into the 4 channels of the Ids attachment.
      - All id values are written as 32-bit unsigned integers.
      - Merged `OverrideColorDescriptor` struct inside the `MeshAttributeDescriptor` to resolve padding issues which came up when the `CompositeID` and `ProcessID` members were added.
      3a2b8020
    • Jaswant Panchumarti (Kitware)'s avatar
      Clear the ids attachment in vtkWebGPURenderer::Clear · a523dd41
      Jaswant Panchumarti (Kitware) authored
      - This commit adds an additional Ids attachment to the render pass and updates the shader program which renders the "background" color to zero-initialize the Ids attachment
      a523dd41
Loading