POV-Ray : Newsgroups : povray.binaries.images : Layered Textures : Re: Layered Textures Server Time
20 Nov 2024 06:44:11 EST (-0500)
  Re: Layered Textures  
From: banty
Date: 28 Sep 2001 18:43:05
Message: <3BB4FF18.CA089D81@rapidnet.com>
I had the same difficulty (With the hard edges on the stones) so I took the
mapping image back into photoshop and feathered it with a gaussian blur 0.5
radius.

                                        A.D.B

Ib Rasmussen wrote:

> banty wrote:
> >
> >     I've been trying to create an image with a cobblestone type street
> > but, while i can get the bump map to work, I cant get pov to layer over
> > it with a material map so that there's variation in the coloring of the
> > rocks. I keep getting a message "Cannot layer a patterned texture over
> > another."
> >     Is there a way around this problem or do I have to ditch depth in
> > favor of color?
>
> I have made cobblestones with the following code. The attached image
> shows how it looks. It is not great, but perhaps you can improve on the
> technique. The bump_map image is a 256 colour grayscale image, that give
> the depth info, and the material_map image is the same image reduced to
> 2 colours.
>
> #declare T_Brosten1=texture {
>    T_Grnt15 scale 0.003
>    normal {
>       bump_map {
>          gif "brosten256.gif"
>          bump_size 5.0
>       }
>    }
> }
>
> #declare T_Brosten2=texture {
>    T_Stone6 scale 0.0003
>    normal {
>       bump_map {
>          gif "brosten256.gif"
>          bump_size 5.0
>       }
>    }
> }
>
> #declare T_Brosten=texture {
>    material_map {
>       gif "brosten2.gif"
>       texture { T_Brosten1 }
>       texture { T_Brosten2 }
>    }
>    scale <435, 300, 1>
> }
>
> /Ib
>
>   ------------------------------------------------------------------------
>  [Image]


Post a reply to this message

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