POV-Ray : Newsgroups : povray.general : 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:17:53 EDT (-0400)
  Re: Toggling on and off "everything at ambient rgb 1"  
From: "Jérôme M. Berger"
Date: 18 Jul 2004 04:11:41
Message: <40fa30bd$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	If all your objects must have the same ambient setting, you can use
the #default directive. But for any object that requires its own, you
will have to use a #if in the texture.

	If you want to be able to turn on or off the ambient for the whole
scene at once, you can also take a look at the "ambient_light" in
global_settings. It won't do much to switch between "ambient 1" and
something else in each object, but it will allow you to switch
between "ambient 0" and something else...

		Jerome

Greg M. Johnson wrote:
| I thought I new how to do this, but everything I've tried, even
after RTFM,
| doesn't do the job.
|
| I have a standard scene and I assume that with one statement of
povray SDL,
| I can simply turn on a situation where everything is as if it had
| finish{ambient rgb 1}.   I cannot tell if either the docs are
deficient,
| povray just cannot do this, or I've got a big bug in my code that's
messing
| with the normal behavior of pov.
|
| Thanks.
|
|

- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA+jC7qIYJdJhyixIRAvUzAJwJ45RlzEj2C/NHkscbr+v4iD0zCACgpEBt
z+5fWRpiS7EM2BauHfaCAOY=
=bITw
-----END PGP SIGNATURE-----


Post a reply to this message

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