POV-Ray : Newsgroups : povray.text.scene-files : Re: a little game : Re: a little game Server Time
29 Jul 2024 00:27:04 EDT (-0400)
  Re: a little game  
From: Johannes Hubert
Date: 8 Jan 1999 10:25:18
Message: <3696235e.0@news.povray.org>
And here the scenefile after my addition...

Johannes

camera {
     location <-100, 10, -100>
     sky <0, 1, 0>
     look_at <0, 0, 0>
}

light_source {
     <-1000, 800, -2000>
     color rgb<1, 1, 1>
}

plane {
     <0, 1, 0>, 0
     pigment {
          color rgb<1, 1, 1>
     }
}


//bobs part one
#declare C=1;
#while (C<9)
sphere {0,1
pigment {rgb C/10 filter C/9}
  normal {waves .4 turbulence .2 scale .1 phase clock}
  finish {ambient .6-(C/11) diffuse .2+(C/15) specular .6 roughness .01
reflection .25
   irid {.6 thickness .3 turbulence .2} brilliance -.15 metallic .4}
  interior {ior 1.05 caustics 4 fade_distance 1.5 fade_power 1}
scale <C/3,C/4,C/5>*7 rotate C*45*y rotate clock*360*y
  translate <3,5,-7>*4
}
#declare C=C+1;
#end
//bobs part one

//Johannes' part 1
union {
  superellipsoid { <0.1, 0.1> }
  superellipsoid { <1.0, 0.1> translate  0.93*y }
  superellipsoid { <1.0, 0.1> translate  0.93*x }
  material

    texture

      pigment { color rgb <0.8, 0.0, 0.0> }
      finish {
        ambient 0.2
        diffuse 0.3
        brilliance 0.099
        phong 1.0
        phong_size 4.3
        specular 0.22
        roughness 0.001
      }
    }
  }
  scale <2.5, 2.5, 1.25>
  rotate <0, 0, 45>
  translate  <-80, 3.3, -70>
}
//End Johannes' part 1


Post a reply to this message

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