CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.72k stars 3.45k forks source link

Multiple Viewports #5214

Open bagnell opened 7 years ago

bagnell commented 7 years ago

Allow for multiple viewports/camera views in a single canvas.

The first option is more flexible but more complex. The second option is simpler but has a couple of constraints.

bagnell commented 7 years ago

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 ViewportQuad which isn't used anywhere. Can we remove it?

Where do we put the credits by default?

pjcozzi commented 7 years ago

CC #3001

bagnell commented 7 years ago

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.

bagnell commented 7 years ago

All of the widgets created by Viewer are constructed with a Scene. Which viewport should they use? If there is more than one viewport, should we disable them by default? Should we require explicit creation with a scene/viewport reference?

yoyomule commented 7 years ago

What is the current progress?

pjcozzi commented 7 years ago

@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.

lilleyse commented 6 years ago

Requested on the forum: https://groups.google.com/forum/#!topic/cesium-dev/vNyg1-fVvfw

pjcozzi commented 6 years ago

Partial support added in #6958.

OmarShehata commented 5 years ago

Requested again on the forum: https://groups.google.com/d/msg/cesium-dev/SUqz4UGrSMA/F-l1ZuRTBwAJ

There is a common need for monitoring system: Users want to see more then one screen at the same time and each screen show a map in 3D or 2D and display diffrent images. For example,the first shows satellite images in 3D ,the second shows road map in 2D, ..... They expect the multiple screens show the same data and synchronized. The data maybe come from server or mouse ploting.

DoubleYellowEgg commented 4 years ago

What is the current progress? Is there no follow-up to this question?