October 26, 2021, 04:37 (GMT) |
XR: Versioning for session draw flags, base scale |
October 26, 2021, 04:35 (GMT) |
XR: View adjustments for variable viewer scale This adjusts some calculations and visibility flags for XR viewports in order to account for a possible scale factor in the XR view matrix. This scale factor can be introduced via the XR session settings base scale, which allows a viewer to begin their session at a specific reference scale, or the XR session state navigation scale, which allows a viewer to adjust their scale relative to the reference scale during the session. Reviewed by Severin as part of D11501, but requested to be committed separately. |
October 26, 2021, 04:34 (GMT) |
XR Controller Support Step 5: Navigation Adds navigation transforms (pose, scale) to the XR session state that will be applied to the viewer/controller poses. By manipulating these values, a viewer can move through the VR viewport without the need to physically walk through it. Add-ons can access these transforms via Python (XrSessionState.navigation_location/rotation/scale) to use with custom operators. Also adds 3 new VR navigation operators that will be exposed to users as default actions in the VR Scene Inspection add-on. While all three of these operators have custom properties that can greatly influence their behaviors, for now these properties will not be accessible by users from the UI. However, other add-ons can still set these custom properties if they desire. 1). Raycast-based teleport Moves the user to a location pointed at on a mesh object. The result can optionally be constrained to specific axes, for example to achieve "elevation snapping" behavior by constraining to the Z-axis. In addition, one can specify an interpolation factor and offset. Credit to KISKA for the elevation snapping concept. 2). "Grab" navigation Moves the user through the viewport by pressing inputs on one or two held controllers and applying deltas to the navigation matrix based on the displacement of these controllers. When inputs on both controllers are pressed at the same time (bimanual interaction), the user can scale themselves relative to the scene based on the distance between the controllers. Also supports locks for location, rotation, and scale. 3). Fly navigation Navigates the viewport by pressing a button and moving/turning relative to navigation space or the VR viewer or controller. Via the operator's properties, one can select from a variety of these modes as well as specify the min/max speed and whether to lock elevation. Reviewed By: Severin Differential Revision: https://developer.blender.org/D11501 |
Revision e463d2c by Hans Goudey October 26, 2021, 02:50 (GMT) |
UI: Change node editor grid into a dot grid This patch makes the background grid of the node editor a grid of dots instead of lines. This makes the background look a bit more subtle and reduces visual complexity. The dots are meant to provide a reference when panning and zooming. Based on the design of @pablovazquez, and a patch originally authored by @fabian_schempp. The "Grid Levels" controls how many levels of dots are drawn. As the editor zooms in, the higher levels of dots fade in, making them closer together visually. The zoom factor at which each grid starts and ends fading in is controllable in the code, and could be tweaked further in the future. The new default value is 7, out of a range from 0 to 9. Differential Revision: https://developer.blender.org/D10345 |
Revision 6f5bf8a by Aaron Carlisle October 26, 2021, 02:19 (GMT) |
Sequencer: Expose preview transform operators in menu The also moves all the image operators into one menu. The goal here is to expose the operators in the UI so they work with the operator search and to make the UI consistent. Reviewed By: ISS Differential Revision: https://developer.blender.org/D12808 |
Revision 4e22a9a by Aaron Carlisle October 26, 2021, 02:18 (GMT) |
Cleanup: Clang format |
Revision 32cc9ff by Germano Cavalcante October 25, 2021, 23:16 (GMT) |
View3D Snap Cursor: don't limit the number of states The benefit of a flat array in this case is small and limiting, so use a linklist. |
Revision 40f59b5 by Germano Cavalcante October 25, 2021, 22:40 (GMT) |
View3D Snap Cursor: sanitize and increase the maximum amount of states 3 is a small amount as each viewport creates a gizmo that creates its own state Now if the state is not created, the gizmos use the last state. |
Revision 4468c34 by Charlie Jolly October 25, 2021, 21:54 (GMT) |
Geometry Nodes: Optimise Voronoi texture node This patch improves performance by only assigning or calculating data for connected sockets. It is recommended that artists use the lowest dimensions setting for noise based textures. E.g. Use 2D instead of 3D where possible. Using a scoped timer and single thread on 256,000 points. Smooth F1 3D : Debug build Timer 'Optimised' took 9.39991 s Timer 'Normal' took 16.1531 s This optimisation is only for GN and not shaders. Differential Revision: https://developer.blender.org/D12985 |
Revision 348b5f9 by Aaron Carlisle October 25, 2021, 21:23 (GMT) |
UI: Don't use colons at the end of property labels This was a 2.7x design, now with property split we omit the colon. |
Revision 8f1284a by Hans Goudey October 25, 2021, 19:20 (GMT) |
UI: Make the mesh to volume node slightly narrower Also use consistent UI names for properties that are similar between that node and the points to volume node (which happen to be shorter, allowing the node to be narrower). |
Revision 3be91d6 by Hans Goudey October 25, 2021, 18:39 (GMT) |
Cleanup: Remove unused functions, make functions static |
Revision 046a99d by Germano Cavalcante October 25, 2021, 15:57 (GMT) |
Cleanup: silence warnings ``` warning: assignment discards ?const? qualifier from pointer target warning: declaration of ?co? shadows a parameter ``` |
Revision 08a1492 by Sybren A. Stüvel October 25, 2021, 15:12 (GMT) |
Asset Browser: apply search filter to tags as well The search bar in the asset browser now also matches on asset tags. - Matching is done on entire tags, so searching for "redder" will not show assets tagged with "red". - All assets are shown that have at least one matching tag. So searching for "red green" will show all assets with either "red" or "green" tags (or both, of course). - Searching is case-insensitive. - Only assets from the active catalog are shown; if all assets should be searched through, users can select the "All" catalog. Manifest Task: T82679 |
Revision 972677b by Hans Goudey October 25, 2021, 15:01 (GMT) |
UI: Improve layout of custom property edit panel This patch makes the layout of the custom property panel more coherent with the rest of the property editor interface, makes it less busy, allows more space for the buttons for the actual properties, and simplifies editing values of unsupported property types or long arrays. - Remove the box around each property. - Use an non-embossed X icon for deleting. - Use an "edit" icon instead of the text for the meta-data edit operator. The "gear" icon used for editing isn't ideal here. - Increase the max array length for drawing the values directly to 8. - Add an "Edit Property Value" operator for dictionaries or longer arrays. - Replace the "Library Override" text with an icon. - Use a proper split factor, the same as the rest of the UI. Differential Revision: https://developer.blender.org/D12805 |
Revision e8027ec by Germano Cavalcante October 25, 2021, 14:57 (GMT) |
UI Drag Drop: allow customizable drawing No functional changes. This commit adds 3 callbacks for `wmDropBox` which allow custom drawing without affecting the internal dropbox API. Differential Revision: https://developer.blender.org/D12948 |
Revision b17038d by Germano Cavalcante October 25, 2021, 14:57 (GMT) |
Drag Drop: allow customizable drawing |
Revision a84f1c0 by Germano Cavalcante October 25, 2021, 14:57 (GMT) |
Assets: Snapping with visual feedback while dragging The drag and drop feature of objects in 3D View has been modified to include: - Snap the object being dragged. - Visual feedback through a box and the placement tool grid. Maniphest Tasks: T90198 Differential Revision: https://developer.blender.org/D12912 |
Revision 2a7b9f2 by Pablo Vazquez October 25, 2021, 14:52 (GMT) |
Cleanup: silence warning in recent commit Thanks to Dr. Sybren for pointing it out! |
Revision 1267dfe by Sybren A. Stüvel October 25, 2021, 14:39 (GMT) |
Cleanup: refactor filelist filter functions Perform a few cleanups: - Add documentation to explain what returned bools mean. - Early returns so that flow is clearer and some checks on `is_filtered` are no longer necessary. - Split up `is_filtered_file` and `is_filtered_id_file`, so that they can reuse common code, and such that the different filter checks they perform can be separated from each other. The latter is done not only to reduce code duplication, but also as preparation to fix the asset browser filtering. For that, it helps when the "filter by file name" and "filter by file type" parts are separate. No functional changes. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D12991 |
|