POV-Ray : Newsgroups : povray.general : Putting light sources inside hollow objects : Putting light sources inside hollow objects Server Time
10 Aug 2024 17:22:39 EDT (-0400)
  Putting light sources inside hollow objects  
From: ranger5
Date: 11 Nov 1999 16:28:34
Message: <382b3502@news.povray.org>
Could someone tell me the best way to do the following in POV-Ray...

I want to create a sphere with a light source inside and then put small
holes in the sphere to allow the light to shine out through the holes.

I've tried using CSG difference to create a sphere pierced by a cylinder and
put a light source inside...

global_settings { ambient_light 4 }
#include "colors.inc"

  difference {
    intersection {
      sphere { <0, 0, 0>, 1 hollow
      }
      pigment { Red }

    }
    cylinder { <0, 0, -1> <0, 0, 0>, .35 hollow
    }
  }

background {color Black}
light_source { <-1,2,-3> White shadowless}
light_source { <0,0,0> White }
camera{ location <1,0,-5> look_at <0,0,0> orthographic}

Please help, i'm new to POV-Ray and i'm struggling a little with this
problem.

Thanks
Paul


Post a reply to this message

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