# Questions tagged [vector]

In math and physics, a vector is "s a geometric object that has magnitude (or length) and direction." Blender uses 3D vectors in compositing, material and geometry nodes; and elsewhere to represent direction or force. Use this tag for questions about any of the uses of vectors in Blender.

217 questions
Filter by
Sorted by
Tagged with
130 views

### Rotation of instances aligned to curve tangent and normals of another object

I hope your're not mad about another dump rotation alignment question. I'm trying hard to wrap my head around this topic, but still fail at certain points. And other answered question here i can't ...
• 55
58 views

### Mapping .svg (grease pencil) of face onto 3d model

Essentially I want to project a drawing with grease pencil on a 3d surface so that the graphic grease pencil objects map physically onto the surface. project/map vector drawing (drawing) onto a 3d ...
19 views

### How do I change the length of the secondary bone segments with Geometry Nodes

I am trying to make spines generated on a Bezier curve and have it 95% working. The rotations are all correct and the scaling is how I like it BUT I cannot figure out how to change the length of the ...
• 1
1 vote
54 views

### How to reference rotation of every instance

I'm trying out simulations in geo nodes and I want to have the cones (instances) to move around and follow each other, similarly to a school of fish. I currently have this set up, I want to get the ...
27 views

### Geometry Nodes: Extrude in World Space on Rotated Mesh

I'm trying to extrude vertices upwards in world space, but I'm not sure how to correct for a rotated mesh. Would love a little help in figuring out how to transform that vector! EDIT: Here's the ...
36 views

### Align euler to vector problem [duplicate]

I am trying to instance a collection on each face of a mesh, and rotating each instance to align each instance to normal of face, but alignment gets broken if mesh has other than standart orientation
66 views

### Geo Nodes: Combining vector rotations

I'm trying to get instances to rotate to face the centre of a mesh circle. I've had success getting them to orientate correctly when the circle is created using the distance between points on X or Y, ...
1 vote
83 views

### Aligning the long side of an object to a specific axis with geometry nodes

I'm trying to make sure the long side of this object is always aligned with the x-axis, no matter what direction the source object is facing. I figured the max vector would probably be aligned ...
• 21
1 vote
144 views

### Subdivide and fold selected mesh edges by a fixed angle along the edge normal with geometry nodes?

With a fair amount of help from this community, I've figured out how to align instances along edges -- and get wonderful 3d prints in the process. Which brings me to the current challenge. With the ...
41 views

### Get an object to go toward another object in geometry nodes

I'm trying to get this missile to accelerate its way toward the target and stop/dissapear on impact. I cannot get it to work. What can i do.
1 vote
86 views

### Rotation of instances on instances after realizing base instances

This is my first question here, i'd be so happy if you could help me out! I'm building a procedural plant generator based on a spiral curve. I scatter the spiral as instances on a mesh, rotation ...
• 55
1 vote
134 views

### How to replace Attribute Vector Math in this situation?

Here I am following a tutorial (the hand reveal) where Entagma uses the Attribute Vector Math in Geometry Nodes in Blender 2.93.0 beta but I don't see it anymore in Blender 4.0 and, my question is, ...
• 69
821 views

### How do I calculate the normals of a point group?

I hope to come up with an interesting and tricky task this time, and would be happy to receive any expert solutions. First of all: I'm looking for a solution that uses only simple vector math! The ...
• 34.8k
56 views

### rotating along directional vector producing unexpected result

This is the scene at hand: I applied three array modifiers, applied them and then merged vertices by distance. I would like to instance the edges as cylinders so to speak, therefore I used a Mesh to ...
84 views

### How to find the angle between surface normal and World Space Z up vector

I'm trying to use TOA to discover the length denoted in red in the screenshot below but this requires that I find the angle (denoted in green) in rads between the surface normal and the world UP ...
• 516
39 views

### doom style directional sprite material

