POV-Ray : Newsgroups : povray.binaries.images : Bas Relief with Grime Server Time
17 Aug 2024 18:20:54 EDT (-0400)
  Bas Relief with Grime (Message 1 to 5 of 5)  
From: Simon de Vet
Subject: Bas Relief with Grime
Date: 28 Aug 2001 20:13:47
Message: <Xns910BD8155EC73sdevetistarca@204.213.191.226>
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


Post a reply to this message


Attachments:
Download 'Grime4.jpg' (8 KB) Download 'Grime1.jpg' (16 KB) Download 'ReliefCloseup3.jpg' (21 KB)

Preview of image 'Grime4.jpg'
Grime4.jpg

Preview of image 'Grime1.jpg'
Grime1.jpg

Preview of image 'ReliefCloseup3.jpg'
ReliefCloseup3.jpg


 

From: Daniel Matthews
Subject: Re: Bas Relief with Grime
Date: 28 Aug 2001 22:41:50
Message: <1613870.Wt4huCnfhL@3-e.net>
Yes that is it! It make quite a difference and you can do a directional 
smear on the grime to show water flow too.
The hand made tech works well, but I wonder if there is a more generalized 
shader/texture/pigment based solution?

I guess it would not matter if you could call the GIMP graphics server from 
POV code, then even your original depth maps could be code generated as 
well as inserted as textures.

Hmmmm.... I wonder if the core GIMP graphics engine could be bolted onto 
POV?

Simon de Vet wrote:

> 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


Post a reply to this message

From: Batronyx
Subject: Re: Bas Relief with Grime
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

From: Kari Kivisalo
Subject: Re: Bas Relief with Grime
Date: 29 Aug 2001 03:27:17
Message: <3B8C9A08.BC6889A7@engineer.com>
Simon de Vet wrote:
>
> 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.

Put the non invertet map to png alpha channel. Then you can paint
whatever you want on the image as the alpha channel controls the
opacity.


_____________
Kari Kivisalo


Post a reply to this message

From: David Fontaine
Subject: Re: Bas Relief with Grime
Date: 30 Aug 2001 15:28:06
Message: <3B8E91BE.7ECE7A64@faricy.net>
I think you should try applying a wind effect going downward to the
blurred version before the subtraction.

-- 
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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