POV-Ray : Newsgroups : povray.general : recursively defined objects and memory : Re: recursively defined objects and memory Server Time
29 Jul 2024 10:22:41 EDT (-0400)
  Re: recursively defined objects and memory  
From: Warp
Date: 19 Aug 2013 11:51:52
Message: <52123f18@news.povray.org>
Ger <ger### [at] nospamthankyou> wrote:
> >>    #declare PlaneAngleX = rand(RandAngle) * 360;
> >>    #declare PlaneAngleY = rand(RandAngle) * 360;
> >>    #declare PlaneAngleZ = rand(RandAngle) * 360;
> >
> > On a separate note, are you sure that method of choosing the plane
> > orientation gives a uniform random distribution...?

> No, it does not, but doing it this way gives a better result than using 
> a single rand() for the plane orientation.

Better in what way?

-- 
                                                          - Warp


Post a reply to this message

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