Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1582)

Issue 5576078: Normalize Node - Tile (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by dfelinto
Modified:
12 years, 3 months ago
Reviewers:
jbkkavt, bf-codereview
Base URL:
https://svn.blender.org/svnroot/bf-blender/branches/tile/blender
Visibility:
Public.

Description

as discussed during IRC the normalize node for tile. The implementation is simple. Fancy alternatives to gather the minimum and maximum through recursive loop in the tiles proved inefficient (Jeroen Bakker's tests/words). edit: committed 43800

Patch Set 1 #

Total comments: 2

Patch Set 2 : implemented Jeroen's suggestions.comments coming next #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -4 lines) Patch
source/blender/compositor/CMakeLists.txt View 1 chunk +7 lines, -2 lines 0 comments Download
source/blender/compositor/intern/COM_Converter.cpp View 3 chunks +4 lines, -1 line 0 comments Download
source/blender/compositor/nodes/COM_NormalizeNode.h View 1 chunk +37 lines, -0 lines 0 comments Download
source/blender/compositor/nodes/COM_NormalizeNode.cpp View 1 chunk +36 lines, -0 lines 0 comments Download
source/blender/compositor/operations/COM_NormalizeOperation.h View 1 1 chunk +69 lines, -0 lines 0 comments Download
source/blender/compositor/operations/COM_NormalizeOperation.cpp View 1 1 chunk +107 lines, -0 lines 0 comments Download
source/blender/compositor/operations/COM_TonemapOperation.cpp View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 6
dfelinto
12 years, 3 months ago (2012-01-31 07:47:19 UTC) #1
jbkkavt
Hi Dalai, great work!, just some small things, poke me if you need to. Jeroen ...
12 years, 3 months ago (2012-01-31 10:39:08 UTC) #2
dfelinto
implemented Jeroen's suggestions.comments coming next
12 years, 3 months ago (2012-01-31 18:00:51 UTC) #3
dfelinto
The min and max initialization was indeed missing. it was a late night lapse :) ...
12 years, 3 months ago (2012-01-31 18:03:23 UTC) #4
jbkkavt
Fine by me, ready to commit http://codereview.appspot.com/5576078/diff/4001/source/blender/compositor/operations/COM_TonemapOperation.cpp File source/blender/compositor/operations/COM_TonemapOperation.cpp (right): http://codereview.appspot.com/5576078/diff/4001/source/blender/compositor/operations/COM_TonemapOperation.cpp#newcode159 source/blender/compositor/operations/COM_TonemapOperation.cpp:159: + return this->cachedInstance; ...
12 years, 3 months ago (2012-01-31 19:00:34 UTC) #5
dfelinto
12 years, 3 months ago (2012-01-31 20:00:08 UTC) #6
commiited. I added a check to avoid division by zero. It's in the TIledata code
so it's fine.
(more details int he commit log)

>> source/blender/compositor/operations/COM_TonemapOperation.cpp:159: +	return
>> this->cachedInstance;
> Did I missed this! :)
;) this is what happens when you get people copy/pasting your code.

Actually, strange enough, for the Normalize code this line was mandatory
(otherwise *data was never defined before). It's strange that the ToneMap code
never ran into that.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b