Blender Git Loki

Git Commits -> Revision 3d7ca99

Revision 3d7ca99 by Julian Eisel (HMD_viewport)
March 26, 2017, 00:47 (GMT)
Disable zooming/pannig of HMD view while in camera perspective

Applying zoom to projection matrix wouldn't be correct, applying it to
the view matrix would work, but not easy to do it nicely. We'd also
still miss vertical/horizontal offset since it's realized using lens
shifting (= modifiying projection matrix), so that had to be applyied
onto view matrix as well.
Decided to just disallow paning and zooming completely for now, I don't
think it would make much sense in camera perspective.

Commit Details:

Full Hash: 3d7ca99c892d757b7f1246be1f548219bf09a098
Parent Commit: 66952da
Lines Changed: +11, -10

1 Modified Path:

/source/blender/editors/space_view3d/view3d_draw.c (+11, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021