POV-Ray : Newsgroups : povray.text.scene-files : Gas Flame source : Re: Gas Flame source Server Time
28 Sep 2024 07:39:48 EDT (-0400)
  Re: Gas Flame source  
From: Rafal 'Raf256' Maj
Date: 23 Mar 2004 20:05:27
Message: <Xns94B6153628556raf256com@203.29.75.35>
jbe### [at] ifrancecom news:405dd5c1$1@news.povray.org


Just btw - a full source of PovRay 3.5 verson:


//#version unofficial MegaPov 0.7 ;
#include "math.inc"

camera {
  location -5*z+0.5*x+0.5*y
  look_at 0.5*x+0.5*y
  angle 40
}

box {
  <0, -1, -1>, <2, 2, 1>
  pigment { color rgbf 1 }
  hollow
  interior {
    media {
      emission <0,0,8> //{ 2, <0, 0, 8> extinction 4 }
      density {
      function { max ((x/4 - (z*z+   pow((pow((x/2),2)-y),2)  )) * (4-x*x)/4, 0) }
      }
      method 3
    }
  }
//  scale <2, 1, 1>
}
plane {
  -z, -10
  pigment { checker color rgb 0.5 color rgb 0 }
  finish { ambient 1 diffuse 0 }
}




-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

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