POV-Ray : Newsgroups : povray.advanced-users : Random rotation don't work ? : Re: Random rotation don't work ? Server Time
29 Jul 2024 14:14:34 EDT (-0400)
  Re: Random rotation don't work ?  
From: Christopher James Huff
Date: 7 Mar 2002 11:58:50
Message: <chrishuff-109CA0.11590007032002@netplex.aussie.org>
In article <3c879ab8@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   In order to really achieve almost any possible orientation, that random
> rotation should be applied several times. Perhaps even a random number of
> times. For example:

I think a better way would just be to generate a random point on the 
surface of a sphere (using VRandOnSphere()) and use the PointAtTrans() 
macro. Probably should rotate by a random amount around the y axis first.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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