Erich Loftis (@ErichLoftis) profile picture

Professional musician/Music teacher, Hobbyist 3D Graphics & Game Programmer - focus on real time Ray Tracing & Path Tracing on all devices with a modern Browser

Houston, Texas USA
Joined October 2021
Fresnel equations in the wild! 😁
Water reveals the perfect reflection of the sunset
139
Here's the cover scene from @Peter_shirley 's awesome Ray Tracing In One Weekend book. I took it a step further by adding animations to the 480 objects, plus the ability to change the shapes. Runs at 60+ fps, even on mobile! Live Demo: erichlof.github.io/THREE.js-… 1/3 @threejs
4
13
148
10,899
I was able to bring this iconic scene into real-time by constructing a BVH around the 480 smaller objects, using my custom BVH_Quick_Builder (15-30 ms). Click the 'Show_BVH_Leaves' checkbox to see the smaller AABB leaves in action! Try changing the animations and shapes, 2/3
1
344
and see how the BVH leaf sizes change to better fit the various objects/animations. The technology behind all of this is my Shapes_BVH system, which uses quadric shapes as primitives, rather than triangles. ;-) Source code: github.com/erichlof/THREE.js… github.com/erichlof/THREE.js… 3/3
3
337
I picked 3 inspiring Wikipedia images under 'Global Illumination' and 'Ray Tracing', and recreated them as closely as possible. You can fly the camera around, make camera adjustments, and it all renders at 60+fps, even on mobile! Live Demo: erichlof.github.io/THREE.js-… 1/3 @threejs
2
9
77
6,744
Saw this coming on the horizon - just a matter of time. Well gentlemen, it's been fun 😅
What if a Transformer could render? Not text → image. But mesh → image — with global illumination. No rasterizers. No ray-tracers. Just a Transformer without per-scene training. RenderFormer does exactly that. #SIGGRAPH2025 🔗microsoft.github.io/renderfo…
1
5
241
Ray Tracing hot take: We need to move away from Triangles as primitives, and move towards Quads instead. erichlof.github.io/THREE.js-… Pros: * Poly-count & BVH size reduction by at least 50% * Quads (Bilinear patches) can be Non-Planar 1/9 @threejs #RayTracing
1
1
19
3,011
A more permanent solution would be necessary for industry-wide Quad adoption. But I believe the benefits are worth it. btw, the intersection algo used is by Alexander Reshetov (NVIDIA) in Ray Tracing Gems, pg 95-109 Source Code Patch Intersection: github.com/erichlof/THREE.js… 8/9
1
167
My new favorite educational AI video: “How toothpaste is made” (from u/qemmish)
344
1,367
245
20,917
3,732,598
Erich Loftis retweeted
GL_CLAMP_TO_EDGE
65
444
35
9,051
261,392
Erich Loftis retweeted
obligatory year end joke ...
21
127
12
1,101
49,047