POV-Ray : Newsgroups : povray.general : Pigment_Map: Spherical Filling : Re: Pigment_Map: Spherical Filling Server Time
1 Aug 2024 00:16:49 EDT (-0400)
  Re: Pigment_Map: Spherical Filling  
From: Warp
Date: 27 May 2006 18:38:52
Message: <4478d4fc@news.povray.org>
A sphere is a surface, nothing else. Objects in povray aren't solid.


  What you probably want is media inside the sphere, like this:

camera { location -z*5 look_at 0 angle 35 }

sphere
{ 0, 1 hollow
  pigment { transmit 1 }
  interior
  { media
    { emission 1
      density
      { spherical density_map
        { [0 rgb 0]
          [1 rgb z]
        }
      }
    }
  }
}


-- 
                                                          - Warp


Post a reply to this message

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