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-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 argument to DM_to_mesh() function to take ownership over the DMSergey Sharybin
The idea is pretty simple: instead of making temporary copy of all the related custom data layers just pass the ownership from the DM to the mesh. This is really handy in cases when you've got DM which you need to convert to Mesh datablock and wouldn't need that DM after conversion anyway. Foe example, render database conversion, exporters and even Modifier Apply will benefit from this option. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1127
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-13Fix T43959 jittering in 2D texture painting.Antony Riakiotakis
This is still not perfect, but should work smoother now. Previously there was visible wobbling while painting. This can be included in final release.
2015-03-13Fix unstable particle jittered distribution.Lukas Tönne
This was never working for threaded distribution.
2015-03-13Initial compilation support with C++11 featureset enabledSergey Sharybin
This commit makes some preliminary fixes and tweaks aimed to make blender compilable with C++11 feature set. This includes: - Build system attribute to enable C++11 featureset. It's for sure default OFF, but easy to enable to have a play around with it and make sure all the stuff is compilable before we go C++11 for real. - Changes in Compositor to use non-named cl_int structure fields. This is because __STRICT_ANSI__ is defined by default by GCC and OpenCL does not use named fields in this case. - Changes to TYPE_CHECK() related on lack of typeof() in C++11 This uses decltype() instead with some trickery to make sure returned type is not a reference. - Changes for auto_ptr in Freestyle This actually conditionally switches between auto_ptr and unique_ptr since auto_ptr is deprecated in C++11. Seems to be not strictly needed but still nice to be ready for such an update anyway/ This all based on changes form depsgraph_refactor branch apart from the weird changes which were made in order to support MinGW compilation. Those parts of change would need to be carefully reviewed again after official move to gcc49 in MinGW. Tested on Linux with GCC-4.7 and Clang-3.5, other platforms are not tested and likely needs some more tweaks. Reviewers: campbellbarton, juicyfruit, mont29, lukastoenne, psy-fi, kjym3 Differential Revision: https://developer.blender.org/D1089
2015-03-13error in last commitCampbell Barton
2015-03-13CMake: unbundle LZO libraryCampbell Barton
Patch T41989 by @hasufell
2015-03-13Cycles: Optimization for CMJ in CUDA kernelsSergey Sharybin
Two things: - Use intrinsics for clz/ctz (ctz is implemented via ffs()). - Use faster sqrt() function which precision is enough for integer values.
2015-03-13Pass proper bmain to the updateDepgraph() of modifiersSergey Sharybin
This is mainly to make physics modifiers being able to work with it. For other cases this main is not needed.
2015-03-13Fix T43803: Crash playing smoke animation, when linked as group instanceSergey Sharybin
The issue was caused by missing relations between smoke domain and flow/source objects. This happened because smoke's modifier only iterated base objects and ignored cases when flow/source could be linked to scene via dupli-group and does not have real base. The same seems to be still needed for fluid and dynamic paint modifiers, will do it as a separate commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1172
2015-03-13BGE: Fix for T43980 MouseLook (actuator) triggers MouseMovement (sensor)Jorge Bernal
on other objects permanently only trigger mouse event when it is necessary, this way we avoid conflicts with other mouse sensors.
2015-03-13Cycles: Simplify volume light connect code.Thomas Dinges
2015-03-13Cleanup: Use differential helper class.Thomas Dinges
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-12View3D: Quad-view opposite axis switchingCampbell Barton
Pressing Numpad9 now orbits to the opposite side in any viewport, with the advantage that it can switch locked-quadview axis to their opposite side.
2015-03-12Cleanup: remove unused viewnumpad codeCampbell Barton
2015-03-12D1171: Use GHash for BHead idname lookupsCampbell Barton
This patch avoids looping over bhead's linked list when looking up values by name. Used during appaned and library loading. Gives noticeable overall speedup loading files that used libraries. (nearly 2x on some Mango files)
2015-03-12Cleanup: use realloc for entry-array-resizingCampbell Barton
2015-03-12Cleanup: refactor header lookups into functionsCampbell Barton
2015-03-12Cleanup: use POINTER_OFFSET macroCampbell Barton
2015-03-12Readme: tweaks to make it less hassle to editCampbell Barton
also remove "this is the Nth release" text, not so helpful and easy to forget to update.
2015-03-12Revert "Fix T43865: Cycles: Watertight rendering produces artifacts on a ↵Sergey Sharybin
huge plane" The fix was really flacky, in terms during speed benchmarks i had abort() in the fallback block to be sure it never runs in production scenes, but that affected on the optimization as well. Without this abort there's quite bad slowdown of 5-7% on the renders even tho the Pleucker fallback was never run. This is all weird and for now reverting the change which affects on all the production scenes and will look into alternative fixes for the original issue with precision loss on huge planes. This reverts commit 9489205c5c0b9b432d02be4a3d0d15fc62ee6cb9.
2015-03-12Fix T43974: Alpha output of movie clip node crashes blenderSergey Sharybin
Issue was caused by a bug in the memory optimization commit, should be backported to the final release branch.
2015-03-12Partial fix for T43967: Background is wrong in 2.74Sergey Sharybin
Was missing do-versions code after rotation order change in Cycles. This is a regression and to be ported to the final release branch.
2015-03-12Cleanup: styleCampbell Barton
2015-03-12makesrna: move extern prototypes into own headerCampbell Barton
Patch T36049 by @jeske
2015-03-12OpenEXR 2.2 add support for Dreamworks DWAA / DWAB compressionMartijn Berger
This patch makes it possible for the user to select all supported compression types in OpenEXR 2.2 Discussion points: - B44 is only defined for half's it compresses to a fixed representation of 44% of the halfs. We do currently not reflect in the UI that in the case of float32's it will be equal to compression = NONE - ZIPS is single scanline zip and is supposed to be useful in cases where importing in Nuke happens. - The new Dreamworks formats, are the worth exposing etc etc Reviewers: campbellbarton, sergey Reviewed By: sergey Projects: #bf_blender Differential Revision: https://developer.blender.org/D1050
2015-03-12Remove version from readme, (replace on install)Campbell Barton
2015-03-12Fix loading of indexed .bmp filesCampbell Barton
D1173 by @rdb Support for 1,2,4 bit images
2015-03-12Cycles / Decoupled Ray Marching: Skip consecutive empty steps.Thomas Dinges
This merges consecutive empty steps in the decoupled record function, which can lead to fewer iterations in the scatter functions. Only helps slightly though (1%), but doesn't hurt to have this. Differential Revision: https://developer.blender.org/D873
2015-03-12Cycles: Make Background MIS building threadedThomas Dinges
Use multiple threads for building the MIS table, if the resolution is higher than 512. Also replace division by cdf_total, with a inverse multiplication by cdf_total_inv. This gives further speedup. On my Macbook (8 CPU threads) this improves the time to build the table: Resolution 4096: From 0.16s to 0.03s Resolution 8096: From 0.61s to 0.11s This especially helps to reduce the scene update time, when tweaking world shader while viewport rendering is running. Patch by Sergey and myself. Differential Revision: https://developer.blender.org/D1159
2015-03-12Blender 2.75 release cycle start: BCon1Thomas Dinges
2015-03-12Py/RNA: add bpy.data.palettesCampbell Barton
2015-03-12CustomData: don't calloc when duplicating layersCampbell Barton
2015-03-12Cleanup: de-duplicate view3d clippingCampbell Barton
2015-03-12GuardedAlloc: safer MEM_SAFE_FREECampbell Barton
only instantiate the argument once, so MEM_SAFE_FREE(array[i++]), won't cause incorrect behavior.
2015-03-12Py Tests: manual URL validatorCampbell Barton
Support for URL checker to use locally generated manual.
2015-03-11Point submodules to RC1 tagsv2.74-rc1Sergey Sharybin
2015-03-112.74 splashCampbell Barton
by Manu Järvinen
2015-03-112.74 release: update HTMLCampbell Barton
Also remove unneeded metadata
2015-03-112.74 version bumpCampbell Barton
2015-03-11Fix really stupid issue reported by Campbell, code retry to renderAntony Riakiotakis
without VBOs would return prematurely and leak.
2015-03-11Fix typo in RNA definition of "shape_key_add"Philipp Oeser
Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D1167
2015-03-11Fix 8bit BMP palette readingCampbell Barton
part of D1173 by @rdb, load BGR -> RGB
2015-03-11Fix flip node making unsigned int out-of-rangeCampbell Barton
2015-03-11Cleanup: styleCampbell Barton