Revision a9d6a07 by Campbell Barton May 1, 2017, 23:54 (GMT) |
Add scene argument for notifiers From workspaces branch |
Revision 7eebc51 by Clément Foucault May 1, 2017, 16:11 (GMT) |
Eevee: Add support for legacy materials node. (not PBR) |
Revision 62ea911 by Clément Foucault 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. |
Revision 19f86a3 by Clément Foucault 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. |
Revision 27fc8ae by Clément Foucault May 1, 2017, 16:11 (GMT) |
Eevee: Change MAX2 to max_ff |
Revision e868b45 by Clément Foucault 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. |
Revision 2f100c1 by Bastien Montagne May 1, 2017, 15:43 (GMT) |
Getting rid of setlinestyle: FCurves drawing. |
Revision 9c73cea by Bastien Montagne 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. |
Revision d5acf4f by Dalai Felinto 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. |
Revision bb5f4a1 by Bastien Montagne May 1, 2017, 14:32 (GMT) |
Cleanup/followup to previous commit: get rid of dashed-specific helpers. Those are no more needed. |
Revision d7d4bca by Bastien Montagne 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). |
Revision 6ef497d by Dalai Felinto May 1, 2017, 13:44 (GMT) |
WITH_CLAY_ENGINE: Should be used for CLAY only, not drawmanager |
Revision 22be057 by Dalai Felinto May 1, 2017, 13:44 (GMT) |
Draw Manager: Fix copy-paste harmless comment "typo" |
Revision ea9d163 by Sergey Sharybin May 1, 2017, 13:20 (GMT) |
Blender 2.8: Update arc config |
Revision c899c7c by Sergey Sharybin 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/ |
Revision fc8f428 by Ray molenkamp April 30, 2017, 16:52 (GMT) |
fix typo in WITH_SYSTEM_GFLOG in CMakeLists.txt |
Revision c4491d7 by Bastien Montagne April 29, 2017, 18:41 (GMT) |
Getting rid of setlinestyle: sample line in Image space. |
Revision 74f9d31 by Bastien Montagne April 29, 2017, 18:12 (GMT) |
Getting rid of setlinestyle: UV editor drawing. |
Revision 785950c by Bastien Montagne 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! |
Revision c5fd6ac by Bastien Montagne April 29, 2017, 17:40 (GMT) |
Getting rid of setlinestyle: ed_util's pos-to-mouse dashed line. |
|
|
|


Master Commits
MiikaHweb | 2003-2021