diff options
author | Ton Roosendaal <ton@blender.org> | 2005-11-23 18:20:45 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-11-23 18:20:45 +0300 |
commit | 622f9147769a011a1fcff9b6aa683e674b111838 (patch) | |
tree | 22dca88f98c1c7191a2f8c0563c7dcb07048d77a /source/blender/python/api2_2x/sceneRender.c | |
parent | 65a824879c86eeb265c21704ab773589c66aafd6 (diff) |
New stuff & fixes in Blender OSA filtering.
While investigating alternative filters (Mitchell), I found two small
errors in the Gauss code, it clipped wrong and multiplied wrong, causing
settings other than filter size 1.0 to not work properly.
Took the last-minute liberty to add more filter types in Blender too.
Also wrote an extensive log about how sampling & filtering in Blender
works.
http://www.blender3d.org/cms/Samples_and_Filtering.723.0.html
Diffstat (limited to 'source/blender/python/api2_2x/sceneRender.c')
-rw-r--r-- | source/blender/python/api2_2x/sceneRender.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/sceneRender.c b/source/blender/python/api2_2x/sceneRender.c index f13cd811b20..4ad440ee476 100644 --- a/source/blender/python/api2_2x/sceneRender.c +++ b/source/blender/python/api2_2x/sceneRender.c @@ -1361,6 +1361,10 @@ PyObject *RenderData_EnableGaussFilter( BPy_RenderData * self, { return M_Render_BitToggleInt( args, R_GAUSS, &self->renderContext->mode ); + + /* note, this now is obsolete (ton) */ + /* we now need a call like RenderData_SetFilter() or so */ + /* choices are listed in DNA_scene_types.h (search filtertype) */ } //------------------------------------RenderData.EnableBorderRender() --- |