Author Topic: KABOOM! Ray Marching Renderer in 180 lines of bare C++  (Read 1726 times)

0 Members and 1 Guest are viewing this topic.

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1894
    • View Profile
    • Geeks3D.com
KABOOM! Ray Marching Renderer in 180 lines of bare C++
« on: January 30, 2019, 07:33:29 PM »
Quote
This article shows a trivial implementation of a ray marching, the goal is to go a little bit beyond simple spheres I rendered in my raytracer project. I do not aim at getting photorealistic images, I want to have a simple stuff applicable to video games.

As always, we only have a bare compiler at our disposal, no third-party libraries are allowed. I don't want to bother with window managers, mouse/keyboard processing and so on. The result of our program will be a simple picture saved on the disk. I do not pursue speed/optimization at all, my goal is to show the underlying principles.

Links:
- https://github.com/ssloy/tinykaboom/wiki
- https://github.com/ssloy/tinykaboom/

kaboom-raymarching
KABOOM! Ray Marching renderer