March 13, 2016, 01:05 (GMT) |
Full Inverse-Quadratic-Equation Lamp Falloff This patch adds a new `falloff_type` ('Inverse Coefficients') for Lamps in Blender-Internal and GLSL. The current falloff modes use a formula like this inverse-square one: `I = E � (D^2 / (D^2 + Q � r^2))` While such a formula is simple for 3D-artists to use, it's algebraically cumbersome to work with. Game-designers authoring their own shaders could benefit much more by having direct control of falloff-coefficients: `I = E � (1.0 / (coefC + coefL � r + coefQ � r^2))` In this mode, the `distance` parameter is unused (except for 'Sphere' mode); instead relying on the designer to mathematically-model the falloff-behavior. The UI has been patched like so: {F153843} Reviewers: brecht, psy-fi Reviewed By: psy-fi Subscribers: brita_, antidote, campbellbarton, psy-fi Differential Revision: https://developer.blender.org/D1194 |
Revision 989b0e4 by Julian Eisel March 12, 2016, 18:12 (GMT) |
Increase node max width to 700px Opened and collapsed nodes now have a max width of 700px. Animation nodes add-on needs this. |
Revision 681becb by Bastien Montagne March 12, 2016, 17:55 (GMT) |
Fix related to T47750: Particle disconnect operator: 'all hair' disabled would not work correctly after first op execution. This is side issue, main one remains and does not look easy to fix, see report for details. |
Revision b20f12d by Sergey Sharybin March 12, 2016, 10:01 (GMT) |
Cycles: Some typo fixes |
Revision d652833 by Sergey Sharybin March 12, 2016, 10:01 (GMT) |
Cycles: Support parallel convergence mode for spherical stereo |
Revision 7d82de9 by Sergey Sharybin March 12, 2016, 10:01 (GMT) |
Fix bad UI range of convergence distance which was above the hard limit That was rather confusing to slide the value. Perhaps makesrna can check cases like this? |
Revision 6b91fb7 by Sergey Sharybin March 12, 2016, 10:01 (GMT) |
Cycles: Optimize derivatives calculation by using pre-calculated dx/dy We've got pixel-wide world-space derivatives which we can use in the perspective camera sampling. This allows to get rid of two calls to transform_direction() function. In theory we can save two transform_perspective() calls if we'll also save pre-calculated camera-space dx/dy. |
Revision a8c87ba by Sergey Sharybin March 12, 2016, 10:01 (GMT) |
Cycles: Cleanup, spherical_stereo_direction will return normalized direction Previously each call of this function was followed by a normaliztion, now it is done in the function itself with an according note around the function. |
Revision e327fb5 by Bastien Montagne March 12, 2016, 08:14 (GMT) |
Fix T47763: 2.77 RC2 (Fluid) Particle Baking slower compared to 2.67b. Static schedule was responsible here... Also, made a minor optimization in case adaptative (auto) subframes are enabled, gives a few percent of speedup here. |
Revision 9389542 by Thomas Dinges March 11, 2016, 20:36 (GMT) |
Cycles: Do no limit viewport samples to USHRT_MAX when value is at 0. We don't limit manually setting higher values, this was probably overlooked here. Found by @Blendify in IRC. |
Revision 1394369 by Bastien Montagne March 11, 2016, 14:31 (GMT) |
Fix crash adding EditNormals modifier to NURBS object (or other types but mesh). Kinda stupid, but that eModifierTypeFlag_AcceptsCVs could really use a comment alongside its definition! Safe to be backported to 2.77. |
Revision da9f0a5 by Campbell Barton March 11, 2016, 14:12 (GMT) |
Minor improvement to last commit Sign is known in this case, no need to check for either direction. |
Revision 8accc19 by Campbell Barton March 11, 2016, 12:41 (GMT) |
Math Lib: less complex convex quad check |
Revision 59c47ec by Campbell Barton March 11, 2016, 11:14 (GMT) |
Revert "Use render path as initial location when saving renders" This reverts commit cd6442f7d4b56cb40102d86404fbaeae30dd2d32. Broke workflow for incrementally saving versions of a render. |
Revision 758b20b by Sergey Sharybin March 11, 2016, 10:23 (GMT) |
Cycles: One more optimization fix, derivatives used to be calculated without aperture At this point it's totally unclear why we're ignoring aperture and and rolling shutter now for derivatives calculation but do not ignore direction change caused by stereo. |
Revision 086de5b by Sergey Sharybin March 11, 2016, 09:49 (GMT) |
CMake: Warn when buildinfo is disabled due to missing Git |
Revision cc21388 by Sergey Sharybin March 11, 2016, 09:46 (GMT) |
CMake: Avoid call of find_package(Git) for every compile with buildinfo enabled This is a bit tricky, find_package(Git) was only used to check if git is installed and actual git command was assumed to be in the PATH (while ideally it should have been GIT_COMMAND variable). This commit makes re-compile output cleaner, especially when using Ninja. Adding proper GIT_COMMAND to buildinfo.cmake is also possible via argument. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1847 |
Revision e7eb913 by Sergey Sharybin March 11, 2016, 09:45 (GMT) |
Cycles: Fix bug calculating dP for perspective camera Was introduced by recent optimization. Not really sure derivatives are intended to work like this, but better to stick to what Dalai had originally for now. |
Revision ebe306b by Sergey Sharybin March 11, 2016, 09:45 (GMT) |
Cycles: Cleanup, redundant normalization |
Revision c149b6b by Campbell Barton March 11, 2016, 09:36 (GMT) |
|
|
|


Master Commits
MiikaHweb | 2003-2021