POV-Ray : Newsgroups : povray.advanced-users : Baillehache Feather Macro : Baillehache Feather Macro Server Time
19 Apr 2024 08:44:09 EDT (-0400)
  Baillehache Feather Macro  
From: Bald Eagle
Date: 17 Nov 2017 12:55:00
Message: <web.5a0f2164257325f8c437ac910@news.povray.org>
I spent some time trying to unravel the calculations in the macro, and indeed
with some time we can probably figure it all out.

After working from the inner parenthetical expressions outwards, it seems to me
that _overall_, most, if not all of the calculations are a method of going from
0 to 1, or 1 to 0 - but in a highly non-linear manner.

{HOW he ever originally conceived to do all of that, and keep it straight, is
something that's a bit mind-bending.  I can only guess that must be some form of
probability distribution or some form of specialty nonlinear progression that
might be familiar to mathematicians...}

He then multiplies the result by length or width, or some other factor to cover
the range.

Most notable was the string of sequential _c declares whose whole purpose is to
define the rgb value for that part of the feather.

I'll continue to poke at this - and maybe graph out some of the individual
functions in OpenOffice Calc.  Or POV-Ray  :D


Post a reply to this message

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