POV-Ray : Newsgroups : povray.general : Vanishing media? Server Time
2 Aug 2024 08:16:36 EDT (-0400)
  Vanishing media? (Message 1 to 3 of 3)  
From: Skeety
Subject: Vanishing media?
Date: 13 Nov 2004 12:35:01
Message: <web.419645188befbc93138ba0d0@news.povray.org>
Anyone know why a flame (texture/material defined with media) will show up
perfectly with nothing (black) in the background...but as soon as
I put a wall (plane) behind it...the flame disappears?

I've verified that the object is in front of the wall...but not sure why
the wall makes it disappear.


Post a reply to this message

From: Jellby
Subject: Re: Vanishing media?
Date: 13 Nov 2004 12:47:15
Message: <419648a2@news.povray.org>
Among other things, Skeety saw fit to write:

>  Anyone know why a flame (texture/material defined with media) will show
>  up
> perfectly with nothing (black) in the background...but as soon as
> I put a wall (plane) behind it...the flame disappears?
> 
> I've verified that the object is in front of the wall...but not sure why
> the wall makes it disappear.

Maybe you have your plane inside-out?

Add "hollow" to the plane definition or invert the normal (i.e. if you have 
{plane z, 1} change it to {plane -z, -1})

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

From: Skeety
Subject: Re: Vanishing media?
Date: 13 Nov 2004 12:55:00
Message: <web.419649e96db4152f138ba0d0@news.povray.org>
Jellby <jel### [at] M-yahoocom> wrote:
> Among other things, Skeety saw fit to write:
>
> >  Anyone know why a flame (texture/material defined with media) will show
> >  up
> > perfectly with nothing (black) in the background...but as soon as
> > I put a wall (plane) behind it...the flame disappears?
> >
> > I've verified that the object is in front of the wall...but not sure why
> > the wall makes it disappear.
>
> Maybe you have your plane inside-out?
>
> Add "hollow" to the plane definition or invert the normal (i.e. if you have
> {plane z, 1} change it to {plane -z, -1})
>
> --
> light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
> 9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
> 0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby

yep!  that was it!

thanks man!


Post a reply to this message

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