4.3

Moving a material from one object material slot to another in Blender

To move a material from one material slot to another, we can click the up or down arrow button in the object’s material panel. In this case, the material in the currently selected slot will move up (or down) by one position. This method of moving and sorting materials is very slow and not very convenient.

Selecting objects hidden behind each other

One of the most common problems in modeling is how to quickly switch to an object (select it) if the object is hidden behind another object. In most cases, this requires a number of actions, for example – switching to the wireframe display mode, selecting the hidden object, with accurately hitting the edge by the mouse, and, finally, returning to the solid display mode.

Passing values ​​from Blender Geometry Nodes to other scene objects

Using drivers, we can pass values ​​to the Blender Geometry Nodes tree that cannot be obtained from nodes, for example, the total number of frames in a project animation. However, there are cases when a value needs to be passed from Geometry Nodes to some property of an object not related to GN. In this case, drivers can also help us.

How to get a partial transform matrix from an existing one

When rotating or moving an object using transformation matrices, in some cases we need to be able to extract a part of it from the entire rotation/movement. For example, when rotating an object by 180 degrees, we need to rotate it not at once, but in several steps, each time rotating it by 30 degrees. Linear interpolation of matrices can help us with this.

Comparing vectors

In order to compare two vectors – to determine whether both vectors point to the same place, we need to compare the coordinates of both vectors and if they are equal, then the vectors are also equal. However, the coordinates of the vectors are specified by float values, the comparison of which for equality, due to the peculiarities of storing this type in computer memory, is never accurate.