Skip to content

Support for multiple views #147

@ryantrem

Description

@ryantrem

Currently in Babylon Native, the lifetime of the engine is tied to a single view. We should support multi-view. I would imagine this working by:

  1. Having a small Babylon object that controls the lifetime of the engine.
  2. Allow for multiple native views, where each one effectively registers a view exposed to Babylon.js.
  3. On the js side, basically make it work the same as multi-view with an HTML DOM (where there are multiple canvases (one per view) which are associated with cameras, and the render loop just renders each view). I imagine to do this we might need to introduce the concept of a view identity or name that can be matched up between the native side (where an EngineView is declared) and the js side (where we try to render a camera to a view).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions