POV-Ray : Newsgroups : povray.general : How to convert halo's to POV 3.1? : How to convert halo's to POV 3.1? Server Time
12 Aug 2024 19:33:39 EDT (-0400)
  How to convert halo's to POV 3.1?  
From: Marc van den Dikkenberg
Date: 14 Jan 1999 23:58:10
Message: <369ec8e4.2681625@news.povray.org>
I recently upgraded to POV 3.1, after using POV 3.0 for a while. 

This caused some problems with one of the objects I made, since 3.1
apparently no longer supports Halo's... Unfortunately, I have no idea how
to translate this code to 3.1. 

(Hopefully this IS the right snippet, since I can't test-render it anymore.
 It ought to be a blue/white exhaust flame for a vehicle I created)

Any help is appreciated!

//--------------------------------------------------------

#declare Exhaust = intersection {
box { <-2,0,-2><2,10,2>
pigment { Black }
}
    sphere { 0, 2
        pigment { color rgbt <1, 1, 1, 1> }
        halo {
            emitting
            spherical_mapping
            linear
            color_map {
                [ 0 color rgbt <0, 0, 1,  1> ]
                [ 1 color rgbt <.8, .8, 1, -1> ]
            }
            samples 10
            scale 2.0
            turbulence sin(clock*2*pi)/4
        }
        hollow
        scale <.3, 2, .1>
    }}

//--------------------------------------------------------
-- 
Marc van den Dikkenberg
--
The PowerBasic Archives -- http://www.xs4all.nl/~excel/pb.html
All Basic Code Archives -- http://come.to/abcpackets


Post a reply to this message

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