|
![](/i/fill.gif) |
> Care to expand on that a little? Why wouldn't it work? What is going
> on?
> Clue, please. :-)
POV finds a finish identifier, not a finish statement,
identifiers and statements aren't interchangeable.
It expects usage like ...
#declare testfinish = finish {ambient 0.7};
triangle {
v0, v1, v2
texture {
pigment { Red }
finish { testfinish }
}
}
Declare statements shouldn't be confused with macros.
A macro substitutes the lines directly into the calling
code instead of using identifiers. Example...
#macro testfinish() finish {ambient 0.7} #end
triangle {
v0, v1, v2
texture {
pigment { Red }
testfinish()
}
}
Here testfinish() is replaced by "finish {ambient 0.7}"
which is a finish statement instead of a finish identifier.
Post a reply to this message
|
![](/i/fill.gif) |