![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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?
A.D.B
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Any chance of seeing the code?
Duncan
"banty" <ban### [at] rapidnet com> wrote in message
news:3BB### [at] rapidnet com...
> 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?
>
>
> A.D.B
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
Post a reply to this message
Attachments:
Download 'brosten.jpg' (52 KB)
Preview of image 'brosten.jpg'
![brosten.jpg](/povray.binaries.images/attachment/%3C3BB4B9F5.8EF0F2DF%40ibras.dk%3E/brosten.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |