Skip to content

Consolidate VoxelBoundsCollection and ClippingPlaneCollection #12938

@jjhembd

Description

@jjhembd

VoxelBoundsCollection is very similar to ClippingPlaneCollection, with a few differences including:

  • VoxelBoundsCollection assumes floating point textures are supported
  • ClippingPlaneCollection stores the planes in the texture in model coordinates, and uploads a transform to be applied on the GPU. VoxelBoundCollection was reworked to store the planes in eye coordinates, for better precision when applied to global-scale models (see Use eye coordinates for voxel raymarching #12933).

The amount of code duplication adds something of a maintenance burden. We should consider refactoring these as one class.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions