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-05-17Cleanup: Eevee: Remove custom volumetric matrixClément Foucault
This was the same as using the inverse obmat.
2019-05-17Eevee: Remove the Volumetric Render checkboxClément Foucault
This is to simplify the usage of Volumetrics. Now it automatically detect if there is any Volumetric material in the view and allocate the needed buffer if any.
2019-05-17Eevee: Remove the Subsurface Render checkboxClément Foucault
This is to simplify the usage of SSS. Now it automatically detect if there is any SSS material in the view and allocate the needed buffer if any.
2019-05-17DRW: Fix warning on MSVCClément Foucault
2019-05-17DRW: Make fullscreen vertex shader position and uv without attributesClément Foucault
2019-05-17Cleanup: Eevee: Use SET_FLAG_FROM_TESTClément Foucault
2019-05-17Fix face mask edge select drawingCampbell Barton
All edges were drawing black.
2019-05-173D View: Support texture paint mask clippingCampbell Barton
2019-05-16Cycles: Fix missing viewport updates after recent changesSergey Sharybin
We can not access ensured-to-be-evaluated dependency graph from the render API: some of it is running from within evaluation which makes it possible for engines to access list of evaluated IDs. Solved by passing dependency graph to viewport functions, similar to the final render functions.
2019-05-16EEVEE: Viewport Rendering TAAJeroen Bakker
EEVEE assumed that the OGL renderer did FSAA, as the FSAA was removed we needed to revalidate this assumption. The temporal sampling only inited the matrices during init phase. As now we need to update the matrices for every sample rendered the code for updating the matrices was isolated in a new function `EEVEE_temporal_sampling_update_matrices`. Reviewed By: fclem Maniphest Tasks: T64646 Differential Revision: https://developer.blender.org/D4871
2019-05-16GPencil: New filter in Onion by keyframe typeAntonioya
This new filter allows to select only some type of keyframe (keyframe, breakdown, etc). This was a request of artists that are used to work with other 2D softwares. Also some cleanup to remove aninmatable option to some properties.
2019-05-16Fix edit-mesh select crash when using face-dotsCampbell Barton
The GPUVertBuf was freed but not the GPUBatch. Old bug exposed by new code from 8a6414ed46f66.
2019-05-16EEVEE: Intel Shader Compiler BugJeroen Bakker
When using Intel GPU EEVEE did not display anything. This was due to an internal shader compilation bug inside the intel drivers. We had fixed this for other vertex shaders. The same change we have to apply to other vert shaders that want to limit the need of Matrix multiplications.
2019-05-16Fix T54686: objects don't occlude each other for edit-mesh selectmano-wii
2019-05-15GPencil: Invert Fade Object sliderAntonioya
The Fade Objects and Fade Layers parameters had opposite meaning and this was not correct. Now, both parameters work in the same direction.
2019-05-15Lights: change sun light size to be specified as angleTim Stullich
This is the angular diameter as seen from earth, which is between 0.526° and 0.545° in reality. Sharing the size with other light types did not make much sense and meant the unit was unclear. Differential Revision: https://developer.blender.org/D4819
2019-05-15Eevee: Add per material option to cull backfacesClément Foucault
This is in order to have more flexibility and to have an explicit option for final renders.
2019-05-15Code style cleanup: `make format`Dalai Felinto
2019-05-14GPencil: Rename property Follow Drawing Path to AlignmentAntonioya
The old name was not clear and with new options the new name is more easy to understand.
2019-05-14Fix T64551 Crash on leaving local view on the shading tabClément Foucault
Was causing by garbage collection free the surf_per_mat_tris array. The cache validate did not take care of ensuring the array was alloc again.
2019-05-14Fix Shader compilation error on MacOS & some other platform/driverClément Foucault
texture2D() is no longer supported by modern opengl, use texture() instead.
2019-05-14Fix zfighting from edit mode face overlaysClément Foucault
2019-05-14Fix T64574 : Weird shadow mesh glitches in viewportClément Foucault
This is not the most clean but this is what is needed to make point_object_to_ndc equivalent to point_object_to_world + point_world_to_ndc
2019-05-14Fix T64574 : Weird shadow mesh glitches in viewportClément Foucault
This is not the most clean but this is what is needed to make point_object_to_ndc equivalent to point_object_to_world + point_world_to_ndc
2019-05-14Eevee: Fix Auto Tangent not working if active UV layer is greater than 3Clément Foucault
2019-05-14Fix T64441: GPencil textures weird rotationAntonioya
New option to disable the follow drawing path. Before it had only a switch property, now there is a list of options. Modes: Path: Follows drawing stroke and rotate with object. Object: Only follows object rotation. None: Don't rotate.
2019-05-14Cleanup: DRW: Move ModelMatrix declaration to common_view_libClément Foucault
2019-05-14GPUVertexFormat: Reduce size of structsClément Foucault
With this patch, the size of GPUVertFormat goes from 1240 to 388.
2019-05-14Cleanup: DRW: Add and use DRW_shgroup_uniform_vec2_copyClément Foucault
2019-05-14Cleanup: DRW: Remove unused Uniform typesClément Foucault
2019-05-14Cleanup: DRW: Remove uneeded _add suffix from DRW_shgroup_call_addClément Foucault
2019-05-14DRW: Refactor: Use DRWCall to accumulate per instance attributesClément Foucault
This is a big change that cleanup a lot of confusing code. - The instancing/batching data buffer distribution in draw_instance_data.c. - The selection & drawing code in draw_manager_exec.c - Prety much every non-meshes object drawing (object_mode.c). Most of the changes are just renaming but there still a chance a typo might have sneek through. The Batching/Instancing Shading groups are replace by DRWCallBuffers. This is cleaner and conceptually more in line with what a DRWShadingGroup should be. There is still some little confusion in draw_common.c where some function takes shgroup as input and some don't.
2019-05-14BLI_memblock: Add more optionsClément Foucault
- Use int instead of uint for safety and less conversions. - Add free callback - Add cleared alloc option
2019-05-14Cleanup: Remove DRWCallTypeClément Foucault
This simplify the rendering logic.
2019-05-14DRW: Fix threading hazard when rendering and using auto depthClément Foucault
2019-05-14Cleanup: DRW: Remove unused functionsClément Foucault
2019-05-14DRW: Change Procedural function to use a GPUBatchClément Foucault
This is in order to have VAO handled by thoses batches instead of using a common VAO. Even if the VAO has no importance in these case using a batch will help when transitioning to Vulkan.
2019-05-14Eevee: Replace DRW_shgroup_empty_tri_batch_create by procedural callsClément Foucault
2019-05-14Mesh Batch Cache: Fix use of uninitialized variableClément Foucault
2019-05-14DRW: Make Instance count not a pointerClément Foucault
Goal is still to simplify the draw manager.
2019-05-14Cleanup: Eevee: Make planar downsampling not use instance drawingClément Foucault
2019-05-14Cleanup: DRW: Remove pointers to materialsClément Foucault
2019-05-14GPU: Move Material index to nodetree evaluationClément Foucault
This removes the need to pass the Material* all over the place in the draw manager. Cleanup comming right after.
2019-05-14DRW: Remove ModelViewMatrix and ModelViewMatrixInverseClément Foucault
2019-05-13Cycles/Eevee: unify light strength and colorBrecht Van Lommel
Cycles lights now use strength and color properties of the light outside of the shading nodes, just like Eevee. The shading nodes then act as a multiplier on this, and become optional unless textures, fallof or other effects are desired. Backwards compatibility is not exact, as we can't be sure which renderer the .blend was designed for or even if it was designed for a single one. If the render engine in the active scene is set to Cycles, lights are converted to ensure overall light strength remains the same, and removing unnecessary shader node setups that only included a single emission node. If the engine is set to Eevee, we increase strength to remove the automatic 100x multiplier that was there to match Cycles. Differential Revision: https://developer.blender.org/D4588
2019-05-13Cycles/Eevee: unified and improved texture image color space handlingBrecht Van Lommel
Cycles now uses the color space on the image datablock, and uses OpenColorIO to convert to scene linear as needed. Byte images do not take extra memory, they are compressed in scene linear + sRGB transfer function which in common cases is a no-op. Eevee and workbench were changed to work similar. Float images are stored as scene linear. Byte images are compressed as scene linear + sRGB and stored in a GL_SRGB8_ALPHA8 texture. From the GLSL shader side this means they are read as scene linear, simplifying the code and taking advantage of hardware support. Further, OpenGL image textures are now all stored with premultiplied alpha. Eevee texture sampling looks a little different now because interpolation happens premultiplied and in scene linear space. Overlays and grease pencil work in sRGB space so those now have an extra conversion to sRGB after reading from image textures. This is not particularly elegant but as long as engines use different conventions, one or the other needs to do conversion. This change breaks compatibility for cases where multiple image texture nodes were using the same image with different color space node settings. However it gives more predictable behavior for baking and texture painting if save, load and image editing operations have a single color space to handle. Differential Revision: https://developer.blender.org/D4807
2019-05-11DRW: Fix previous commitClément Foucault
PS: I hate my life
2019-05-11Fix T64464 App crashes when navigating between UV Editor and ViewportClément Foucault
2019-05-11GPencil: Apply FBO changes to AA macrosAntonioya
Apply same change done to fix the task T64373
2019-05-11Fix T64137 Empty Images flickering graphics when "Auto Depth" is enabledClément Foucault
Also fix T64373 Grid intensity increases in Ortographic when use Circle Select in GPencil Edit mode