Egor Kuklin
Egor Kuklin
An attempt at closing #190 I still need to figure out all the edge cases and write tests for them but from limited local testing this seems to work
Added #655 as a test case. I've traced issue down to this line https://github.com/gkjohnson/three-mesh-bvh/blob/cd6155ded37d2746cc33ec119128333a5c6de58b/src/math/ExtendedTriangle.js#L181 In first triangle there is a point with exact x coordinate of the plane where second...
**Is your feature request related to a problem? Please describe.** WebGPU compute shaders seem to be more performant than GPGPU with WebGL. So it seems natural to support new API...
Hi @gkjohnson! Here's a simple lambertian pathtracer. Both megakernel and wavefront, as discussed in #692. See webgpu_primitives demo. There is still a lot of work to be done here. I...
While doing research for #547 I stumbled upon wavefront pathtracers. According to nvidia's paper it can speedup pathtracing by 36-220% depending on the scene: https://research.nvidia.com/sites/default/files/pubs/2013-07_Megakernels-Considered-Harmful/laine2013hpg_paper.pdf. Implementing such a pathtracer without...