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
path: root/intern
AgeCommit message (Collapse)Author
2020-04-20Cleanup: redundant parenthesis, NULL checksCampbell Barton
2020-04-19Fluid: Fix for inconsistent behavior with flow and effector objectsSebastián Barschkis
Fixes issue with flow and effector objects which were not being used after resuming a bake job. This issue has been reported in T75729 and T75758.
2020-04-17UI: Layout changes for new checkbox layout possibilitiesWilliam Reynish
Follow-up to previous commit. Some examples: {F8473507} {F8473508} {F8473509} {F8473510} For more screenshots, please see D7430. We use column or row headings here to bring more structure, and to give the eye visual anchors which aid eye-scanning. The left-aligned checkboxes likewise help with this. And we keep the adherence to the center line, so the alignment matches up between the various buttons and controls. * Changes the property split percentage from 50/50% to 40/60%. This is needed to give enough space for the checkboxes. But in most cases this looks better anyway - see Transform panel. In some cases it simply fills out the available space more efficently. * Fix various hacks where we previously used manually defined splits. When we did this, the alignment was never quite right, and the layout code was a mess. * Adds column headings to many places where a list of checkboxes all share a common purpose or leading text. * Add checkbox + value configurations various places where a checkbox only serves to enable the value slider * Removes most uses of grid flow layout. The grid flow layouts combine poorly with column headings, and also they would mess alignment up badly. The grid flow layouts also often made buttons and controls jump around on the screen if you would just resize editors slightly, causing visual confusion, making users lose their place. The logic for at what time the list of items would re-flow was often flawed, jumping to multiple columns too fast or too late - and frankly, the grid flow layouts would often just look bad. Maniphest Task: https://developer.blender.org/T65965 Differential Revision: https://developer.blender.org/D7430 Reviewed by: Brecht Van Lommel, Pablo Vazquez. Most work here by William Reynish, few changes by Julian Eisel.
2020-04-15Fluid: Cleanup in MANTA main classSebastián Barschkis
More concise return types for cache import functions and general cleanup.
2020-04-15Fluid: Remove noise bake call from PythonSebastián Barschkis
Saving noise cache files is handled in fluid.c.
2020-04-15Fix T75681: Mantaflow crash when trying to bake a cupcake: The CG solver ↵Sebastián Barschkis
diverged, residual norm > 1e30 Ensures that there are no enclosed holes between an obstacle and the domain walls.
2020-04-14Fix Windows build error introduced in Wintab commit revertBrecht Van Lommel
2020-04-14Revert "Windows: support high resolution tablet pen events for Wintab"Brecht Van Lommel
This reverts commit 1a3928f33c and 1a3928f3. This is not working stable with some Wintab implementations, so reverting for now. This leaves only the Windows Ink changes for 2.83.
2020-04-12UI: reorder adaptive sampling settings in order of importanceBrecht Van Lommel
2020-04-11Cycles/Optix: Support building the optix kernels on demand.Ray Molenkamp
CMake: `WITH_CYCLES_DEVICE_OPTIX` did not respect `WITH_CYCLES_CUDA_BINARIES` causing the optix kernel to be always build at build time. Code: `device_optix.cpp` did not count on the optix kernel not existing in the default location. For this to work, one should have before starting blender 1) working nvcc environment 2) Optix SDK installed and the OPTIX_ROOT_DIR environment variable pointing to it which is not set by default Differential Revision: https://developer.blender.org/D7400 Reviewed By: Brecht
2020-04-10Fix T75546: Solve possible endless loop in wintab initialisationNicholas Rishel
Some Wintab drivers report a zero length queue, this causes an unplanned never ending loop. Differential Revision: https://developer.blender.org/D7392 Reviewed by: Ray Molenkamp
2020-04-09Shading: add Roughness input to Noise and Wave texture nodesBartosz Moniewski
Currently in fractal_noise functions, each subsequent octave doubles the frequency and reduces the amplitude by half. This patch introduces Roughness input to Noise and Wave nodes. This multiplier determines how quickly the amplitudes of the subsequent octaves decrease. Value of 0.5 will be the default, generating identical noise we had before. Values above 0.5 will increase influence of each octave resulting in more "rough" noise, most interesting pattern changes happen there. Values below 0.5 will result in more "smooth" noise. Differential Revision: https://developer.blender.org/D7065
2020-04-05Cleanup: spellingCampbell Barton
2020-04-08Fix T75288: crash in Cycles image loading with multithreaded shader compilationBrecht Van Lommel
2020-04-08Fix T75290: Cycles crash with out of bounds memory access in volume mesh buildBrecht Van Lommel
2020-04-08Cleanup: clang-formatBrecht Van Lommel
2020-04-08Fluid: Fix issue with mesh not being loadedSebastián Barschkis
Fixed an issue that was likely introduced in a past cleanup.
2020-04-08Fix T74572: adaptive sampling still not working correct with shader AOVsBrecht Van Lommel
2020-04-08Fix build error with WITH_X11_XINPUT=OFF after recent changesBrecht Van Lommel
2020-04-08Fluid: Fix problem with inconsistent noise when using multiple adaptive ↵Sebastián Barschkis
time-steps Problem was mentioned in T74062.
2020-04-08Windows: support high resolution tablet pen events for WintabNicholas Rishel
Together with Windows Ink support, this should fully resolve T70765. Differential Revision: https://developer.blender.org/D6675
2020-04-08Windows: support high resolution tablet pen events for Windows InkNicholas Rishel
Rather than using the last state of the tablet, we now query the history of pointer events so strokes can follow the pen even if Blender does not handle events at the same rate. Differential Revision: https://developer.blender.org/D6675
2020-04-08Cleanup: minor refactoring of pointer event handlingNicholas Rishel
Ref D6675
2020-04-08Cleanup: add utility functions for milliseconds conversionNicholas Rishel
Ref D6675
2020-04-08Cleanup: remove GHOST API to query tablet state from WindowBrecht Van Lommel
It's not used by Blender anymore and it's unreliable since this state really only makes sense associated with events in a particular order. Ref D6675
2020-04-07Cleanup: refactor adaptive sampling to more easily change some parametersBrecht Van Lommel
No functional changes yet, this is work towards making CPU and GPU results match more closely.
2020-04-07Fix T74828: Fluid: Crash with Fire/Smoke NoiseSebastián Barschkis
Issue was that the noise simulation was trying to bake with a minimized domain size (adaptive domain initializes domain with size (1,1,1)). Similarly to the base resolution bake, there should be no noise baking happening at those domain sizes - a domain at this size is considered empty.
2020-04-07Fluid: Fixed assertion errorSebastián Barschkis
Fix for new assertion statements that were introduced in bfdc42d9906a.
2020-04-07Fix T74572: adaptive sampling not scaling AOVs correctlyBrecht Van Lommel
2020-04-07Revert "Fix T74572: adaptive sampling not scaling render passes correctly"Brecht Van Lommel
This reverts commit 82a8da0ec38a70efde4a91957824c67d0e60b8ad. It was completely wrong. Fixes T75388.
2020-04-06Fluid: Ensure correct velocities for noise bakeSebastián Barschkis
Make sure that noise uses the unaltered velocity grid. This is particularly important once external velocities get added to the velocity grid.
2020-04-06Libmv: Use static scheduler for threadingSergey Sharybin
For a real-world distortion the payload is quite uniformly distributed across scanlines. Surely, in the corners more iterations of minimizer is needed, but that happens in threads without scheduling overhead.
2020-04-06Tracking: Fix (un)distortion happen in single threadSergey Sharybin
Need to communicate available number of threads to the camera intrinsics implementation, otherwise default value of 1 is used. Must have been single-threaded for a very long time.
2020-04-03Fluid: Refactored caching in main Mantaflow classSebastián Barschkis
This refactor cleans up code for the Manta file IO. It also improves the cache 'Replay' option.
2020-04-03Fluid: Refactored MANTA classSebastián Barschkis
Refactored the caching system so that return values are no longer ignored. The aim of this refactor was to make the caching more robust.
2020-04-03Fix T75287: other Cycles render passes wrong when using CryptomatteBrecht Van Lommel
2020-04-03Fix T74572: adaptive sampling not scaling render passes correctlyBrecht Van Lommel
2020-04-03Cleanup: quiet shadow warnings with ghost & mantaflowCampbell Barton
2020-04-03Cleanup: spellingCampbell Barton
2020-04-02Fix warnings caused by own earlier commitJulian Eisel
Caused by 34465a7fb091.
2020-04-02Fix Cycles AVX unit test still failing to build with old GCCBrecht Van Lommel
2020-04-02VR: Refactor DirectX context managementJulian Eisel
All DirectX management happens on Ghost level now, higher level code can just assume everything is OpenGL (except of the upside-down drawing that still needs to be done for DirectX). This is similar to how the metal-layer is hidden outside of Ghost. The Ghost-XR graphics binding for DirectX is responsible for managing the DirectX compatibility now.
2020-04-02Fix more build errors/warnings after recent AVX changesBrecht Van Lommel
Thanks to Sergey and Ray for the help identifying the problem.
2020-04-02Fix build error on Windows/Linux after recent AVX changesBrecht Van Lommel
2020-04-02Cleanup: Avoid complex template type for XR-SwapchainJulian Eisel
I rather avoid types like `std::vector<std::unique_ptr<GHOST_XrSwapchain>>`, which is easy to do in this case.
2020-04-01Cycles: AVX implantation of Perlin noise.OmarSquircleArt
This patch adds an AVX implementation of Perlin noise in Cycles. An avxi type was also added as a utility based on the respective type in Intel Embree. Only 3D and 4D noise were implemented, there is no benefit for utilizing AVX in 1D and 2D noise. The SSE trilinear interpolation function was used in the AVX implementation because there is no benefit from using AVX in interpolating the last three dimensions. Differential Revision: https://developer.blender.org/D6680
2020-03-31Fix missing XR space destructionJulian Eisel
I think destructing the XrSession would destruct this anyway, but rather have this done explicitly, consistently and in a controlled manner.
2020-03-30Fluid: Optimization for mesh file loadingSebastián Barschkis
Improved loading times for mesh files by reading bigger chunks of data from the disk at once.
2020-03-29Fluid: Optimization for liquid / secondary particle file loadingSebastián Barschkis
Improved loading times for particles files by reading bigger chunks of data from the disk at once.
2020-03-28Fix key detection issues introduced by D7229Asher
Removing the GHOST_kKeyUnknown check from processKeyEvent() produces epeated unknown key events whenever a modifier key is held down, due to the way ghost uses GHOST_kKeyUnknown as a filter value for modifier key events. Differential Revision: https://developer.blender.org/D7257