POV-Ray : Newsgroups : povray.binaries.images : Bathtub - take 2 : Re: Bathtub - take 2 Server Time
1 Aug 2024 12:22:44 EDT (-0400)
  Re: Bathtub - take 2  
From: alphaQuad
Date: 19 Dec 2008 13:50:01
Message: <web.494bec5f6655db18c18a63f20@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> "alphaQuad" <alp### [at] earthlinknet> schreef in bericht
> news:web.494b47636655db18ab3d2ec40@news.povray.org...
>
> Those images look allright though... What code did you use here?
>
> Thomas
Well now that you mention it, I looked over what I grabbed for testing...

Really sloppy chrome, actually. I don't write stuff like this, but have been
know to paste it. Wont do that again.


all. The page had 6 lights, no radiosity used: this is water "11" in the 4-by
image, using the posted norms. (I dont think I changed them)

global_settings {
  number_of_waves  2
  assumed_gamma 1.9
  max_trace_level 5
}

camera {
  location <0, 50, -560>
  look_at <0,-7,0>
  angle 25
}
light_source { <0, 8000, 0> color White
    spotlight
    point_at <0,0,0>
    radius 10
    falloff 90
}
light_source {<4000,-250,-4000> color Gray30
 fade_distance 8000 fade_power 2
}

light_source {<-5000, 2500, -5000> color Gray40
     fade_distance 8000 fade_power 2
}

light_source {
<0, 1200, 0>
color White
spotlight
point_at <0,0,0>
radius 10
falloff 110
}
light_source {
<40,-2.5,-40>
color Gray60
fade_distance 80
fade_power 2
}
light_source {
<-50, 25, -50>
color Gray50
fade_distance 80
fade_power 2
}



#declare Bigripple =
normal {
  waves 1
  frequency 6
  turbulence 0.8
  scale <0.5, 0.2, 0.2>*0.5
  translate -100*z
  rotate -30*y
}

#declare Smallripple =
normal {
  ripples 1
  frequency 3
  turbulence 0.5
  scale <0.35, 0.25, 0.25>*0.2
  translate 100*z
  rotate -10*z
}
#declare RippleNorm =
normal {
  average
  normal_map {
    [0.9 Bigripple]
    [0.8 Smallripple]
  }
}
#declare water5 = plane {
    y,-50
    texture {
       T_Chrome_3C
       pigment{ rgb <0.3,0.4,0.85>*0.6 }
       //normal { Bigripple scale 5000 }
       normal { RippleNorm scale 5000 }
       finish { ambient 0 }
   }
   translate x*-18000
}
object { water5 }


thanks for posting code. One day we'll see a great picture for the effort.


Post a reply to this message

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