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.

58 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
541 views

Optical flow generated from cycles render is not proper

Scene generated from Blender, and flow is given. As it can be seen the flow generated is not proper, it is in a zig-zag format. I see the scene at and above horizon have more zig-zag. Can someone ...
Rohit alawadhi's user avatar
4 votes
0 answers
330 views

Grease pencil vector export

Is there a way to export the new and wonderful grease pencil in any vector format. This would be so nice for logos and graphical stuff!!!!
Ingmar B.'s user avatar
2 votes
1 answer
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 ...
Jan Havelka's user avatar
2 votes
1 answer
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 ...
dan283's user avatar
  • 259
2 votes
0 answers
119 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
0 answers
360 views

Dilate/Erode image in Shader Editor?

In the compositor you can dilate/erode an image based on pixel brightness, like this : I'm wondering if there is a way to do the same in the Shader Editor (maybe with some clever vector math?). I'm ...
ChameleonScales's user avatar
2 votes
0 answers
519 views

How to get exact speed vectors (motion vectors)?

I have a simple cube, moving only in the x-direction, camera looking at it from top. Having Vector pass enabled in the View Layer Properties, I am getting the speed vectors as exr files. Then ...
Ali Salehi's user avatar
2 votes
0 answers
366 views

How do I turn a 3D objects faces outline into a vector?

I know there is a way to import a vector into blender. I need to do the opposite. Say I have a sphere. I loop cut the sphere, delete half of it and then fill in the face. I want to turn the outline of ...
Lucas W Elliott's user avatar
2 votes
0 answers
312 views

Blender - Vector Field Animation

I am trying to create an animation of a vector field for my university Physics project. I ideally would like to create something like this https://www.youtube.com/watch?v=gcQuqxYU-UY so with moving ...
Ella's user avatar
  • 21
2 votes
0 answers
202 views

Vector Displacement from Zbrush to Blender

How do I get Blender to render a vector displacement map from Zbrush properly? I have rendered the diagnostic scene from Zbrush, but none of them are accurate enough to be useful. I am running ...
Stefano's user avatar
  • 21
1 vote
1 answer
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 ...
ItsZedde's user avatar
1 vote
0 answers
79 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
  • 223
1 vote
0 answers
44 views

Obtaining the coordinates of an objects vertices, without the objects scale and rotations applied

I have constructed a tileset for a project and need to exporting the vertices of each object. When I take the position of all of the vertices of an object it applies the scale and rotation factors I ...
Zack Younger's user avatar
1 vote
0 answers
103 views

Shader Vector "Normal" node how to rotate without input?

How to calculate the distance in value between 2 vectors? I doing world shader, but I tried to do it in the object shader, everything is the same. I want to get a solid color for math nodes, like &...
M_Gordon's user avatar
1 vote
0 answers
39 views

Offset color and texture based on camera rotation

I'm trying to mimic a particular material from Super Mario Galaxy, which seems to offset both its texture and colors in an odd way depending on the camera rotation. See below gifs: So far, I have ...
Daniel's user avatar
  • 11
1 vote
0 answers
105 views

Geometry Nodes: How to calculate Custom normal deformation from real Normals?

AFAIK There is no Custom Normals at moment in GN. As a workaround, Custom Normals can be baked into Vertex colors. Which works great... until the mesh gets deformed. Is it possible to calculate in ...
kivig's user avatar
  • 623
1 vote
0 answers
228 views

How to rotate UV around a given point using Python?

First I want to say I have done the reading on this one, but I am still lost. I have seen some other posts here regarding how to handle this using 3D matrices, posts on the main Stack Overflow site ...
Rug's user avatar
  • 833
1 vote
0 answers
507 views

Rotate texture to align with face normal

I have a multi-faceted object which is supposed to look like it is built out of brick. I currently have it built as a single mesh and would prefer to keep it that way. I need to brick on each face to ...
rothloup's user avatar
  • 403
1 vote
0 answers
168 views

Find vertex projection of one object on the vertex normal of another object

