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.94k stars 3.49k forks source link

WebGPU renderer #4989

Open pjcozzi opened 7 years ago

pjcozzi commented 7 years ago

This is a long-term roadmap issue to track development of NXT, the NeXT generation graphics API for the Web (similar to #797 for WebGL 2).

pjcozzi commented 7 years ago
pjcozzi commented 5 years ago

NXT is the old name. This is WebGPU now. https://en.wikipedia.org/wiki/WebGPU

pjcozzi commented 5 years ago
pjcozzi commented 4 years ago
pjcozzi commented 3 years ago
gberaudo commented 3 years ago

WebGPU is coming to chromium: https://blog.chromium.org/2021/08/chrome-94-beta-webcodecs-webgpu.html. They announce a plan to ship in chrome 99, early 2022.

pjcozzi commented 3 years ago
indeexx commented 2 years ago

When will it be released?🤔️ I'm... looking... forward....to...it.....😄

ggetz commented 2 years ago

Hi @indeexx, we don't have any immediate plans to start work on this. We'll likely update this issue when we do. Let us know if you have any thoughts or questions regarding the implementation in the meantime. Thanks!

tlightsky commented 1 year ago

Do we have some plan for this feature?

an501920078 commented 1 year ago

It's about to be released. Any progress?

tubzby commented 1 year ago

Any news on this? Chrome 113 is released with WebGPU enabled!

criyson commented 1 year ago

Recently, I have been researching WebGPU, a new API for the web that exposes modern computer graphics capabilities, specifically GPU computing, to the Web. From my understanding, it has the potential to greatly enhance the performance of web-based graphics applications.

The capabilities of WebGPU, such as its high-efficiency rendering pipeline, low overhead, and better hardware utilization, seem to provide an exciting avenue for performance improvements in Cesium. Moreover, with its promise of providing a unified standard across different platforms and devices, I believe it can make Cesium more robust and versatile.

Given the enormous potential WebGPU has to offer, I kindly urge you to consider conducting research into integrating WebGPU into Cesium. Not only could this greatly improve Cesium's performance, but it could also put Cesium at the forefront of web graphics technology, enhancing its reputation as a pioneering platform in this field.

Thank you for considering my proposal. I look forward to witnessing the continued growth and evolution of Cesium.

criyson commented 1 year ago

@ggetz

Recently, I have been researching WebGPU, a new API for the web that exposes modern computer graphics capabilities, specifically GPU computing, to the Web. From my understanding, it has the potential to greatly enhance the performance of web-based graphics applications.

The capabilities of WebGPU, such as its high-efficiency rendering pipeline, low overhead, and better hardware utilization, seem to provide an exciting avenue for performance improvements in Cesium. Moreover, with its promise of providing a unified standard across different platforms and devices, I believe it can make Cesium more robust and versatile.

Given the enormous potential WebGPU has to offer, I kindly urge you to consider conducting research into integrating WebGPU into Cesium. Not only could this greatly improve Cesium's performance, but it could also put Cesium at the forefront of web graphics technology, enhancing its reputation as a pioneering platform in this field.

Thank you for considering my proposal. I look forward to witnessing the continued growth and evolution of Cesium.

jinjun1994 commented 1 year ago

Any new news?

ruofeng618 commented 1 year ago

You can pay attention to GEngine, which has a similar rendering layer package to cesium example:

            const drawCommand = new DrawCommand({
                vertexBuffers: geometry.vertexBuffers,
                indexBuffer: geometry.indexBuffer,
                shaderData: material.shaderData,
                drawParams: {
                    count: geometry.count,
                    instanceCount: 1
                },
                renderState: material.renderState,
                shaderSource: material.shaderSource,
                useLight: material.light
            });
itancc commented 1 year ago

Any news on this?

s3xysteak commented 1 month ago

Any news on this? We have fundamentals here https://webgpufundamentals.org/ and there are documents on MDN. WebGPU API has full support on Chrome and Edge now.

ggetz commented 4 weeks ago

@s3xysteak We don't have any concrete plans at the moment, but are definitely excited for this to happen at some point.

If you are interesting in contributing, maybe working on a prototype of CesiumJS using WebGPU, please let us know and we'd be happy to discuss. Thanks!