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

Issue 5564044: Brightness/Contrast Node for Cycles (Closed)

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

Description

Contrast helps to adjust IBL (HDR images used for background lighting). A question, should we call it Bright (as we are doing in composite) or Brightness in the UI? So far this patch is calling Bright. committed on rev. 43666

Patch Set 1 #

Total comments: 2

Patch Set 2 : I added float postfix in all the code. comments coming next #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -6 lines) Patch
intern/cycles/app/cycles_xml.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
intern/cycles/blender/blender_shader.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
intern/cycles/kernel/CMakeLists.txt View 1 chunk +1 line, -0 lines 0 comments Download
intern/cycles/kernel/osl/nodes/CMakeLists.txt View 1 chunk +1 line, -0 lines 0 comments Download
intern/cycles/kernel/osl/nodes/node_brightness.osl View 1 1 chunk +50 lines, -0 lines 0 comments Download
intern/cycles/kernel/svm/svm.h View 2 chunks +4 lines, -0 lines 0 comments Download
intern/cycles/kernel/svm/svm_brightness.h View 1 1 chunk +57 lines, -0 lines 0 comments Download
intern/cycles/kernel/svm/svm_types.h View 1 chunk +2 lines, -1 line 0 comments Download
intern/cycles/render/nodes.h View 1 chunk +5 lines, -0 lines 0 comments Download
intern/cycles/render/nodes.cpp View 1 chunk +32 lines, -0 lines 0 comments Download
source/blender/blenkernel/BKE_node.h View 1 chunk +1 line, -0 lines 0 comments Download
source/blender/blenkernel/intern/node.c View 1 chunk +1 line, -0 lines 0 comments Download
source/blender/makesrna/intern/rna_nodetree_types.h View 1 chunk +1 line, -0 lines 0 comments Download
source/blender/nodes/CMakeLists.txt View 1 chunk +1 line, -0 lines 0 comments Download
source/blender/nodes/NOD_shader.h View 1 chunk +1 line, -0 lines 0 comments Download
source/blender/nodes/shader/nodes/node_shader_brightness.c View 1 chunk +60 lines, -0 lines 0 comments Download
source/blender/nodes/shader/nodes/node_shader_gamma.c View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 6
dfelinto
12 years, 4 months ago (2012-01-23 02:21:59 UTC) #1
zanqdo_gmail.com
Perfect! thanks for this straight HDRi http://www.pasteall.org/pic/show.php?id=24932 slightly contrasted HDRi http://www.pasteall.org/pic/show.php?id=24933 Daniel Salazar patazstudio.com On ...
12 years, 4 months ago (2012-01-23 02:32:43 UTC) #2
brechtvl
http://codereview.appspot.com/5564044/diff/1/intern/cycles/kernel/svm/svm_brightness.h File intern/cycles/kernel/svm/svm_brightness.h (right): http://codereview.appspot.com/5564044/diff/1/intern/cycles/kernel/svm/svm_brightness.h#newcode30 intern/cycles/kernel/svm/svm_brightness.h:30: brightness /= 100.0; Add f postfix so we're not ...
12 years, 4 months ago (2012-01-23 16:24:25 UTC) #3
dfelinto
I added float postfix in all the code. comments coming next
12 years, 4 months ago (2012-01-23 18:12:27 UTC) #4
dfelinto
Brecht, I added the float postfix everywhere (OSL included). I have a feeling we may ...
12 years, 4 months ago (2012-01-23 18:14:41 UTC) #5
brechtvl
12 years, 4 months ago (2012-01-24 12:27:49 UTC) #6
OSL should not have f postfix, but otherwise LGTM.
Sign in to reply to this message.

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