POV-Ray : Newsgroups : povray.advanced-users : Rendering wet sponge : Rendering wet sponge Server Time
26 Jun 2024 08:56:45 EDT (-0400)
  Rendering wet sponge  
From: Saket
Date: 15 Aug 2011 09:40:00
Message: <web.4e492118fde8c643e30a4f6b0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.