POV-Ray : Newsgroups : povray.text.scene-files : Passing textures to MACROs : Re: Passing textures to MACROs Server Time
28 Jul 2024 22:21:16 EDT (-0400)
  Re: Passing textures to MACROs  
From: Rob Manley
Date: 4 Mar 1999 14:16:28
Message: <36dedc0c.0@news.povray.org>
David Wilkinson wrote in message :
>In the second example you are passing a pigment identifier without
>stating it is a pigment.  The POV-Ray diagnostic says it all. This
>works;
>
>                object { MyBox
>                         pigment { Appearance }
>                         translate y*0.25*Count
>                }
>
>David
>------------
>dav### [at] cwcomnet
>http://www.hamiltonite.mcmail.com
>------------

Thanks David, I had it in my head that by declaring the actual parameter as
a full pigment statement, the pigment keyword was not required again in the
macro body.

Cheers

Rob


Post a reply to this message

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