POV-Ray : Newsgroups : povray.off-topic : Random vector through a hemisphere? : Re: Random vector through a hemisphere? Server Time
10 Oct 2024 21:15:10 EDT (-0400)
  Re: Random vector through a hemisphere?  
From: Severi Salminen
Date: 17 Feb 2008 07:28:15
Message: <47b8285f@news.povray.org>
Severi Salminen wrote:
> I'm trying to create a random uniformly distributed vector through a
> hemisphere positioned at the intersection point between ray and an
> object. I can already create a random vector but how do I quickly/easily
> rotate it based on the desired hemisphere orientation?

I found the answer in this thread. The equation in my first message
really seems to be incorrect:

http://news.povray.org/povray.programming/thread/%3Cweb.453fedef87fb35ab5dbe37df0@news.povray.org%3E/


Post a reply to this message

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