POV-Ray : Newsgroups : povray.general : recursively defined objects and memory : Re: recursively defined objects and memory Server Time
29 Jul 2024 02:33:05 EDT (-0400)
  Re: recursively defined objects and memory  
From: Shay
Date: 14 Aug 2013 08:55:00
Message: <520b7e24$1@news.povray.org>
"Anthony D. Baye"  wrote in message 
news:web.5209e02df7af87b1328783aa0@news.povray.org...

> Over the weekend, I was trying to implement a CSG method for generating 
> random
> planets.

> The basic algorithm is simple: Take a sphere, cut it in half along a 
> random
> plane, scale each half independently by some small amount, iterate.

That's the concept, not the algorithm. The algorithm is:

* Start with a mesh sphere
Select a random plane, scale vertices above and below the plane 
independently by some small amount, iterate.


Post a reply to this message

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