|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi!
I'm into rendering landscapes right now, and i've been fairly successfull.
The one thing i can't get my head around is how i control textures
depending on how steep the slope (on a mountain side for example) is. I
found something called slope_map, but thats not what i'm looking for.
I also read somwhere that one can use the trace command, but it seems kind
of hard (i'm not that good at math).
The thing i wan't to do is to control, for example, grass and stone textures
depending on steepness of a mountainside. Where the surface is relativley
plain, i want to have a grass texture, where it's steep i wan't to have a
stone texture.
/Mats
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Kaggen" <nomail@nomail> wrote:
> Hi!
>
> I'm into rendering landscapes right now, and i've been fairly successfull.
> The one thing i can't get my head around is how i control textures
> depending on how steep the slope (on a mountain side for example) is. I
> found something called slope_map, but thats not what i'm looking for.
>
> I also read somwhere that one can use the trace command, but it seems kind
> of hard (i'm not that good at math).
>
> The thing i wan't to do is to control, for example, grass and stone textures
> depending on steepness of a mountainside. Where the surface is relativley
> plain, i want to have a grass texture, where it's steep i wan't to have a
> stone texture.
>
> /Mats
slope pattern (3.5.11.30 Slope in the docs)
-tgq
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Kaggen" <nomail@nomail> wrote:
> Hi!
>
> I'm into rendering landscapes right now, and i've been fairly successfull.
> The one thing i can't get my head around is how i control textures
> depending on how steep the slope (on a mountain side for example) is. I
> found something called slope_map, but thats not what i'm looking for.
>
> I also read somwhere that one can use the trace command, but it seems kind
> of hard (i'm not that good at math).
>
> The thing i wan't to do is to control, for example, grass and stone textures
> depending on steepness of a mountainside. Where the surface is relativley
> plain, i want to have a grass texture, where it's steep i wan't to have a
> stone texture.
>
> /Mats
Also should note that slope_map has nothing to do with what you want.
Slope_map is for creating custom surface normal waveforms
-tgq
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I think you want a texture_map with a slope pattern with up as the direction
vector. Look up just "slope" in the docs and ignore that the example is for
a pigment.
Charles
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Here's a quick (& kindof ugly) example....
// /
//**** o-/-- ************************
// o
#version 3.6;
#include "colors.inc"
#include "woods.inc"
#include "textures.inc"
#include "metals.inc"
// ----------------------------------------
camera {
location <2.0, 1.5, 0.5>
direction 1.5*z
right x*image_width/image_height
look_at <0.5, 0.0, 0.5>
}
light_source { <0, 10, 0> color rgb <1, 1, 1> }
// ----------------------------------------
plane { y, -1 pigment { color rgb <0.7,0.5,0.3> } }
height_field {
png
"plasma3.png"
texture {
slope y
texture_map {
[0.0 T_Wood11]
[0.5 pigment{Green} finish{phong 1}]
[0.85 T_Chrome_1A]
[0.95 pigment{Brown} finish{Shiny}]
}
}
scale <1,.2,1>
}
// /
//**** o-/-- ************************
// o
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
>
> slope pattern (3.5.11.30 Slope in the docs)
>
>
> -tgq
Thank's all!
I was so close, but when i discovered that slope_map was not what i thought
it was i never thought there was another slope-function. This was just what
i wanted!
Povray and Megapov are really great software!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |