POV-Ray : Newsgroups : povray.binaries.images : Friday Afternoon Doodle : Re: Friday Afternoon Doodle Server Time
20 Apr 2024 09:32:38 EDT (-0400)
  Re: Friday Afternoon Doodle  
From: Thomas de Groot
Date: 8 Mar 2022 07:47:05
Message: <62275049$1@news.povray.org>
Op 8-3-2022 om 02:15 schreef Kenneth:
> Thanks! That's really interesting (and a bit more complex than I thought, ha.)
> Now I can play around, to see what I can muck up! :-O
> 
> I had to make some minor changes to your code to get it to run-- replacing some
> z's with y's -- probably because the macro call uses two-part vectors, like
> <2,2> for the 'SizeBase' etc. So that would be like <x,y> (or even <u,v>)
> instead of <x,z>... which POV-ray chokes on ;-) At least in Windows.
> 
Yep. Me too.

> BTW, there are a few interesting pieces of your code that I'm clueless about, as
> to what they mean and how they work. Example:
>        #local _xScaleFn = function(l)
>        _xScaleBase + _xSlope*l
>         }
> 
> That's a lower-case 'L'. I'm familiar with the typical x (or y or z) use in a
> function-- which AFAIU usually represent spatial axes--  but I have never used
> just a 'generic' letter as a substitute. Could you briefly explain what that
> means, in the context of your code?
> 
> Anyway, thanks again for the example!
> 
I second that!

-- 
Thomas


Post a reply to this message

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