POV-Ray : Newsgroups : povray.binaries.images : Less Crackle, more Voronoi (now in 3D!) : Less Crackle, more Voronoi (now in 3D!) Server Time
18 May 2024 06:12:08 EDT (-0400)
  Less Crackle, more Voronoi (now in 3D!)  
From: Bill Pragnell
Date: 2 Dec 2022 13:25:00
Message: <web.638a41dcf9776788b96893c06f35e431@news.povray.org>
So Ingo's link to that historical Voro++ image has piqued my interest in an SDL

Here's my first iteration of a basic Voronoi cell generator in 3D, completely in
SDL. This is 100 seed points in a cubic volume, and was pretty slow to parse (19
minutes total render time, almost 18 of which was parsing). The output from the
algorithm is an array of cells, each cell an array of faces, each face an array
of lines, and each line an array of 2 points. The cells were then rendered as
simple meshes, each shrunk slightly towards its seed point.

The method is probably painfully naive and could benefit from all sorts of
optimization, which will probably be my next focus. However, this image is a
good proof of concept!


Post a reply to this message

Download 'cracklebobs3_02.png' (117 KB)

Preview of image 'cracklebobs3_02.png'


Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.