POV-Ray : Newsgroups : povray.newusers : How many licks... : Re: How many licks... Server Time
5 Nov 2024 18:25:34 EST (-0500)
  Re: How many licks...  
From: Bob Hughes
Date: 14 Apr 1999 01:24:37
Message: <3714185D.4947EB88@aol.com>
Have a render of this, see what you think.

//BEGIN
//Sphere for a Tootsie Roll Tootsie Pop

merge {
 cylinder {-z,z,1 scale <5.25,5.25,2>}
 sphere {<0,0,0>, 5}
   texture {
    pigment { color rgbft <.75,.15,.25,.25,.05>*1.15 }
     finish {
      ambient .3
      diffuse .3
      //phong .05
      //phong_size .2
      brilliance -.25
      specular .3
      roughness .01
      reflection .05 reflection_exponent .1
     }
   }
     interior {ior 1.4}
   texture {
    pigment { color rgbft <.95,.9,.925,.5,.15>*1.5 }
     finish {
      ambient .8
      diffuse .9
      phong .06
      phong_size .2
      }
   }
 }

//Tootsie center

 blob {
    threshold .9
    sphere { <1,0,0>, 4, 2 } //position, radius, strength
    sphere { <-1,0,0>, 4, 2 }
     pigment {rgb<.5,.3,.1>}
    finish { diffuse .4 phong .01 phong_size 1}
 }

//stick
cylinder {-y,y,1 scale <.75,20,.75> translate -20*y
	pigment {rgb 1} finish {ambient .2 diffuse .7}
}


// 4 X 3 window and white pointlight at camera position
#declare LCX = 15
#declare LCY = 15
#declare LCZ = -33	// (-6.32 = 4x3 view at <0,0,0> with angle 36)

light_source { <LCX-10,LCY+10,LCZ-10> color rgb <1.5,1.5,1.5>
}
camera
{
  location  <LCX,LCY,LCZ>
  angle 67   // angle 67 = direction 1
  // direction 3.33*z
  look_at   <0.0 , -10 , 0.0>
}
// Set a color of the background. NOTE: this affects scene reflections
background {
 color red 0.3 green 0.5 blue 0.7
}
//END

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

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