Real time OpenCL ray tracing with reflection and transmission @ProjectPhysX
Real time OpenCL ray tracing with reflection and transmission  @ProjectPhysX
Uploaded July 2021 | Updated November 2026, 5 hours ago
This is a quick demo of my latest casual sunday project: Writing a raytracer in OpenCL without any external libraries, inspired by this awesome video from the YouTuber NamePointer: youtu.be/lKIytgt3KXM

It is surprisingly easy: From the camera, shoot a ray through every pixel. Reflect the ray off the first surfaces in its way, reflect the reflection 2 more times. Finaly when the reflected ray hits the skybox, mix all the colors to paint the original pixel with.
The GPU does this for all 2 Million pixels on the screen in parallel.

I implemented reflection as well as transmission with Snell's law.

Because my raytracer is written in OpenCL, it runs on any OpenCL capable device (GPUs, CPUs, even my Samsung phone). No proprietary RTX hardware required.
Real time OpenCL ray tracing with reflection and transmissionRaytraced 250 Million Voxel Fluid Simulation (Radeon VII)How realistic can a simulation be? - FluidX3D CFD raytraced in 8KPhysX3D [GRAVITY SIMULATION] Stereoscopic 3D Graphics PreviewCessna 172 in FluidX3D CFD - 220 million cells - 10 minutes on Titan Xp GPU700 Million voxels raindrop impact simulation (48GB Quadro RTX 8000, 8K video)Hydraulic Jump with Ray Tracing in Real Time | FluidX3DSoundFFT - Blackbirds Song Spectrum AnalysisPhysX3D [GRAVITY SIMULATION] Portraits of the PlanetsSmooth 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 OpenCL
Dr. Moritz Lehmann |

Real time OpenCL ray tracing with reflection and transmission

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER