POV-Ray : Newsgroups : povray.general : recursively defined objects and memory : Re: recursively defined objects and memory Server Time
29 Jul 2024 08:11:43 EDT (-0400)
  Re: recursively defined objects and memory  
From: Alain
Date: 16 Aug 2013 19:49:21
Message: <520eba81$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.
>

Several years ago, I stumbled on something similar, but it never 
manipulated any 3D object. Instead, it created a ray scale image of the 
elevation. That image was a longitude-latitude GIF with a 2:1 aspect ratio.
Sadly, I lost that small application. It could be run from a floppy...


Post a reply to this message

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