POV-Ray : Newsgroups : povray.general : Converting an old Pov to the new one : Re: Converting an old Pov to the new one Server Time
2 Aug 2024 10:23:46 EDT (-0400)
  Re: Converting an old Pov to the new one  
From: ShiJie
Date: 10 Nov 2004 09:45:00
Message: <web.419228f044c3e844174727610@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> I got a more or less similar effect (not identical, but I suppose
> acceptable) by converting it to an emitting media and tuning the
> density colors until it looked similar:
>
> sphere {<0, 0, 0>, 2
>   pigment {color rgbt<1, 1, 1, 1>}
>   interior
>   { media
>     { emission .0001
>       density
>       { spherical density_map
>         {
>           [ 0.00 color rgb<0.70, 0.45, 0.00>*.2 ]
>           [ 0.82 color rgb<1.00, 0.70, 0.00> ]
>           [ 0.84 color rgb<1.00, 1.00, 0.50> ]
>           [ 1.00 color rgb<1.00, 1.00, 1.00>*30 ]
>         }
>       }
>       scale 0.5
>     }
>   }
>   hollow
>   scale <3000, 3000, 2000>
>   translate<0, 300, 3000>
> }
>

Oh, I wonder why one should tune the density map (I missed that part.. I
just put down the raw code with the same density map). Thanks, I'll try it
once I reach home. Is using density_map different from the color_map (I
think one can have color_map inside the density .. anyway I'll take a look
at pov documentation at home, I'm just not very used to working with media)

Sincerely,
Jose Capco


Post a reply to this message

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