POV-Ray : Newsgroups : povray.text.scene-files : Some kind of quickie landscape - The Source. Server Time
22 Dec 2024 09:14:41 EST (-0500)
  Some kind of quickie landscape - The Source. (Message 1 to 2 of 2)  
From: Mike Raiford
Subject: Some kind of quickie landscape - The Source.
Date: 8 Feb 2005 08:14:05
Message: <4208bb1d$1@news.povray.org>
#include "functions.inc"

global_settings
{
     assumed_gamma 1.0
     max_trace_level 10
}

camera { location <-400, 21, -300> look_at <0, 21, 272> right 
x*(image_width/image_height)}
//camera { location <0, 2100, 120> look_at <0, 21, 272>}

//sphere { <-400, 21, -300>, 40 pigment { color rgb <1,0,0> } finish { 
ambient 1 } }
//sphere { <0, 21, 272>, 40 pigment { color rgb <0,1,0> } finish { 
ambient 1 } }

sky_sphere { pigment { color rgb <0.5, 0.7, 0.8> }}

light_source { <-10000,5000,-1000> color rgb 1}

//#declare f_land = function { f_ridged_mf(x,y,z, 1, 2, 8, .7, 5, 3) }
#declare f_land = function { f_hetero_mf(x,y,z, .5,2.0,6,0,1, 2) }

#declare hills =     pigment {
         //color rgb <0.9, 0.8, 0.5>
         slope { x }

         color_map
         {
             [0.0 rgb <0.9, 0.8, 0.45>]
             [0.2 rgb <0.01, 0.1, 0.0>]
             [0.7 rgb <0.1, 0.05, 0.0>]
             [1 rgb 0]
         }

         }


isosurface
{
     function { y-f_land(x/2,0,z/2) }
     max_gradient 7
     contained_by { box {<-10000, -10, -10000>, <10000, 5, 10000> }}
     pigment {
         gradient y
         pigment_map
         {
             [0.0 color rgb <0.9, 0.8, 0.45>]
             [0.5003 color rgb <0.9, 0.8, 0.45>]
             [0.5004 hills]
             [1.0 hills]
         }
         translate y*-.5
         scale y*200

     }
     scale <4,2,4>*70

}


plane { y,8
     hollow
     pigment { rgbt 1 }
     finish {
         reflection { 0, .5 fresnel on }
         conserve_energy
     }
     normal {  function { f_ridged_mf(x,y,z, 1, 2, 8, .7, 5, 3) } .1 
scale 0.5}
     interior
     {
         ior 1.33

         media
         {
             absorption rgb <1, 0.2, 0.1>  *.1
         }

     }
}


-- 
~Mike

Things! Billions of them!


Post a reply to this message

From: Paolo Gibellini
Subject: Re: Some kind of quickie landscape - The Source.
Date: 9 Feb 2005 03:54:14
Message: <4209cfb6$1@news.povray.org>
Very pretty!
;-)
Paolo


Post a reply to this message

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