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
533 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
325 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
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
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
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
0 answers
311 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
498 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
327 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
306 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
195 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
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
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
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
95 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
36 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
101 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
220 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
428 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
166 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
37 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
208 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
114 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
348 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
306 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
  • 21.3k
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
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
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
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
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
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
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
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
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
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
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
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
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
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
0 votes
0 answers
117 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
47 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
122 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,445
0 votes
1 answer
146 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
185 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
54 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,470
0 votes
1 answer
169 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
134 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