|
![](/i/fill.gif) |
On Tue, 11 Nov 2014 17:36:22 +0200, Thomas de Groot <tho### [at] degroot org>
wrote:
> I am suddenly not sure. Is it possible to read a colour at a defined
> point - using trace() - on the surface of an object, by using
> eval_pigment() at that point? I know how to do it with an image_map as
> intermediary but can it be done directly?
>
> For instance, if object{A} has a texture{B} and trace() finds a position
> P=<x,y,z> on the surface of A, would the colour at P then be
> D=eval_pigment(A,P) ? That obviously does not work as A is not a
> pigment. However, I would like to do something like that but do not know
> how.
>
> Thomas
>
It would be wonderful if it worked on uv-mapped meshes as well :)
--
-Nekar Xenos-
Post a reply to this message
|
![](/i/fill.gif) |