Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-03UI: pixel align axis navigation characters to resolve blurry textCampbell Barton
Also increase text size from 11 to 12 since the default font at 1.0 scale was a little fuzzy too. Reviewed by: @pablovazquez Ref D8781
2020-04-03Fix accidentally reverted changes in VR merge due to merge errorJulian Eisel
dc2df8307f41 unintentionally reverted part of 07bdbeda8462.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-17VR: Initial Virtual Reality support - Milestone 1, Scene InspectionJulian Eisel
NOTE: While most of the milestone 1 goals are there, a few smaller features and improvements are still to be done. Big picture of this milestone: Initial, OpenXR-based virtual reality support for users and foundation for advanced use cases. Maniphest Task: https://developer.blender.org/T71347 The tasks contains more information about this milestone. To be clear: This is not a feature rich VR implementation, it's focused on the initial scene inspection use case. We intentionally focused on that, further features like controller support are part of the next milestone. - How to use? Instructions on how to use this are here: https://wiki.blender.org/wiki/User:Severin/GSoC-2019/How_to_Test These will be updated and moved to a more official place (likely the manual) soon. Currently Windows Mixed Reality and Oculus devices are usable. Valve/HTC headsets don't support the OpenXR standard yet and hence, do not work with this implementation. --------------- This is the C-side implementation of the features added for initial VR support as per milestone 1. A "VR Scene Inspection" Add-on will be committed separately, to expose the VR functionality in the UI. It also adds some further features for milestone 1, namely a landmarking system (stored view locations in the VR space) Main additions/features: * Support for rendering viewports to an HMD, with good performance. * Option to sync the VR view perspective with a fully interactive, regular 3D View (VR-Mirror). * Option to disable positional tracking. Keeps the current position (calculated based on the VR eye center pose) when enabled while a VR session is running. * Some regular viewport settings for the VR view * RNA/Python-API to query and set VR session state information. * WM-XR: Layer tying Ghost-XR to the Blender specific APIs/data * wmSurface API: drawable, non-window container (manages Ghost-OpenGL and GPU context) * DNA/RNA for management of VR session settings * `--debug-xr` and `--debug-xr-time` commandline options * Utility batch & config file for using the Oculus runtime on Windows. * Most VR data is runtime only. The exception is user settings which are saved to files (`XrSessionSettings`). * VR support can be disabled through the `WITH_XR_OPENXR` compiler flag. For architecture and code documentation, see https://wiki.blender.org/wiki/Source/Interface/XR. --------------- A few thank you's: * A huge shoutout to Ray Molenkamp for his help during the project - it would have not been that successful without him! * Sebastian Koenig and Simeon Conzendorf for testing and feedback! * The reviewers, especially Brecht Van Lommel! * Dalai Felinto for pushing and managing me to get this done ;) * The OpenXR working group for providing an open standard. I think we're the first bigger application to adopt OpenXR. Congratulations to them and ourselves :) This project started as a Google Summer of Code 2019 project - "Core Support of Virtual Reality Headsets through OpenXR" (see https://wiki.blender.org/wiki/User:Severin/GSoC-2019/). Some further information, including ideas for further improvements can be found in the final GSoC report: https://wiki.blender.org/wiki/User:Severin/GSoC-2019/Final_Report Differential Revisions: D6193, D7098 Reviewed by: Brecht Van Lommel, Jeroen Bakker
2020-03-09UI: avoid blurring of view navigation widgets at some UI scalesYevgeny Makarov
Differential Revision: https://developer.blender.org/D6734
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-02-02UI: fix blurring of bitmap icons for the navigation gizmoYevgeny Makarov
2019-09-14Cleanup: use const args, variablesCampbell Barton
2019-09-05UI: tweak 3D view space between navigation gizmo & buttonsCampbell Barton
Align the lower side of the navigation gizmo with the top of the icons.
2019-09-04UI: use vertical navigation buttonsCampbell Barton
This addresses crowding in the top right area of the view with the existing header and tool header. D5670 by @CandleComet
2019-08-15WM: reuse visible region calculationCampbell Barton
Avoids calculating the visible part of a region whenever on-screen overlays are drawn.
2019-08-07Fix T68348: Hotkeys do nothing when over viewport gizmosCampbell Barton
This was done intentionally so mouse press events tools didn't prevent gizmos receiving click events before `USE_GIZMO_MOUSE_PRIORITY_HACK` was added.
2019-06-25Preferences: changes to navigation gizmoCampbell Barton
- Add 'Navigation Buttons' preference, used for 2D views (previously this couldn't be disabled). - Add "Off" option for 3D view axis. - Support minimal axis with navigation buttons.
2019-06-03Fix T65294: Orbit navigate gizmo fails in paint modesCampbell Barton
2019-05-31WM: option to ignore cursor image/clip/view2d zoomCampbell Barton
In preparation for view navigation gizmos.
2019-05-29Cleanup: move gizmo keymap access into funcitonsCampbell Barton
Existing functions were written to match the setup_keymap callback. Add versions that can be called with the window manager for convenience.
2019-05-28Cleanup: rename gizmo keymapsCampbell Barton
Don't use plural because single/multiple isn't relevant for keymap definitions and reads badly for specific gizmo types that only use a single gizmo.
2019-05-28Gizmo: changes to internal drag logicCampbell Barton
Minor changes to recent gizmo click/drag logic 08dff7b40bc6a Changing the gizmos highlighted part in the invoke_prepare callback is too error prone since it needs to run before it's known which operator will execute. Add back 'drag_part', since it simplifies click-drag use. While this isn't essential with custom keymaps per gizmo it avoids having to define a keymap in the case a drag event needs a different action.
2019-05-27Gizmo: add per gizmo keymapsCampbell Barton
Remove click-drag support for tweak gizmo, rely on keymap events instead. This is needed for some gizmos to use modifiers keys without having all gizmos use all modifier keys (see: T63996).
2019-04-30Gizmo: display axis in camera viewCampbell Barton
User request to see axis even when in camera view, it's also useful when the camera is locked to the view.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-133D View: move gizmo draw options out of overlaysCampbell Barton
Gizmo's now have their own popover in preparation for making transform gizmos accessible without having to use tools See: T63518
2019-03-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-03-03UI: use grey for 3D view axis gizmo highlightCampbell Barton
Using white with low alpha made it hard to use on a white background. Since the axes themselves highlight to white.
2019-03-03UI: increase 3D view icon contrast over light colorsCampbell Barton
- Avoid using white with low alpha to make grey. Note that this is the second time we've run into this problem: T59626. - Use a light backdrop when the icons are dark so they're visible over a black background.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-02Cleanup: rename manipulator referencesCampbell Barton
2018-11-02UI: Darken the backdrop of navigation gizmos.Pablo Vazquez
Bright backdrop would get lost when having bright elements/background in the viewport. This makes it use a darkened/lighten version of the theme space header color. Since icons are colored using the 'text' value of the Theme Space, it's likely that any theme is going to have a contrasting background color, but just in case darken/lighten it slightly.
2018-10-16Cleanup: namingCampbell Barton
'mp' was a reference to 'manipulator'
2018-10-01UI: use backdrop circle for navigation icons, make clickable area bigger.Brecht Van Lommel
This will look a bit better once the icon outline is gone.
2018-09-27UI: use new 3D viewport navigation icons and image icon in add menu.Brecht Van Lommel
I had to make the viewport navigation icons a bit smaller in the SVG since the edges were being clipped off, we only support 16x16 icons currently. They are a bit blurry because of this.
2018-09-06UI: rename Translate/Grab to Move in UI, shortcuts stay the same.Brecht Van Lommel
2018-08-163D View: tweaks to navigation gizmoCampbell Barton
- Only show axis backdrop when hovering. - Move closer to the screen corner.
2018-07-31Cleanup: use static variablesCampbell Barton
2018-07-15Cleanup: use variable names based on term gizmoCampbell Barton
2018-07-153D View: New view gizmo designCampbell Barton
Simplify the default navigation gizmo. See: T54723
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-15WM: rename files, manipulator -> gizmoCampbell Barton
Edit doxy files and header guards only.