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-20GPUMaterial: Cleanup unused headersClément Foucault
2018-07-20GPUMaterial: Texture Node: Add support for Cubic filteringClément Foucault
Like in cycles it's a bit more slower than linear but it's smoother. Works for all projection type.
2018-07-20GPUMaterial: Texture Node: support for nearest (closest) filtering methodClément Foucault
Add placeholder for cubic and smart filtering for now.
2018-07-20GPUMaterial: Optimize and fix blending in box mappingClément Foucault
Blending was done in srgb space and was not matching cycles. Optimized by using less branches and more vector operations.
2018-07-20Fix build error with release + debug info build.Brecht Van Lommel
2018-07-19GPU: Add GC to FBOs and UBOs and centralize all GCsClément Foucault
GPUFrameBuffers were being free when no context was attached or in the wrong gl context. This make sure this does not happen again. You can now safely free any gl resource from any thread (well as long as it's not used anymore!).
2018-07-19Cleanup: styleCampbell Barton
2018-07-18Cleanup: style for GPU moduleCampbell Barton
2018-07-18GPU: Fix build error on Mac and Windows.Clément Foucault
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-18GWN: Port to GPU module: Move files to GPUClément Foucault
This does not include all the struct and type renaming. Only files were renamed. gwn_batch.c/h was fusioned with GPU_batch.c/h gwn_immediate.c/h was fusioned with GPU_immediate.c/h gwn_imm_util.c/h was fusioned with GPU_immediate_util.c/h
2018-07-16Smoke: Port display to Workbench + object modeClément Foucault
This does not fix the smokesim. It only port the drawing method. The Object mode engine is in charge of rendering the velocity debugging. Things left to do: - Flame rendering. - Color Ramp coloring of volume data. - View facing slicing (for now it's only doing sampling starting from the volume bounds which gives a squarish look) - Add option to enable dithering (currently on by default.
2018-07-15GPU_matrix: use Blender's naming conventionsCampbell Barton
Thanks to @sergey for review
2018-07-15Cleanup: split GPU_batchCampbell Barton
Split out presets and utilities for creating batches. These functions are quite specialized and not related to typical usage.
2018-07-15Merge branch 'master' into blender2.8Brecht Van Lommel
2018-07-15Cycles: add voronoi features and distance settings from Blender.charlie
Features to get the 2nd, 3rd, 4th closest point instead of the closest, and various distance metrics. No viewport/Eevee support yet. Patch by Michel Anders, Charlie Jolly and Brecht Van Lommel. Differential Revision: https://developer.blender.org/D3503
2018-07-14GPU_batch: fix error w/ interior line removalCampbell Barton
Caused glitch w/ navigation icons showing inner lines.
2018-07-13Merge branch 'master' into blender2.8Campbell Barton
2018-07-13Nodes: add sqrt, ceil, floor and fract to math nodes.Charlie Jolly
This works for Cycles, Eevee, texture nodes and compositing. It helps to reduce the number of math nodes required in various node setups. Differential Revision: https://developer.blender.org/D3537
2018-07-10Fix accidentally removed particle function in GLSL, still not supported though.Brecht Van Lommel
2018-07-10GPUTexture: Refactor of texture creation & new featureClément Foucault
- Texture creation now requires explicit data type. - GPU_texture_add_mipmap enable explicit mipmap upload. - GPU_texture_get_mipmap_size can be used to get the size of a mipmap level of an existing GPUTexture - GPU_texture_read let you read back data from a gpu texture.
2018-07-08Cleanup: rename 'ct' to 'len' for gpuCampbell Barton
2018-07-08Cleanup: rename 'ct' to 'len' for gawainCampbell Barton
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton
2018-07-05GPU: avoid unnecessary multiple nodetree localize and output finding.Brecht Van Lommel
2018-07-02Cleanup: use _f, _i suffix for GPU state APICampbell Barton
2018-07-02Commit D3494 : Compiled shader lookup fixClément Foucault
Authored by Pavel Rudko (PavelRudko) on Thu, Jun 21, 10:41 AM. Original description: I've encounterd into a problem with blender 2.8. See the example screenshot (scene, shader setup). For some materials it's not enough to calculate hash based on fragment code and defines. In some cases attribute names may change. And if we change uv set name, for example, vertex shader is not recompiled, and another attribute name inside it is used.
2018-07-01Cleanup: use '_len' suffix for line stippleCampbell Barton
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-28Fix assert to due missing GPU blend mode.Brecht Van Lommel
2018-06-28Fix missing blend mode in recent OpenGL refactorCampbell Barton
2018-06-27Cleanup: styleCampbell Barton
2018-06-27bf_gpu: Add GPU_state module.Ray Molenkamp
This has wrappers for the most common gl* functions in the codebase, and is in preparation for D3502 Reviewers: brecht, fclem Differential Revision: https://developer.blender.org/D3501
2018-06-26Cleanup: dyntopo sculpt draw update: use same BM_face_as_array_vert_tri for ↵Bastien Montagne
indexbuf generation. It's cleaner, and actually assert that BMFace is a triangle. Same code as when generating vertexbuf for flat shading!
2018-06-26Fix T55320: Sculpt Mode with dyntopo and smooth shading drawing bug.Bastien Montagne
We have to discard the batch in smooth case, because we are modifying the index buffer (flat shading don't need it, only changes vertex buffer on redraw, which is safe). Many thanks to @fclem for his help on debuging/understanding what was wrong here!
2018-06-25Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/sculpt_paint/paint_image.c source/blender/editors/space_view3d/view3d_draw.c source/blender/editors/space_view3d/view3d_view.c source/blender/gpu/GPU_draw.h source/blender/gpu/GPU_material.h source/blender/gpu/intern/gpu_draw.c source/blender/gpu/intern/gpu_material.c source/blender/makesrna/intern/rna_userdef.c source/blender/windowmanager/intern/wm_files_link.c source/blender/windowmanager/intern/wm_init_exit.c source/creator/creator_args.c source/gameengine/GamePlayer/ghost/GPG_ghost.cpp source/gameengine/Ketsji/KX_PythonInit.cpp source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
2018-06-25Cleanup: Nuke most of G.main from GPU code.Bastien Montagne
2018-06-25Cleanup: code styleCampbell Barton
2018-06-22Cleanup: styleCampbell Barton
2018-06-22Cleanup: suppress assert in recent GPU refactorCampbell Barton
2018-06-22GLRefactor: Refactor bf_blenfont to use GPUTexture instead of raw GL calls ↵Ray Molenkamp
and types. In an effort to centralize all opengl calls in the codebase, this patch replaces the raw opengl calls in bf_blenfont with GPUTexture so it's no longer depended on opengl headers. reviewer: Brecht Differential Revision: https://developer.blender.org/D3483
2018-06-20UI: adjust menu triangleCampbell Barton
Was not centered for single icon buttons.
2018-06-20Cleanup: whitespaceCampbell Barton
2018-06-20UI: Use chevrons for number sliders, pulldowns and popoversPablo Vazquez
In the future popovers/pulldowns should have different indicators Patch by William Reynish and Clement Foucault
2018-06-18Cleanup: indentationCampbell Barton
2018-06-17Cleanup: codestyleCampbell Barton
2018-06-16This option limits visibility of the glew.h header to just bf_gpu and ↵Ray Molenkamp
intern_gawain this is to highlight areas in the code that still directly do opengl calls or use opengl types. This is in preparation for supporting alternative rendering back-ends. Reviewers: brecht, fclem Differential Revision: https://developer.blender.org/D3304
2018-06-16Merge branch 'master' into blender2.8Brecht Van Lommel
The Eevee AO node supports the new Normal socket, but ignores Distance, Samples, Inside and Only Local settings.
2018-06-15Cycles: change Ambient Occlusion shader to output colors.Lukas Stockner
This means the shader can now be used for procedural texturing. New settings on the node are Samples, Inside, Local Only and Distance. Original patch by Lukas with further changes by Brecht. Differential Revision: https://developer.blender.org/D3479