POV-Ray : Newsgroups : povray.programming : Randomly deviated vector : Re: Randomly deviated vector Server Time
17 May 2024 18:35:33 EDT (-0400)
  Re: Randomly deviated vector  
From: Tor Olav Kristensen
Date: 12 Nov 2006 00:24:45
Message: <4556b01d$1@news.povray.org>
Paris wrote:
> The top image contains the banding. The lower one does not.
> http://home.comcast.net/~exspacea/banding_artifacts.png
> 
> The solution follows.
> 
> It uses precisely one, (I repeat for emphasis ONE) trig function call.  It
> is tan() and it is contained in randomcone()  (Not included here).  I have
> no idea how many trig functions Axis_Rotate() uses.  No doubt it is
> probably something like 4 or 8 trig function calls.
...

vaxis_rotate() uses 2 trig. function calls: 1 to sin() and 1 to cos()

Some relevant discussions can be found here:

http://news.povray.org/povray.binaries.programming/thread/%3C3BFFF01C.38CE12DB%40hotmail.com%3E
http://news.povray.org/povray.advanced-users/thread/%3C3C06D0B8.9DE747A0%40hotmail.com%3E

-- 
Tor Olav
http://subcube.com


Post a reply to this message

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