|
|
This grass may be slow but the code (IMHO) is ingeniously simple! A
320x 240 took 23 min to render...
#version unofficial MegaPov 0.5;
#include "colors.inc"
#include "textures.inc"
camera {
location <2, 40,-146>
look_at <2, 15, 0>
angle 30
}
background {SkyBlue}
light_source{<-70,1200,-120>rgb 1}
#declare fnoise=2;
isosurface{
function{y/190+
noise3d(x*fnoise,y*.02*fnoise,z*fnoise)/10
}
accuracy 0.01
threshold .21
contained_by {sphere{0,600}}
pigment{SeaGreen}
finish{ambient 0.2 diffuse 2}
}
Post a reply to this message
Attachments:
Download 'grass.jpg' (22 KB)
Preview of image 'grass.jpg'
|
|
|
|
In article <39AA5409.73CE1620@my-dejanews.com>,
gre### [at] my-dejanewscom wrote:
> This grass may be slow but the code (IMHO) is ingeniously simple! A
> 320x 240 took 23 min to render...
I did something similar when I was first playing with isosurfaces...I
got a somewhat good looking landscape with rolling hills, but never got
anything that looked like a convincing grass. And the functions got much
more complex than this.
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|