POV-Ray : Newsgroups : povray.newusers : Why is this happening? Server Time
1 Nov 2024 01:23:34 EDT (-0400)
  Why is this happening? (Message 1 to 7 of 7)  
From: mine
Subject: Why is this happening?
Date: 26 Jul 2006 21:00:00
Message: <web.44c80f2286ad12c028fee03e0@news.povray.org>
Render the following and then can someone tell me why the wall is visible
when behind the media.

#include "colors.inc"
camera {
   location <-2, 0, -3>
   look_at <0,1, 0>
   }
light_source { <0,10, 0>
  color rgb <1,1,1>}
box{ <-1,-.6,-1>, <1,9.5,1> pigment { rgbf <1,1,1,1> } hollow interior
    { media
      { emission  rgb <0,.1,.2>}
      }
      }
difference{
box{ <-1000,9.5,-1000>, <1000,9.6,1000> pigment {Black}
  }
box{ <-1,9.4,-1>, <1,10,1> pigment {Black}
  }
 }
box{ <0,-100,50>, <30,0,51>
  pigment {rgb <1,1,1>}
  }

thanks for any help.


Post a reply to this message

From: Charles C
Subject: Re: Why is this happening?
Date: 27 Jul 2006 01:25:01
Message: <web.44c84d0427f118983869c6770@news.povray.org>
Because the media is clear of course, and the box has it's own ambience by
default.... Try giving it ambient 0.  Or what effect are you going for with
that wall?  Also btw I now have a really cool picture of an eerie blue
light shining down on my reference axis... Thanks.

Charles

"mine" <nomail@nomail> wrote:
> Render the following and then can someone tell me why the wall is visible
> when behind the media.


Post a reply to this message

From: mine
Subject: Re: Why is this happening?
Date: 27 Jul 2006 05:30:00
Message: <web.44c886e927f1189828fee03e0@news.povray.org>
"Charles C" <nomail@nomail> wrote:
> Because the media is clear of course, and the box has it's own ambience by
> default.... Try giving it ambient 0.  Or what effect are you going for with
> that wall?  Also btw I now have a really cool picture of an eerie blue
> light shining down on my reference axis... Thanks.
>
> Charles
>
> "mine" <nomail@nomail> wrote:
> > Render the following and then can someone tell me why the wall is visible
> > when behind the media.

I gave the box in the background an ambient of 0 and that "got rid of it".
but what I don't get is if the light was coming from the media, why wasn't
the whole box blue? I did that pic as a demo of the prob I had in another
pic i'm doing. The other pic has a blue light just like that but it shines
on a platform. I'm still experimenting with the other pic.


Post a reply to this message

From: Charles C
Subject: Re: Why is this happening?
Date: 27 Jul 2006 12:35:00
Message: <web.44c8ea4227f11898200a56120@news.povray.org>
Maybe try turning on radiosity and make sure to set "media on".  The blue
light from the media can only "shine" via radiosity.
Charles




"mine" <nomail@nomail> wrote:

> I gave the box in the background an ambient of 0 and that "got rid of it".
> but what I don't get is if the light was coming from the media, why wasn't
> the whole box blue? I did that pic as a demo of the prob I had in another
> pic i'm doing. The other pic has a blue light just like that but it shines
> on a platform. I'm still experimenting with the other pic.


Post a reply to this message

From: Alain
Subject: Re: Why is this happening?
Date: 27 Jul 2006 22:18:59
Message: <44c97413$1@news.povray.org>
mine nous apporta ses lumieres en ce 27/07/2006 05:27:
> "Charles C" <nomail@nomail> wrote:
>> Because the media is clear of course, and the box has it's own ambience by
>> default.... Try giving it ambient 0.  Or what effect are you going for with
>> that wall?  Also btw I now have a really cool picture of an eerie blue
>> light shining down on my reference axis... Thanks.
>>
>> Charles
>>
>> "mine" <nomail@nomail> wrote:
> 
> I gave the box in the background an ambient of 0 and that "got rid of it".
> but what I don't get is if the light was coming from the media, why wasn't
> the whole box blue? I did that pic as a demo of the prob I had in another
> pic i'm doing. The other pic has a blue light just like that but it shines
> on a platform. I'm still experimenting with the other pic.
> 
> 
> 
There is no light comming from the media as your scene is now.
If you want the media to illuminate the scene, you need a radiosity scene and 
turn on the media for radiosity prupose.
Add a media block in the global_settings containing at least "media on". All 
radiosity parameters are optional and have default values.

-- 
Alain
-------------------------------------------------
Wiccan: An it harm none, let shit happen.


Post a reply to this message

From: Alain
Subject: Re: Why is this happening?
Date: 28 Jul 2006 15:06:01
Message: <44ca6019$1@news.povray.org>
Alain nous apporta ses lumieres en ce 27/07/2006 22:18:
> mine nous apporta ses lumieres en ce 27/07/2006 05:27:
>> "Charles C" <nomail@nomail> wrote:



>> I gave the box in the background an ambient of 0 and that "got rid of 
>> it".
>> but what I don't get is if the light was coming from the media, why 
>> wasn't
>> the whole box blue? I did that pic as a demo of the prob I had in another
>> pic i'm doing. The other pic has a blue light just like that but it 
>> shines
>> on a platform. I'm still experimenting with the other pic.



> There is no light comming from the media as your scene is now.
> If you want the media to illuminate the scene, you need a radiosity 
> scene and turn on the media for radiosity prupose.
> Add a media block in the global_settings containing at least "media on". 
> All radiosity parameters are optional and have default values.

Excuse me, it should have been "radiosity block" instead of "media block"

-- 
Alain
-------------------------------------------------
You are always doing something marginal when the boss drops by your desk.


Post a reply to this message

From: Charles C
Subject: Re: Why is this happening?
Date: 28 Jul 2006 17:15:01
Message: <web.44ca7dd627f11898200a56120@news.povray.org>
Just for clarity, Mine was the one asking, not me... ;-)
Charles

Alain <ele### [at] netscapenet> wrote:
> Alain nous apporta ses lumieres en ce 27/07/2006 22:18:
> > mine nous apporta ses lumieres en ce 27/07/2006 05:27:
> >> "Charles C" <nomail@nomail> wrote:
>
>
>
> >> I gave the box in the background an ambient of 0 and that "got rid of
> >> it".
> >> but what I don't get is if the light was coming from the media, why
> >> wasn't
> >> the whole box blue? I did that pic as a demo of the prob I had in another
> >> pic i'm doing. The other pic has a blue light just like that but it
> >> shines
> >> on a platform. I'm still experimenting with the other pic.
>
>
>
> > There is no light comming from the media as your scene is now.
> > If you want the media to illuminate the scene, you need a radiosity
> > scene and turn on the media for radiosity prupose.
> > Add a media block in the global_settings containing at least "media on".
> > All radiosity parameters are optional and have default values.
>
> Excuse me, it should have been "radiosity block" instead of "media block"
>
> --
> Alain
> -------------------------------------------------
> You are always doing something marginal when the boss drops by your desk.


Post a reply to this message

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