Skip to content

Commit

Permalink
Merge 01c3d82 into a0f12e5
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed May 29, 2019
2 parents a0f12e5 + 01c3d82 commit d18da6d
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/upgrade-guide.md
Expand Up @@ -6,6 +6,10 @@ Breaking Changes:

- Fixed a bug where `coordinateOrigin`'s `z` is not applied in `METER_OFFSETS` and `LNGLAT_OFFSETS` coordinate systems.

Deprecations:

- `getColor` props in `ColumnLayer` and `H3HexagonLayer` are deprecated. Use `getLineColor` and `getFillColor` instead.

## Upgrading from deck.gl v6.4 to v7.0

#### Submodule Structure and Dependency Changes
Expand Down
47 changes: 46 additions & 1 deletion docs/whats-new.md
Expand Up @@ -6,12 +6,57 @@ This page contains highlights of each deck.gl release. Also check our [vis.gl bl

Release Date: 2019

### ScenegraphLayer
### Post-processing Effects

A new `PostProcessEffect` class, working with `@luma.gl/effects` module, offers screen-space post-processing effects such as blur, noise, halftone, edge, etc.

<!-- Screenshots -->

### Layer Enhancements

#### GPULayer

Added `gpuAggregation` prop to perform grid aggregation on the GPU. This feature greatly improves aggregation performance when working with a large amount of data in WebGL2-enabled browsers.

<!-- Perf metrics table -->

#### ColumnLayer & H3HexagonLayer

- Now support drawing outline. In 3D mode (extruded), set `wireframe: true`. In 2D mode, enable stroke by setting `stroked: true` with `getLineWidth`, `getLineColor` among other stroke options.
- Improved the performance of `H3HexagonLayer`.

#### PathLayer

- Added `billboard` prop for screen space extrusion when rendering 3D paths
- Improved precision of joint calculation

#### ScenegraphLayer

- Added `getScene` and `getAnimator` to allow more flexibility when loading models.
- Experimental `_lighting` property for PBR lighting.
- Experimental `_imageBasedLightingEnvironment` property for image-based lighting.

### 64-bit Precision in Info-vis

`OrthographicView` and `OrbitView` now also support 64-bit projection, with no extra code changes required. This greatly improves the visual quality when rendering very large and/or dense graphs.

### Use react-map-gl Components with DeckGL

For React users, it is now easy to use [react-map-gl](http://uber.github.io/react-map-gl/#/Examples/markers-popups) components with DeckGL, including DOM-based markers and popups, navigation control, fullscreen control and geolocate control. This can be done by supplying the `ContextProvider` prop on `DeckGL`:

```jsx
/// Example using react-map-gl controls with deck.gl
import DeckGL from '@deck.gl/react';
import {_MapContext as MapContext, NavigationControl} from 'react-map-gl';

<DeckGL ... ContextProvider={MapContext.Provider}>
<div style={{margin: 10, position: 'absolute', zIndex: 1}}>
<NavigationControl />
</div>
</DeckGL>
```


## deck.gl v7.0

Release Date: April 19, 2019
Expand Down

0 comments on commit d18da6d

Please sign in to comment.