POV-Ray : Newsgroups : povray.general : Even distribution on a sphere : Re: Even distribution on a sphere Server Time
5 Aug 2024 08:18:19 EDT (-0400)
  Re: Even distribution on a sphere  
From: Tom Melly
Date: 15 Oct 2002 09:55:08
Message: <3dac1e3c@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3dabf5ef$1@news.povray.org...

Hmm, this seems to work for a hemisphere (which is all I need - although I'm
going to try and figure out how to make it work with any specified max angle).

// okay where MZRot = 90
#local ZRot = pow(rand(Rand1),0.5) * MZRot;
#local YRot = rand(Rand1) * MYRot;


Post a reply to this message

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