> Before bothering to amend that section ... wondering if anyone else
> thinks it's a worthy addition?
I can see the logic behind this confusion... it isn't gratuitous at
all, so I think it may be worth to add a note about it.
On http://wiki.povray.org/content/Reference:Pigment I will add a
little sentence on the last paragraph:
--
A pigment statement is part of a texture specification. However it can
be tedious to use a texture statement just to add a color to an object.
Therefore you may attach a pigment directly to an object without
explicitly specifying that it as part of a texture. For example instead
of this:
object { My_Object texture {pigment { color Red } } }
you may shorten it to:
object { My_Object pigment {color Red } }
Doing so creates an entire texture structure with default normal and
finish statements just as if you had explicitly typed the full texture
{...} around it. Note that you still need an explicit texture statement
if you want to layer pigments.
--
...or something like that.
--
Jaime
Post a reply to this message
|