POV-Ray : Newsgroups : povray.general : Random but constrained vector : Re: Random but constrained vector Server Time
6 Aug 2024 08:18:16 EDT (-0400)
  Re: Random but constrained vector  
From: John VanSickle
Date: 18 Apr 2002 15:35:30
Message: <3CBF2105.69B586F6@hotmail.com>
Tom Melly wrote:
> 
> Given a vector <a,b,c>, how would I go about calculating a new vector
> within x degrees of the original vector?

Depends on what kind of distribution you want.  If the vectors in the
cone are equally likely, the method is different from, say, having the
ones around the center be more likely than the rest.

Regards,
John
-- 
Rusty is rendering!


Post a reply to this message

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