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
2015-03-29Make point density sampling functions a bit easier for re-useSergey Sharybin
Still not ideal but getting closer. Main annoying thing so far is dependency of Render structure for now. It is used to switch particles to render mode and could probably also be eliminated.
2015-03-28Code cleanup: whitespace, line wrappingSergey Sharybin
2015-03-28Code cleanup: Get rid of set but unused matrixSergey Sharybin
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-28Cleanup: use BKE_texture_ prefixCampbell Barton
2015-03-27Cleanup: use const char for stats argCampbell Barton
2015-03-26Fix T44122, rendering OpenGL preview movie with audio has wrong audioAntony Riakiotakis
range and extra frames. Issue here is that the movie backend would unconditionally use the start frame of the scene instead of the preview frame. Solved by passing an explicit "preview" argument. Strictly speaking, the preview argument is part of the renderdata struct, that is also passed to the code, but when rendering the final result we want to unconditionally render the full range regardless of the preview setting of the render structure. However, OpenGL rendering does use the preview range so we need to account for that when making those exports. This is also a nice chance to correct the filenames, which still used the full range.
2015-03-24Code cleanup: r_ prefix vs. _r suffixSergey Sharybin
2015-03-24Fix T44102: Mirrored objects render black with Blender Internal and Autosmooth.Bastien Montagne
Normals are not vertices, we cannot apply matrix's scale to them...
2015-03-20Correction to previous commit, initialization of needs_free got lost by ↵Sergey Sharybin
accident
2015-03-20Correct recent commitCampbell Barton
2015-03-20Avoid per-draw allocation when drawing currently rendering tilesSergey Sharybin
2015-03-20Fix race condition and bad memory access highlighting render tilesSergey Sharybin
Is was possible that interface will be refreshed at thesame time as render engine will start freeing render parts. Not sure if we can get away without RW mutex here, seems we need one way of synchronization or another..
2015-03-19Color managed luminance for shader ramp-in-energyCampbell Barton
2015-03-17Fix T44028: Vertex Colors Baking errorSergey Sharybin
Was wrong color management flag used for some bakers. Actually goes back to 7997e38.
2015-03-17Part 2 of D1082 by Troy Sobotka, remove our functions that do lumaAntony Riakiotakis
calculations and use the OCIO one instead.
2015-03-09Fix for yet another assert fail of particle dmcache index.Lukas Tönne
This is totally broken, just making sure Blender does not crash and devs can investigate other issues that are actually fixable.
2015-03-02Fix T43859: Texture baking crashes blenderSergey Sharybin
The issue was caused by particles using billboard distribution, which requires either object to be specified or camera in the scene to be existing. This commit prevents backing from crash, but bake result might not be totally expected because of the thing mentioned above.
2015-02-21Code cleanup: Use bools instead of intSergey Sharybin
2015-02-20Fix for unlikely NULL pointer dereferenceCampbell Barton
Potential crash reading freestyle modifiers from future blend-files
2015-02-14cleanup: doxy commentsCampbell Barton
2015-02-11cleanup: style/indentationCampbell Barton
2015-02-08CMake: only quiet warnings for generated rna filesCampbell Barton
also minor warning cleanup
2015-02-06GHash: no need to malloc iteratorsCampbell Barton
2015-02-05Add Custom Loop Normals.Bastien Montagne
This is the core code for it, tools (datatransfer and modifier) will come in next commits). RNA api is already there, though. See the code for details, but basically, we define, for each 'smooth fan' (which is a set of adjacent loops around a same vertex that are smooth, i.e. have a single same normal), a 'loop normal space' (or lnor space), using auto-computed normal and relevant edges, and store custom normal as two angular factors inside that space. This allows to have custom normals 'following' deformations of the geometry, and to only save two shorts per loop in new clnor CDLayer. Normal manipulation (editing, mixing, interpolating, etc.) shall always happen with plain 3D vectors normals, and be converted back into storage format at the end. Clnor computation has also been threaded (at least for Mesh case, not for BMesh), since the process can be rather heavy with high poly meshes. Also, bumping subversion, and fix mess in 2.70 versioning code.
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-27Fix T43427: Particle system children sometimes not generated on reloadSergey Sharybin
The issue was caused by the conflict between preview render which would set R_NO_IMAGE_LOAD flag on the renderer and texture samplers called outside of the render pipeline trying to use this flag. Now the sampler functions accepts extra argument so render pipeline can still skip image load, but calls outside of the pipeline will nicely load all the images. Not cleanest change in the world but good enough to unlock gooseberry team, and assuming we already had pool passed all over the place it should be all fine. Will need to reshuffle arguments into SamplerOptions structure later.
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-24BKE_image: use BKE_image_*** prefixCampbell Barton
use bools for return values and some api naming consistency.
2015-01-23cleanup: styleCampbell Barton
2015-01-20Fix for BI rendering of hair spirals: Was not taking the extra pointsLukas Tönne
into account.
2015-01-20Another crappy approach to spirals on hairs, crazy expensive though.Lukas Tönne
Conflicts: source/blender/blenkernel/intern/particle.c
2015-01-20Reimplemented the voxel texture type for displaying hair continuum grids.Lukas Tönne
Conflicts: source/blender/physics/intern/BPH_mass_spring.cpp
2015-01-20Moved the cloth solver code into a new subfolder/library inside BlenderLukas Tönne
code. The implicit solver itself should remain agnostic to the specifics of the Blender data (cloth vs. hair). This way we could avoid the bloated data conversion chain from particles/hair to derived mesh to cloth modifier to implicit solver data and back. Every step in this chain adds overhead as well as rounding errors and a possibility for bugs, not to speak of making the code horribly complicated. The new subfolder is named "physics" since it should be the start of a somewhat "unified" physics systems combining all the various solvers in the same place and managing things like synchronized time steps.
2015-01-20New voxel texture mode "Hair", for displaying the internal hair volumeLukas Tönne
structure as a texture. This is mostly a debugging feature that may be removed again later.
2015-01-16Fix T43275: Crash on Render when using 'save buffer' and render layer name ↵Bastien Montagne
contains a '/' Added a new BLI_path_utils func, `BLI_filename_make_safe()`, which for now simply replaces unsafe chars for paths (like '\' or '/') by an underscore...
2015-01-13Blender-Internal: avoid redundant area checkCampbell Barton
2015-01-08Fix for wrong boolean flag checkSergey Sharybin
This fixes obvious overflows when checking bitflags, who knows how much undiscovered issues exists in the code still..
2015-01-06Remove slurph shape-key featureCampbell Barton
This is an old option which wasn't working in over a year without complaint.
2015-01-04sequencer: don't return big values (fill pointer instead)Campbell Barton
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-26Fix T42641, Graphical fragments showing on Blender 2.71 and higher when baking.Bastien Montagne
Safe for 2.73... This revert rB9b0ab890676790bb1e8e77797629b889ea66f69e - needed to set that threshold to a small negative value to remove the last artefacts reported in T39735, but now I could not reproduce any with the previous 0.0f value, so restoring it for the time being. If this 'shadowed neighbor face' case re-appears, we can always choose a value in-between, like -1e-18f...
2014-12-19Code cleanup: include directory for sconsSergey Sharybin
This directory does not exist even.
2014-12-05Render API: Add RenderEngine.error_set() functionSergey Sharybin
This function sets an error message which would be displayed after rendering is over and info space lost the link to the engine.
2014-12-01Python: add 'render_write' callbackCampbell Barton
This is useful for addons which intend to write data next to the rendered image/movie, but not for preview renders.
2014-11-30Cleanup: warnings & spaceCampbell Barton
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-11-21Cleanup: typoCampbell Barton