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-07-15WM: rename files, manipulator -> gizmoCampbell Barton
Edit doxy files and header guards only.
2018-07-11Manipulator: changes for overlay optionsCampbell Barton
There are now 3 categories in the overlay popover: - Navigation - Active (camera, lamp... etc) - Tool (manipulator) The user preference for mini axis now controls if the mini axis displays minimal or a full-interactive widget. Part of design: T55863
2018-07-06UI/Python: rename Lamps to Lights, to follow more standard terminology.Brecht Van Lommel
Internally it's still mostly named lamps, though some modules like Cycles were already calling them lights.
2018-06-14Cleanup: rename arrow manipulator 'draw_options'Campbell Barton
Rename to 'transform' since this controls interaction.
2018-06-053D View: disable manipulators & text w/o overlayCampbell Barton
Manipulators which aren't explicitly activated via tools are now hidden. Tool manipulators are kept because it doesn't make sense to interact with a tool with hidden manipulators.
2018-06-01Revert "COW Fix: Lamp manipulators"Campbell Barton
This reverts commit 33e45658ebc2a79acda259f7be748ad64780e982. No longer needed.
2018-05-26COW Fix: Lamp manipulatorsCampbell Barton
2018-05-24Cycles/Eevee: Implement disk and ellipse shapes for area lampsLukas Stockner
The implementation is pretty straightforward. In Cycles, sampling the shapes is currently done w.r.t. area instead of solid angle. There is a paper on solid angle sampling for disks [1], but the described algorithm is based on simply sampling the enclosing square and rejecting samples outside of the disk, which is not exactly great for Cycles' RNG (we'd need to setup a LCG for the repeated sampling) and for GPU divergence. Even worse, the algorithm is only defined for disks. For ellipses, the basic idea still works, but a way to analytically calculate the solid angle is required. This is technically possible [2], but the calculation is extremely complex and still requires a lookup table for the Heuman Lambda function. Therefore, I've decided to not implement that for now, we could still look into it later on. In Eevee, the code uses the existing ltc_evaluate_disk to implement the lighting calculations. [1]: "Solid Angle Sampling of Disk and Cylinder Lights" [2]: "Analytical solution for the solid angle subtended at any point by an ellipse via a point source radiation vector potential" Reviewers: sergey, brecht, fclem Differential Revision: https://developer.blender.org/D3171
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-27Manipulator: support operator per-partCampbell Barton
A single manipulator could only assign a single operator to each part. Now each part can have it's own. Also modify 2D selection callback, 2D started at 1, 3D at 0. Now use -1 for unset value, start both at 0.
2017-08-25Manipulator: zero grab offset w/o target propertyCampbell Barton
Some manipulators are used like on-screen buttons, in this case it doesn't make sense to keep track of their state, so zero the offset when its unused. Needed for lamp-target manipulator.
2017-08-10Manipulator: grab3d option to align to viewCampbell Barton
Use for lamp-target, makes it easier to click on.
2017-08-09Manipulator: use offset-scale for lamp targetCampbell Barton
2017-08-09Fix spin rotate axisCampbell Barton
Also disable lamp-target for cameras (might enable later).
2017-08-09Manipulator: replace hard coded color w/ themeCampbell Barton
2017-08-06Manipulator: experimental lamp positioning toolCampbell Barton
- New manipulator tracks lamps to position under cursor. - Works with multiple lamps, keeping relative offsets. - Holding Ctrl moves the lamp. - Access via manipulator or Shift-T. Code could be improved, but like to get feedback from users.
2017-08-03Manipulator: render border widgetCampbell Barton
Note there are issues clamping & updating, will resolve as part of changes to cage2d widget.
2017-08-03Manipulator: use default for cage2d dimensionsCampbell Barton
Also minor cleanuup, assign new vars for manipulator group.
2017-08-03Cleanup: split 3D view manipulators by typeCampbell Barton