POV-Ray : Newsgroups : povray.text.scene-files : Gas Flame source Server Time
1 Jun 2024 19:55:43 EDT (-0400)
  Gas Flame source (Message 1 to 2 of 2)  
From: "Jérôme M. Berger"
Subject: Gas Flame source
Date: 21 Mar 2004 12:49:53
Message: <405dd5c1$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	This probably will only work with MegaPov 0.7 since it uses emission
method 2 media. However, it should be portable to 3.5 by using standard
emitting media (it just won't look as good on a bright background).

		Jerome

- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAXdXBqIYJdJhyixIRAmB3AJ4nxFgWMbnswBFZB1bRupgHjakT0QCfa04E
Al4tpHarkZm/FE9I/uKHzBg=
=iPnJ
-----END PGP SIGNATURE-----


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

From: Rafal 'Raf256' Maj
Subject: Re: Gas Flame source
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.