|
![](/i/fill.gif) |
there i got it just needed to be hollow
Marc Jacquier wrote:
> Hi may be you can use
> a material with a transmit 1 pigment, an interior and a media emitting or
> scattering for the flame.
> don't forget to declare your object a hollow otherwise media don't work
> I used that for a candle flame with a light in the flame
>
>
> #declare flame= material // flamme_1
> {
> texture
> {
> pigment
> {
> color rgbt <1.0, 1.0, 1.0, 1.0>
> }
> finish
> {
> ambient 0.0
> diffuse 0.0
> phong 0. specular 0.
> }
> }
> interior
> {
> media
> {
> scattering
> {
> 1 , rgb <0.604167, 0.208333, 1.0> // isotropic scattering
> }
> density
> {
> spherical
> scale 1.5
> }
> }
> media
> {
> scattering
> {
> 1 , rgb <0.5, 0.3125, 0.0> // isotropic scattering
> }
> }
> }
> }
>
>
>
>
>
>
>
Post a reply to this message
|
![](/i/fill.gif) |