Jump to content

Automated Reduced Colorbleeding


nisus
 Share

Recommended Posts

Hi all,

 

Does anyone knows a short way of reducing the overall colorbleeding in a scene? I have to radiosity override over 100 materials and I don't want to do it by hand...

 

rgds

 

nisus

 

ps: I rtfm-ed but didn't find a clue on it (héhé)

Link to comment
Share on other sites

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 ;)

Link to comment
Share on other sites

Nisus,

Under Customize\Preferences\Gamma check if you have Enable Gamma Correction turned on. You can turn it on and control "Reflectance" as viewed on the Material Editor for all your bitmaps by changing the Input Gamma level. Perhaps you won't need to Radiosity Override but the solid colors. It is like teaching VIZ how to see (....). Of course, the brightness of output images is controlled by the Output Gamma value.

 

Ismael Orozco (Chico)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...