YafaRay / Blender-Exporter

ARCHIVED-READ ONLY now. Use YafaRay-Blender repository instead. YafaRay's Blender Exporter
http://www.yafaray.org
63 stars 19 forks source link

Automatic AA Threshold reduction based on a "floor" for resampled pixels #32

Closed DavidBluecame closed 8 years ago

DavidBluecame commented 8 years ago

For better noise reduction, as requested in the bugtracker http://yafaray.org/node/690 I've added the functionality of automatically decreasing the AA Threshold before the next pass if the amount of resampled pixels is below a certain "floor" value selectable by the user.

This first version of the feature will have a hardcoded value of 0.9f for AA thresold reduction. This means that, every time a pass resamples fewer pixels than the "floor" selected by the user, the AA Threshold will be decreased by 10% before the next pass.

Changes to be committed: modified: io/yaf_scene.py modified: prop/yaf_scene.py modified: ui/properties_yaf_AA_settings.py