View Single Post
Old July 11th, 2002   #3 (permalink)
plastic
Senior Member
 
plastic's Avatar
 
Join Date: May 2002
Location: vienna, EU
Posts: 314

Name: Marc Lorenz


Austria 


Post

ok, use this. adds/subtracts a value to every colorbleed parameter in the scene radiosity override materials.
paste & execute it into the 'new script' window.

---SCRIPT START

new_value=-0.1
--change new_value, negative values allowed.
--will be added to the existing value.
for i in SceneMaterials do
(
try i.colorbleed+=new_value
catch ()
)

---SCRIPT END

if the new colorbleed value would be higher than 1 or smaller than 0 (not possible), nothing is changed with that material.

better would be a little clamp routine, for too high values, and some input UI, but i'm too lazy right now
__________________
Marc Lorenz
http://plugins.angstraum.at

My 3d gallery at Flickr
plastic is offline   Reply With Quote