Suppose you want to display a Scene through two different Views, each with a different background color. This is currently not possible, because the pygfx View adaptor adds a background to the underlying scene. Thus if that scene is part of two different views it will have two different backgrounds.
The fix is probably for each pygfx view to have its own pygfx scene which has as children:
- a background
- the
Scene adaptor it is supposed to display
Suppose you want to display a
Scenethrough two differentViews, each with a different background color. This is currently not possible, because the pygfxViewadaptor adds a background to the underlying scene. Thus if that scene is part of two different views it will have two different backgrounds.The fix is probably for each pygfx view to have its own pygfx scene which has as children:
Sceneadaptor it is supposed to display