POV-Ray : Newsgroups : povray.general : Converting an old Pov to the new one : Converting an old Pov to the new one Server Time
2 Aug 2024 10:21:12 EDT (-0400)
  Converting an old Pov to the new one  
From: ShiJie
Date: 10 Nov 2004 04:30:00
Message: <web.4191de85634c29cc174727610@news.povray.org>
Dear NG,

I have a pov file that was made by an old version of PovRay (version 3.0)
that I got from the net. I wanted to render it in my PovRay 3.5 and this
pov code uses "halo" which has already been removed from the new povray. I
tried replacing things with media and interior stuffs, but I don't seem to
get the right scene (See
http://xlcus.com/povray/sunset/sunset-0640x0480.jpg)

I basically cannot translate this code into 3.5 ...

sphere {<0, 0, 0>, 2
  pigment {color rgbt<1, 1, 1, 1>}
  halo {
    emitting
    spherical_mapping
    linear
    color_map {
      [ 0.00 color rgbt<0.70, 0.45, 0.00, 1.0> ]
      [ 0.82 color rgbt<1.00, 0.70, 0.00,-0.5> ]
      [ 0.84 color rgbt<1.00, 1.00, 0.50,  -1> ]
      [ 1.00 color rgbt<1.00, 1.00, 1.00,  -1> ]
    }
    scale 0.5
    samples 10
  }
  hollow
  scale <3000, 3000, 2000>
  translate<0, 300, 3000>
}


This is supposed to be the sun and the atmosphere in the code. The entire
code is available in the website where I took it
http://xlcus.com/povray/sunset/sunset.pov

I liked the sunset here. Does anyone know of other nice sunset/sunrise
codes? (I prefer sunrise in most cases)

Thanks in advance.

Sincerely,
Jose Capco


Post a reply to this message

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