|
|
Hello,
I experienced similar problem, I needed the color from texture at point P.
The trick which worked for me was:
#declare TEX=texture {
....
}
sphere {
<0, 0, 0>, 1
texture {
TEX
translate -P
scale 1000
...
}
translate ...
...
}
This way the spere has color from the given point on texture. But if there
is some better way, please enlighten me, i would like something:
color=TEX[P]
or alike :)
Regards,
Vlada
Post a reply to this message
|
|