[Bug] Issues in PR(Share GPU ressources across render windows) #3059
Labels
released
Automated label
type: bug 🐞
Errors in functionality
type: feature request 💡
Desired capabilities / enhancements
Bug description
About PR(#3051), It is a great solution for share GPU memory in vtk.js . I tried and find two issues.
renderer.getRenderWindow().getViews() return [] for some classes. If i use pick() in Picker.js, it will throw error "Uncaught TypeError: Cannot read properties of undefined (reading 'getViewportSize')" , I think 'renderWindow.addView(renderWindowView)' is missing after 'mainRenderWindowView.addMissingNode(renderWindow)' called
‘ImageResliceMapper’should also be changed same as 'VolumeMapper', beacause it's also use GPU to render MPR images.
Steps to reproduce
Detailed Behavior
No response
Expected Behavior
Environment
The text was updated successfully, but these errors were encountered: