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
|