POV-Ray : Newsgroups : povray.binaries.scene-files : Goodness gracious!, great balls of fire!! Server Time
2 Sep 2024 16:16:53 EDT (-0400)
  Goodness gracious!, great balls of fire!! (Message 1 to 1 of 1)  
From: Jonathan Hunt
Subject: Goodness gracious!, great balls of fire!!
Date: 22 Jan 2001 19:08:00
Message: <3a6ccb60@news.povray.org>
Source for the animation in povray.binaries.animations
Sorry it's 3.0 only.  I'll post a 3.1 version when/if I
manage to produce a version that looks as good and doesn't
render like a snail after an overdose of sleeping tablets :)

Jonathan Hunt
http://www.xlcus.co.uk/porvay/



camera {
  location <0, 0, -2.8>
  look_at <0, 0, 0>
}

#declare R1 = seed(12345)
#declare Total = 16

sphere { 0, 1
  pigment { color rgbt <1, 1, 1, 1> }
  #declare Loop = 0
  #while (Loop < Total)
    #declare MyClock = mod(clock + Loop / Total, 1)
    halo {
      emitting
      spherical_mapping
      linear
      turbulence 1.5
      color_map {
        [ 0.0 color rgbt <1, 0, 0,             1> ]
        [ 0.5 color rgbt <1, 1, 0, MyClock*3 - 2> ]
        [ 1.0 color rgbt <1, 0, 0,             1> ]
      }
      frequency 2
      samples 20
      scale 0.3*MyClock+0.001
      rotate <180*MyClock*(rand(R1)-0.5), 180*MyClock*(rand(R1)-0.5),
180*MyClock*(rand(R1)-0.5)>
    }
    #declare Loop = Loop + 1
  #end
  hollow
  scale 2
}


Post a reply to this message

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