Uploaded July 2021 | Updated November 2026, 5 hours ago
After a total of 3 weeks programming, it can now raytrace fluid simulations. See here for a demo: youtu.be/UUYrWUpPQwY
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.
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.
After a total of 3 weeks programming, it can now raytrace fluid simulations. See here for a demo: youtu.be/UUYrWUpPQwY
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.
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.


![The History of PhysX3D [GRAVITY SIMULATION]
Starting completely from scrap, I decided to write an experimental program in 2014, which has since then turned into the most efficient gravity simulation ever written in Java.
Im 19 years old now, being considered one of the best young programmers in Bavaria, Germany.
More information at: http://www.projectphysx.de
Music: Sex Whales & Phantom Sage - One Day [NCS Release] The History of PhysX3D [GRAVITY SIMULATION]](https://i.ytimg.com/vi/8_2Rbzszn4c/mqdefault.jpg)
![FluidX3D [FLUID SIMULATION] 3.5 Million Particles through porous Media in Real Time
FluidX3D is a GPU-accelerated real time 3D fluid simulation based on the lattice Boltzmann method.
Line3D, my own graphics engine, got some upgrades. I transferred my rendering kernel to OpenCL. The particles now are not anymore rendered by the CPU one by one, but by the GPU all at the same time, so all the particle positions stay in video memory. Only the completely rendered frame is sent over the PCI-e bus. This dramatically reduces memory transfer time.
Even though rendering slows down the LBM simulation because it occupies part of the GPU, 3.5 Million LBM points and particles still work in real time at around 32fps.
For more information about FluidX3D and my other projects, visit
http://www.projectphysx.de
Music: Anzo - Raindance [Tasty Release] FluidX3D [FLUID SIMULATION] 3.5 Million Particles through porous Media in Real Time](https://i.ytimg.com/vi/9HZkO0caFBk/mqdefault.jpg)




![DroneEngine [QUADCOPTER SIMULATION] August Update: sensor fusion demo
Ich kann in meinem Programm jetzt verschiedene Sensoren simulieren. Die Messungen der Sensoren sind fehlerbehaftet und richten sich nach Sensor-spezifischen Operationsfrequenzen. Die Messergebisse werden mittels selbst entwickelten sensor-fusion-Algorithmen kombiniert, um zusammen ein möglichst genaues Ergebnis, in dem Fall die drei Winkel und die Positionsdaten der Drohne, zu liefern, welches in die Steueralgorithmen eingespeist wird.
Song: Sebastian Forslund - Geronimo DroneEngine [QUADCOPTER SIMULATION] August Update: sensor fusion demo](https://i.ytimg.com/vi/BN34lgJXmcA/mqdefault.jpg)
![PhysX3D [GRAVITY SIMULATION] Early Universe Simulation
I have implemented GPU computation via aparapi in my PhysX3D project. At high body numbers the Nvidia GeForce GTX 960M (1.40Tflops, 640 shader units @ 1.097GHz) is 7x faster compared to the Intel Core i7-4720HQ (0.44Tflops, 8 threads @ 3.56GHz).
The simulation is being calculated in real time. At 10k bodies the GPU accomplishes 5 steps per second with Runge-Kutta 4th order.
The program currently is 3953 lines of code.
Special thanks to ThePhysics1234 for helping me out with aparapi.
https://www.youtube.com/user/ThePhysics1234
More information at: http://www.projectphysx.de
Music: Chris Zabriskie - Cylinder Three PhysX3D [GRAVITY SIMULATION] Early Universe Simulation](https://i.ytimg.com/vi/BOiFRbcMDNk/mqdefault.jpg)
