Blender Git Loki

Git Commits -> Revision b3c1569

Revision b3c1569 by Julian Eisel (HMD_viewport)
March 5, 2017, 16:19 (GMT)
Mirror mode support (sync HMD viewpoint with regular 3D view)

Adds option "Mirror HMD View" to the HMD panel in the 3D view.

In this implementation we update/redraw the mirrored 3D views with the
HMD view, which can actually cause some extra slowdown (drawing the
viewport at least once more). We decided that this would be the best
solution for now, as the other option would be opening a separate window
showing the mirrored result, which is a bit too much against the
non-overlapping paradigma IMHO.
We could also draw the HMD view into some buffer and reuse this for
mirrored displays, but that would mess up projection matrices.
In Blender 2.8 we'll probably be able to use multi-threaded drawing
anyway, for which this would be the perfect use case.

3D View regions mirroring the HMD view are locked, for quadview we only
use the non-locked region for mirroring.

Commit Details:

Full Hash: b3c156927a33b6ff91fb8b5960909b85df80fceb
Parent Commit: 284c7f7
Lines Changed: +135, -7

8 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+2, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+4, -2) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+9, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+36, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+31, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+47, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021