POV-Ray : Newsgroups : povray.binaries.images : Swimming Pool ( My first post ) : Re: Swimming Pool ( My first post ) Server Time
14 Nov 2024 04:30:33 EST (-0500)
  Re: Swimming Pool ( My first post )  
From: Hans de Vries
Date: 25 Mar 2004 17:49:41
Message: <40636205@news.povray.org>
Felbrigg wrote:
> Very Nice!  How'd you do that grass?  Any chance of you posting the Grass
> iso?  You might want to try softening those shadows with an arealight.
> 

Here's the grass iso:

isosurface {
                 function { y - 0.10 + f_noise3d(x*200, y*5, z*200)*0.2 }
                 max_gradient 10
                 contained_by {  box     { < -0.50, -0.05, -0.50>, <  0.50, 0.05,
0.50> }}
                 pigment { image_map { jpeg "grass.jpg" } scale <0.36, 0.35, 0.36>
                           warp      { spherical  orientation y  dist_exp 1         } 
       }
                 finish    {ambient 0.5  diffuse 0.5 phong 0 reflection 0 }
            }

Nothing more then a plane with 3d noise spikes really but it can be
very effective for "cultivated" short-cut grass. A next step may be
to give it some more variation on the 10 to 50 cm scale.

The whole image still renders in about 30 min on a 1.7 GHz P4 laptop.

Regards, Hans.

Attached the grass texture map:


Post a reply to this message


Attachments:
Download 'grass.jpg' (14 KB)

Preview of image 'grass.jpg'
grass.jpg


 

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