Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#26128] Math Node, power
Date:
2011-02-17 18:12
Priority:
3
State:
Closed
Submitted by:
Aurel W (
aurel
)
Assigned to:
Ton Roosendaal (ton)
Category:
Node Editor
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
Math Node, power
Detailed description
I reported this already years ago, don't know why this was never fixed.
The math node won't raise negative numbers at all, not even by integers, but will return 0.0f in all cases. I stumbled across this again after wanting to raise a gradient image by 2 and just got the positive gradients raised by 2 and the negative ones set to 0. Imho the math node needs because of performance and usability a reimplementation anyway (looking at a trace, this is just mad). But for now I guess this should be fixed straight away, so that the bug doesn't creep into any future implementations.
I attached a patch to solve the problem.
Followup
Message
Date
: 2011-02-18 13:30
Sender
:
Ton Roosendaal
Thanks for the patch, gets applied right now!
Attached Files:
Name
Date
Download
math_node_pow_fix.diff
2011-02-17 18:12
Download
Changes:
Field
Old Value
Date
By
status_id
Open
2011-02-18 13:30
ton
close_date
None
2011-02-18 13:30
ton
assigned_to
none
2011-02-18 13:30
ton
Status
New
2011-02-18 13:30
ton
File Added
15052: math_node_pow_fix.diff
2011-02-17 18:12
aurel