Blender Git Commit Log

Git Commits -> Revision 030725a

Revision 030725a by Jeroen Bakker (master)
May 21, 2019, 14:10 (GMT)
Viewport: MSAA support during ViewportRendering

When rendering viewport to an offscreen buffer the buffer was
constructed for non anti aliasing (0 samples). This made the objects
that are drawn by the `object_mode` including `wireframe` draw type
non-anti-aliased.

The offscreen buffers will be constructed based on the user setting for
viewport multisampling (`U.ogl_multisamples`). The same setting will
also be used when previewing scene strips in the sequencer. For now
this only improves wireframe drawing in the scene strips. To improve the
Anti aliasing in the scene strips we need to get finer control in the
draw manager. This will be part of a different patch I am preparing.

Please note that this patch also cleansup some unused code in the offscreen rendering (FSAA code was still existing, but never called)

Reviewed By: brecht

Maniphest Tasks: T64849

Differential Revision: https://developer.blender.org/D4907

Commit Details:

Full Hash: 030725a9e5b8a46dc1909c9e1b85c3aba506ae6d
Parent Commit: e425e98
Lines Changed: +29, -132

7 Modified Paths:

/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/editors/include/ED_view3d.h (+0, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+4, -8) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+22, -117) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021