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
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-11-07Workbench: Add cubic filtering for smoke simulationClément Foucault
The option is per domain and only affects the solid / xray / wireframe view. Eevee is not yet supported.
2018-09-06UI / Python: rename X-Ray to In Front, Draw to Display.Brecht Van Lommel
See T56648.
2018-07-05Merge branch 'master' into blender2.8Campbell Barton
2018-07-05RNA: correct callback typeCampbell Barton
Missed when changing callbacks from int to bool type.
2018-06-09Merge branch 'master' into blender2.8Campbell Barton
2018-06-09Cleanup: trailing space in RNACampbell Barton
2018-05-18Merge branch 'master' into blender2.8Philipp Oeser
2018-05-18Fix T55115: crash when iterating SmokeDomainSettings color_grid propertyPhilipp Oeser
through python
2018-05-18Collections and groups unificationBrecht Van Lommel
OVERVIEW * In 2.7 terminology, all layers and groups are now collection datablocks. * These collections are nestable, linkable, instanceable, overrideable, .. which opens up new ways to set up scenes and link + override data. * Viewport/render visibility and selectability are now a part of the collection and shared across all view layers and linkable. * View layers define which subset of the scene collection hierarchy is excluded for each. For many workflows one view layer can be used, these are more of an advanced feature now. OUTLINER * The outliner now has a "View Layer" display mode instead of "Collections", which can display the collections and/or objects in the view layer. * In this display mode, collections can be excluded with the right click menu. These will then be greyed out and their objects will be excluded. * To view collections not linked to any scene, the "Blender File" display mode can be used, with the new filtering option to just see Colleciton datablocks. * The outliner right click menus for collections and objects were reorganized. * Drag and drop still needs to be improved. Like before, dragging the icon or text gives different results, we'll unify this later. LINKING AND OVERRIDES * Collections can now be linked into the scene without creating an instance, with the link/append operator or from the collections view in the outliner. * Collections can get static overrides with the right click menu in the outliner, but this is rather unreliable and not clearly communicated at the moment. * We still need to improve the make override operator to turn collection instances into collections with overrides directly in the scene. PERFORMANCE * We tried to make performance not worse than before and improve it in some cases. The main thing that's still a bit slower is multiple scenes, we have to change the layer syncing to only updated affected scenes. * Collections keep a list of their parent collections for faster incremental updates in syncing and caching. * View layer bases are now in a object -> base hash to avoid quadratic time lookups internally and in API functions like visible_get(). VERSIONING * Compatibility with 2.7 files should be improved due to the new visibility controls. Of course users may not want to set up their scenes differently now to avoid having separate layers and groups. * Compatibility with 2.8 is mostly there, and was tested on Eevee demo and Hero files. There's a few things which are know to be not quite compatible, like nested layer collections inside groups. * The versioning code for 2.8 files is quite complicated, and isolated behind #ifdef so it can be removed at the end of the release cycle. KNOWN ISSUES * The G-key group operators in the 3D viewport were left mostly as is, they need to be modified still to fit better. * Same for the groups panel in the object properties. This needs to be updated still, or perhaps replaced by something better. * Collections must all have a unique name. Less restrictive namespacing is to be done later, we'll have to see how important this is as all objects within the collections must also have a unique name anyway. * Full scene copy and delete scene are exactly doing the right thing yet. Differential Revision: https://developer.blender.org/D3383 https://code.blender.org/2018/05/collections-and-groups/
2018-04-08Merge branch 'master' into blender2.8Sybren A. Stüvel
2018-04-06Cleanup: style, doxy headersCampbell Barton
2018-03-18Merge branch 'master' into blender2.8Bastien Montagne
2018-03-18Fix ugly recursive pattern in RNA PointCache data layout.Bastien Montagne
PointCache was having a collection of items of PointCache type, having a collection of items of PointCache type, having... Nuff said. For now, chose the 'ugly' way to fix it, that is, the one that changes nothing to API and scripts using it: we define another 'PointCacheItem' RNA type for items of our point cache collection, which has exact same interface as PointCache except for the collection. This is doomed to be rewritten at some point anyway, not worth spending time trying to define a really correct data layout for now.
2018-02-24Merge branch 'master' into blender2.8Kévin Dietrich
Conflicts: source/blender/blenkernel/BKE_blender_version.h
2018-02-24Smoke: expose empty space clipping property to the UI.Kévin Dietrich
This is used to determine which voxels are to be considered empty space. Previously it was hardcoded for converting dense grids to OpenVDB grids to reduce disk space usage. This value is also useful for rendering engines to know, i.e. to optimize ray marching.
2018-02-23Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-23Smoke: add temperature grid, with values 0..1 corresponding to 0..1000K.Brecht Van Lommel
2018-02-07Merge branch 'master' into blender2.8Campbell Barton
2018-02-07Cleanup: add _types.h suffix to DNA headersCampbell Barton
2017-12-07Merge branch 'master' into blender2.8Campbell Barton
2017-12-07Cleanup: Use BKE_colorband prefixCampbell Barton
2017-12-07Cleanup: extract BKE_colorband from BKE_textureCampbell Barton
2017-11-15Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenlib/BLI_math_matrix.h source/blender/blenlib/intern/math_matrix.c source/blender/blenlib/intern/rand.c source/blender/editors/animation/anim_channels_edit.c source/blender/makesrna/intern/rna_mask.c
2017-11-14Cleanup: order BLI before BKE headersCampbell Barton
This was done nearly everywhere already
2017-10-18Merge branch 'master' into blender2.8Campbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-06-08Replace all old DAG calls with direct calls to new DEG and remove ↵Luca Rood
BKE_depsgraph.h This removes BKE_depsgraph.h and depsgraph.c
2017-03-01Cleanup: code-style, duplicate headerCampbell Barton
2016-10-30Viewport smoke: add support to render the volume using a color ramp.Kévin Dietrich
This is yet another debug option that allows to render an arbitrary simulation field by using a color ramp to inspect its voxel values. Note that when using this, fire rendering is turned off. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-10-13Usual UI/i18n tweaks & fixes.Bastien Montagne
2016-09-24Viewport smoke: add options to draw velocity vectors.Kévin Dietrich
This basically exposes to the UI a function that was only available through a debug macro ; the purpose is obviously to help debugging simulations. It adds ways to draw the vectors either as colored needles or as arrows showing the direction of the vectors. The colors are based on the magnitude of the underlying vectors. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-09-24Viewport smoke: add support for axis aligned slicing.Kévin Dietrich
Current approach uses view aligned slicing to generate polygons for GL texturing such that the generated polygons are always facing the view plane. Now it is also possible to use object aligned slicing, which creates polygons by slicing the object perpendicular to whichever axis is facing the most the view plane. It is also possible to create a single slice for inspecting the volume, or for 2D rendering effects. Settings for this, along with a density multiplier setting, are to be found in a newly added "Smoke Display Settings" panel in the smoke domain properties tab. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-08-02Fix T47591: Smoke keeps both .bphys and .vdb cache filesKévin Dietrich
Delete old caches when changing cache type.
2016-05-16Revert "Docs: smoke typo corrections"Campbell Barton
This reverts commit b13bc48932761dd813597507b1a1dc86d951ebff. Wasn't only typo fixes, broke compiling
2016-05-16Docs: smoke typo correctionsCampbell Barton
patch by @Blendify
2016-04-15Cycles: Support heat volume attributeSergey Sharybin
Similar to velocity, it was kind of supported by the mesh manager but was missing a code in BlenderSession to get actual values. In Cycles Heat is an attribute which goes from -1 to 1, where -1 is the coldest ever temperature, 1 is the hottest ever one.
2016-01-23Implementation of OpenVDB as a possible cache format for smokeKévin Dietrich
simulations. This commits implements OpenVDB as an extra cache format in the Point Cache system for smoke simulations. Compilation with the library is turned off by default for now, and shall be enabled when the library is present. A documentation of its doings is available here: http:// wiki.blender.org/index.php/User:Kevindietrich/OpenVDBSmokeExport. A guide to compile OpenVDB can be found here (Linux): http:// wiki.blender.org/index.php?title=Dev:Doc/Building_Blender/Linux/ Dependencies_From_Source#OpenVDB Reviewers: sergey, lukastoenne, brecht, campbellbarton Reviewed By: brecht, campbellbarton Subscribers: galenb, Blendify, robocyte, Lapineige, bliblubli, jtheninja, lukasstockner97, dingto, brecht Differential Revision: https://developer.blender.org/D1721
2015-06-23Cleanup: styleCampbell Barton
2015-06-20Cleanup: unused varsCampbell Barton
2015-06-19RNA: Don't fill in color grid array when built without smokeSergey Sharybin
Array length is set to 0 in that case, so filling in first element is likely to cause memory corruptions.
2015-06-19Expose smoke simulation velocities in Python APIJohannes Meng
This patch exposes smoke simulation velocities in the Python API, similar to how density and flame grids are exposed. This is useful to export velocities to an external renderer using Python. Reviewers: campbellbarton, sergey Reviewed By: sergey Subscribers: sergey Projects: #bf_blender Differential Revision: https://developer.blender.org/D1366
2014-10-02Cleanup: indentationCampbell Barton
2014-10-01Fix Smoke UI property: Low resolution values are needed for pyroclastic ↵Daniel Genrich
smoke effects. Example values for such an effects are resolution = 10 and high resolution = 5. Patch by nudelZ
2014-08-11Fix for previous commit - after talk with physics guys (Genscher, Miikah), ↵Bastien Montagne
better to keep soft UI limits as is, and only raise hard ones.
2014-08-11Fix T40047: Smoke: Maximum value for initial velocity.Bastien Montagne
Based on D644, by robschia (Roberto Schiavone).
2014-03-30Style cleanupCampbell Barton
2014-03-30Support #ifndef WITH_SMOKE againCampbell Barton
2014-03-29RNA/Smoke: add access to high resolution density grid, and flame and color ↵Brecht Van Lommel
grids.
2014-01-16Code Cleanup: spellingCampbell Barton