Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (render)Campbell Barton
2014-04-23Blender Internal: Add material property "Cast" which can disable both ray ↵IRIE Shinsuke
and buffer shadows. Also refactor: - Material property UI related to shadows - Preparation of OR-ed mode flags (ma->mode_l) of render materials Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D313
2014-02-26Fix T38831: blender internal enabling shadow pass changes material node diffuse.Brecht Van Lommel
It would include/exclude shadow depending on the pass being disabled/enabled, but that should have no influence on the combined render result. Now it always includes shadow.
2014-02-12Revert own previous commit rBe2f9afbaabbd.IRIE Shinsuke
The "Cast Shadows" worked as expected, but it can cause problem in some cases. For example, when using strand render, we need disabling only buffer shadows, but the previous changes made that impossible. "Cast Shadows" should be added as a newly created option.
2014-02-11Blender Internal: Modify material property "Cast Buffer Shadows" to affect ↵IRIE Shinsuke
ray shadows also, and rename it to "Cast Shadows". This allows us to make materials that don't cast ray shadows. Turning off this property can reduce the rendering time slightly. Note: RNA path is changed to "use_cast_shadows" as well. The older path "use_cast_buffer_shadows" still can be used as its alias, but it will be removed after updating some addons. Reviewed By: brecht Differential Revision: https://developer.blender.org/D272
2013-08-07code cleanup: use NULL rather then zero for pointersCampbell Barton
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-21remove return value from MEM_freeN, it wasn't used anywhere and was cast to ↵Campbell Barton
a different function signature. (which evidently works but error prone).
2013-02-04style cleanup: spaces -> tabsCampbell Barton
2012-12-28style cleanupCampbell Barton
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-10-31Fix blender internal strand render issue with deep shadow buffers, and AA ↵Brecht Van Lommel
samples smaller than the number of shadow sample buffers. There was not enough shadow in such cases, as some of the sample buffers were not filled in.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-07-21use fabsf when using floats.Campbell Barton
2012-06-13Fix #31754: strand width fade value 2.0 gives wrong result, should fade outBrecht Van Lommel
strand entirely. Fix based on patch by Philipp Oeser.
2012-05-28style cleanup: defines with bracesCampbell Barton
2012-05-16Code cleanup: simplify standard GHash creation.Nicholas Bishop
Added four new functions as shortcuts to creating GHashes that use the standard ptr/str/int/pair hash and compare functions. GHash *BLI_ghash_ptr_new(const char *info); GHash *BLI_ghash_str_new(const char *info); GHash *BLI_ghash_int_new(const char *info); GHash *BLI_ghash_pair_new(const char *info); Replaced almost all occurrences of BLI_ghash_new() with one of the above functions.
2012-05-13code cleanup: use vector math function minmax_v3v3_v3() and other minor ↵Campbell Barton
vector function edits.
2012-05-13code cleanup: missed some min/max use of float[3], also found case of ↵Campbell Barton
DO_MIN/MAX re-reading same value from array 4 times when it can do once (use minf rather then MIN2, same for maxf)
2012-05-04code cleanup: use much simpler (and likely faster) polygon normal ↵Campbell Barton
calculation in object mode.
2012-05-04Fix: issue in strand render + instancing bugfix, also optimized it a bit to ↵Brecht Van Lommel
avoid unnecessary memory allocations.
2012-05-04Fix strand render + instancing render bug, gave tile artifacts.Brecht Van Lommel
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-21style cleanup: multi-line if statements.Campbell Barton
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
2011-12-23svn merge ^/trunk/blender -r42778:42839Campbell Barton
2011-12-23Code cleanup: fix some clang static checker warnings.Brecht Van Lommel
2011-12-17svn merge ^/trunk/blender -r42669:42670Campbell Barton
2011-12-16Math lib: matrix multiplication order fix for two functions that wereBrecht Van Lommel
inconsistent with similar functions & math notation: mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B) mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B) For branch maintainers, it should be relatively simple to fix things manually, it's also possible run this script after merging to do automatic replacement: http://www.pasteall.org/27459/python
2011-11-07svn merge -r41575:41602 ^/trunk/blenderCampbell Barton
2011-11-07replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy ↵Campbell Barton
functions for int & char.
2011-11-06more macro --> BLI math lib, mainly replace VECCOPY in render and blenkernel.Campbell Barton
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-27svn merge ^/trunk/blender -r40511:40587Campbell Barton
2011-09-24edits to internal renderer - no functional changes.Campbell Barton
- move some larger vars into a nested scope. - replace memset with zero initializer. - rempace VECCOPY macros with copy_v3v3 - change function args to give the float array length.
2011-08-24svn merge -r39493:39664 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-08-20floats were being promoted to doubles in quite a few cases (using gcc's ↵Campbell Barton
-Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.
2011-07-25svn merge -r37600:37700 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
manually merged source/blender/editors/uvedit/uvedit_unwrap_ops.c
2011-06-20since render branch isnt planned to be merged now, enable strict warning ↵Campbell Barton
flags for cmake and tag unused vars.
2011-05-11svn merge -r36583:36603 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-05-10minor cleanup: make functions static, use NULL for pointer comparisons,Campbell Barton
also fixed a possible bug assigning incorrect DPX function types to imbuf.
2011-05-09=bmesh= merge from trunk at r36529Joseph Eagar
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton