POV-Ray : Newsgroups : povray.general : Re: Toggling on and off "everything at ambient rgb 1" : Re: Toggling on and off "everything at ambient rgb 1" Server Time
2 Aug 2024 22:19:42 EDT (-0400)
  Re: Toggling on and off "everything at ambient rgb 1"  
From: Chambers
Date: 17 Jul 2004 22:05:00
Message: <web.40f9d996160555c3b852f9380@news.povray.org>
Insert this into every object's finish:

 #if (full_ambient > 0)
  ambient 1 diffuse 0
 #end

And, at the beginning of your scene file:

 #declare full_ambient=0;

When you want to set everything to superbright, set full_ambient to 1.

.....Chambers

PS After thinking a little, instead of setting diffuse to 0, you could put
every light into another conditional and just turn them off (to speed up
rendering).


Post a reply to this message

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