POV-Ray : Newsgroups : povray.binaries.images : Tripod Attack w/ new Explosion (75 Kb) : Re: Tripod Attack w/ new Explosion (75 Kb) Server Time
2 Oct 2024 22:24:29 EDT (-0400)
  Re: Tripod Attack w/ new Explosion (75 Kb)  
From: Peter Houston
Date: 12 Apr 2000 02:55:40
Message: <38f41dec@news.povray.org>
Moon47 <rdm### [at] earthlinknet> wrote :
> I liked the original explosion...
> Could i see the code...
> Please...
> I love the rays but am afraid to ask for the code..
> Don't want to spoil the magic...

I'll post the complete code when I am finished with the scene, but here is
the Heat Ray

*** Heat Ray Spoiler Alert ***









#declare HeatRayTex =
    texture {
        pigment {
            marble
            color_map {
                [0.00 rgbf <1,1,1,0>]
                [0.15 rgbf <0.94, 0.81, 0.0, 0.85>]
                [0.25 rgbf <0.94, 0.5, 0.0, 0.85>]
                [0.30 rgbf <1, 0.28, 0.0, 0.85>]
                [0.40 rgbf <0.87, 0.0, 0.1, 0.85>]
                [0.45 rgbf <0.73, 0.16, 0.1, 1>]
            }
            turbulence .85
        }
        finish { ambient 2 }
    }

#declare Ray=union {
                cone {<0,0,0>.02<0,0,-10>.2
                      texture {HeatRayTex scale .125 translate <0,0,3>}
                   }
                cone {<0,0,0>.025<0,0,-10>.3 pigment {rgbt <1,0,0,.9>}
finish {ambient 2}}
                cone {<0,0,0>.025<0,0,-10>.25 pigment {rgbt <1,1,0,.95>}
finish {ambient 2}}
                cone {<0,0,0>.025<0,0,-10>.15 pigment {rgbt <1,1,0,.95>}
finish {ambient 3}}
             }


Post a reply to this message

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