David Peipei
davidpei.bsky.social
David Peipei
@davidpei.bsky.social
Real time Graphics Engineer working on Wonderland Engine.

On the side I do WebGPU pathtracing and lightmapping 💫 in rust 🦀
Haven't been improving tinybvh-rs much lately, but catching up soon!

Unfortunately, compiling a rust crate depending on tinybvh-rs is painful if you don't want to use emscripten. I just decided to not use tinybvh in wasm rust anymore, slowing down my progress on tinybvh-rs.
February 23, 2025 at 7:15 PM
Reposted by David Peipei
Using ReSTIR to importance sample the brightest pixels on an image

www.shadertoy.com/view/XfycWw
February 15, 2025 at 9:49 AM
First time that I think that rust tooling needs some work: The WebAssembly support with a dependency in C++ is not yet nice to use.

Using wasm32-unknown-emscripten also means not using wasm-bindgen
January 26, 2025 at 6:45 PM
I have a #rustlang dependency building a C++ library. Want to compile my project to the wasm32-unknown-unknown target.

I feel like I have no choice than making a wasm module out of the C++ dependency itself?
January 25, 2025 at 10:43 AM
Demodulated vs non-demodulated albedo.

Need to manually interpolate the texture atlas to get rid of the sampling artefacts tho.
January 18, 2025 at 7:41 PM
First post here!

Continuing my journey on my #rustlang #webgpu pathracing library, fully GPU software, i.e., no RTX.

TLAS + Texture atlas performance are slowing down the pathtracing quite a bit. Will need to focus on that after I get rid of more noise
January 18, 2025 at 4:17 PM
Reposted by David Peipei
TinyBVH has been updated to 1.2.5 on main. New:
TLAS/BLAS construction and traversal, for single and double precision BVHs, and including a brand new GPU demo: See the attached real-time footage, captured at 1280x720 on an NVIDIA 2070 laptop GPU.
#RTXoff
github.com/jbikker/tiny...
January 16, 2025 at 1:27 PM