Smooth Isosurface Raytracing in Real Time @ProjectPhysX
Smooth Isosurface Raytracing in Real Time  @ProjectPhysX
Uploaded January 2022 | Updated November 2026, 5 hours ago
A lot of optimizations later, the framerate has doubled to ~60fps. Micro-optimization adds up.

Cleverly combining existing algorithms sometimes results in magic:
4D Perlin noise + marching-cubes + Snell's law + OpenCL parallelization

4D Perlin noise provides iso-values on a 3D Cartesian lattice. With the marching-cubes algorithm (paulbourke.net/geometry/polygonise/), it is possible to generate triangulated isosurfaces from the lattice.
Turns out such a 3D lattice already is one of the ideal acceleration structures for raytracing. Any ray only has to check for possible intersections with iso-surface triangles contained within the traversed grid cells. This makes it run in real time on non-RTX GPU​s. Light rays from the camera traverse the lattice and check for intersections with the triangles that marching-cubes generates on-the-fly from the isovalues. Triangles never leave registers.

To get a smooth surface, I interpolate the surface normal vector: I first get the normals directly at the lattice points with gradient on the isogrid and then do trilinear interpolation to the ray-triangle intersection point. That interpolation is only done once, after the intersection has been found.
Smooth Isosurface Raytracing in Real TimeHow I earned my Physics PhD at age 25, with summa cum laudeFluidX3D can SLI together 🔵 Intel Arc A770 + 🟢 Nvidia Titan Xp - through the power of OpenCLMost detailed Quadcopter CFD Simulation ever at 3 Billion Cells - FluidX3D - 8 Hours on 4x A100 40GBRaytraced fluid simulation on Intel Arc A750 GPUDiamagnetically Stabilized LevitationPhysX3D [GRAVITY SIMULATION] 25k body galaxy @20x playback speedThe most realistic raindrop impact simulation ever done² (physically accurate + smooth raytracing)What it looks like to cross the Atlantic Ocean on an airplane (Munich-Atlanta, work travel to SC24)1 Billion Cell Raindrop Impact CFD SimulationPhysX3D [GRAVITY SIMULATION] Der zweite Mond der Erde – 2016 HO31 Billion Cell Raindrop Impact CFD Simulation, 2 hours on 1 AMD Instinct MI200 64GB GPU
Dr. Moritz Lehmann |

Smooth Isosurface Raytracing in Real Time

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER