POV-Ray : Newsgroups : povray.general : Star night sky : Re: Star night sky Server Time
8 Aug 2024 22:18:41 EDT (-0400)
  Re: Star night sky  
From: David Fontaine
Date: 28 Sep 2000 21:02:53
Message: <39D3E7FA.15D62A5D@faricy.net>
KalleK wrote:

> Just curios: Why the inner loop? I don't see a reason to keep the length of
> Location below 1.
> vlength(Location/vlenth(Location)) is always 1 isn't it?
> Or is it already too late at night?

Warp's code evenly distributes points within a cube at the origin. In order to
make an even spherical distribution, only the subset of these points within a
sphere that fits inside the cube is taken. The point is then moved to a fixed
distance from the origin.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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