POV-Ray : Newsgroups : povray.newusers : Coincident Surfaces? Maybe . . . : Coincident Surfaces? Maybe . . . Server Time
30 Jul 2024 18:19:18 EDT (-0400)
  Coincident Surfaces? Maybe . . .  
From: Brent G
Date: 20 Oct 2003 18:20:26
Message: <3f945faa@news.povray.org>
See my pic in p.b.images. Here's the code I got:

difference {
         merge {
                 //Grass
                 plane{<0,1,0>, 0
                         texture {
                                 pigment {
                                         dents
                                         triangle_wave
                                         color_map {
                                                 [0.0 rgb <0.0, 0.4, 0.1>]
                                                 [1.0 rgb <0.1, 0.6, 0.2>]
                                         }
                                 }
                         }
                 }
                 //Big Box
                 box { <-10, -.7,-0.5> <10, .5, 200.5> texture{ 
T_Grnt18a normal {bumps 0.75 scale 0.015} finish {ambient 0.1 diffuse 
0.8} }}
         }
         //Center Cutout
         box { <-9, -.6, 0> <9,  .8, 200> texture{ T_Grnt18a normal 
{bumps 0.75 scale 0.015} finish {ambient 0.1 diffuse 0.8} }}
}


//Water Area
intersection {

         box { <-9, -.6, 0> <9,  .8, 200> }

         plane{<0,1,0>, .4
                 material {
                         texture {
                                 pigment {
                                         color rgbf <.2, .7, .3, .5>
                                 }
                                 finish {
                                         ambient 0.0
                                         diffuse 0.0
                                         reflection {
                                                 0.0, 1.0
                                                 fresnel on
                                         }
                                         specular 0.8
                                         roughness 0.0003
                                 }
                                 normal {
                                         bozo 0.7
                                         scale 0.15
                                 }
                         }
                         interior {
                                 ior 1.3
                                 media {
                                         absorption <0.8, 0.6, 1.0, 0.5>
                                 }
                         }
                 }
       }// end of plane

}
//End Of Water


Post a reply to this message

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