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
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-27Cleanup: style, use braces for blenlibCampbell Barton
2019-03-20Cleanup: use lowercase for dimensions in function namesCampbell Barton
Most API's already use this convention.
2019-02-23Cleanup: use specific names for global variablesCampbell Barton
hash & hashsizes are generic names, be more specific & define the generic names locally. Quiet undeclared variable warnings.
2019-02-18Fix T61473: Crash particle system is updatingSergey Sharybin
Original and localized particle settings were sharing some of the runtime pointers.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-11-07Merge branch 'master' into blender2.8Campbell Barton
2018-11-07Cleanup: use BLI_compiler_compat.h for BLI_INLINECampbell Barton
2018-07-31New Grease Pencil object for 2D animationAntonioya
This commit merge the full development done in greasepencil-object branch and include mainly the following features. - New grease pencil object. - New drawing engine. - New grease pencil modes Draw/Sculpt/Edit and Weight Paint. - New brushes for grease pencil. - New modifiers for grease pencil. - New shaders FX. - New material system (replace old palettes and colors). - Split of annotations (old grease pencil) and new grease pencil object. - UI adapted to blender 2.8. You can get more info here: https://code.blender.org/2017/12/drawing-2d-animation-in-blender-2-8/ https://code.blender.org/2018/07/grease-pencil-status-update/ This is the result of nearly two years of development and I want thanks firstly the other members of the grease pencil team: Daniel M. Lara, Matias Mendiola and Joshua Leung for their support, ideas and to keep working in the project all the time, without them this project had been impossible. Also, I want thanks other Blender developers for their help, advices and to be there always to help me, and specially to Clément Foucault, Dalai Felinto, Pablo Vázquez and Campbell Barton.
2018-06-20Cleanup: get rid of last non-thread-safe BLI_frand random generator func.Bastien Montagne
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: trailing space for BLICampbell Barton
2018-06-12Math: Remove unused functions which are not safe for threadingSergey Sharybin
All areas are toy use "local" number generator, in order to keep behavior predictable and threadable. This is what BLI_rng_() API is for. There are still lots of usages of BLI_frand(), which are to be ported to BLI_rng_get_float(). but that is somewhat involved. For the time being, remove unsafe API, so new areas have zero chance using it.
2018-06-12Add utility function to help debugging concurrent usage of global RNGSergey Sharybin
Checks are disabled by default, but we need to make them enabled by porting all required areas, or by removing API which uses global RNG.
2018-03-07Eevee: Fix volume rendering glitches.Clément Foucault
The bug was due to the Halton function returning uninitialized value for 0 iteration.
2017-11-14BLI: sync changes from 2.8Campbell Barton
2016-06-11BLI_rand: add BLI_rng_get_char_nCampbell Barton
Use to fill an array of bytes to random values.
2015-04-16Docs: BLI_rand non-obvious behaviorCampbell Barton
2015-02-03Revert "Keep mingw specific includes ifdef'd"Campbell Barton
This reverts commit ba8b9ae307010ee5e8e43c6afc4c9d0571c2bf73. Turns out this is needed on other systems, just happened to be indirect included on them.
2015-02-03Keep mingw specific includes ifdef'dCampbell Barton
2015-02-03MinGW64 complains about clock, include time.hAntony Riakiotakis
2015-01-09BLI_rand: add a function returning a random point whithin given 2D triangle.Bastien Montagne
Needed by transfer data.
2014-10-09Minor cleanup.Antony Riakiotakis
* Use pie direction, not draw type for pie item collision * Strict function definitions. * Initialize random array with system time
2014-10-09Fix T42139, vertical noise stripe patterns in noise texture.Antony Riakiotakis
Two fixes here (only the second one is strictly needed to fix the issue, but both make the system better). First is introduction of a random generator array for use with threaded systems where each thread needs to access its own number generator. The random texture now uses this so it should not be influenced by other random generator reseedings of the main random generator like it did before. Second, I reshuffled the texture code to resample the upper bits of the random number first. According to Numerical Recipes, this is where the most variance can be found, so by sampling those we avoid correlation issues. Also, multiplying here is not ideal because if a pair of bits are zero, then the whole result will also be zero. Overall this is much more random (tm) than before, however result will also be brighter, since we now have less black spots. Tweaking the brightness/contrast should somewhat fix that, generally having the same result as before is not possible anyway if we are to really fix this. Also, seems like exposing procedural depth might be nice here since it influences the precision of the texture lookup.
2014-07-19Code cleanup: warningsCampbell Barton
2014-06-14BLI_rand: add BLI_rng_get_float_unit_v2Campbell Barton
2014-05-27PIL_time is no longer used in BLI_random.Lukas Tönne
The last remnant of using the system time for random seed was removed in rBafb4b65, now seeds are always explicit for BLI_random.
2014-04-02Fix for BLI_rng_shuffle_array noted by mont29Campbell Barton
2014-04-02Code cleanup: use uint64_t for BLI_randCampbell Barton
2014-03-30And another compile fix for M_PI and msvc2008...Thomas Dinges
2014-03-30Correct own recent changes broke release buildsCampbell Barton
2014-03-30Enable GCC pedantic warnings with strict flags,Campbell Barton
also modify MIN/MAX macros to prevent shadowing.
2014-03-30Code cleanup: use strict flags for BLI_randCampbell Barton
2014-03-30BLI_rand: Add BLI_rng_get_float_unit_v3, was static rayshade funcCampbell Barton
2013-09-01Fix [#36479] Particle instance Modifier random position snaps objects to 0 ↵Bastien Montagne
position Most work (tracking bug) done by Anthony Edlin, many thanks! Great example of why having duplicate code is never a good idea... ;)
2013-04-16Random number generator: replace a bunch of usage of the global random numberBrecht Van Lommel
generator with a local one. It's not thread safe and will not give repeatable results, so in most cases it should not be used. Also fixes #34992 where the noise texture of a displacement modifier was not properly random in opengl animation render, because the seed got reset to a fixed value by an unrelated function while for final render it changed each frame.
2012-10-23code cleanup: give rng functions BLI prefix.Campbell Barton
2012-10-15code cleanup: check for msvc directly when using warning pragma's.Campbell Barton
2012-05-12style cleanup: whitespace, bli & makesdnaCampbell Barton
2012-04-21style cleanup: multi-line if statements.Campbell Barton
2012-04-19BMESH_TODO: randomize vertices working again.Bastien Montagne
That whole "element re-arrange" area could use some love, though (e.g. make a single vert operator with more options, as faces; and make faces work in edit mode, probably no more reasons to switch to object mode?). Post-release TODO, anyway. Also spotted a glitch in BLI_rand code, imho, which makes first element of an array not guarantied to be shuffled by BLI_array_randomize()... No correction though, as this might/would affect other parts of the code!
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-19fix for error reported on IRC, sorting zero sized lists would cause a crash.Campbell Barton
2011-12-17style edit only - move parenthesis onto second line of function definition ↵Campbell Barton
(in keeping with most of blenders code) also split some long lines in own code.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-05-10remove some duplicate declarationsCampbell Barton
2011-02-27doxygen: blender/blenlib tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory