From b4e141f9fd9ba4dead3dc4fcb032b6a5cc710de1 Mon Sep 17 00:00:00 2001 From: Tarek Sherif Date: Thu, 16 Apr 2020 10:30:22 -0400 Subject: [PATCH] Update links (#1376) --- README.md | 6 ++-- dev-docs/RFCs/README.md | 2 +- .../enhanced-transform-feedback-api-rfc.md | 2 +- dev-docs/RFCs/v6.1/loader-module-rfc.md | 2 +- .../RFCs/v6.2/transform-webgl1-support-rfc.md | 2 +- dev-docs/RFCs/v7.0/offscreen-render-rfc.md | 4 +-- dev-docs/RFCs/v7.1/animation-timeline-rfc.md | 2 +- .../RFCs/v7.1/shader-module-injection-rfc.md | 4 +-- dev-docs/RFCs/v7.3/program-manager-rfc.md | 2 +- dev-docs/RFCs/v8.0/luma-refactor.md | 20 ++++++------- .../automatic-shader-module-injection-rfc.md | 2 +- .../vNext/reduce-distribution-size-rfc.md | 4 +-- .../package.json | 2 +- .../package.json | 4 +-- docs/README.md | 18 +++++------ docs/getting-started/hello-cube.md | 2 +- docs/getting-started/whats-next.md | 2 +- docs/whats-new.md | 30 +++++++++---------- modules/constants/README.md | 6 ++-- modules/constants/package.json | 2 +- modules/core/README.md | 8 ++--- modules/core/package.json | 2 +- modules/debug/package.json | 2 +- modules/engine/package.json | 2 +- modules/experimental/package.json | 2 +- modules/gltools/package.json | 2 +- modules/shadertools/package.json | 2 +- modules/shadertools/src/lib/inject-shader.js | 2 +- .../shadertools/src/lib/transpile-shader.js | 2 +- modules/test-utils/package.json | 2 +- modules/webgl/package.json | 2 +- modules/webgl/src/utils/stub-methods.js | 2 +- package.json | 2 +- .../animation-loop-example-page.jsx | 2 +- 34 files changed, 76 insertions(+), 76 deletions(-) diff --git a/README.md b/README.md index c62e04f2c..360685d75 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@

-

luma.gl | Docs

+

luma.gl | Docs

luma.gl: High-performance Toolkit for WebGL-based Data Visualization
@@ -29,8 +29,8 @@ luma.gl is a WebGL toolkit focused primarily on data visualization use cases. lu Unlike many other WebGL APIs, however, the developer can choose to use the parts of luma.gl that support their use case and leave the others behind. While generic enough to be used for general 3D rendering, luma.gl's mandate is primarily to support GPU needs of data visualization frameworks in the vis.gl suite, such as: -* [kepler.gl](https://github.com/uber/kepler.gl) a powerful open source geospatial analysis tool for large-scale data sets -* [deck.gl](https://github.com/uber/deck.gl) a WebGL-powered framework for visual exploratory data analysis of large data sets +* [kepler.gl](https://github.com/keplergl/kepler.gl) a powerful open source geospatial analysis tool for large-scale data sets +* [deck.gl](https://github.com/visgl/deck.gl) a WebGL-powered framework for visual exploratory data analysis of large data sets * [streetscape.gl](https://github.com/uber/streetscape.gl) A visualization toolkit for autonomy and robotics data encoded in the XVIZ protocol diff --git a/dev-docs/RFCs/README.md b/dev-docs/RFCs/README.md index f0d041c64..e7136a83a 100644 --- a/dev-docs/RFCs/README.md +++ b/dev-docs/RFCs/README.md @@ -59,7 +59,7 @@ These are early ideas not yet associated with any release | RFC | Author | Status | Description | | --- | --- | --- | --- | | [**Multipass Rendering**](v6.1/multipass-rendering-rfc.md) | @ibgreen | **Implemented** | Multipass rendering system for postprocessing effects and advanced rendering | -| [**New Loaders Module**](v6.1/loader-module-rfc.md) | @ibgreen | **Implemented** | New loaders.gl submodule collecting framework-agnostic, thread-capable 3D format loaders. Note: The loaders have been moved to a separate [repository](https://github.com/uber-web/loaders.gl) | +| [**New Loaders Module**](v6.1/loader-module-rfc.md) | @ibgreen | **Implemented** | New loaders.gl submodule collecting framework-agnostic, thread-capable 3D format loaders. Note: The loaders have been moved to a separate [repository](https://github.com/visgl/loaders.gl) | ## v6.0 RFCs diff --git a/dev-docs/RFCs/v5.2/enhanced-transform-feedback-api-rfc.md b/dev-docs/RFCs/v5.2/enhanced-transform-feedback-api-rfc.md index 00a24f737..18c5fdabe 100644 --- a/dev-docs/RFCs/v5.2/enhanced-transform-feedback-api-rfc.md +++ b/dev-docs/RFCs/v5.2/enhanced-transform-feedback-api-rfc.md @@ -5,7 +5,7 @@ * **Status**: **Implemented** Notes: -* Please add comments as reviews to the [PR](https://github.com/uber/luma.gl/pull/398) +* Please add comments as reviews to the [PR](https://github.com/visgl/luma.gl/pull/398) ## Overview diff --git a/dev-docs/RFCs/v6.1/loader-module-rfc.md b/dev-docs/RFCs/v6.1/loader-module-rfc.md index b77987e1e..bef0f358b 100644 --- a/dev-docs/RFCs/v6.1/loader-module-rfc.md +++ b/dev-docs/RFCs/v6.1/loader-module-rfc.md @@ -7,7 +7,7 @@ ## Note -loaders.gl was moved from a luma.gl submodule to a separate repository [loaders.gl](https://github.com/uber-web/loaders.gl). This RFC was ultimately moved there. +loaders.gl was moved from a luma.gl submodule to a separate repository [loaders.gl](https://github.com/visgl/loaders.gl). This RFC was ultimately moved there. ## Proposal diff --git a/dev-docs/RFCs/v6.2/transform-webgl1-support-rfc.md b/dev-docs/RFCs/v6.2/transform-webgl1-support-rfc.md index a1e825034..1c89c4375 100644 --- a/dev-docs/RFCs/v6.2/transform-webgl1-support-rfc.md +++ b/dev-docs/RFCs/v6.2/transform-webgl1-support-rfc.md @@ -30,7 +30,7 @@ Size of the target should be such that it has one pixel per each expected output #### Option#1 Framebuffer -We can create a texture and use it as color attachment to a `Framebuffer` object. There might be limitation on some of the browsers using FLOAT texture as render target, for example Safari doesn't support `WEBGL_color_buffer_float` hence a float texture can't be used as color attachment. We might be able to overcome this issue using recently added [pack](https://github.com/uber/luma.gl/blob/7.0-release/modules/effects/src/modules/pack.md) shader module of luma.gl. +We can create a texture and use it as color attachment to a `Framebuffer` object. There might be limitation on some of the browsers using FLOAT texture as render target, for example Safari doesn't support `WEBGL_color_buffer_float` hence a float texture can't be used as color attachment. We might be able to overcome this issue using recently added [pack](https://github.com/visgl/luma.gl/blob/7.0-release/modules/effects/src/modules/pack.md) shader module of luma.gl. #### Option#2 System color buffer diff --git a/dev-docs/RFCs/v7.0/offscreen-render-rfc.md b/dev-docs/RFCs/v7.0/offscreen-render-rfc.md index 23fbc04db..149caf67d 100644 --- a/dev-docs/RFCs/v7.0/offscreen-render-rfc.md +++ b/dev-docs/RFCs/v7.0/offscreen-render-rfc.md @@ -6,8 +6,8 @@ Notes: -* Initial implementation of OffscreenAnimationLoop [#453](https://github.com/uber/luma.gl/pull/453) -* Example usage of OffscreenAnimationLoop [#454](https://github.com/uber/luma.gl/pull/454) +* Initial implementation of OffscreenAnimationLoop [#453](https://github.com/visgl/luma.gl/pull/453) +* Example usage of OffscreenAnimationLoop [#454](https://github.com/visgl/luma.gl/pull/454) ## Motivation diff --git a/dev-docs/RFCs/v7.1/animation-timeline-rfc.md b/dev-docs/RFCs/v7.1/animation-timeline-rfc.md index 6e253e1af..acfe66dd0 100644 --- a/dev-docs/RFCs/v7.1/animation-timeline-rfc.md +++ b/dev-docs/RFCs/v7.1/animation-timeline-rfc.md @@ -86,7 +86,7 @@ The `time` property provided in `animationProps` will be the value returned by ` ## Integration with GLTFAnimaton -Integration with `GLTFAnimation`should amount to simply passing the timeline object, and optionally a channel handle to the constructor. Then the [animate method](https://github.com/uber/luma.gl/blob/7.0-release/modules/addons/src/gltf/gltf-animator.js) would simply use `timeline.getTime()` to update rather than receiving the `timeMs` argument. +Integration with `GLTFAnimation`should amount to simply passing the timeline object, and optionally a channel handle to the constructor. Then the [animate method](https://github.com/visgl/luma.gl/blob/7.0-release/modules/addons/src/gltf/gltf-animator.js) would simply use `timeline.getTime()` to update rather than receiving the `timeMs` argument. Significant advantages of this approach over the current one are that animation become controlable by the application and it becomes straightforward to orchestrate multiple glTF animations of arbitrary duration into customizable application-defined animation sequences. diff --git a/dev-docs/RFCs/v7.1/shader-module-injection-rfc.md b/dev-docs/RFCs/v7.1/shader-module-injection-rfc.md index 21e3936ec..6ff3bdedc 100644 --- a/dev-docs/RFCs/v7.1/shader-module-injection-rfc.md +++ b/dev-docs/RFCs/v7.1/shader-module-injection-rfc.md @@ -87,7 +87,7 @@ setModuleInjection('fs', 'picking', { If the picking module were included, the function `MYHOOK_fragmentColor` would be updated to modify the input color. Without the picking module, the function would remain a no-op. -I've created a proof-of-concept of the proposed mechanism in this branch: https://github.com/uber/luma.gl/tree/module-injections -Sample usage can be seen in a modified version of the instancing example (in which both picking and lighting are handled via injections): https://github.com/uber/luma.gl/blob/ec879f143ebfeec2fe55c1a2c17b60f55cf06c9b/examples/core/instancing/app.js#L134-L156 +I've created a proof-of-concept of the proposed mechanism in this branch: https://github.com/visgl/luma.gl/tree/module-injections +Sample usage can be seen in a modified version of the instancing example (in which both picking and lighting are handled via injections): https://github.com/visgl/luma.gl/blob/ec879f143ebfeec2fe55c1a2c17b60f55cf06c9b/examples/core/instancing/app.js#L134-L156 diff --git a/dev-docs/RFCs/v7.3/program-manager-rfc.md b/dev-docs/RFCs/v7.3/program-manager-rfc.md index ae4ffc527..9be5e03a0 100644 --- a/dev-docs/RFCs/v7.3/program-manager-rfc.md +++ b/dev-docs/RFCs/v7.3/program-manager-rfc.md @@ -19,7 +19,7 @@ Creation and management of programs is currently handled by several systems in l - Caching and re-use of programs is handled by `ShaderCache`, which is currently limited in that it scopes caches to `BaseModel` objects meaning that `BaseModel`s cannot share programs (this is due to an easily-remedied limitation in the `BaseModel` class that it doesn't set uniforms per-draw). Issues with the current system include: -- These systems are currently only consolidated around the `BaseModel` class, which treats programs as immutable. This means that modifying programs and taking advantage of these system involves re-constructing the entire `BaseModel`. This complicates interaction with programs as they and parameters that modify their source must generally be treated as immutable and separated out from mutable properties (e.g. the [data filter layer extension](https://github.com/uber/deck.gl/blob/6113d2c8984c406e9df59c16f19630a18f36c42d/modules/extensions/src/data-filter/data-filter.js#L42) in deck.gl has to handle `filterSize` and `softMargin` separately from other props because they modify the shader code). +- These systems are currently only consolidated around the `BaseModel` class, which treats programs as immutable. This means that modifying programs and taking advantage of these system involves re-constructing the entire `BaseModel`. This complicates interaction with programs as they and parameters that modify their source must generally be treated as immutable and separated out from mutable properties (e.g. the [data filter layer extension](https://github.com/visgl/deck.gl/blob/6113d2c8984c406e9df59c16f19630a18f36c42d/modules/extensions/src/data-filter/data-filter.js#L42) in deck.gl has to handle `filterSize` and `softMargin` separately from other props because they modify the shader code). - Shader hooks and module injections are global state meaning that an application that imports luma.gl must use the same definitions globally (a case where one might not want this is when rendering to separate canvases on the same page). - Caching being limited per-model presents serious performance concerns as program compilation is expensive, and program switching is among the more expensive GL state changes (this would be a concern, for example, in deck.gl when rendering multiple instances of the same layer). - With out a centralized system for managing programs, it will be difficult to take advantage of optimizations that require batching program operations, such `KHR_parallel_shader_compile`. diff --git a/dev-docs/RFCs/v8.0/luma-refactor.md b/dev-docs/RFCs/v8.0/luma-refactor.md index b4efd3397..c66c099ae 100644 --- a/dev-docs/RFCs/v8.0/luma-refactor.md +++ b/dev-docs/RFCs/v8.0/luma-refactor.md @@ -54,16 +54,16 @@ The actual refactor of luma.gl would occur in three phases: ### Clean Out Unused Code This will warrant some discussion. The following are systems I believe should be considered for removal or consolidation: -- [BaseModel](https://github.com/uber/luma.gl/blob/7.2-release/modules/core/src/lib/base-model.js) and [Model](https://github.com/uber/luma.gl/blob/7.2-release/modules/core/src/lib/model.js) - can be consolidated for simplicity as there are no other subclasses of `BaseModel` -- [CameraNode](https://github.com/uber/luma.gl/blob/7.2-release/modules/core/src/scenegraph/nodes/camera-node.js) - Appears unused -- [Uniform animations](https://github.com/uber/luma.gl/blob/7.2-release/modules/core/src/lib/base-model.js#L280-L333) - Complex, unused, and the `_extractAnimatedUniforms` method appears as 12th most costly function in the [deck.gl stress test](https://github.com/uber/deck.gl/tree/master/test/apps/stress-tests) CPU profile without there being any animated uniforms in the test scene. -- [ShaderCache](https://github.com/uber/luma.gl/blob/7.2-release/modules/core/src/lib/shader-cache.js) - Superseded by `ProgramManager` -- [core/lighting](https://github.com/uber/luma.gl/blob/7.2-release/modules/core/src/lighting/light-source.js), [core/materials](https://github.com/uber/luma.gl/tree/7.2-release/modules/core/src/materials) - currently empty or simple data classes -- [core/multipass](https://github.com/uber/luma.gl/tree/7.2-release/modules/core/src/multipass) - Appears unused (has it been superseded by deck effects?) -- [seer integration](https://github.com/uber/luma.gl/blob/7.2-release/modules/core/src/debug/seer-integration.js) - Complex and will interfere with other parts of the system if enabled (e.g. [GPU timing](https://github.com/uber/luma.gl/blob/7.2-release/modules/core/src/lib/base-model.js#L337-L376)). The `getOverrides` function appears as 6th most costly function in the [deck.gl stress test](https://github.com/uber/deck.gl/tree/master/test/apps/stress-tests) CPU profile without seer being active. -- [debug/parameter-definitions](https://github.com/uber/luma.gl/blob/7.2-release/modules/debug/src/webgl-api-tracing/parameter-definitions.js) - Appears unused -- [main module](https://github.com/uber/luma.gl/tree/7.2-release/modules/main) - Appears unused -- [core/geometry](https://github.com/uber/luma.gl/tree/7.2-release/modules/core/src/geometries) - Move to math.gl +- [BaseModel](https://github.com/visgl/luma.gl/blob/7.2-release/modules/core/src/lib/base-model.js) and [Model](https://github.com/visgl/luma.gl/blob/7.2-release/modules/core/src/lib/model.js) - can be consolidated for simplicity as there are no other subclasses of `BaseModel` +- [CameraNode](https://github.com/visgl/luma.gl/blob/7.2-release/modules/core/src/scenegraph/nodes/camera-node.js) - Appears unused +- [Uniform animations](https://github.com/visgl/luma.gl/blob/7.2-release/modules/core/src/lib/base-model.js#L280-L333) - Complex, unused, and the `_extractAnimatedUniforms` method appears as 12th most costly function in the [deck.gl stress test](https://github.com/visgl/deck.gl/tree/master/test/apps/stress-tests) CPU profile without there being any animated uniforms in the test scene. +- [ShaderCache](https://github.com/visgl/luma.gl/blob/7.2-release/modules/core/src/lib/shader-cache.js) - Superseded by `ProgramManager` +- [core/lighting](https://github.com/visgl/luma.gl/blob/7.2-release/modules/core/src/lighting/light-source.js), [core/materials](https://github.com/visgl/luma.gl/tree/7.2-release/modules/core/src/materials) - currently empty or simple data classes +- [core/multipass](https://github.com/visgl/luma.gl/tree/7.2-release/modules/core/src/multipass) - Appears unused (has it been superseded by deck effects?) +- [seer integration](https://github.com/visgl/luma.gl/blob/7.2-release/modules/core/src/debug/seer-integration.js) - Complex and will interfere with other parts of the system if enabled (e.g. [GPU timing](https://github.com/visgl/luma.gl/blob/7.2-release/modules/core/src/lib/base-model.js#L337-L376)). The `getOverrides` function appears as 6th most costly function in the [deck.gl stress test](https://github.com/visgl/deck.gl/tree/master/test/apps/stress-tests) CPU profile without seer being active. +- [debug/parameter-definitions](https://github.com/visgl/luma.gl/blob/7.2-release/modules/debug/src/webgl-api-tracing/parameter-definitions.js) - Appears unused +- [main module](https://github.com/visgl/luma.gl/tree/7.2-release/modules/main) - Appears unused +- [core/geometry](https://github.com/visgl/luma.gl/tree/7.2-release/modules/core/src/geometries) - Move to math.gl ### Structure Modules Around Meaningful Themes diff --git a/dev-docs/RFCs/vNext/automatic-shader-module-injection-rfc.md b/dev-docs/RFCs/vNext/automatic-shader-module-injection-rfc.md index 437bb92b9..89ccce306 100644 --- a/dev-docs/RFCs/vNext/automatic-shader-module-injection-rfc.md +++ b/dev-docs/RFCs/vNext/automatic-shader-module-injection-rfc.md @@ -7,7 +7,7 @@ References -* A related system is described here [Shader Fragment Injection](https://github.com/uber/luma.gl/blob/7.0-release/dev-docs/RFCs/v6.0/shader-fragment-injection-rfc.md) +* A related system is described here [Shader Fragment Injection](https://github.com/visgl/luma.gl/blob/7.0-release/dev-docs/RFCs/v6.0/shader-fragment-injection-rfc.md) ## Overview diff --git a/dev-docs/RFCs/vNext/reduce-distribution-size-rfc.md b/dev-docs/RFCs/vNext/reduce-distribution-size-rfc.md index 9e3c4d9b4..cbdd6101c 100644 --- a/dev-docs/RFCs/vNext/reduce-distribution-size-rfc.md +++ b/dev-docs/RFCs/vNext/reduce-distribution-size-rfc.md @@ -6,8 +6,8 @@ References: -* See luma.gl issue [#234](https://github.com/uber/luma.gl/issues/234) -* Most ideas in [deck.gl size reduction RFC](https://github.com/uber/deck.gl/blob/master/dev-docs/RFCs/v6.0/reduce-distribution-size-rfc.md) apply here. +* See luma.gl issue [#234](https://github.com/visgl/luma.gl/issues/234) +* Most ideas in [deck.gl size reduction RFC](https://github.com/visgl/deck.gl/blob/master/dev-docs/RFCs/v6.0/reduce-distribution-size-rfc.md) apply here. ## Summary diff --git a/dev-modules/babel-plugin-inline-webgl-constants/package.json b/dev-modules/babel-plugin-inline-webgl-constants/package.json index c34f1ac22..0fcc375af 100644 --- a/dev-modules/babel-plugin-inline-webgl-constants/package.json +++ b/dev-modules/babel-plugin-inline-webgl-constants/package.json @@ -6,7 +6,7 @@ "author": "Ib Green", "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "keywords": [ "babel-plugin", diff --git a/dev-modules/babel-plugin-remove-glsl-comments/package.json b/dev-modules/babel-plugin-remove-glsl-comments/package.json index b8db0dbe5..815a00e53 100644 --- a/dev-modules/babel-plugin-remove-glsl-comments/package.json +++ b/dev-modules/babel-plugin-remove-glsl-comments/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "keywords": [ "babel-plugin", @@ -16,4 +16,4 @@ "dependencies": { "minimatch": "^3.0.0" } -} \ No newline at end of file +} diff --git a/docs/README.md b/docs/README.md index 8428ef6f9..5eb10ecd1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -6,26 +6,26 @@ luma.gl is a high-performance toolkit for WebGL-based data visualization. luma.g ## Versions These docs are for - + Looking for an older version? - + - + - + - + - + - + @@ -46,7 +46,7 @@ For some powerful examples of what can be achieved with luma.gl, take a look at We share information about the direction of luma.gl in the following ways: -* **[RFCs](https://github.com/uber/luma.gl/tree/7.3-release/dev-docs/RFCs)** - RFCs are technical writeups that describe proposed features in upcoming releases. +* **[RFCs](https://github.com/visgl/luma.gl/tree/7.3-release/dev-docs/RFCs)** - RFCs are technical writeups that describe proposed features in upcoming releases. * **[Roadmap Document](https://luma.gl/#/documentation/overview/roadmap)** - (this document) A high-level summary of our current direction for future releases. * **[Blog](https://medium.com/@vis.gl)** - We use the vis.gl blog to share information about what we are doing. -* **[Github Issues](https://github.com/uber/luma.gl/issues)** - The traditional way to start or join a discussion. +* **[Github Issues](https://github.com/visgl/luma.gl/issues)** - The traditional way to start or join a discussion. diff --git a/docs/getting-started/hello-cube.md b/docs/getting-started/hello-cube.md index 8bbbfbf2b..2c8dbd2cb 100644 --- a/docs/getting-started/hello-cube.md +++ b/docs/getting-started/hello-cube.md @@ -77,7 +77,7 @@ The set up to render in 3D involves a few extra steps compared to the triangles ``` Some of the new techniques we're leveraging here are: - Using `setParameters` to set up depth testing and ensure surfaces occlude each other properly. Compared to setting these parameters directly, the `setParameters` function has the advantage of tracking state and preventing redundant WebGL calls. -- Creating a texture using the `Texture2D` class. For our purposes, this is as simple as passing a URL to the image location (the image used in this tutorial is available [here](https://github.com/uber/luma.gl/tree/8.1-release/examples/api/cubemap/vis-logo.png), but any JPEG or PNG image will do). +- Creating a texture using the `Texture2D` class. For our purposes, this is as simple as passing a URL to the image location (the image used in this tutorial is available [here](https://github.com/visgl/luma.gl/tree/8.1-release/examples/api/cubemap/vis-logo.png), but any JPEG or PNG image will do). - Creating view and MVP matrices using **math.gl**'s `Matrix4` class to store the matrices we'll pass to our shaders to perform the animation and perspective projection. - Generating attribute data using the `CubeGeometry` class and passing it to our `Model` using the `geometry` property. The geometry will automatically feed vertex position data into the `positions` attribute and texture coordinates (or UV coordinates) into the `texCoords` attribute. diff --git a/docs/getting-started/whats-next.md b/docs/getting-started/whats-next.md index 7e34f492c..24a8e74c3 100644 --- a/docs/getting-started/whats-next.md +++ b/docs/getting-started/whats-next.md @@ -1,6 +1,6 @@ # What's Next? -That concludes our **luma.gl** tutorial series. If you went through the full set of tutorials, you've taken a deep dive into some of **luma.gl**'s more powerful features, including polyfilling the WebGL context, shader modules and composition, instanced drawing, and transform feedback. To dig deeper into **luma.gl**'s API, we recommend playing around with the examples in the [examples directory](https://github.com/uber/luma.gl/tree/8.1-release/examples/core) of the repository, which demonstrate various parts of the API in more detail. They can also be browsed on the [website](https://luma.gl/examples). +That concludes our **luma.gl** tutorial series. If you went through the full set of tutorials, you've taken a deep dive into some of **luma.gl**'s more powerful features, including polyfilling the WebGL context, shader modules and composition, instanced drawing, and transform feedback. To dig deeper into **luma.gl**'s API, we recommend playing around with the examples in the [examples directory](https://github.com/visgl/luma.gl/tree/8.1-release/examples/core) of the repository, which demonstrate various parts of the API in more detail. They can also be browsed on the [website](https://luma.gl/examples). To explore the examples, clone the **luma.gl** repo and run the following in a given example's directory: diff --git a/docs/whats-new.md b/docs/whats-new.md index 2d7637c64..6c05252c6 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -139,11 +139,11 @@ Date: April 19, 2019 - +

glTF Support

- +

PBR (Physically Based Rendering)

@@ -153,9 +153,9 @@ Date: April 19, 2019 ### glTF Support - + -luma.gl can now load 3D models and scenegraphs in the popular [glTF™](https://www.khronos.org/gltf/) asset format (with the help of the loaders.gl [GLTFLoader](https://github.com/uber-web/loaders.gl/blob/master/website/docs/api-reference/gltf-loaders/gltf-loader.md). All variants of glTF 2.0 are supported, including binary `.glb` files as well as JSON `.gltf` files with binary assets in base64 encoding or in separate files. The Draco Mesh compression extension is also supported. +luma.gl can now load 3D models and scenegraphs in the popular [glTF™](https://www.khronos.org/gltf/) asset format (with the help of the loaders.gl [GLTFLoader](https://github.com/visgl/loaders.gl/blob/master/website/docs/api-reference/gltf-loaders/gltf-loader.md). All variants of glTF 2.0 are supported, including binary `.glb` files as well as JSON `.gltf` files with binary assets in base64 encoding or in separate files. The Draco Mesh compression extension is also supported. - **Physically-based Material Support**: Ensures that PBR models display as intended. - **Scenegraph Improvements**: The Scenegraph classes have been refactored to ensure support for glTF objects. @@ -256,7 +256,7 @@ Uniforms are now cached at `Program` object, which improves performance by elimi ### Offscreen Rendering (Experimental) -A new experimental class `AnimationLoopProxy` supports running an `AnimationLoop` on a worker thread using the `OffscreenCanvas` API made official in Chrome 70. For more detatils, see [API documentation](/docs/api-reference/core/animation-loop-proxy.md) and [example app](https://github.com/uber/luma.gl/tree/7.3-release/test/apps/wip/worker). +A new experimental class `AnimationLoopProxy` supports running an `AnimationLoop` on a worker thread using the `OffscreenCanvas` API made official in Chrome 70. For more detatils, see [API documentation](/docs/api-reference/core/animation-loop-proxy.md) and [example app](https://github.com/visgl/luma.gl/tree/7.3-release/test/apps/wip/worker). ## Version 6.2 @@ -267,11 +267,11 @@ Date: September 12, 2018 - +

glfx port using ShaderModulePass

- +

Transform: edge detection

@@ -295,11 +295,11 @@ Date: Target August 31, 2018 - +

Ambient Occlusion Render Pass

- +

Edge Detection Render Pass

@@ -342,7 +342,7 @@ Date: July 18, 2018 - +

WebGL Improvements

@@ -485,10 +485,10 @@ A smaller release with several new examples and some under the hood changes to i Additional examples have been ported to the luma.gl v5 API. -* [Lesson 10](http://uber.github.io/luma.gl/#/examples/webgl-lessons/lesson-10-3d-world) -* [Lesson 11](http://uber.github.io/luma.gl/#/examples/webgl-lessons/lesson-11-sphere) -* [Lesson 12](http://uber.github.io/luma.gl/#/examples/webgl-lessons/lesson-12-point-lighting) -* [Lesson 13](http://uber.github.io/luma.gl/#/examples/webgl-lessons/lesson-13-per-fragment-lighting) +* Lesson 10 +* Lesson 11 +* Lesson 12 +* Lesson 13 ### Model Class @@ -522,7 +522,7 @@ Release date: July 27th, 2017 - +

WebGL 2

diff --git a/modules/constants/README.md b/modules/constants/README.md index 7292be413..513617133 100644 --- a/modules/constants/README.md +++ b/modules/constants/README.md @@ -11,10 +11,10 @@ Note: This file is framework independent and can be used by any webgl applicatio luma.gl is the engine that powers applications and frameworks like -* [kepler.gl](https://github.com/uber/deck.gl) WebGL based visualization overlays -* [deck.gl](https://github.com/uber/deck.gl) WebGL based visualization overlays +* [kepler.gl](https://github.com/visgl/deck.gl) WebGL based visualization overlays +* [deck.gl](https://github.com/visgl/deck.gl) WebGL based visualization overlays ## Documentation -For details, please refer to the extensive [online website](https://uber.github.io/luma.gl). +For details, please refer to the extensive [online website](https://luma.gl). diff --git a/modules/constants/package.json b/modules/constants/package.json index e72b5211a..e09ac4118 100644 --- a/modules/constants/package.json +++ b/modules/constants/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "publishConfig": { "access": "public" diff --git a/modules/core/README.md b/modules/core/README.md index 5c9475e9c..a5d22114e 100644 --- a/modules/core/README.md +++ b/modules/core/README.md @@ -1,6 +1,6 @@ # luma.gl -

luma.gl | Docs

+

luma.gl | Docs

luma.gl: WebGL2 Components for Visualization
@@ -11,10 +11,10 @@ luma.gl is a set of WebGL2 components for high-performance GPU-based rendering a It is the engine that powers applications and frameworks like -* [kepler.gl](https://github.com/uber/deck.gl) WebGL based visualization overlays -* [deck.gl](https://github.com/uber/deck.gl) WebGL based visualization overlays +* [kepler.gl](https://github.com/keplergl/kepler.gl) WebGL based visualization overlays +* [deck.gl](https://github.com/visgl/deck.gl) WebGL based visualization overlays # Installation, Running Examples etc -For details, please refer to the extensive [online website](https://uber.github.io/luma.gl). +For details, please refer to the extensive [online website](https://luma.gl). diff --git a/modules/core/package.json b/modules/core/package.json index 00bc5b40f..b7658e659 100644 --- a/modules/core/package.json +++ b/modules/core/package.json @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "keywords": [ "webgl", diff --git a/modules/debug/package.json b/modules/debug/package.json index ddb4419d4..5537b6287 100644 --- a/modules/debug/package.json +++ b/modules/debug/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "publishConfig": { "access": "public" diff --git a/modules/engine/package.json b/modules/engine/package.json index 60a9dd212..acf6292a8 100644 --- a/modules/engine/package.json +++ b/modules/engine/package.json @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "keywords": [ "webgl", diff --git a/modules/experimental/package.json b/modules/experimental/package.json index f49cf4ffd..a8f3668c8 100644 --- a/modules/experimental/package.json +++ b/modules/experimental/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "publishConfig": { "access": "public" diff --git a/modules/gltools/package.json b/modules/gltools/package.json index 031aa312c..2ddd6bb93 100644 --- a/modules/gltools/package.json +++ b/modules/gltools/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "publishConfig": { "access": "public" diff --git a/modules/shadertools/package.json b/modules/shadertools/package.json index 164577d75..a1bc52523 100644 --- a/modules/shadertools/package.json +++ b/modules/shadertools/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "publishConfig": { "access": "public" diff --git a/modules/shadertools/src/lib/inject-shader.js b/modules/shadertools/src/lib/inject-shader.js index ff730a2f0..c16e33a03 100644 --- a/modules/shadertools/src/lib/inject-shader.js +++ b/modules/shadertools/src/lib/inject-shader.js @@ -15,7 +15,7 @@ const REGEX_END_OF_MAIN = /}\n?[^{}]*$/; // End of main, assumes main is last fu const fragments = []; // A minimal shader injection/templating system. -// RFC: https://github.com/uber/luma.gl/blob/7.0-release/dev-docs/RFCs/v6.0/shader-injection-rfc.md +// RFC: https://github.com/visgl/luma.gl/blob/7.0-release/dev-docs/RFCs/v6.0/shader-injection-rfc.md /* eslint-disable complexity */ export default function injectShader(source, type, inject, injectStandardStubs) { const isVertex = type === VERTEX_SHADER; diff --git a/modules/shadertools/src/lib/transpile-shader.js b/modules/shadertools/src/lib/transpile-shader.js index 1935153dc..c61d279fe 100644 --- a/modules/shadertools/src/lib/transpile-shader.js +++ b/modules/shadertools/src/lib/transpile-shader.js @@ -1,6 +1,6 @@ // Transpiles shader source code to target GLSL version // Note: We always run transpiler even if same version e.g. 3.00 => 3.00 -// RFC: https://github.com/uber/luma.gl/blob/7.0-release/dev-docs/RFCs/v6.0/portable-glsl-300-rfc.md +// RFC: https://github.com/visgl/luma.gl/blob/7.0-release/dev-docs/RFCs/v6.0/portable-glsl-300-rfc.md export default function transpileShader(source, targetGLSLVersion, isVertex) { switch (targetGLSLVersion) { case 300: diff --git a/modules/test-utils/package.json b/modules/test-utils/package.json index 9e7003031..6eb16619b 100644 --- a/modules/test-utils/package.json +++ b/modules/test-utils/package.json @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "keywords": [ "webgl2", diff --git a/modules/webgl/package.json b/modules/webgl/package.json index 5468ce30a..a67464ded 100644 --- a/modules/webgl/package.json +++ b/modules/webgl/package.json @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "keywords": [ "webgl", diff --git a/modules/webgl/src/utils/stub-methods.js b/modules/webgl/src/utils/stub-methods.js index b7fce596b..85f6564d3 100644 --- a/modules/webgl/src/utils/stub-methods.js +++ b/modules/webgl/src/utils/stub-methods.js @@ -3,7 +3,7 @@ import {log} from '@luma.gl/gltools'; // Install stubs for removed methods export function stubRemovedMethods(instance, className, version, methodNames) { const upgradeMessage = `See luma.gl ${version} Upgrade Guide at \ -http://uber.github.io/luma.gl/#/documentation/overview/upgrade-guide`; +https://luma.gl/docs/upgrade-guide`; const prototype = Object.getPrototypeOf(instance); diff --git a/package.json b/package.json index bd56582ee..2db5f25f6 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/uber/luma.gl" + "url": "https://github.com/visgl/luma.gl" }, "keywords": [ "webgl", diff --git a/website/src/components/animation-loop-example-page.jsx b/website/src/components/animation-loop-example-page.jsx index 1e352342a..bf8c8d7bb 100644 --- a/website/src/components/animation-loop-example-page.jsx +++ b/website/src/components/animation-loop-example-page.jsx @@ -6,7 +6,7 @@ import {VRDisplay} from '@luma.gl/experimental'; import StatsWidget from '@probe.gl/stats-widget'; import {InfoPanel} from 'gatsby-theme-ocular/components'; -const GITHUB_TREE = 'https://github.com/uber/luma.gl/tree/8.1-release'; +const GITHUB_TREE = 'https://github.com/visgl/luma.gl/tree/8.1-release'; // WORKAROUND FOR luma.gl VRDisplay if (typeof global !== 'undefined' && !global.navigator) {