POV-Ray : Newsgroups : povray.general : Converting halos (old question I know, but please read) : Re: Converting halos (old question I know, but please read) Server Time
3 Aug 2024 16:25:49 EDT (-0400)
  Re: Converting halos (old question I know, but please read)  
From: Hughes, B 
Date: 13 Jan 2004 05:08:26
Message: <4003c39a$1@news.povray.org>
Nice try Tom.

Those transmit (and filter, if were used) values are ignored so that can be
removed from the densities.

For pattern type 'boxed' is wrong since halo's cubic followed the spherical
mapping. I think maybe cubic_wave is the way to go then, but I'm not
completely sure if it is the same formula.

camera {location -3*z look_at 0}

sphere { 0, 0.8
  pigment { color rgbt <1, 1, 1, 1> }
  interior{
    media {
      emission 1
      density{
        spherical
        color_map {
          [ 0.0 color rgb <1, 0, 0>  ]
          [ 0.666 color rgb <1, 1, 1> ]
          [ 1   color rgb <1, 1, 1> ]
        }
    cubic_wave
      }
    }
  }
  hollow
  scale 0.5*x+y+z
}

-- 
Bob H.
http://www.3digitaleyes.com


Post a reply to this message

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