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-03-28Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/readfile.c source/blender/windowmanager/intern/wm_window.c
2017-03-28Fix lib_link_cachefile.Bastien Montagne
That one was: * Resetting non-ID pointers (lib_link_xxx funcs should only affect ID pointers, everything else shall be done in direct_link_xxx func). * Even worse, always calling lib_link_animdata, even when LIB_TAG_NEED_LINK tag was unset...
2017-03-28Bring back `lib_link_mesh()` in 'order' with other libdata liblink functions.Bastien Montagne
We do not need any special handling anymore for usercount of images used by faces/polygons (tpage stuff), since we have the 'real_user' handling, which will gracefully cope with all possible situations. So better not keep that ugly confusing useless special case.
2017-03-28readfile.c: Cleanup lib_link code a bit.Bastien Montagne
Mainly: * Add missing `IDP_LibLinkProperty()` calls for many ID types (harmless currently, but better be consistent here!). * Bring lib_link_xxx functions more in line with each other. * Replace some long if/else by switch.
2017-03-28Correct splash size checkCampbell Barton
2017-03-28Eevee: Diffuse Lights (1 / 2)Clément Foucault
I added srgb tonemapping for previewing purpose. Also since the color buffer is still not HDR, there is ugly artifacts (fixed in part2)
2017-03-28New Outline: Fix warning.Clément Foucault
2017-03-28New Outline: Fix ATI compile error.Clément Foucault
2017-03-28Fix columns with fixed widthraa
2017-03-27Cleanup: Use upper case consistently in adaptive feature compile logging.Thomas Dinges
2017-03-27Cleanup: Resolve todo in CUDA voxel image code.Thomas Dinges
2017-03-27Cycles UI: Avoid abreviation for Hair Extension.Thomas Dinges
Since 2.5x we should try to avoid such abreviations in the UI, except for common terms like Min / Max as much as possible.
2017-03-27Cycles: Move Shadow Catcher UI option next to Ray Visibility.Thomas Dinges
Previously it was beneath the Performance UI label, which was incorrect. It's better suited next to Ray Visibility.
2017-03-27New Outline: make it countour the screen.Clément Foucault
2017-03-27Cycles: Correct ifdef around float3 intrinsicsSergey Sharybin
2017-03-27New Outlines: fix upper edgeClément Foucault
2017-03-27New Grid: small modificationClément Foucault
Fix wrong coord picked when display only one axis. Small optimizations here and there.
2017-03-27Draw Engines: Make g_data struct part of the viewport storageClément Foucault
This makes viewport cache construction independant from each others and will allow multithread down the road.
2017-03-27Draw Manager: New debug timersClément Foucault
Both CPU time and GPU time are printed to spot bottlenecks. GPU Timers works only if cache is enabled.
2017-03-27Draw Manager: Make Viewport Data passed by the manager call.Clément Foucault
2017-03-27Keep base layer around for forward compatibility in 2.78Dalai Felinto
2017-03-27Correct for Py3.5Campbell Barton
2017-03-27Cycles: Make shadow catcher an optional feature for OpenCLSergey Sharybin
Solves majority of speed regression on AMD OpenCL.
2017-03-27Cycles: Add OpenCL support for shadow catcher featureHristo Gueorguiev
The title says it all actually.
2017-03-27Cycles: Remove ccl_addr_space from RNG passed to functionsHristo Gueorguiev
Simplifies code quite a bit, making it shorter and easier to extend. Currently no functional changes for users, but is required for the upcoming work of shadow catcher support with OpenCL.
2017-03-27Cycles: First implementation of shadow catcherSergey Sharybin
It uses an idea of accumulating all possible light reachable across the light path (without taking shadow blocked into account) and accumulating total shaded light across the path. Dividing second figure by first one seems to be giving good estimate of the shadow. In fact, to my knowledge, it's something really similar to what is happening in the denoising branch, so we are aligned here which is good. The workflow is following: - Create an object which matches real-life object on which shadow is to be catched. - Create approximate similar material on that object. This is needed to make indirect light properly affecting CG objects in the scene. - Mark object as Shadow Catcher in the Object properties. Ideally, after doing that it will be possible to render the image and simply alpha-over it on top of real footage.
2017-03-27OpenGL: remove gpuMatrixBegin3D_legacy functionMike Erwin
It helped during the transition, but we don't need this anymore. Evolution of T49450
2017-03-27OpenGL: simplify initial stateMike Erwin
Client vertex array state is deprecated, and these are the default values anyway. No need to bind any basic shader. Let drawing code decide which shader it wants to use. Part of T49165 (general OpenGL upgrade)
2017-03-27cleanup unused GPU includesMike Erwin
2017-03-27OpenGL: remove matrix manip from framebuffer setupMike Erwin
It doesn't really belong here... Any code using framebuffers will set up its own matrices. Part of T49450
2017-03-27OpenGL: prepare GLSL for version 3.3Mike Erwin
- use in/out instead of attribute/varying - use named output instead of gl_FragColor - use texture() instead of the multitude of older texture sampling functions The #if __VERSION__ == 120 paths (needed on Mac) will be removed after we switch to 3.3 core profile. Part of T49165 (general OpenGL upgrade)
2017-03-27add missing matrix uniforms to material shaderMike Erwin
My bad again! Failed to test this part of 4c08c5b192415190ab8b11637d8dc4f2a66c2ddf
2017-03-27fix shadow map shader inputMike Erwin
My bad! Messed up the conversion from ftransform -- 4c08c5b192415190ab8b11637d8dc4f2a66c2ddf
2017-03-27Cycles: Optimize shaders earlier to skip unneccessary attributes for ↵Lukas Stockner
noninteractive rendering Before, Cycles would first sync the shader exactly as shown in the UI, then determine and sync the used attributes and later optimize the shader. Therefore, even completely unconnected nodes would cause unneccessary attributes to be synced. The reason for this is to avoid frequent resyncs when editing shaders interactively, but it can still be avoided for noninteractive renders - which is what this commit does. Reviewed by: sergey Differential Revision: https://developer.blender.org/D2285
2017-03-27CMake: WITH_PYTHON_SECURITY=OFF was ignoredCampbell Barton
Allow auto-execution to be enabled, also move this to user-prefs versioning code.
2017-03-27OpenGL: use new matrix implementation in "Modern" viewportMike Erwin
This change looks small, but it switches the entire 3D viewport from legacy OpenGL functions to our own code. Kept non-modern viewport on legacy path so we can compare easily (via the Modern Viewport checkbox). Part of T49450
2017-03-27OpenGL: use new matrix names in GLSLMike Erwin
Builtin names staring with gl_ will not be available in core profile. Same with the ftransform function. New matrix API provides the same names minus the gl_ prefix. Part of T49450
2017-03-27OpenGL: fix & enhance new matrix libMike Erwin
- init projection matrices with identity - fix copy/paste mistake in GetProjectionMatrix3D - add extra matrices needed by material GLSL Working toward T49450
2017-03-27GPU_shader automatically uses new matrix valuesMike Erwin
Whether used from Gawain or from traditional OpenGL draw methods. TODO: make sure we bind matrices only once per shader change. Part of T49450
2017-03-27OpenGL: use old API for texture matrixMike Erwin
New matrix API does not support texture matrices. Not sure what the final code will look like, but this at least avoids interference with new ModelView matrix. Marked each line with TEXTURE so they can be disregarded during searches. Related to T49450
2017-03-27OpenGL: remove several glMatrixMode callsMike Erwin
A few of these were redundant, others could be converted to new matrix API. Part of T49450
2017-03-27Add back missing includeCampbell Barton
2017-03-26Fix padding and align calculation for box layoutsraa
2017-03-26Cleanup: line length, assignmentCampbell Barton
2017-03-26Fix: Ignore min flag for rows that require all available widthraa
2017-03-26Fix: Use "round" instead of "floor" in snapping UI to pixelsraa
2017-03-26Fix: Button's label can be NULLraa
2017-03-26re-adds the include "BLI_math.h" to custondataGermano Cavalcante
It was removed here rBd52191616b5f
2017-03-26Cleanup: simplify script path assignmentCampbell Barton
2017-03-26PyAPI: add missing class registrationCampbell Barton