Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#24431] Fast Gaussian produces wrong results for higher resolutions

Date:
2010-10-28 10:47
Priority:
3
State:
Closed
Submitted by:
Martin Lubich (loramel)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Compositor
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Fast Gaussian produces wrong results for higher resolutions
Detailed description
using blender 2.55 svn r32748 64 bit
built on kubuntu 10.04.1 64 bit
running on kubuntu 10.04.1 64 bit, 8 GB RAM, quadcore AMD Phenom
graphics card nvidia gtx460 based card ith 1gb ram

the fast gaussian node produces wrong results once a certain resolution in combination with high blur values is used. The image starts to get artifacts (vertical stripes and blocks) and its asymmetrical in regard to the x axis.

This seems to indicate some type of overflow in internal values.

The same bug is true for blender 2.49b

I have attached a blend file showing this effect.

steps to reproduce:

- open the blend file and press f12 to render it
- the output resolution is set to FullHD (1920x1080)
- close the render window
- you see in the compositor two tree branches setting up a vignette with a fast gaussian at the end
- one branch is using a 50% sized image and the produced result is correct
- the other branch uses the full resolution and here you see the incorrect results

Followup

Message
  • Date: 2010-10-28 11:05
  • Sender: Martin Lubich
  • I have found the problem and have attached a patch for it.

    The X,Y and W arrays also have to be of type double to avoid the problems.
  • Date: 2010-10-28 14:30
  • Sender: Campbell Barton
  • applied, thanks for the patch.
  • Date: 2010-10-28 16:21
  • Sender: Campbell Barton
  • applied, thanks for the patch.
  • Date: 2010-10-28 20:00
  • Sender: Campbell Barton
  • applied, thanks for the patch.
  • Date: 2010-10-28 22:40
  • Sender: Campbell Barton
  • applied, thanks for the patch.
 

Attached Files:

Name Date Download
fast_gaussian_bug.blend 2010-10-28 10:47 Download
fast_gaussian.patch 2010-10-28 11:05 Download

Changes:

Field Old Value Date By
close_date2010-10-28 22:402010-10-28 22:40campbellbarton
close_date2010-10-28 20:002010-10-28 20:00campbellbarton
close_date2010-10-28 16:212010-10-28 16:21campbellbarton
ResolutionNone2010-10-28 14:30campbellbarton
close_date2010-10-28 14:302010-10-28 14:30campbellbarton
assigned_tonone2010-10-28 14:30campbellbarton
status_idOpen2010-10-28 14:30campbellbarton
File Added13286: fast_gaussian.patch2010-10-28 11:05loramel
File Added13285: fast_gaussian_bug.blend2010-10-28 10:47loramel