Points of the raytraced scene are found using the same algorithm as used in: Raytraced Sphere #3.
All points are connected using Delaunay triangulation. I have used the Delaunay triangulation implementation of Mapbox: github.com/mapbox/delaunator
#raytracer #pixels #rays #Delaunay #triangulation
Log in to post a comment.
// Raytraced Sphere #4. Created by Reinder Nijhoff 2019// @reindernijhoff