Closed RobertGemmaJr closed 2 years ago
I'm almost wondering if it will be worth it to have a different component for blending and when not (Scene.jsx
and BlendingScene.jsx
?) because the differences will be so vast. That might be a more logical separation - the user who does and doesn't want blending are interacting with VolumeViewer in much different ways.
Only one model will actually be displayed when
blending=Blending.None
. The first model withenabled=true
will be displayed.All of the other models should have
enabled=false
. The controls (<EnabledControls />
) will have to reflect this in state as well - whenever a different model is enabled the other one must become disabled. Perhaps it will be worth it to passed in aselected
prop to index themodels
array?