-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Viewports #5214
Comments
We have an overlay pass. Do we want to execute those on the entire canvas or each viewport? It's only used for the shadow map debug views and Where do we put the credits by default? |
CC #3001 |
Having different scene modes will be possible with the first option. Would it be possible with the second? Are we maintaining backwards compatibility? It would be difficult with the first option, probably easy for the second option. |
All of the widgets created by |
What is the current progress? |
@yoyomule there is initial work in the viewports branch; however, it requires pretty significant changes to the core rendering engine so we couldn't justify the effort at the time. We'll revisit, but the timeline is TBA. You are welcome to pick up this work sooner if you are interested, see CONTRIBUTING.md. |
Requested on the forum: https://groups.google.com/forum/#!topic/cesium-dev/vNyg1-fVvfw |
Partial support added in #6958. |
Requested again on the forum: https://groups.google.com/d/msg/cesium-dev/SUqz4UGrSMA/F-l1ZuRTBwAJ
|
What is the current progress? |
Here's a use case on the forum where a user would like to use one DataSourceCollection (i.e. list of entities) across multple views: https://community.cesium.com/t/shareddatasources/35455/3 |
Specifically one would like to control the culling of tileset a bit more flexibly. Memory is costly here, so adding a second viewer is not quite the option and not helping with the culling issue at all. Out-of-frustum tiles get unloaded way to early and can cause faulty/flickering shadows in the scene. and a discussion on Unity: I'm not aware of a similar issue for JS, but having more control of Tileset culling and loading could certainly be welcome. This also affects Terrain Tiles to some lesser extent. |
Allow for multiple viewports/camera views in a single canvas.
SceneManager
containing multipleScene
sSceneManager
contains all non-view dependent primitives.Scene
contains a copy of view dependent primitives.Globe
Scene
with a list ofViewport
s that contain a camera and viewport rectangle.The first option is more flexible but more complex. The second option is simpler but has a couple of constraints.
PrimitiveCollection
.ScreenSpaceCameraController
needs to know which viewport the input originated in.div
s. Potentially expensive.The text was updated successfully, but these errors were encountered: