POV-Ray : Newsgroups : povray.newusers : Regarding help with my crystal ball : Regarding help with my crystal ball Server Time
30 Jul 2024 18:22:05 EDT (-0400)
  Regarding help with my crystal ball  
From: George Yanez
Date: 12 Nov 2003 06:14:03
Message: <3fb215fb$1@news.povray.org>
I have the following in POV (trying to make transparent glass/crystal ball)
and the results is not what I expect/want.  What can I improve below or what
am I doing wrong?

include "finish.inc"
include "textures.inc"
include "colors.inc"
include "glass.inc"
include "stones.inc"

camera {
        location <0,0,-3>
        look_at <0,0,1>
}

light_source { <0,2,-2> color White}

  plane { <0, 1, 0>, -1
    pigment {
      color Red
    }
  }

  cylinder {
    <0, 0, -10>,     // Center of one end
    <0, 10, -10>,     // Center of other end
   2.0         // Radius
   open           // Remove end caps
    texture { T_Stone25 scale 4 }
  }

object {
sphere {
  <0, 1, 2>, 2

photons{
  target
  reflection on
  refraction on
}

  pigment {
  //color  rgb <1,1,1> transmit 1
        Col_Glass_Clear
      }
  finish{ reflection{0,1 fresnel on}}
    interior {ior 1.5}
}
}


Post a reply to this message

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