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-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
2020-03-27Fix Optix build error after recent changesDaniel Santana
Differential Revision: https://developer.blender.org/D7253
2020-03-27Cleanup: Silence uninitialized variable warningCharlie Jolly
2020-03-27Fluid: Removed obstacle levelset optimizationSebastián Barschkis
Currently results in unstable particle behavior and incorrect meshing.
2020-03-26Mantaflow: remove reminents of high res smokeAaron Carlisle
It appears this slipped through the code review Reviewed By: sebbas Differential Revision: https://developer.blender.org/D6760
2020-03-26Cycles: Restore cycles_cubin_cc to working orderRay Molenkamp
Reviewed by: brecht pmoursnv Differential Revision: https://developer.blender.org/D7136
2020-03-26Cycles/Optix: Add CYCLES_OPTIX_TEST overrideRay Molenkamp
This works similarly to the CYCLES_OPENCL_TEST environment variable to allow testing on unsupported hardware. Note: like the OPENCL test override, this is for *testing* only and bug reports on unsupported hardware will *not* be accepted at this point in time.
2020-03-26Fix missing text input on Windows with certain keyboard layoutsGermano Cavalcante
Events for keys specific to certain keyboard layouts unknown to Blender were ignored. Now pass them along as unknown key events for which we can still handle text input, like we already do for Linux and macOS. Differential Revision: https://developer.blender.org/D7229
2020-03-26Fix T74939: Random Walk subsurface appearance in OptiX does not match other ↵Patrick Mours
engines Random Walk subsurface scattering did look different with OptiX because transmittance is calculated based on the hit distance, but the OptiX implementation of `scene_intersect_local` would return the distance in world space, while the Cycles BVH version returns it in object space. This fixes the problem by simply skipping the object->world transforms in all the places using the result of `scene_intersect_local` with OptiX. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7232