|
![](/i/fill.gif) |
You've already got the textures you want? Sounds like you just need to use
a texture_map with with a slope pattern. E.g (using textures borrowed from
docs):
//
//********************************* ---o
// o
#include "colors.inc"
#include "textures.inc"
#include "woods.inc"
camera { location <3, 4, 5>
direction 4*z
right x*image_width/image_height
look_at <0,0,0>
}
light_source { <30,30,30>, color rgb 1 }
height_field {
png
"hf buildings.png" //change file name of course
texture {
slope y
texture_map {
[0.3 pigment{Red} finish{phong 1}]
[0.3 T_Wood11]
[0.6 T_Wood11]
[0.9 pigment{DMFWood4} finish{Shiny}]
}
}
}
//
//********************************* ---o
// o
PS, This thread probably should be in "General"
Charles
"Bryan Valencia" <pov### [at] spamgourmet com> wrote:
> I'm trying to use a height_field and the slope pigment to do some buildings,
> but I can't figure it out.
>
> I'd like to make the more vertical surfaces of my to use my windows "cells"
> texture, while the more horizontal surfaces should be plain gray.
Post a reply to this message
|
![](/i/fill.gif) |