POV-Ray : Newsgroups : povray.general : rendering partially wet material : Re: rendering partially wet material Server Time
29 Jul 2024 12:21:16 EDT (-0400)
  Re: rendering partially wet material  
From: Le Forgeron
Date: 9 Aug 2011 13:35:46
Message: <4e416ff2$1@news.povray.org>
Le 09/08/2011 18:15, kiwon nous fit lire :
> Le_Forgeron <lef### [at] freefr> wrote:
>> I would cheat further: using the object pattern, assuming you have the
>> collection of wet spots (as particle, they might be promoted to sphere)
>> in a union, it's a simple matter of providing a wet and a dry look for
>> each object.
> 
> This is a brilliant idea. Then, there is a question. Does the *object pattern*
> support for smooth edge between wet and dry area?

No. It's either 1 or 0. Antialiasing might help anyway, but only at
pixel size.

If you need some more smoothness, it might be tempting to push in some
average pattern on top of many object pattern (with somehow variant
objects).

In fact, you would enjoy a proximity pattern... (sampling inside-test of
objects in a sphere around the object.. it would be smooth); but it's
not yet available.

I was just assuming that it's either wet or dry. Life is so complex.


Post a reply to this message

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