vtkWebGPURenderWindow cannot render frame

I tried to hand device over to the module object, but that not functioning as expected.

That approach will not work. Please allow VTK to initialize the device.

But When I tried to run this example , vtkAxesActor results in a “null function or function signature mismatch” error during rendering, and for the gradient background color, only a single color seems to be displayed.

Yes, the vtkAxesActor, gradient background are some of the features that do not work with webgpu right now. Work is in progress.

Anyway, here are some cases where it runs successfully in WebGPU. It appears that I have only been using certain features of VTK.

Okay. We’re adding webgpu support for features that our paying customer is interested in. So far, those have been the polydata mapper, composite poyldata mapper, and the glyph mapper. As a result, you might see some VTK classes work in webgpu, others do not. However, it’s good to have early adopters from the community try out the VTK webgpu backend! Our customer is also interested in vtkAxesActor. It will be fixed.

1 Like