|
|
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
|
|
|
|
Chambers <bdc### [at] yahoocom> wrote:
> Insert this into every object's finish:
> #if (full_ambient > 0)
> ambient 1 diffuse 0
> #end
That's only necessary for object which already have some ambient and
diffuse defined (which is quite seldom the case). For objects which do
not have anything defined it's enough to put something like this at
the beginning of the scene:
#default { finish { ambient 1 diffuse 0 } }
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|