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.

Filter by
Sorted by
Tagged with
-1 votes
2 answers
50 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 ...
gcs_dev's user avatar
  • 447
0 votes
0 answers
19 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 ...
Prokop Sodomka's user avatar
0 votes
0 answers
35 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 ...
sinwar's user avatar
  • 147
2 votes
1 answer
40 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 ...
Jan Havelka's user avatar
2 votes
1 answer
52 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 ...
Emma Scott Lavin's user avatar
5 votes
2 answers
473 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 ...
ph_zero's user avatar
  • 172
0 votes
0 answers
41 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 ...
Bruce's user avatar
  • 52
1 vote
1 answer
117 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 ...
Do0delz's user avatar
  • 13
2 votes
1 answer
59 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 ...
dan283's user avatar
  • 259
1 vote
1 answer
51 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'...
SprayerFLL's user avatar
2 votes
2 answers
83 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 ...
Кирилл Алексеевский's user avatar
0 votes
0 answers
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 ...
Barmiblender's user avatar
0 votes
1 answer
174 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 ...
Poppi's user avatar
  • 115
1 vote
1 answer
42 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 ...
ItsZedde's user avatar
0 votes
0 answers
45 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 ...
Robert Hintz's user avatar
1 vote
1 answer
102 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 ...
joyfulparallel's user avatar
0 votes
0 answers
24 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 ...
guuero's user avatar
  • 1
3 votes
1 answer
286 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 ...
Mentalist's user avatar
  • 18.9k
0 votes
0 answers
18 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 ...
Orange Cat's user avatar
0 votes
1 answer
124 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 ...
Pep Andorra's user avatar
1 vote
0 answers
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 ...
PeterK's user avatar
  • 11
0 votes
0 answers
51 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 ...
Robert Smith's user avatar
2 votes
3 answers
174 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 ...
Brockoli Bruce's user avatar
0 votes
2 answers
232 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 ...
Andi 's user avatar
  • 691
1 vote
1 answer
82 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!
Ian Ambrose's user avatar
0 votes
0 answers
233 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 ...
Mentalist's user avatar
  • 18.9k
2 votes
0 answers
91 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 ...
Mentalist's user avatar
  • 18.9k
2 votes
3 answers
418 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 ...
Brockoli Bruce's user avatar
0 votes
1 answer
210 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 ...
User's user avatar
  • 94
2 votes
1 answer
65 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. ...
dan283's user avatar
  • 259
0 votes
0 answers
19 views

is it posible to work an image with kernels and matrix in blender?

I'm working on some postprocessing add-on, and I was wondering if there is a way to work on an image with kernels and pixel matrix, since a lot of the effects I want to implement depend on them, ...
Gabriel's user avatar
  • 122
3 votes
1 answer
197 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 - ...
dan283's user avatar
  • 259
2 votes
0 answers
33 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 ...
glash's user avatar
  • 21
0 votes
0 answers
18 views

Blender Vector importing Blank Space

so Im quite new to blender and Im trying to render a logo in 3D. I have the vector of the logo which looks like this, Its a circle with some lettering in the middle. The middle lettering doesnt touch ...
Arteez's user avatar
  • 1
0 votes
0 answers
129 views

Exporting outline of object with it's internal edges to svg

Exporting outline of object with it's internal edges to svg. I have an object that I created in Blender see image below (with internal edges) When I render using SVG I get the image below. I'm ...
Rick T's user avatar
  • 4,091
6 votes
1 answer
339 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 ...
David M's user avatar
  • 168
0 votes
0 answers
103 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 ...
Matthew's user avatar
  • 31
0 votes
0 answers
49 views

How can I shrink the size of a mapped texture?

I have an eye texture as shown below I want to be able to change the size of both the black pupil and the entire eye itself. but I don't think I can do it with mapping because I already have that to ...
desperrrr's user avatar
  • 602
3 votes
1 answer
294 views

Geometry Node: Vector Rotate Angle Incorrect?

I have 2 points p1 = (0, -1, 1) and p2 = (0, -1, 0). I am trying to rotate p2 around ...
Loma Harshana's user avatar
0 votes
0 answers
72 views

Calculating join angle of an armature

For a school project I need to calculate joint angle of an armature. I found some code that works with 2 bones, but I need to calculate the angle of every 2 adjacent bones (knees, elbows, back, etc). ...
Sterke Stijn's user avatar
0 votes
0 answers
78 views

Calculating joint angle motion capture

For my school project I need to calculate the angles of joints from the human body, for example knees. I got a somewhat working code but the angles that it calculates aren't quite right. I'm using a ...
Sterke Stijn's user avatar
1 vote
0 answers
76 views

Vector Rotate scattered curves along mesh?

how can I rotate scattered curves(converted to mesh and realized) like upward the mesh they're scattered on? But not just upwards, I'd like to know how to do it in all directions along the surface of ...
s0up's user avatar
  • 203
7 votes
1 answer
751 views

Mathematically, what does Faceforward function mean?

Blender's description of Faceforward function is, quoted from Blender's document: Orients a vector A to point away from a surface B as defined by its normal C. Computes (Dot(B,C)<0)?A:-A I have a ...
Ian Ambrose's user avatar
2 votes
1 answer
348 views

how can i limit the value of a node value?

I want the value of this node's y-location between somewhere around these 2 values (preferably using drivers) what's the best way to do this? I plan on giving this to 3 other nodes as well
desperrrr's user avatar
  • 602
0 votes
0 answers
101 views

Find global rotation values of two points using python

I have a pipe object, which is defined by two points. I need to calculate what is the global rotation of that pipe because I want to rotate another object with the same rotation. Because I'm ...
mcnarik's user avatar
1 vote
1 answer
109 views

How to Get Alternating Colors on Shader Blender

I am trying to get the lights in this image to alternate red - green - red - green, etc. Not sure what math I need to get that to occur in the shader. Currently I just have an object info node running ...
Tasal's user avatar
  • 11
3 votes
2 answers
549 views

Changing Rotation Angle Using Align Euler to Vector Node

I have a vector V = (x, y, z) and I need to rotate an object in the direction of this vector. I can do that by calculating the rotation ...
Loma Harshana's user avatar
1 vote
0 answers
69 views

How do you prevent geometry-node instances spinning on deformed geometry (Second Align Euler To Vector?) [duplicate]

I have a sphere (but could be anything) that I am deforming over time and I want to have instances distributed on the surface. I've got it almost working except that I am getting unwanted spinning of ...
David M's user avatar
  • 168
4 votes
3 answers
566 views

What is the Center in Vector Rotate Node

As per Blender documentation the center in the Vector Rotate node is the Point to rotate around, which, I assume, means the pivot point for rotation. However when I ...
Loma Harshana's user avatar
1 vote
1 answer
228 views

Geometry Node: Aligning Text With Edge (Vector)

I am trying to align text with one edge of a plane using Geometry Nodes. The solution seems to be working but when I rotate the edge the text rotates in a strange way. Rotating the edge around Z doesn'...
Loma Harshana's user avatar

1
2 3 4 5