Skip to content

pygfx backgrounds in multiple scenes #57

@gselzer

Description

@gselzer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions