POV-Ray : Newsgroups : povray.text.scene-files : Sandy beach Server Time
22 Dec 2024 09:34:22 EST (-0500)
  Sandy beach (Message 1 to 3 of 3)  
From: Thomas de Groot
Subject: Sandy beach
Date: 24 Oct 2005 03:43:22
Message: <435c909a@news.povray.org>
These are sand textures for Barehunter.

//==========================================================================
====
// A light colored sand texture (TdG 2001):
#declare TdG_LightSand =
  texture {
    pigment {
      agate
      agate_turb 0.3
      color_map {
               [ 0.0     rgbft <1.0, 0.816993, 0.479133, 0.0, 0.0> ]
               [ 0.049822  rgbft <0.939815, 0.699074, 0.518519, 0.0, 0.0> ]
               [ 0.096085  rgbft <0.991333, 0.730905, 0.383667, 0.0, 0.0> ]
               [ 0.149466  rgbft <0.990941, 0.863911, 0.446526, 0.0, 0.0> ]
               [ 0.41637  rgbft <0.925926, 0.739198, 0.407407, 0.0, 0.0> ]
               [ 1.0     rgbft <1.0, 0.971785, 0.729133, 0.0, 0.0> ]
      }
      turbulence 5.0
      lambda 6.0
      frequency 6.0
      ramp_wave
      warp {
        turbulence <5.0, 2.0, 1.0>
      }
    }
    normal{
      granite , 0.2
      warp {
        turbulence <1.0, 5.0, 2.0>
      }
    }
    finish {
      ambient 0.01
      specular 0.1
    }
  }

// A dark colored sand texture (TdG 2004):
#declare TdG_DarkSand =
  texture {
    pigment {
      agate
      agate_turb 0.3
      color_map {
               [ 0.0     rgbft <1.0, 0.816993, 0.479133, 0.0, 0.0> ]
               [ 0.049822  rgbft <0.939815, 0.699074, 0.518519, 0.0,
0.0>*0.1 ]
               [ 0.096085  rgbft <0.991333, 0.730905, 0.383667, 0.0,
0.0>*0.1 ]
               [ 0.149466  rgbft <0.990941, 0.863911, 0.446526, 0.0,
0.0>*0.1 ]
               [ 0.41637  rgbft <0.925926, 0.739198, 0.407407, 0.0,
0.0>*0.1 ]
               [ 1.0     rgbft <1.0, 0.971785, 0.729133, 0.0, 0.0> ]
      }
      turbulence 5.0
      lambda 6.0
      frequency 6.0
      ramp_wave
      warp {
        turbulence <5.0, 2.0, 1.0>
      }
    }
    normal{
      granite , 0.2
      warp {
        turbulence <1.0, 5.0, 2.0>
      }
    }
    finish {
      ambient 0.01
      specular 0.1
    }
  }

#declare TdG_RiverBottomSand =
  texture {
    slope {
      <0.0, 0.5, 0.0> , 0.0 , 0.0
      altitude <0.0, 0.5, 0.0> , 0.5 , 1.0
    }
      texture_map {
        [0.5 TdG_DarkSand]
        [1.0 TdG_LightSand]
      }
  }
//==========================================================================
====


Post a reply to this message

From: motorsep
Subject: Re: Sandy beach
Date: 3 Apr 2006 23:40:00
Message: <web.4431e987162604269c1fc4cb0@news.povray.org>
It doesn't work :/
Povray 3.6 renders black screen :/

"Thomas de Groot" <t.d### [at] internlnet> wrote:
> These are sand textures for Barehunter.
>


Post a reply to this message

From: Kyle
Subject: Re: Sandy beach
Date: 3 Apr 2006 23:56:47
Message: <57r332p5nvhc1s06c2591tlulbqnmgpr0r@4ax.com>
>It doesn't work :/
>Povray 3.6 renders black screen :/

The code provided only declares the textures.  You have to apply the
textures to an object in a complete scene to view them.  Just
rendering the code provided will produce a black image.  Build a scene
and use the textures in the scene to view them.



Kyle


Post a reply to this message

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