Skip to content

feat(WebGPU): add ImageResliceMapper#3495

Open
daker wants to merge 2 commits intoKitware:masterfrom
daker:webgpu-imagereslicemapper
Open

feat(WebGPU): add ImageResliceMapper#3495
daker wants to merge 2 commits intoKitware:masterfrom
daker:webgpu-imagereslicemapper

Conversation

@daker
Copy link
Copy Markdown
Collaborator

@daker daker commented Apr 30, 2026

Context

Results

image image

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:

@finetjul finetjul requested a review from sankhesh May 4, 2026 07:35
Copy link
Copy Markdown
Collaborator

@sankhesh sankhesh left a comment

Choose a reason for hiding this comment

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

Some suggestions and questions. There's a merge conflict too.

I feel a lot of this code is duplicated between opengl and webgpu and should be shared in a common class. But that's not critical for this PR.

Comment thread Sources/Rendering/Core/ImageResliceMapper/example/index.js
Comment thread Sources/Rendering/Core/ImageResliceMapper/example/index.js
Comment thread Sources/Rendering/WebGPU/ImageResliceMapper/index.js Outdated
Comment thread Sources/Rendering/WebGPU/ImageResliceMapper/index.js Outdated
Comment thread Sources/Rendering/WebGPU/ImageResliceMapper/index.js Outdated
Comment thread Sources/Rendering/WebGPU/ImageResliceMapper/index.js Outdated
@daker daker force-pushed the webgpu-imagereslicemapper branch from 63faf08 to 1641c65 Compare May 7, 2026 00:57
@daker
Copy link
Copy Markdown
Collaborator Author

daker commented May 7, 2026

@sankhesh I can extract the shared code into common helpers for both WebGL and WebGPU. Do you think that's a good idea ?

@daker daker force-pushed the webgpu-imagereslicemapper branch from 1641c65 to 74487ba Compare May 7, 2026 11:53
@sankhesh
Copy link
Copy Markdown
Collaborator

sankhesh commented May 7, 2026

@sankhesh I can extract the shared code into common helpers for both WebGL and WebGPU. Do you think that's a good idea ?

Yes, it would be a good idea to have common code separated out.

@daker daker force-pushed the webgpu-imagereslicemapper branch from d5a63f0 to ab70567 Compare May 7, 2026 18:39
@daker daker requested a review from sankhesh May 7, 2026 18:51
Copy link
Copy Markdown
Collaborator

@sankhesh sankhesh left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants