POV-Ray : Newsgroups : povray.advanced-users : <no subject> : Re: <no subject> Server Time
19 Apr 2024 16:39:44 EDT (-0400)
  Re: <no subject>  
From: clipka
Date: 14 Sep 2018 15:55:45
Message: <5b9c1241$1@news.povray.org>
Am 14.09.2018 um 19:58 schrieb Bald Eagle:
> The wet and juicy version.
> 
> I prefer the bologna descriptor.
> 
> The offender is
> #declare _Y = function (Angle, _M) {min(max(0, Angle * _M), _M)}
> 
> where "Angle" goes from 0 to 1.

That's not what i see.

What I see (after fixing some line-wrapped comments) is an error
encountering "srgb" before "assumed_gamma".

When that is fixed (by not including colors.inc and instead defining
"White" manually), I get an error in

    #debug concat ("Testing Y = ", Scalar (YVal, 3, 0), " vs ", Vector
(UArray [U], 3, 0), " \n")

where U reaches 7.

Which is not surprising, since you have

    #for (U, 0, Usize)

while the array is only Usize elements long, from 0 to Usize-1.


Post a reply to this message

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