Skip to content

feat(WebGPU): add clipping plane support for polydata, volume and image#3464

Open
daker wants to merge 1 commit intoKitware:masterfrom
daker:feat-cropplanes
Open

feat(WebGPU): add clipping plane support for polydata, volume and image#3464
daker wants to merge 1 commit intoKitware:masterfrom
daker:feat-cropplanes

Conversation

@daker
Copy link
Copy Markdown
Collaborator

@daker daker commented Mar 31, 2026

Context

fixes : #2061

Results

Implement WebGPU clipping planes for polydata, image and volume rendering,

Use VolumeRenderingWithPolyData example for testing.

Changes

  • Documentation and TypeScript definitions were updated to match those changes

PR and Code Checklist

  • semantic-release commit messages
  • Run npm run reformat to have correctly formatted code

Testing

  • This change adds or fixes unit tests
  • Tested environment:
    • vtk.js:
    • OS:
    • Browser:

@daker daker force-pushed the feat-cropplanes branch 2 times, most recently from 9095a4b to fe8e279 Compare March 31, 2026 22:17
@daker daker mentioned this pull request Mar 31, 2026
11 tasks
@daker
Copy link
Copy Markdown
Collaborator Author

daker commented Apr 7, 2026

@sankhesh would you mind doing a quick code review?

Copy link
Copy Markdown
Member

@finetjul finetjul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally speaking, there are lots of duplication. Could you come up with a "helper" that gets injected into the mappers ?

@daker
Copy link
Copy Markdown
Collaborator Author

daker commented Apr 7, 2026

@finetjul thanks for the code review, i will try to improve the code.

@daker daker force-pushed the feat-cropplanes branch 2 times, most recently from 5fd1cde to c0f81bf Compare April 8, 2026 08:58
@daker daker requested a review from finetjul April 8, 2026 08:59
Implement WebGPU clipping planes in CellArrayMapper, VolumePassFSQ
and ImageMapper.
@daker daker force-pushed the feat-cropplanes branch from c0f81bf to bd2cbde Compare April 8, 2026 09:04
@daker daker changed the title feat(webgpu): add clipping plane support for polydata, volume and image feat(WebGPU): add clipping plane support for polydata, volume and image Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add crop planes to the polydata mapper in WebGPU

3 participants