POV-Ray : Newsgroups : povray.binaries.images : Bas Relief with Grime : Re: Bas Relief with Grime Server Time
17 Aug 2024 20:24:06 EDT (-0400)
  Re: Bas Relief with Grime  
From: Batronyx
Date: 28 Aug 2001 23:09:21
Message: <3b8c5ce1@news.povray.org>
"Simon de Vet" <sde### [at] istarca> wrote in message
news:Xns### [at] 204213191226...
> This technique works very well, but unfortunately is only suited to
> imagemaps.
>
> I took my heightfield and blurred a copy, thus rounding the sharp edges. I
> then subrtacted the original sharp image from the blurred image using Gimp,
> leaving only the blurred regions which were higher than the unblurred. This
> resulting image was then inverted, tweaked, and applied to the heightfield
> as an imagemap.
>
> The results look great, in my opinion.
>
> The only problem I have is that the resulting texture is an opaque
> imagemap, which makes blending it with an onderlying texture a little
> tricky. I tried setting it to filter 1.0, but this does not allow the
> degree of grime to be adjusted, short of modifying the imagemap itself.
>
> Couple of attached images showing the procedure and results.
>
> -- Simon
>

Try increasing the canvas size prior to blurring. Increase it enough so the
edges are are white. You will have to calculate new scaling values for the grime
map, but it will help it blend better, as well as give you more room for
creating the water streaks already mentioned.


Post a reply to this message

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