OmarShehata/webgpu-compute-rasterizer
حول
مُصيِّر برمجي بسيط يعمل على compute shader في WebGPU. أُنشئ لأغراض تعليمية.
التعلّم والتعليمالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلWebGPU Compute Rasterizer

This is a basic implementation of a rasterizer running on WebGPU compute shaders. It currently supports loading a list of triangles from a (very basic) glTF model and rendering it, with shading based on each triangle's distance to the camera.
I built this to create a simple template for exploring compute-based rendering techniques. Initially inspired by Rendering Point Clouds with Compute Shaders and Vertex Order Optimization.
See:
- How to Build a Compute Rasterizer with WebGPU for a step by step guide on building your own version of this.
- Or Code Overview for a brief walkthrough of the code & implementation.

Building locally
Run npm install and npm run dev. Then open localhost:3000.
You must use a browser that supports WebGPU. See the setup instructions in this article.
Rust port
There is a Rust port of this article here: https://github.com/pudnax/compaster. Created by @pudnax.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…