core: examples: add a few more WebGPU examples #230

Closed
opened 2022-04-17 22:14:27 +00:00 by emidoots · 4 comments
emidoots commented 2022-04-17 22:14:27 +00:00 (Migrated from github.com)

I'd like to end up with most interesting WebGPU examples out there ported over for people to easily use/consume from Zig.

If you'd like to port one of these examples over (or come up with your own WebGPU example), feel free to do so and send a PR / post here! This is a tracking issue for exactly that.

You can use this as a template for where to put the code: https://github.com/hexops/mach/pull/227

I'd like to end up with most interesting WebGPU examples out there ported over for people to easily use/consume from Zig. If you'd like to port one of these examples over (or come up with your own WebGPU example), feel free to do so and send a PR / post here! This is a tracking issue for exactly that. You can use this as a template for where to put the code: https://github.com/hexops/mach/pull/227 * Examples we should port over from https://github.com/austinEng/webgpu-samples/tree/main/src/sample: * [x] boids * [x] [deferredRendering](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/deferredRendering) * [x] [fractalCube](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/fractalCube) * [x] [helloTriangleMSAA](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/helloTriangleMSAA) * [x] [imageBlur](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/imageBlur) * [x] [instancedCube](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/instancedCube) * [ ] [particles](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/particles) * [ ] [reversedZ](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/reversedZ) * [x] [rotatingCube](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/rotatingCube) * [ ] [shadowMapping](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/shadowMapping) * [x] [texturedCube](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/texturedCube) * [x] [twoCubes](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/twoCubes) * Many from https://github.com/samdauwe/webgpu-native-examples can be ported over, too.
johanfforsberg commented 2022-04-21 07:30:21 +00:00 (Migrated from github.com)

Guess we can check off the "instancedCube" box due to #246. Also there is a "two-cubes" example already.

Guess we can check off the "instancedCube" box due to #246. Also there is a "two-cubes" example already.
emidoots commented 2022-07-15 19:02:47 +00:00 (Migrated from github.com)

https://github.com/hexops/mach/pull/410 brings the image-blur example

https://github.com/hexops/mach/pull/410 brings the image-blur example
alichraghi commented 2022-07-17 16:29:44 +00:00 (Migrated from github.com)

map-async added with #414

map-async added with #414
alichraghi commented 2022-09-08 10:42:29 +00:00 (Migrated from github.com)

helloTriangleMSAA has been added with #513

[helloTriangleMSAA](https://github.com/austinEng/webgpu-samples/tree/main/src/sample/helloTriangleMSAA) has been added with #513
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#230
No description provided.