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-28Clean up. Change VDB iteration method in Cycles to leaf iterators rather ↵Geraldine Chua
than accessors.
2018-07-26Intial commit for volume motion blur.Geraldine Chua
2018-07-26Cleanup; fix some bugs causing crashes.Geraldine Chua
2018-07-16Cleanup and bug fixes.Geraldine Chua
2018-07-10Simple OpenVDB import GUI.Geraldine Chua
2018-07-10Initial commit for Cycles OpenVDB import.Geraldine Chua
2018-07-10Revert "Morton ordering for sparse grids."Geraldine Chua
This reverts commit a93a9fb09bcfd6211f063255ccb11cfc15e013d1.
2018-06-16Morton ordering for sparse grids.Geraldine Chua
2018-06-11Minor sparse tile fixes.Geraldine Chua
Fixed some really obvious errors with CUDA sampling, and moved the coordinates to index calculation back into kernel, saving a small perecentage of time.
2018-06-10Updates to volume kernel tiling function.Geraldine Chua
1. OpenCL and CUDA support (mostly untested). 2. Change name of offsets to grid_info since it needs to keep track of other info as well. 3. Several speed and memory optimizations.
2018-06-08Reduce sparse grid memory usage and minor fixes.Geraldine Chua
Sparse grids originally padded out an image to dimensions divisible by TILE_SIZE, which resulted in many empty voxels in large volumes. Now, border tiles are taken into account when calculating voxel indexes. Aside from that, made some other minor fixes throughout the files.
2018-06-07Threshold sparse grid with volume mesh isovalueGeraldine Chua
and optimize tile copying during grid generation.
2018-06-07Remove SparseTile; support CPU tricubic interp.Geraldine Chua
Sparse grids now use their normal types instead of a specific struct. Also added support for tricubic interpolation of sparse grids for CPU rendering.
2018-06-06Added sparse grid lookup to mesh volume generator.Geraldine Chua
Also made some minor operator additions/changes.
2018-06-05Updates to tiling function.Geraldine Chua
1. Supports all data types (or at least the ones enumerated in ImageDataType). 2. Will tile all volume attributes. 3. Changed method of activating tiling to a bool member of Image.
2018-06-05Created init functions for uchar4 and half4.Geraldine Chua
2018-05-31Initial working implementation of tiling for sparse grids.Geraldine Chua
2018-05-31Cleanup: remove G.main from BKE objectBastien Montagne
Had to add some G.main to modifiers, but in 2.8 we do not need that anymore, so it's not that bad! ;)
2018-05-31Cleanup: nuke G.main out of BKE PackedFile code.Bastien Montagne
2018-05-31Cleanup: use doxy sections for space typesCampbell Barton
Also use struct names in enum/define comments.
2018-05-31Cleanup: return types in stubsCampbell Barton
2018-05-31Fix OpenCL compilation error - BPT without SSS.Hristo Gueorguiev
2018-05-30make.bat: fix support for building with just the build tools installed.Ray Molenkamp
2018-05-30Fix missing movieclip ID type in allowed ones for Outliner...Bastien Montagne
2018-05-30Edit Mode: add success return valueCampbell Barton
Also remove fix for T6614, since BKE_object_obdata_is_libdata no longer checks proxy.
2018-05-30DNA: add OB_DATA_SUPPORT_EDITMODE macroCampbell Barton
2018-05-29Cleanup: Get rid of G.main in BKE_material.Bastien Montagne
Note that in some cases, this only moves the G.main case to somne other places - in particular, RNA getters/setters are becoming annoying here...
2018-05-29make.bat : fix release build not getting the right settings.Ray Molenkamp
2018-05-29make.bat : improve error message while detecting the msvc runtime when using ↵Ray Molenkamp
clang
2018-05-29make.bat : add support for building with ninja and clang together.Ray Molenkamp
2018-05-28Windows: Add support for building with clang.Ray Molenkamp
This commit contains the minimum to make clang build/work with blender, asan and ninja build support is forthcoming Things to note: 1) Builds and runs, and is able to pass all tests (except for the freestyle_stroke_material.blend test which was broken at that time for all platforms by the looks of it) 2) It's slightly faster than msvc when using cycles. (time in seconds, on an i7-3370) victor_cpu msvc:3099.51 clang:2796.43 pavillon_barcelona_cpu msvc:1872.05 clang:1827.72 koro_cpu msvc:1097.58 clang:1006.51 fishy_cat_cpu msvc:815.37 clang:722.2 classroom_cpu msvc:1705.39 clang:1575.43 bmw27_cpu msvc:552.38 clang:561.53 barbershop_interior_cpu msvc:2134.93 clang:1922.33 3) clang on windows uses a drop in replacement for the Microsoft cl.exe (takes some of the Microsoft parameters, but not all, and takes some of the clang parameters but not all) and uses ms headers + libraries + linker, so you still need visual studio installed and will use our existing vc14 svn libs. 4) X64 only currently, X86 builds but crashes on startup. 5) Tested with llvm/clang 6.0.0 6) Requires visual studio integration, available at https://github.com/LazyDodo/llvm-vs2017-integration 7) The Microsoft compiler spawns a few copies of cl in parallel to get faster build times, clang doesn't, so the build time is 3-4x slower than with msvc. 8) No openmp support yet. Have not looked at this much, the binary distribution of clang doesn't seem to include it on windows. 9) No ASAN support yet, some of the sanitizers can be made to work, but it was decided to leave support out of this commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3304
2018-05-28Fix Cycles + OSL build error, pass main to node editing functions.Brecht Van Lommel
2018-05-27UI: center align number buttons w/o textCampbell Barton
This makes supporting split properties and text possible, see T54951
2018-05-27Cleanup: Nuke most of remaining evil G.main from RNA.Bastien Montagne
The few ones in getters/setters we cannot remove as easily, for now we can live with those I think...
2018-05-27Cycles: Fix problems in the IES loader when rendering with no file selectedLukas Stockner
2018-05-27UI: replace BLI_strncpy w/ memcpyCampbell Barton
Size is already checked.
2018-05-27Recently added IES conflicts w/ EEVEECampbell Barton
2018-05-273D View: minor change to NDOF view orbitCampbell Barton
This change is needed for 2.8, where the NULL check isn't a reliable way of testing if dynamic offset is needed.
2018-05-27Fix restrict error in BLI_str_format_byte_unitCampbell Barton
Don't use sprintf to append a string to it's self. Also correct BLI_str_rstrip_float_zero's return value.
2018-05-27make.bat : Fix builtime.txt being written in the wrong folder.Ray Molenkamp
2018-05-27Cycles: Add Support for IES files as textures for light strengthLukas Stockner
This patch adds support for IES files, a file format that is commonly used to store the directional intensity distribution of light sources. The new IES node is supposed to be plugged into the Strength input of the Emission node of the lamp. Since people generating IES files do not really seem to care about the standard, the parser is flexible enough to accept all test files I have tried. Some common weirdnesses are distributing values over multiple lines that should go into one line, using commas instead of spaces as delimiters and adding various useless stuff at the end of the file. The user interface of the node is similar to the script node, the user can either select an internal Text or load a file. Internally, IES files are handled similar to Image textures: They are stored in slots by the LightManager and each unique IES is assigned to one slot. The local coordinate system of the lamp is used, so that the direction of the light can be changed. For UI reasons, it's usually best to add an area light, rotate it and then change its type, since especially the point light does not immediately show its local coordinate system in the viewport. Reviewers: #cycles, dingto, sergey, brecht Reviewed By: #cycles, dingto, brecht Subscribers: OgDEV, crazyrobinhood, secundar, cardboard, pisuke, intrah, swerner, micah_denn, harvester, gottfried, disnel, campbellbarton, duarteframos, Lapineige, brecht, juicyfruit, dingto, marek, rickyblender, bliblubli, lockal, sergey Differential Revision: https://developer.blender.org/D1543
2018-05-26Threads: add spinlock hit for hyperthreading processors on Windows.Brecht Van Lommel
Suggested by Percy Ross Tiglao.
2018-05-26make.bat: Add support for building with ninja.Ray Molenkamp
ninja is an alternative to msbuild designed for fast rebuilds. However there is no IDE support, builds only from the command line. Comparison between msbuild and ninja for a full build, build time in seconds. Full Clean Build msbuild 867.5 Ninja 801.2 Difference -66.3 (-7.6%) Minor Change msbuild 43.0 Ninja 14.9 Difference -28.1 (-64.4%) No Changes msbuild 23.0 Ninja 6.1 Difference -16.9 (-73.5%)
2018-05-26make.bat/cleanup: removed stray echo in make.batRay Molenkamp
2018-05-26make.bat: refactor make.batRay Molenkamp
make.bat was starting to become hard to maintain, this refactors it into separate batch files for each stage of the process. -Improved detection of msvc2013/2015 -Improved failure handling. -Added check for working msbuild and C++ compiler -Added verbose switch to ease trouble shooting. -Added Check if svn/cmake/git are in the path before using them -Display the build configuration before asking to download the libraries -Offer an option to recover an interrupted checkout of the libraries. -Automatically check out sub-modules in-case they are missing.
2018-05-25Add number and memory size formatting throughout the UIDiego Gangl
This commit adds number formatting (thousands separator) to the baking panel. It also adds a new function to format memory sizes (KB/GB/etc) and applies it to the baking panel and scene stats. The new function is unit tested. Reviewers: Severin Tags: #user_interface Differential Revision: https://developer.blender.org/D1248
2018-05-25[windows/make.bat] use a more reliable way of locating visual studio 2017.Ray Molenkamp
The registry hack we were using wasn't very reliable, the recommended way to locating visual studio is using vswhere (15.2 and up), using it also allows to switch between the regular and pre-release versions.
2018-05-25WM: check modal handlers for keymap lookupsCampbell Barton
Keep in sync with 2.8x
2018-05-25UI: fix assertCampbell Barton
Replace hard-coded button size check with UI_UNIT_X. Caused icon-only buttons to have strings assigned based on UI-scale.
2018-05-253D View: add pixelsize function w/o UI scaleCampbell Barton