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 ...
7 votes
2 answers
542 views

What happens when a vector is fed into a value slot of the add node?

I was wondering what happens when a vector is fed into a Math -> Add node. Notice that I'm asking about the Math -> Add node, not the Vector Math -> Add node. My guess was that the node ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
1 vote
2 answers
348 views

How to change a *VectorProperty size?

Let's say I've created a scene property named a: ...
0 votes
1 answer
620 views

Shape key is affecting the normals of faces its not attached to

It did this after I created a bottom lid blink. the weird part for me is that the top lid blink was never attached to these vertices but it is affecting the shadows and causes them to go crazy when ...
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 ...
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 ...
0 votes
1 answer
290 views

obj.rayCast() not working as intended

In the game engine, I've got a function which uses rayCast in asteroids. It doesn't work as intended, as even with x-ray turned on, it often doesn't see through objects without the desired property: <...
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'...
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 ...
1 vote
1 answer
1k views

Move one pose bone to the location of another in the same armature

Could someone help me get out of the starting blocks I suspect I'm making this harder than it needs to be. with python Lets say in pose mode I have bone A at location (0.00,0.00,2.00) world space ...
0 votes
1 answer
573 views

What's happening with vector displacement 2.79b?

pretty quick question. I use the vector displacement node in order to add greebling to models. The latest version of 2.79b doesn't have that node, which seems to be why sheepit render farm is ...
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 ...
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 ...
0 votes
1 answer
51 views

Why does the Window option in Vector make my video upside down [duplicate]

I'm trying to follow the Ian Hubert's tutorial for making Lighstabers in blender. When I imported my video, when I change the vector option to window, the video gets flipped. I tried rotating changing ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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!
0 votes
2 answers
526 views

Create Rotation Matrix With Given Vectors

I have a set of 3 vectors defined by vertices: Vector1 - (x0, y0, z0), (x1, y1, z1) Vector2 - (x0, y0, z0), (x2, y2, z2) Vector3 - (x0, y0, z0), (x3, y3, z3) I want to create a rotation matrix from ...
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 ...
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 ...
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 ...
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 ...
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. ...
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, ...
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 - ...
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 ...
7 votes
2 answers
3k views

How to create Shape Keys in Geometry Nodes, including support for curve handles?

I am trying to replicate the functionality of Shape Keys but in Geometry Nodes. At the core of the setup I am using the technique quellenform introduced in this answer, but I am adding the ability to ...
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 ...
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 ...
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 ...
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 ...
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 ...
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). ...
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 ...
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 ...

1
2 3 4 5