I am attempting to create a Doom style 8-directional sprite material for a plane that changes based on viewing angle. I was following a 6 years old question from here: How do I change between ...
46 views

### Geometry nodes: Why does it take a slightly different align-euler-to-vector input when aligning something before realizing instances compared to after

I instance a cube on a circle and want to align the cube to the circle normals after realizing the instances. I found a solution using this nodelogic: Why do I have to do this weird vector ...
• 191
45 views

### simple terrain mesh into vectors for illustrator

Im new to Blender (3D all together) and im looking to create a simple terrain mesh (as depicted in attached image) that i can export as vector lines to Adobe Illustrator and manipulate into an art ...
73 views

### Dyamically Keep Edge-Aligned Instances a Fixed, Specified Distance From Main Geometry Edge Vertices Using Geometry Nodes

I have three sets of Instances on Points, where the “Points” are the midpoints of the main geometry edges (Mesh to Points node > Edges). All three sets of Instances are now successfully oriented ...
509 views

### Why multiply a normal?

I am looking at this tutorial Geometry nodes for damage to stone. It uses a normal multiplied by some random vector to produce offset. What does multiplying a normal of a point with random vector ...
• 182
48 views

### How do I create a straight line with endpoints that track a curve when I rotate/move the line?

I would like move and rotate a line, but have the endpoints follow an elliptical curve. In the picture below, as I rotate the line, I want points A and B to stick to the curve. Then as I move the ...
• 52
1 vote
257 views

### Rotation of a profile using the "Curve to Mesh" node in Geometry Nodes

So, I have a small hair simulation setup I imported from Houdini using an alembic Mesh Sequence Cache modifier. It is one curve object and all the points of these curves are slightly shifted: To give ...
• 13
84 views

### sticky deformer (similar to hook/cluster) setup using geometry nodes

I'm trying to deform part of an object (defined by a group) using another control object. Basically a hook deformer using geo nodes. The tricky part is, I want the controller to follow the mesh it ...
• 259
1 vote
82 views

### How to Create Voronoi Texture with Vector Colors and Distance-Based Distortion in Blender

I'm want to create a Voronoi Texture including colours for the vectors. In this context, the black dots you'd normally see on the Voronoi Texture are the origins of the coordinate systems, and also I'...
110 views

### Is it possible to manipulate with coordinate systems in geonodes?

i want to multiply by 0 part of the velocity vector, that points from center of sphere1 to center of sphere2. So easiest way i can think of is to calculate velocity vector in new coordinate system ...
12 views

### Why does the window option in the vector make my video show upside down? [duplicate]

I have the exact same question as in the post: Why does the Window option in Vector make my video upside down The answer there is not an answer, just a statement saying that it had been solved it and ...
383 views

### How to create an silhouette/outline mask

How would you go about creating a mask ONLY of the silhouette/outline of your mesh? I want to use it to fade the outline of the mesh into transparency but using popular methods like the fresnel into a ...
• 115
1 vote
55 views

### How to make instances appear periodically around an object

I'm experimenting with geometry nodes and I'm stuck with something I think is pretty simple but can't find a way. I just want the instances to appear around the cilinder growing and shrinking the same ...
• 11
51 views

### Grooming a cowlick

Using hair geometry nodes, I'm having a problem grooming a cowlick like the ones on horses. When I tried to groom four guide curves in different directions, the interpolated hairs don't follow them at ...
• 113
1 vote
144 views

### Temporal Denoising: EXR image sequence node in the compositor is missing vector output

I'm on Blender 3.5 and trying out temporal denoising within the compositor as shown in this video by statix vfx: https://www.youtube.com/watch?v=851cEK0Taro&t=3s I've rendered my EXR sequence with ...
31 views

### ZeroDivisionError when trying to import molecule with double bonds from pdb file

I'm getting an error specifically when I'm trying to import CO2 with double bonds. I tried several other molecules like benzene and there this issue doesn't seem to appear at all. I first used ...
407 views

### How to get Vector Length in the compositor?

I have a Material node setup that processes color and I want to recreate that node tree for the Compositor. Unfortunately the setup relies on a Vector Math : Length ...
• 18.9k
20 views

### How can I change to pivot point of Blender raote vector node?

I'm currently making my wavy grass and trying to figure out how to rotate the grass texture in 4x4 tiles now i'm looking for how to change the pivote point of rotate vector node to the bottom center ...
192 views

### Calculate middle between two vectors with Geometry Nodes

I need to calculate the coordinates of the middle between two vectors and I'm sure it's very easy to do, but I don't see how. I draw a line between two objects but I couldn't find the middle. Any ...
• 606
1 vote
34 views

### Is there a way to make object always face the active camera or just viewport with geometry nodes? [duplicate]

Is there a way to make an object always rotate towards 3D view or active camera using geometry nodes without manually choosing targets, so it would work with multiple cameras in you scene? I saw the ...
• 11
59 views

### How do I map a texture along a vector going from multiple objects to the camera? Is it even possible?

I'm trying to make a shader which has a procedural texture mapped along a vector between the camera view and the objects. Imagine the pink arrow as the vector in the picture below. I was able to make ...
218 views

### How do I automatically rotate and move a camera mapped texture?

I have this cylinder, I'd like the texture that has been projected onto it to move and rotate along with the shape. Here's a mockup of what I'm envisioning, made possible by animating the texture ...
362 views

### Upwards pointing Normals in Geometry Nodes in world coordinates (when object ist rotated)

I would like to get the same thing done in Geometry Nodes as was done here in Shading. I want to create points only on the faces pointing upwards. This should also be the case when the object is ...
• 701
1 vote
94 views

### What is the Exponent input of Voronoi’s Minkowski Distance?

Is the parameter “Exponent” of Minkowski Distance the p value of Minkowski Distance formula? Thank you!
• 562
286 views

### Is there a way to distort UV coordinates along the path of a gradient?

Here is an image representing default UV coordinates of a square image plane. In the UV editor's XY space this is visually represented with colors: X axis = red Y axis = green What I would like to ...
• 18.9k
120 views

### Can Cycles' Vector Pass + Vector Blur node be used to create "smear" (instead of motion blur)?

Can the Cycles Vector Pass in conjunction with the Vector Blur compositor node be used to create "smear" instead of motion blur? To be clear, by "smear" I mean this sort of ...
• 18.9k
546 views

### Directional camera based shader

I've been trying to develop a camera based shader where half of the area of an object is in one color and the other half of is in another. It has to function the same way after a deformation, which is ...
270 views

### Geometry nodes, align instances on a face

I tried different ways to place corners instances on a wall model, but I can't figure how to do it so that the alignment would be automatic. Here I post a simplified example of the problem. There is ...
• 104
96 views

### snap bone locations using python

I'm trying to snap bone locations which are of a certain proximity to a vertexes of a mesh, to the difference of position based an the corresponding vertex of another mesh with the same topology. ...
• 259
200 views

### vertex positional difference alternative using numpy

I have a function looking at a difference in vertex positions, and storing that difference on a third mesh - ...
• 259
34 views

### Creating a 3D earth (sphere) with separate polygons for each country - can't turn vector of countries into sphere [duplicate]

I am new to blender and am looking for a way to use a vector or a shapefile file with all the countries to create a 3D earth with all the countries separated into separate polygons. I can Import the ...
• 21
392 views

### How can I find two vertex indexes per face on a mesh to create a secondary alignment vector

I've had troubles in the past with instance spinning when using "Align Euler to Vector" to align instances to face normals on deforming meshes. I have a setup that eliminates all spinning ...
• 168
116 views

### How to do border detection in shading?

I want to create a node setup such that I can detect the border of a 2d shape. Below is the image of the 2D floor I have for a room. I want to detect the border of this floor. I've tried to use the ...
• 31