Comments (4)
I prefer Option 2 for its brevity. This sounds like a great addition.
from deck.gl.
My vote:
- I prefer to avoid nested props for a few reasons, so option 1.
- Also we technically may not need the
clear
flag as omitting the color could be enough.
I am assuming that we do clear the framebuffer once before we start rendering the views, regardless of what the views state. I.e. the clear flags in the views are for controlling the composition of multiple views.
- For reference, I updated the luma.gl
RenderPass
docs to reflect the current situation there, though changes to that API have been briefly discussed, so maybe we shouldn't try too hard to match it. - Notable is that the depthBuffer clear value can be specified, rather than just
true
orfalse
. But that probably doesn't make sense for views as they all would need to follow the same depth buffer conventions.
from deck.gl.
I'm also fine with option 1.
from deck.gl.
FYI this will need to be in 9.1 because currently, we use a single render pass to draw all views. There are overlaps between LayersPassRenderOptions
and the proposed view options (clearColor
, clearCanvas
). I suspect there will be some tricky corner cases in conflict resolution as we test the implementation.
from deck.gl.
Related Issues (20)
- [Feat] Simplified peerDependencies policy HOT 7
- [Bug] getPickingInfo doesn't work with Map/Set data HOT 4
- [Bug]Using @deck.gl/[email protected]: deck.getTooltip({object}) the parameter object is undefined. HOT 4
- Warning message from @luma.gl HOT 1
- [Doc] OpenLayers example HOT 1
- [Bug] HeatmapLayer breaks when used with DataFilterExtension and other extensions
- [Bug] cannot reference the same b3dm HOT 1
- [Bug] Tile3DLayer interleaved with Mapbox causes mapbox tiles to flicker HOT 2
- [Doc] AttributeManager.addInstanced behaviour change on upgrade to deck.gl 9.x HOT 2
- [Bug] Widget stylesheet not exported properly HOT 1
- [Doc] Fix code example mistake (using-with-maplibre section)
- MVTLayer zooming artifacts on Deck.GL own documentation website
- [Bug] Widgets render below `react-map-gl` basemap HOT 1
- [Bug] GoogleMapsOverlay misaligns layers with raster basemap in initial render
- [Bug] MVT Layer renders tile incorrectly.
- [Bug] html2canvas Fails with preserveDrawingBuffer: true in deck.gl HOT 2
- [Feat] change ScatterplotLayer position by using fbo texture
- [Bug] MVTLayer layer breaks when used with the DataFilterExtension HOT 1
- [Bug] Typings for depthTest parameters not defined HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deck.gl.