|
![](/i/fill.gif) |
Hi,
I need to render wet sponge something like this
http://www.stanford.edu/~patkar/lenaerts.JPG
The sponge is a triangle mesh (surface mesh). I have a dry sponge texture and I
am using povray's mesh with uv mapping for rendering dry sponge. Now I need to
render some of the tringles darker depending on how wet they are. Is there a way
to do it without modifying the texture file?
I am using c++ to generate the povray file. The information I have is the list
of triangles, u,v coordinates of each triangle and degree of wetness of each
triangle. I do not want to modify the texture file because I have to do this for
100's of frames to get an animation.
Can someone help?
Thanks,
Saket
Post a reply to this message
|
![](/i/fill.gif) |