|
|
Wasn't it Simon who wrote:
>Hi,
> just a quick question... i haven't povrayed in a Very long while!
>
>I'm still thinking about my project and I would need to use povray to extract
>shape information from an object (easy with trace, get the position of a surface
>and its normal), but I'm wondering about the color at that point.
>
>Right now, i was thinking on having an orthogonal camera make a zoomed-in render
>of that point, while the camera would be sitting along the normal axis.
>
>But, is there a better way to get the color, to finally right it to stdout like
>i do with trace?
Once you've got the point you can get the pigment with eval_pigment
(except for things like slope pattern pigments). I don't think that
there's anything that will return you the final pixel colour after
things like lighting, shadows, reflection, refraction and radiosity have
been applied.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|