POV-Ray : Newsgroups : povray.beta-test : macro issue : Re: macro issue Server Time
29 Jul 2024 08:12:29 EDT (-0400)
  Re: macro issue  
From: Alf Peake
Date: 17 Jun 2002 11:09:26
Message: <3d0dfba6@news.povray.org>
Correction:

"Alf Peake" <alf### [at] peake42freeservecouk> wrote in message
news:3d0de779$1@news.povray.org...
> No problems with me.

Now I got one :/

#macro fooTexture()
 texture {
     pigment { Red }
 }
 texture {
     pigment { Blue }
     pigment { Green }
}

#end //macro fooTexture

//object {
sphere { < 0,0,0>, 1 fooTexture() } }
// }

Giving:

# } } <----ERROR

Parse Error: Expected 'object or directive', } found instead

Returned from renderer with error status

and sphere is highlighted.


Post a reply to this message

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