Skip to content

[Feature] Add Multiscaling Anti Aliasing to WebGPU render window #3416

@MaxKopacz

Description

@MaxKopacz

Motivation

I would like a samplecount equivalent, like in webgl renderwindow, this is so I can do detailed and accurate vertex/edge/face manipulation in my preprocessing app like I would in native vtk/paraview/webgl. The aliasing in default webgpu is too coarse...

Detailed Description

I have implemented an explicit vtk-js side handling of this. WebGL lets the browser handle it as it owns the framebuffer, this isn't true in WebGPU, hence the need for this change.

Before:

Image

After:

Image

This will be my first contribution, so please let me know if I have not followed any guidlines or implemented something incorrectly. I have tested this locally on chrome with all the known combinations in my webapp. I have put together a pr which encomapsses my changes following the pr guidelines

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions