POV-Ray : Newsgroups : povray.newusers : Uniform placing sphere : Re: Uniform placing sphere Server Time
4 Nov 2024 13:00:05 EST (-0500)
  Re: Uniform placing sphere  
From: Micha Riser
Date: 20 Apr 2003 14:01:59
Message: <3ea2e097@news.povray.org>
Warp wrote:

> Micha Riser <mri### [at] gmxnet> wrote:
>> make random points in the cube <-1,-1,-1>,<1,1,1> and if their
>> distance from origin is <1 project them on the sphere otherwise throw
>> them away
> 
>   He asked points *on* a sphere, not *in* a sphere... :)
> 

... and that's exactly why I said "project them on the sphere" :)


-- 
POV-Ray Objects Collection: http://objects.povworld.org


Post a reply to this message

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