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-04-06Cycles: Free unused image buffers when rendering with locked interfaceSergey Sharybin
It is still possible to free a bit more memory by detecting buildin images which are not used by shaders, but that's not going to improve memory usage that much to bother about this now. Such change brings peak memory usage from 4.1GB to 3.4GB when rendering 01_01_01_D layout scene from the Gooseberry project. Mainly because of freeing memory used by rather huge environment map in the viewport. Reviewers: campbellbarton, juicyfruit Subscribers: eyecandy Differential Revision: https://developer.blender.org/D1215
2015-04-04Cleanup: use BKE_animdata_* prefixCampbell Barton
2015-04-03Sticky Keys backendJulian Eisel
Design task: T42339 Differential Revision: D840 Initial implementation proposal: T41867 Short description: With this we can distinguish between holding and tabbing a key. Useful is this if we want to assign to operators to a single shortcut. If two operators are assigned to one shortcut, we call this a sticky key. More info is accessible through the design task and the diff. A few people that were involved with this: * Sean Olson for stressing me with this burden ;) - It is his enthusiasm that pushed me forward to get this done * Campbell and Antony for the code and design review * Ton for the design review * All the other people that gave feedback on the patch and helped to make this possible A big "Thank You" for you all!
2015-04-02Add custom properties to sequence stripsCampbell Barton
2015-04-01Match corrective-smooth UI to smooth modifierCampbell Barton
2015-03-31Corrective Smooth Modifier (aka delta-mush)Campbell Barton
This modifier can be used to correct bad deformations, Original patch D1183 by @sazerac, with own modifications
2015-03-30Fix T41191: Custom Loop Normals Viewport shading not updating when set from ↵Bastien Montagne
py script Missing update tagging... Safe for 2.74.
2015-03-30Grey out high quality depth of field when it's not supported by GPUAntony Riakiotakis
2015-03-30Cleanup: use const for typeinfoCampbell Barton
2015-03-30Remove use_invert_vertex_group use_ prefixCampbell Barton
To match other modifiers.
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-28Cleanup: use BKE_texture_ prefixCampbell Barton
2015-03-28Keyframes on NLA-Strip F-Curves are detected by RNA buttons tooJoshua Leung
2015-03-27Makesrna: Fix function prototypes for struct used RNA_def_struct_sdna_fromSergey Sharybin
Previously makesrna would have generated code expecting DNA structure from RNA_def_struct_sdna_from() to be passed to it. This was wrong because actual PointerRNA points to a "parent" structure, making it impossible to add functions to certain RNA structures. It so far never needed and we didn't notice this issue, but it's needed for some ongoing development now.
2015-03-27C++ RNA API: Code cleanup, prepare for strict C++ flagsSergey Sharybin
2015-03-27Use preview option to detect frame range for filename when using ctrlAntony Riakiotakis
F11.
2015-03-26New option proxy placement, project directory.Antony Riakiotakis
There are two per-editor settings now, the Per-Strip setting (default) and the Project setting. The per strip setting basically uses the previous, per-strip options for storing the proxies. The project setting though will use a specified directory for -all- proxies, or the blend file directory if no directory is given.
2015-03-26Fix compiling after sound changesJens Verwiebe
2015-03-26sound module: Append functions with BKE (makes it easier to make themAntony Riakiotakis
out from local functions)
2015-03-24Minor UI message fix.Bastien Montagne
2015-03-24Cleanup - move proxy storage options to the proxy itself - also willAntony Riakiotakis
enable more storage options, since seq->flag is running out of space
2015-03-24Cleanup: unused functionCampbell Barton
2015-03-24Blender world value viewport updateThomas Szepe
This patch will update the 3D viewport if a word value has changed. This patch does not depends on an other patch, but should applied after https://developer.blender.org/D151 otherwise the the word value viewport update is be slow. Reviewers: brecht Reviewed By: brecht Subscribers: thelasthope, darkxiv Differential Revision: https://developer.blender.org/D159
2015-03-24BGE: World color management fixThomas Szepe
This patch will fix the color management for the mist and global ambient color. It will remove the old "Color Management" switch in the BGE "Render > Shading" panel and will use the "Display Device" setting in the "Scene > Color Management" panel instead. Reviewers: moguri, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D154
2015-03-23Cleanup: comments, styleCampbell Barton
2015-03-23Tidy up the user interface for depth of field based on feedback byAntony Riakiotakis
NudelZ on irc, thanks!
2015-03-23Make sure matcap icons are within range.Antony Riakiotakis
Basically out of range could happen when opening files made in 2.72 when the new icons for texture painting were added. Apparently some more caution is needed here.
2015-03-22BGE: New hysteresis offset to improve LOD level transitionsJorge Bernal
This change introduces a new hysteresis parameter that it will be added or subtracted to/from the LOD distance to avoid popping when a LOD object moves close to the LOD transition continuously. Then, we have the following: - a new LOD Hysteresis setting per scene (default 10%) which is located in Scene context --> Level of Detail panel. This scene parameter also will active/deactive the scene hysteresis. - and a new LOD Hysteresis setting per object (default 10%) which is located in Object context --> Levels of Detail panel. The LOD hysteresis setting per object (if active) will overwrite the hysteresis setting per scene value. For the new blends: the hysteresis setting per scene would be active by default and the per object would be inactive by default. For the old blends: both hysteresis settings (per scene and per object) would be inactive by default. A quick way to take advantage of this feature for old blends would be to activate the hysteresis parameter in the scene context -> Level of Detail panel Reviewers: campbellbarton, kupoman, moguri Reviewed By: kupoman, moguri Subscribers: nonamejuju, lordodin Differential Revision: https://developer.blender.org/D957
2015-03-21Cleanup: constify view3d/cameraCampbell Barton
2015-03-20Fix T43786: Cycles bake disregards Auto Smooth (vertex per-face normals)Sergey Sharybin
Added an utility function which performs vertex split based on the loop normal so now backing API matches to what's happening in Cycles and BI in terms of autosplit. Reviewers: dfelinto, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1174
2015-03-20Cleanup: warnings bit-shift int overflowCampbell Barton
2015-03-19Remove deleted list for palette colorsCampbell Barton
was used because of UI memory access only.
2015-03-19UI: minor re-organization of dof optionsCampbell Barton
2015-03-19Depth of field high quality:Antony Riakiotakis
A new checkbox "High quality" is provided in camera settings to enable this. This creates a depth of field that is much closer to the rendered result and even supports aperture blades in the effect, but it's more expensive too. There are optimizations to do here since the technique is very fill rate heavy. People, be careful, this -can- lock up your screen if depth of field blurring is too extreme. Technical details: This uses geometry shaders + instancing and is an adaptation of techniques gathered from http://bartwronski.com/2014/04/07/bokeh-depth-of-field-going-insane- http://advances.realtimerendering.com/s2011/SousaSchulzKazyan%20- %20in%20Real-Time%20Rendering%20Course).ppt TODOs: * Support dithering to minimize banding. * Optimize fill rate in geometry shader.
2015-03-19Speedup for constraints update from python scriptSergey Sharybin
General idea is to avoid actual calculation from property update() callback and tag things for update later instead. That said, pose constraint flags are now tagged for update and handled as a part of object update. In the new depsgraph it'll be a nice dedicated operation node. Also avoid updating disabled flags for all the modifiers. This part of the path is not totally optimal since it'll still need to iterate over bones in order to get pchan, but to optimize it further would be nice to find a way to avoid pchan requirement all together. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1191
2015-03-19Freestyle: pass Main struct to new/copyCampbell Barton
2015-03-18Fix crash using "Copy to selected" on ID-propsCampbell Barton
2015-03-18RNA: palette colors apiCampbell Barton
Methods so Python can manage colors. palette.colors.new()/remove()/clear()/active
2015-03-18RNA: move palette into its own fileCampbell Barton
2015-03-18Fix RNA active spline assignmentCampbell Barton
2015-03-16Get rid of gluBuild2DMipmaps on rna API.Antony Riakiotakis
Code here is a bit weird/simpler than GPU_draw, but we can reuse the API here, albeit with a few restrictions (no high resolution, custom filtering mode - which will probably get lost next time blender reloads textures)
2015-03-16Cleanup: warningsCampbell Barton
2015-03-14Cleanup: styleCampbell Barton
2015-03-14BGE: Fix for T43788 Light casts shadow when use_shadow uncheckedJorge Bernal
Makes use_shadow usage consistent across supported lamp types (Spot and Sun) Differential D1148 Reviewers: Moguri, Brecht
2015-03-13RNA: avoid inefficient array printingCampbell Barton
2015-03-13Add an option to mesh.calc_tessface() to get rid of polygons and loopsSergey Sharybin
The purpose of this change is to add extra possibility to render engines and export scripts to reduce peak memory footprint during their operation. This new argument should be used with care since it'll leave mesh in not really compatible with blender format, but it's ok to be used on temp meshes. Unfortunately, it's hard to get scene where it'll show huge benefit because in my tests with cycles peak memory is reached in MEM_printmemlist_stats(). However, in the file with sintel dragon it gives around 1gig of memory benefit after removing the polys which would allow other heavy to compute stuff such as hair (or even pointiness calculation) to not be a peak memory usage. In any case, this change is nice to have IMO, and only means more parts of scene export code should be optimized memory-wise. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1125
2015-03-13Cycles: Free caches used by the synchronized objectsSergey Sharybin
Issue this commit is addressed to is that particle system and particle modifier will contain caches once derived mesh was requested and this cached data will never be freed. This could easily lead to unwanted memory peaks during synchronization stage of rendering. The idea is to have RNA function in object which would free caches which can't be freed otherwise. This function is not intended to deal with derived final since it might be used by other objects (for example by object with boolean modifier). This cache freeing is only happening in the background rendering and locked interface rendering. From quick tests with victor file this change reduces peak memory usage by command line rendering by around 6% (1780MB vs. 1883MB). For rendering from the interface it's about 12% (1763MB vs. 1998MB). Reviewers: campbellbarton, lukastoenne Differential Revision: https://developer.blender.org/D1121
2015-03-13BGE: Fix for T43793 Increment frame_start/end value to 255 framesJorge Bernal
Currently, for animated textures we were allowing 16x16 tiles but we can reproduce 128 frames only. Reviewers: moguri, sergey, campbellbarton Reviewed By: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1164
2015-03-12Cleanup: styleCampbell Barton
2015-03-12makesrna: move extern prototypes into own headerCampbell Barton
Patch T36049 by @jeske