POV-Ray : Newsgroups : povray.binaries.images : Slow-rendering grass (22 kbbu) Server Time
2 Nov 2024 21:21:42 EDT (-0400)
  Slow-rendering grass (22 kbbu) (Message 1 to 3 of 3)  
From: Greg M  Johnson
Subject: Slow-rendering grass (22 kbbu)
Date: 28 Aug 2000 08:04:18
Message: <39AA5409.73CE1620@my-dejanews.com>
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'
grass.jpg


 

From: Christoph Hormann
Subject: Re: Slow-rendering grass (22 kbbu)
Date: 28 Aug 2000 08:57:33
Message: <39AA61EC.FE0CD81C@schunter.etc.tu-bs.de>
"Greg M. Johnson" wrote:
> 
> This grass may be slow but the code (IMHO) is ingeniously simple!  A
> 320x 240 took 23 min to render...
> 

Interesting idea, but not very flexible though.  Adding improvements to the
isosurface function would probably increase render time a lot.  I wonder how
this compares to a tiled noise heightfield.  It would surely need more memory
but the rendering time could be similar or shorter.  

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Chris Huff
Subject: Re: Slow-rendering grass (22 kbbu)
Date: 28 Aug 2000 13:11:52
Message: <chrishuff-3780A3.12132328082000@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.