POV-Ray : Newsgroups : povray.newusers : Macro help, please... : Re: Macro help, please... Server Time
6 Sep 2024 04:22:41 EDT (-0400)
  Re: Macro help, please...  
From: Patrick Hagerty
Date: 21 Jan 1999 14:29:38
Message: <36A780B8.7E490C95@hagware.com>
No, as a matter of fact I totally screwed up the syntax.  I am actually using it in
a color_map, but I tried to short-cut the syntax for the purposes of illustration.
The actual code is:

    color_map
    {
        [0 rgbt <fRed(xAngle), fGreen(xAngle), fBlue(xAngle), 0>]
        [1 rgbt <fRed(xAngle), fGreen(xAngle), fBlue(xAngle), 1>]
    }

Sorry for the confusion.

Patrick

Ron Parker wrote:

> On Thu, 21 Jan 1999 13:13:01 -0500, Patrick Hagerty <pat### [at] hagwarecom> wrote:
> >    "color [rgb<fRed(xAngle), fGreen(xAngle), fBlue(xAngle)>]"
>
> Are those square brackets really there in what you're using?  The
> only place I've ever seen square brackets is in the various maps
> (color_map, pigment_map, etc.)


Post a reply to this message

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