|
|
"peyrol" <nomail@nomail> wrote:
> In the documentation for height fields, I read this:
>
> "POT files generated with [Fractint] create fantastic landscapes."
>
> It also says a user defined function is possible. I want to put a steep and
> jagged, possibly surreal looking, mountain in the background of an image. Any
> reference to POT files or user functions which might work for me would be most
> welcome. TIA
A subject close to my heart!
Like Thomas I would say all of the above. But I would also add that if you know
the rough outline of your topography, you can:
1) create a grey scale png file on which you have placed a rough outline,
2) run it through 'wilbur' which has very good erosion functions,
3) generate a function pattern in pov-ray using the png file
4) create an isosurface and transform the original function pattern with other
predefined functions.
like this:
#####
#declare fn_Map01=function {
pigment { image_map {png "IslandMask.png" interpolate 2 } rotate<90, 0, 0>
scale <50, 0, 50> translate <-25, 0, -25>}
}
#declare P1 = function(x,y,z){f_ridged_mf(x, y, z, 0.9, 5, 10, 0.75, 1, 0)}
#declare P2 = function {
pigment { dents colour_map {[0 rgb 0][1 rgb 0.001]} scale 0.001 }
}
isosurface {
function { y-((P1(x,0,z)*fn_Map01(x, y, z).gray*0.5)+P2(x,0,z).gray) }
contained_by { box { <-25, -1, -25> <25, 1, 25> } }
max_gradient 3
scale 3000
rotate <0, 180, 0>
translate <0, -100, 0>
texture {T_Landscape}
}
#####
I do this kind of thing alot.
all the best,
Simon.
Post a reply to this message
|
|