POV-Ray : Newsgroups : povray.general : Random but constrained vector : Re: Random but constrained vector Server Time
6 Aug 2024 08:11:49 EDT (-0400)
  Re: Random but constrained vector  
From: Jan Walzer
Date: 17 Apr 2002 17:50:28
Message: <3cbdee24@news.povray.org>
OK, given the vector:


V:  |------------>
    A            B

I'd rotate first this vector V around
any axis, that is perpendicular to V
and goes through A. Here you can use
any angle between 0 and 25 degree.
Afterwards you rotate this new vector
around the axis of the original vector V
by any random angle ...

This should work, but would merely give
an equal distribution of the results ...
So if this should be your goal, there is
probably a better method.

BTW: Are you sure, that your given Cone


Post a reply to this message

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