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
2017-11-08Merge branch 'master' into blender2.8Brecht Van Lommel
2017-11-08Cycles: add bevel shader, for raytrace based rounded edges.Brecht Van Lommel
The algorithm averages normals from nearby surfaces. It uses the same sampling strategy as BSSRDFs, casting rays along the normal and two orthogonal axes, and combining the samples with MIS. The main concern here is that we are introducing raytracing inside shader evaluation, which could be quite bad for GPU performance and stack memory usage. In practice it doesn't seem so bad though. Note that using this feature can easily slow down renders 20%, and that if you care about performance then it's better to use a bevel modifier. Mainly this is useful for baking, and for cases where the mesh topology makes it difficult for the bevel modifier to work well. Differential Revision: https://developer.blender.org/D2803
2017-10-31Merge branch 'master' into blender2.8Campbell Barton
2017-10-31UI: replace UI_ITEM_O_RETURN_PROPS /w return argCampbell Barton
Means we can have a version of this function that returns the button and avoids returning a struct that often isn't used.
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-10-16Workspace: Move engines to workspace and Properties Editor cleanupDalai Felinto
Engine is not stored in WorkSpaces. That defines the "context" engine, which is used for the entire UI. The engine used for the poll of nodes (add node menu, new nodes when "Use Nodes") is obtained from context. Introduce a ViewRender struct for viewport settings that are defined for workspaces and scene. This struct will be populated with the hand-picked settings that can be defined per workspace as per the 2.8 design. * use_scene_settings * properties editor: workshop + organize context path Use Scene Settings ================== For viewport drawing, Workspaces have an option to use the Scene render settings (F12) instead of the viewport settings. This way users can quickly preview the final render settings, engine and View Layer. This will affect all the editors in that workspace, and it will be clearly indicated in the top-bar. Properties Editor: Add Workspace and organize context path ========================================================== We now have the properties of: Scene, Scene > Layer, Scene > World, Workspace [Scene | Workspace] > Render Layer > Object [Scene | Workspace] > Render Layer > Object > Data (...) Reviewers: Campbell Barton, Julian Eisel Differential Revision: https://developer.blender.org/D2842
2017-10-16Merge branch 'master' into blender2.8Campbell Barton
2017-10-16WM: refactor gestures for use as toolsCampbell Barton
Border and circle select wait for input by default. This commit uses bool properties on the operators instead of magic number (called "gesture_mode"). Keymaps that define 'deselect' for border/circle select begin immediately, exiting when on button release.
2017-10-16Cleanup: modal operator border callback namesCampbell Barton
Use same convention as all others. Remove 'select' since these are used for zoom as well.
2017-10-16WM: Don't save mouse-paths to operator historyCampbell Barton
In preparation for modal operators storing their properties, no need to keep mouse-paths around. Also use generic function for lasso properties.
2017-10-16WM: remove hard-coded circle radius memoryCampbell Barton
Replace with operator type 'last_properties'. Also use generic function for circle gesture properties.
2017-10-07Cleanup: style, duplicate includesCampbell Barton
2017-10-06Merge branch 'master' into blender28Campbell Barton
2017-10-05Fix passing the same argument twice to BLI_strncpyCampbell Barton
2017-09-27Merge branch 'master' into blender2.8Campbell Barton
2017-09-27Math Lib: Add non-clamped round_* functionsCampbell Barton
Replace iroundf with round_fl_to_int, add other types
2017-09-26Cleanup: naming (GPU immediate util)Campbell Barton
2017-09-15Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-14Fix T52653: Render output of linked scenes conflicts with other scenes with ↵Sergey Sharybin
the same name The issue was caused by render result identifier only consist of scene name, which could indeed cause conflicts. On the one hand, there are quite some areas in Blender where we need identifier to be unique to properly address things. Usually this is required for sub-data of IDs, like bones. On another hand, it's not that hard to support this particular case and avoid possible frustration. The idea is, we add library name to render identifier for linked scenes. We use library name and not pointer so we preserve render results through undo stack. Reviewers: campbellbarton, mont29, brecht Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2836
2017-09-13Cleanup: use explicit 2d suffix for imm utilsCampbell Barton
Avoid ambiguity between 2d/3d (which were already named).
2017-09-13Merge branch 'master' into blender2.8Campbell Barton
2017-09-13Node UI: scale cross by pixelsizeCampbell Barton
Draws a little smaller to fit with 2.8x manipulator.
2017-09-06Node UI: Add square and diamond socked draw stylesCampbell Barton
Currently not used by Blender's node trees D2814 by @charlie
2017-08-30Manipulator: replace old cage2d manipulatorCampbell Barton
Mostly internal changes, keeping both manipulators could have worked but there was no point long term. There are still some glitches to resolve, will work on those next.
2017-08-29Cleanup: naming (RECT -> CAGE2D)Campbell Barton
Make cage2d 'part' defines public (needed to assign operator actions).
2017-08-23Merge branch 'master' into blender2.8Campbell Barton
2017-08-23Fix T52218: Missing update when reconnecting nodeSergey Sharybin
If node was connected to output, we tag tree for update no matter where the node was re-plugged to. Should be safe for 2.79.
2017-08-18Eevee: Convert metallic nodes into princinpled nodesDalai Felinto
And wipe metallic out of the map.
2017-08-18Swap Eevee material output with (Cycles) Material OutputDalai Felinto
Since we started supporting the (Cycles) Material Output old files stopped working. There is no reason to keep the original Eevee material otuput anymore. It includes doversion for old files.
2017-08-10Manipulator: add compositor corner-pin widgetsCampbell Barton
2017-08-10Manipulator: rename grab enumCampbell Barton
We'll want some 3D shapes, so name existing shapes 2D
2017-08-09Manipulator: add sun-beam node manipulatorCampbell Barton
2017-08-04Manipulator: add compositor crop manipulatorCampbell Barton
2017-07-30Revert "Fix manipulator handles getting added each refresh"Campbell Barton
This reverts commit 122706db9cd23c88775474750e99b57e74a3b9e5. Would loose manipulators, will check for duplicates instead.
2017-07-27Manipulator: remove namesCampbell Barton
They weren't used anywhere, both C & Py manipulators better assign to vars (no lookup needed).
2017-07-21Fix manipulator handles getting added each refreshCampbell Barton
The same manipulator map handler would accumulate, slowing down interactions.
2017-07-19Merge branch 'master' into blender2.8Campbell Barton
2017-07-19Fix T52092: Crash un-grouping nodesCampbell Barton
2017-06-21Manipulator: edit_properties -> target_propertiesCampbell Barton
Naming was too confusing between properties of a manipulator and properties it edits.
2017-06-21Manipulators: move settings to ID propertiesCampbell Barton
This makes manipulator access closer to operators, and allows Python access. This adds RNA for manipulators, but not Python registration yet. - Split draw style into 2x settings: `draw_style` (enum) & `draw_options` (enum-flag) - Rename wmManipulator.properties -> properties_edit, Use wmManipulator.properties for ID-properties. Note that this area of the API will need further work since manipulators now have 2 kinds of properties & API's to access them.
2017-06-20Clean node names and organize menus for eeveeLuca Rood
This makes the node menus aware of the Cycles/Eevee distinction, and only show the relevant nodes for the current engine. Names have also been changed to accomodate for the new output node system.
2017-06-20Implement Eevee output node systemLuca Rood
This makes Eevee consistent with Cycles, by having a single output node, and multiple shader nodes that connect to it. Note that node systems for Eevee saved before this will be missing the output node, and thus will show an invalid material. This is easily resolved by connecting the shader output to a new output node.
2017-06-19Gawain API naming refactorCampbell Barton
Use consistent prefix for gawain API names as well as some abbreviations to avoid over-long names, see: D2678
2017-06-19Merge branch 'master' into blender2.8Campbell Barton
2017-06-18Fix T51840: UI redraw in node editor header missing on pointcache bakeThomas Beck
Missing a notifier handler in the node editor
2017-06-18Fix unreported: Copy-pasting nodes crashes when they have an undefined typeLukas Stockner
2017-06-18Manipulator: use matrix for manipulator directionCampbell Barton
Remove type-specific axis functions.
2017-06-17Manipulator: remove type specific 'new' functionsCampbell Barton
Instead use generic 'WM_manipulator_new', adding a new 'setup' callback (like wmManipulatorGroup.setup) used to initialize type vars. This moves conventions closer to wmOperator and simplifies exposing to Python.
2017-06-15Updates to manipulator APICampbell Barton
While this is work-in-progress from custom-manipulators branch its stable so adding into 2.8 so we don't get too much out of sync. - ManipulatorGroupType's are moved out of the manipulator-map and are now global (like operators, panels etc) and added into spaces as needed. Without this all operators that might ever use a manipulator in the 3D view would be polling the viewport. - Add optional get/set callbacks for non-RNA properties Needed so re-usable manipulators can control values that don't correspond to a single properly or need conversion. - Fix divide by zero bug in arrow manipulator (when moving zero pixels).