POV-Ray : Newsgroups : povray.newusers : Why can I still see things when there are no lights. Server Time
24 Nov 2024 10:39:13 EST (-0500)
  Why can I still see things when there are no lights. (Message 1 to 5 of 5)  
From: kyfho
Subject: Why can I still see things when there are no lights.
Date: 10 Feb 2009 13:40:00
Message: <web.4991c97b896678faa7181760@news.povray.org>
Hi.

This is prob a stupid post and I am quite prepared to be called stupid if
I get an answer.

I am trying to render the inside of our theatre. I want to be able to show
directors what their scenes will look like in various lighting states. However
I cannot get a blackout. When I remove all the light sources I still get a
picture. Not even a dark picture.

I would like to find out where the light is coming from and flick its switch.

So how do I get rid of the light please.

Thanks.
Eamon.


Post a reply to this message

From: Warp
Subject: Re: Why can I still see things when there are no lights.
Date: 10 Feb 2009 13:43:20
Message: <4991cac8@news.povray.org>
kyfho <nomail@nomail> wrote:
> I would like to find out where the light is coming from and flick its switch.

global_settings { ambient_light 0 }

  Or alternatively:

#default { finish { ambient 0 } }

-- 
                                                          - Warp


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Why can I still see things when there are no lights.
Date: 10 Feb 2009 13:45:00
Message: <web.4991cb2611553a381c811d20@news.povray.org>
"kyfho" <nomail@nomail> wrote:
> Hi.
>
> This is prob a stupid post and I am quite prepared to be called stupid if
> I get an answer.
>
> I am trying to render the inside of our theatre. I want to be able to show
> directors what their scenes will look like in various lighting states. However
> I cannot get a blackout. When I remove all the light sources I still get a
> picture. Not even a dark picture.
>
> I would like to find out where the light is coming from and flick its switch.
>
> So how do I get rid of the light please.
>
> Thanks.
> Eamon.

Its probably ambient light.  Either:
1. set ambient_light in the global_settings block to 0
2. make sure to set ambient to 0 for your textures

I would suggest #2 as there are times when you do want to make use of ambient in
certain textures (e.g. making a visible light source that 'glows')

-tgq


Post a reply to this message

From: Alain
Subject: Re: Why can I still see things when there are no lights.
Date: 11 Feb 2009 11:28:48
Message: <4992fcc0$1@news.povray.org>
kyfho nous illumina en ce 2009-02-10 13:39 -->
> Hi.
> 
> This is prob a stupid post and I am quite prepared to be called stupid if
> I get an answer.
> 
> I am trying to render the inside of our theatre. I want to be able to show
> directors what their scenes will look like in various lighting states. However
> I cannot get a blackout. When I remove all the light sources I still get a
> picture. Not even a dark picture.
> 
> I would like to find out where the light is coming from and flick its switch.
> 
> So how do I get rid of the light please.
> 
> Thanks.
> Eamon.
> 
> 
> 
> 
Follow the recomendation of Warp.

You should also check if you use ready made textures, mostly from some *.inc 
files. Some of those have some non-zero ambient values. The textures from 
metals.inc and golds.inc are big offenders.
It will be easy to spot after setting a default texture with ambient 0. Remove 
all lights and render. Any place that is still not black is using a texture with 
some ambient set to more than zero.

-- 
Alain
-------------------------------------------------
   I went to a massage parlor. It was self service.
   	Rodney Dangerfield


Post a reply to this message

From: kyfho
Subject: Re: Why can I still see things when there are no lights.
Date: 12 Feb 2009 08:30:00
Message: <web.4994233211553a3aa7181760@news.povray.org>
Thanks to everyone who replied, the switch has been flicked
and it is all dark.

Thanks again.
Eamon.


Post a reply to this message

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