Blender Git Commits

Blender Git "master" branch commits.

Page: 2126 / 5574

May 1, 2017, 23:54 (GMT)
Add scene argument for notifiers

From workspaces branch
May 1, 2017, 16:11 (GMT)
Eevee: Add support for legacy materials node. (not PBR)
May 1, 2017, 16:11 (GMT)
GPUMaterial: Making material node tree compatible with new drawmanager.

- code_generate_fragment : Making sure that shaders uses the new uniforms.
- code_generate_vertex_new : create require attribute based on their names and not their id (see draw_cache_impl_mesh.c).
- add support for ramp textures.
May 1, 2017, 16:11 (GMT)
Mesh Batch Cache: Add support for uv/vcol/tangent data layers.

This is a bad implementation waiting for some improvement that are :
- Gawain support for multiple names. -> will remove duplication of attribute alloc
- Glsl safe name string escaping. -> will remove any risk of hash colision.

Old glsl drawing was relying on attribute being choosen by DerivedMesh at drawing time.
For this reason, we declare all possible attrib "name" for each data layer inside the batches.
In the glsl code, we declare required data by type and name.
Then Gawain only bind vbos if names correspond.
This is way cleaner as we do not need to access the CD itself when drawing.

One other problem is that the hash maybe 11 caracters long and rapidly overload gawain's attrib name buffer.
May 1, 2017, 16:11 (GMT)
Eevee: Change MAX2 to max_ff
May 1, 2017, 16:11 (GMT)
Eevee: World nodetree gpumaterial compatibility.

- Unify GPUMaterial creation (world/mesh).
- Support for multiple shader variations (not used for now).
- Convert GPUInputs to DRWUniforms to be used with the draw manager.
- Nodetree Update is not supported. The only way to refresh the shaders is to change render engine.
- Cleanup in GPUPass.
- Add new temporary Node Compatibility type. Compatibility types should be removed in the future.
May 1, 2017, 15:43 (GMT)
Getting rid of setlinestyle: FCurves drawing.
May 1, 2017, 15:43 (GMT)
Getting rid of setlinestyle: last bit in NLA.

Note that smooth-shaded outlines of muted NLA strips should also be
dashed, not sure how to do that currently (in a simple way), so kept
them solid for now.
May 1, 2017, 14:48 (GMT)
Fix for issue when duplicating text objects

The crash happens with Cycles and Font objects if we get Cycles working
with draw manager.
May 1, 2017, 14:32 (GMT)
Cleanup/followup to previous commit: get rid of dashed-specific helpers.

Those are no more needed.
May 1, 2017, 14:32 (GMT)
Reworked version of dashed line shader.

Using geometry shader allows us to get rid of the 'line origin' extra
vertex attribute, which means dashed shader no longer requires fiddling
with those vertex attributes definition, and, most importantly, does not
require anymore special drawing code!

As you can see, this makes code much simpler, and much less verbose,
especially in complex cases.

In addition, changed how dashes are handled, to have two 'modes', a
simple one with single color (using default "color" uniform name), and a
more advanced one allowing more complex and multi-color patterns.

Note that since GLSL 1.2 does not support geometry shaders, a hack was
added for now (which gives solid lines, but at least does not make
Blender crash).
May 1, 2017, 13:44 (GMT)
WITH_CLAY_ENGINE: Should be used for CLAY only, not drawmanager
May 1, 2017, 13:44 (GMT)
Draw Manager: Fix copy-paste harmless comment "typo"
May 1, 2017, 13:20 (GMT)
Blender 2.8: Update arc config
May 1, 2017, 08:37 (GMT)
Check we've got GLEW version 2 when building with core profile

There was a bug in older GLEW version which kept glGenVertexArrays as NULL
when 3.2 core context is requested [1].

Didn't find a way to check GLEW version from CMake, it seems the version
is not really exposed to the header.

[1] https://sourceforge.net/p/glew/bugs/124/
April 30, 2017, 16:52 (GMT)
fix typo in WITH_SYSTEM_GFLOG in CMakeLists.txt
April 29, 2017, 18:41 (GMT)
Getting rid of setlinestyle: sample line in Image space.
April 29, 2017, 18:12 (GMT)
Getting rid of setlinestyle: UV editor drawing.
April 29, 2017, 17:42 (GMT)
Getting rid of setlinestyle: remove gpencil's debug-only dashed line drawing.

No need to add extra complexity of conditional dashing here for now!
April 29, 2017, 17:40 (GMT)
Getting rid of setlinestyle: ed_util's pos-to-mouse dashed line.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021