I have the following setup: There are two objects: o1 (normal object; centered at the origin, no rotation) and o2 (it's a lattice; centered on a face of o1, rotated to match the rotation of the face)....
shulito's user avatar
  • 111
1 vote
0 answers
42 views

Possible to assemble 2D template in 3D, modify and unfold to original state?

I am new to blender and would like to know if the following could be achieved. I have a papercraft template in vector format that was designed in a 3D modelling program and unfolded to 2D by someone ...
T Young's user avatar
  • 11
1 vote
0 answers
220 views

Multiply to Combine XYZ vs Combine XYZ to Multiply

I was translating the object's origin by Vector Math node. Though I'm a bit confused of why feeding Multiply & Combine XYZ on a different order yields different results. I thought both vectors ...
xionthe14th's user avatar
1 vote
0 answers
117 views

Can I get the orientation matrix in real time?

I need to calculate the normal orientation matrix for the tool. There is a way to get a custom orientation matrix ...
Max Derksen's user avatar
1 vote
2 answers
370 views

How to change a *VectorProperty size?

Let's say I've created a scene property named a: ...
gmagno's user avatar
  • 402
1 vote
0 answers
320 views

How to remap tangent vector for remapped UV coordinates?

I've been using highly scaled detail normal maps through Cycles nodes and eventually realized I had a problem with my tangents. This creates sometimes subtle artifacts, most obviously when using ...
Nathan's user avatar
  • 23.7k
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 ...
Mark's user avatar
  • 106
0 votes
2 answers
53 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 ...
Marsmann's user avatar
0 votes
1 answer
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 ...
Nik's user avatar
  • 1
0 votes
0 answers
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 ...
Kyle Youngblom's user avatar
0 votes
1 answer
65 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, ...
boudini's user avatar
0 votes
0 answers
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.
SolvierNier's user avatar
0 votes
1 answer
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 ...
Prokop Sodomka's user avatar
0 votes
0 answers
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 ...
sinwar's user avatar
  • 171
0 votes
0 answers
47 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
0 votes
0 answers
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 ...
Robert Hintz's user avatar
0 votes
0 answers
30 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
0 votes
0 answers
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 ...
Orange Cat's user avatar
0 votes
0 answers
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 ...
Robert Smith's user avatar
0 votes
0 answers
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 ...
Mentalist's user avatar
  • 18.9k
0 votes
1 answer
268 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
  • 104
0 votes
0 answers
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 ...
Matthew's user avatar
  • 31
0 votes
0 answers
84 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
109 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
0 votes
0 answers
125 views

What's the formula of Vector Refraction which Blender implemented?

The only Vector Refraction formula I could find online is: \begin{equation} t = \mu \textbf{i} + \textbf{n}\sqrt{1- \mu^2[1-(\textbf{ni})^2]} - \mu \textbf{n}(\textbf{ni}) \end{equation} Such that ...
Ian Ambrose's user avatar
0 votes
0 answers
55 views

For which areas of CAD and 2D/3D modeling and design is Blender a good choice?

Blender is known for being a good product creating things like animations for videos. Is Blender also a good choice for other areas like: 3D models for games 3D models for 3D printing 3D models for ...
user573215's user avatar
0 votes
0 answers
153 views

How to set Euler rotation order in vector rotate node?

The vector rotate node has a Euler mode. My first problem is that it doesn't state what the Euler rotation order it uses. XYZ? ZYX? YZX?, which is it? My second ...
tempdev nova's user avatar
  • 1,485
0 votes
1 answer
169 views

How to interpret rotation_difference when objects are rotated?

I'm having trouble interpreting the output of rotation_difference. It works fine when the objects are not rotated in world space (as in, flat), but as soon as I rotate the two together, you'd think ...
Lukas Kawalec's user avatar
0 votes
1 answer
195 views

How to combine vector algebra and blender modeling?

I do some simple vector algebra and want to illustrate the vectors and points in Blender. However, there is a disconnect that I would like some outside perspective on to disentangle. Here is the code ...
Andreas Schuldei's user avatar
0 votes
0 answers
61 views

Grease Pencil: is it possible to have a vector-app like rendering?

I love Grease Pencil but I can’t find a way to draw with a really « vector » look; it always looks like a pencil drawing,with jiggly lines. Which is nice most of the time; but here I want to have an «...
gordie's user avatar
  • 2,480
0 votes
1 answer
176 views

Animation Nodes: How can I rotate a Vector around a given Point

I was wondering how I could rotate a simple 3D Vector around a given point in 3d Space. I am trying to rotate a simple position Vector (1,-2,1) around the world Center (0,0,0) on the Z Axis. If I ...
Marten Zander's user avatar
0 votes
0 answers
145 views

mathutils incorrect outputs in vscode

I am using VSCode as external IDE for writing Blender scripts/add-on. I am getting incorrect results when I run python script in vscode for the following code: ...
Aleereza's user avatar