webgiya
Surfel-based global illumination on the web
File Explorer
Download Latest Version (.zip)- deploy.yml
- FUNDING.yml
- Screen Recording 2025-08-13 at 13.01.55.mp4
- Screen Recording 2025-08-13 at 16.45.35.mp4
- Screen Recording 2025-12-04 at 21.43.34.mp4
- Screen Recording 2025-12-04 at 21.48.16.mp4
- Screenshot 2025-08-12 at 07.56.47.png
- Screenshot 2025-12-12 at 22.32.01.png
- Screenshot 2025-12-15 at 21.27.19.png
- Screenshot 2025-12-15 at 21.27.31.png
- Screenshot 2026-01-13 at 21.05.13.png
- Screenshot 2026-01-13 at 21.06.47.jpg
- trailer-scaled.mp4
- trailer.png
- draco_decoder.js
- draco_decoder.wasm
- draco_encoder.js
- draco_wasm_wrapper.js
- clarens_midday_1k.exr
- hay_bales_1k.exr
- kloppenheim_05_puresky_2k.hdr
- pizzo_pernice_puresky_2k.hdr
- qwantani_noon_puresky_1k.exr
- marble_bust_01_diff_4k.jpg
- marble_bust_01_nor_gl_4k.jpg
- marble_bust_01_rough_4k.jpg
- marble_bust_01.bin
- marble_bust_01_4k.gltf
- bunny.ply
- inferno-beast-from-space-from-jurafjvs-cc0-2.glb
- leonardo.glb
- Sponza-Draco.glb
- sponza.glb
- testocc.glb
- LDR_RGBA_0.png
- radial-depth-visualization-5.html
- slg-visualization.html
- surfelization-final.html
- surfelization.html
- surfelization2.html
- surfelization3.html
- surfelization4.html
- surfelization5.html
- surfelization6.html
- surfelization_postprocessing.html
- vite.svg
- debugLogs.ts
- surfelScreenDebug.ts
- CSM.js
- CSMFrustum.js
- CSMHelper.js
- CSMShader.js
- CSMShadowNode.js
- buildTree.js
- buildUtils.js
- computeBoundsUtils.js
- geometryUtils.js
- sortUtils.js
- splitUtils.js
- bvhcast.js
- closestPointToGeometry.generated.js
- closestPointToGeometry.template.js
- closestPointToGeometry_indirect.generated.js
- closestPointToPoint.js
- intersectsGeometry.generated.js
- intersectsGeometry.template.js
- intersectsGeometry_indirect.generated.js
- raycast.generated.js
- raycast.template.js
- raycast_indirect.generated.js
- raycastFirst.generated.js
- raycastFirst.template.js
- raycastFirst_indirect.generated.js
- refit.generated.js
- refit.template.js
- refit_indirect.generated.js
- shapecast.js
- BufferStack.js
- intersectUtils.js
- iterationUtils.generated.js
- iterationUtils.template.js
- iterationUtils_indirect.generated.js
- nodeBufferUtils.js
- BVH.js
- BVHNode.js
- Constants.js
- GeometryBVH.js
- LineBVH.js
- MeshBVH.js
- PointsBVH.js
- Debug.js
- ExtendedTriangle.js
- MathUtilities.js
- OrientedBox.js
- SeparatingAxisBounds.js
- BVHHelper.js
- ArrayBoxUtilities.js
- BufferUtils.js
- ExtendedTrianglePool.js
- ExtensionUtilities.js
- GeometryRayIntersectUtilities.js
- PrimitivePool.js
- StaticGeometryGenerator.js
- ThreeRayIntersectUtilities.js
- TriangleUtilities.js
- bvh_distance_functions.glsl.js
- bvh_ray_functions.glsl.js
- bvh_struct_definitions.glsl.js
- common_functions.glsl.js
- BVHShaderGLSL.js
- MeshBVHUniformStruct.js
- VertexAttributeTexture.js
- bvh_ray_functions.wgsl.js
- common_functions.wgsl.js
- distance_functions.wgsl.js
- index.d.ts
- index.js
- WorkerBase.js
- WorkerPool.js
- generateMeshBVH.worker.js
- GenerateMeshBVHWorker.js
- index.d.ts
- index.js
- parallelMeshBVH.worker.js
- ParallelMeshBVHWorker.js
- index.d.ts
- index.js
- .gitignore
- fixes.md
- LICENSE
- local-changes.patch
- package-lock.json
- package.json
- README.md
- rollup-templating.config.js
- rollup.config.js
- three-inspector.d.ts
- constants.ts
- content.ts
- diffuseArray.ts
- gbuffer.ts
- hashUtils.ts
- integratorDispatchArgs.ts
- lighting.ts
- main.ts
- materials.ts
- renderer.ts
- scene.ts
- sceneBvh.ts
- style.css
- surfelAgePass.ts
- surfelAllocatePass.ts
- surfelDispatchArgs.ts
- surfelFindMissingPass.ts
- surfelGIResolvePass.ts
- surfelHashGrid.ts
- surfelIntegratePass.ts
- surfelPool.ts
- surfelPreparePass.ts
- surfelRadialDepth.ts
- typescript.svg
- ui.ts
- vertexPacked.ts
- vite-env.d.ts
- .gitignore
- .prettierignore
- .prettierrc
- eslint.config.js
- index.html
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- vite.config.js
# Installation Guide
1. Get the code
git clone https://github.com/jure/webgiya
Downloads the entire project code from GitHub to your computer.
cd webgiya
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm run dev
Starts the development/run server.
npm run build
Builds optimized production files.
npm run lint
Type this command into your terminal and run it.
npm run format
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
