POV-Ray : Newsgroups : povray.general : Sandy Image? : Re: Sandy Image? Server Time
1 Aug 2024 22:16:45 EDT (-0400)
  Re: Sandy Image?  
From: Stefan Viljoen
Date: 16 Mar 2005 11:53:52
Message: <42386497@news.povray.org>
The right honourable Ghost_Dog spake:

> Hi, all!
> I'm trying to figure out how to get a realistic sandy texture for a desrt
> scene
> I'll happily post a WIP soon enough, but forst, I need a satisfactory
> render.
> Has anyone made up a texture for sand in POVRAY?

APOLOGIES IF I MAY NOT POST IMAGES HERE

Something like the image below?

Here's the code - translate and scale to your needs.

#ifdef (show_ground)

  #declare Ground =
  isosurface {
    function {y - f_snoise3d(x/7, 0, z/2)*0.5}
    threshold 0
    max_gradient 1.1
    contained_by {box {<-100,-3,-100>, < 100, 1, 100>}}

    texture {
      pigment {color rgb < 1, 0.9, 0.65>}
      normal {granite 0.2 scale 0.02}
      finish {
        brilliance 0.5
        specular 0.1
        //diffuse 0.3
        //ambient 0.3
      }
    }
  }

  object 
  {
    Ground

    rotate <90,0,45>
    translate <50,-20,0>
  }


Regards,
-- 
---
Stefan Viljoen
Software Support Technician / Programmer
Polar Design Solutions


Post a reply to this message


Attachments:
Download 'bhouse.jpg' (260 KB)

Preview of image 'bhouse.jpg'
bhouse.jpg


 

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