news:421f48ae@news.povray.org...
> Hallo!
> I'm writing a simple macro in order to cover of scales an object, and my
> purpose is to assign to each scale the color of the surface of the object
in
> the point of tangency with the scale itself.
> The question is...
> ...is possible to determinate the color of a point of given coordinates in
> POV-Ray?
>
> Thank you in advance,
> ;-)
> Paolo
>
>
try
eval_pigment(Pigm, Vect)
"Pigm" being your predeclared pigment and "Vect" being coordinates of the
point you are testing (beware object tranformations)
Marc
Post a reply to this message
|