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
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-16Fix broken build when using system Glew on linux.Bastien Montagne
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-10Cleanup: use STR_ELEM macroCampbell Barton
2019-04-10Cleanup: spellingCampbell Barton
2019-04-06Fix T59014: black/corrupted viewport with Intel HD on Windows 7/8.Brecht Van Lommel
Work around bug in the Intel driver: https://software.intel.com/en-us/forums/graphics-driver-bug-reporting/topic/550740
2019-04-05GPU: Fix typoClément Foucault
2019-04-05Fix T61035 Draw manager crash opening file with curvesClément Foucault
Move free callback call to GPU_batch_discard to prevent the crash. The issue was that clearing can happen after referencing to an instance buffer and that's perfectly legal.
2019-04-05EEVEE: Fix compilationJeroen Bakker
Introduced by f0d6879f5c7998be98ac406bd6ddaa5104961206
2019-04-05GPU not able to allocate textureJeroen Bakker
In the case of the report a GL_PROXY_TEXTURE_2D_ARRAY of 2509x2509x1 failed to be allocated. This is a work around as the GL_PROXY_TEXTURE_* is not reliable. Reviewed By: brecht, fclem Maniphest Tasks: T63223 Differential Revision: https://developer.blender.org/D4651
2019-04-05Fix T62892 EEVEE HDRI lightning glitchClément Foucault
Clamp the texture at sampling time. This is not the best way to do it but this is the fastest/simplest. The cost is rather negligeable.
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-04-01Edit Mesh Selection: Clear out buffer that indicates out of bounds pixels.mano-wii
This prevents the use of uninitialized buffer. In addition, use `memset` instead of assigning in a loop.
2019-03-29Fix T62178 Eevee: Texture Box mapping not matching Cycles if object is scaledClément Foucault
The wrong transformation was used. Add a new matrix specially for this case. This also fix the Node texture coordinate that was suffering the same issue.
2019-03-29Fix T58387 Voronoi(Cells) does not work on eevee (amd + windows)Clément Foucault
Thanks to Gabor Fekete for helping finding the issue. Was caused by uninitialized variable. Also took the oportunity to use comp swizzling instead of multiple assignment.
2019-03-29DRW/Eevee: Add correct support for OrcoClément Foucault
Until now, Orcos were computed by the gpu (GLSL) and were not taking into account the modifier stack (breaking orco for deformed mesh). Now Orco is now computed on CPU but only if a modifier stack is present. Tagging that an ORCO layer is present is done via a 4th component, which is a waste of memory/bandwidth. Best would be to do the same as auto attrib color space and save a bool uniform somewhere but for now it's too disruptive.
2019-03-28Fix build errorsmano-wii
From rBd5cb425b8745
2019-03-28Possible fix for T62999: Crash when select in edit mode.mano-wii
Apparently some drivers don't allow `glReadPixel` read out pixels of texture boundaries. Intersect `rect` to avoid such cases.
2019-03-28Fix T63023: wrong Eevee window coordinates for background.Brecht Van Lommel
2019-03-27Fix T62680 Mirrored objects have flipped binormal vectors in LookDevClément Foucault
Pass binormal sign via object info.
2019-03-25Fix T62930 Eevee: Wireframe input node not working with certain compilerClément Foucault
2019-03-24Cleanup: redundant use of string formatting functionsCampbell Barton
2019-03-24GPU: State: Disable polygon smooth and line smooth when running --debug-gpuClément Foucault
This might prove usefull when debugging some driver perf issues.
2019-03-24GPU: Remove unused and deprecated GPU_line_stipple()Clément Foucault
2019-03-22GPU: Cleanup: Code StyleClément Foucault
2019-03-22Fix T58392 Texture limit size not workingClément Foucault
It was removed by inadvertence.
2019-03-22Silence warningsDalai Felinto
2019-03-22GPU: Create and use new GPU_texture_read_rect utility.mano-wii
2019-03-22Style: describe code using comments instead of preprocessing directives.mano-wii
2019-03-22Fix T62839 object scale changes normal map output in eeveeClément Foucault
Was using the wrong vector length.
2019-03-22Implement Stencil Mask Drawing for Texture PaintingJeroen Bakker
Stencil mask drawing was not implemented yet. This commit will implement this for texture painting. It brings the state back to how it was for B279. Reviewed By: fclem Maniphest Tasks: T58727 Differential Revision: https://developer.blender.org/D4570
2019-03-22Eevee: Add small optimisation for Curve Mapping nodesClément Foucault
This remove the RGB texture lookups if the curve is only used for "Luma" correction and does not affect individual RGB channels.
2019-03-22GPU Matrix: Increase precision of GPU_matrix_unproject.mano-wii
2019-03-22Eevee: Fix tangent vector not normalized before interpolation.Clément Foucault
2019-03-22Eevee: Normalize Tangents after transform to world spaceClément Foucault
Fix T62621 without breaking everything else.
2019-03-20Cleanup: use lowercase for dimensions in function namesCampbell Barton
Most API's already use this convention.
2019-03-19Cleanup: comment blocksCampbell Barton
2019-03-17GPencil: Changes in Fill and new 3D Cursor View PlaneAntonioya
This commit groups several options that were tested in grease pencil branch: - Changes to fill algorithms and improves, specially in small areas and stroke corners. New options has been added in order to define how the fill is working and internally there are optimizations in detect the small areas in the extremes. Kudos to @charlie for coding this fill improvements. - New 3D cursor view plane option. Now it's possible to lock the drawing plane to the 3D cursor and use the 3D cursor orientation. This allows more flexibility when you are drawing and reduce the need to create geometry to draw over surfaces. - Canvas Grid now can be locked to 3D cursor. - New option to reproject stroke using 3D cursor. - Small tweaks and fixes. Changes reviewed by @pepeland and @mendio
2019-03-16Cleanup: fix compiler warnings.Brecht Van Lommel
2019-03-16DRW: support clipping for relationship linesCampbell Barton
2019-03-16Eevee: Fix tangent being renormalized after interpolationClément Foucault
2019-03-15GPU: Simplify select shaders.mano-wii
The shaders are: `GPU_SHADER_3D_FLAT_SELECT_ID` and `GPU_SHADER_3D_UNIFORM_SELECT_ID`. This commit allows the drawing of the mesh select ids to be done on a 32UI format texture. This simplifies the shader that previously acted on the backbuffer and had to do an uint to rgba conversion. Differential Revision: https://developer.blender.org/D4350
2019-03-14Fix T58694 Eevee: Wrong result when using normal map and face is flippedClément Foucault
2019-03-14Eevee: Fix black mesh when tangent is not presentClément Foucault
In this case, the generic vertex attribute is {0,0,0,1}. So we look for this case. This fixes black text objects with a normal map applied. Also this could help porting sculpt mode drawing to Eevee without supporting normal mapping. Note that will just fix black meshes due to T61870 but objects will not show their normal map. So it's not a fix for this issue.
2019-03-14Fix T60170: Eevee: smoke color does not apply permanentlyClément Foucault
This was because color is not present in the density texture if there is only one constant color. Adding it as a uniform.
2019-03-13Fix T59501: Eevee doesn't use integer node socketsClément Foucault
This is a hacky fix. We just convert the int as a float and use it as such. This works ok for small int but will not be correct for numbers greater than 4194303. Correct support would require deeper change for UBO creation and socket conversion.