|
![](/i/fill.gif) |
Paul,
I don't think it will work with the hollow command on the cylinder because pov
needs solid objects to perform a csg. Try removing this and it should work.
Andrew C
ranger5 wrote:
> 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
|
![](/i/fill.gif) |