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.
229
questions
3
votes
1
answer
35
views
Geometry Nodes Straight Skeleton for Rooftops, almost finished
I need help with generating pitched rooftops out of 2D shapes. I am working to create a geonodes system to experience city planning free for laypeople.
I am trying to recreate a simple limited verison ...
0
votes
0
answers
14
views
Compositor Vector Blur is messy and inaccurate (EEVEE)
Not sure what info I can put. My setup is identical to the resources I've found, except mine doesn't work. My version is 4.2.1 LTS, and I'm using eevee. The blur looked significantly less choppy until ...
0
votes
0
answers
14
views
What's the significance of the number ~158.9942 in this scenario?
I was trying to create texture coordinates for a cubemap and in order to get the right masking factor for each of the faces I needed to use the geometry's normal. Dividing the absolute value of the ...
0
votes
0
answers
15
views
How can I convert a normal map to a "tangent map" of sorts? for use in an anisotropic shader
(Blend file is at the bottom of the post)
The tangent node doesn't have any input for a normal map texture so it's always just the raw per-vertex values. If you wanted to make an anisotropic shader ...
0
votes
1
answer
34
views
What is the simplest way to fill this hole up?
I just started modeling and I wanted to know what is a precise way to fill this hole without glitching the material. I tried to make a face connecting all the edges(?) but the material appears as ...
1
vote
1
answer
41
views
Rotate object to point another object with Geometry Nodes
I have a simple setup scene, as shown below:
The mesh is called "Arrow" and the cube is called "Empty".
Now all I want to do is rotate the Arrow so that it's Z points toward the ...
0
votes
1
answer
28
views
Geometry Node Window co-ordinates for vertical content
I have a test project that outputs Window co-ordinates from Geometry Nodes (so a texture can be projected onto a material from a camera + alternate angle views can be rendered)
How to get the "...
0
votes
0
answers
19
views
Trackball Behaviour With Modal Operator
I need to create a trackball like behaviour for a modal operator.
Is there a possibility to implement this into the functionality by moving the mouse?
I just need to know how the math works when ...
2
votes
0
answers
121
views
How can I get the light direction vector without the roll values?
From watching videos and looking at other posts, it seems like the common way is to just straight up copy the sun's rotation values for the light direction vector. However, this also copies the roll (...
0
votes
1
answer
93
views
How to set the normal value of a point on a spline?
How does one go about setting the normals of individual points on a spline? Adding to that question, are these attributes listed on the spreedsheet window?
Part of my confusion is figuring out the ...
0
votes
1
answer
64
views
Recreating clip space coordinates in Blender shader nodes
I've been trying to recreate the clip space coordinate system in Blender's shader nodes. From what I know, the only coordinate systems you have access to are object coordinates (position), world ...
0
votes
0
answers
79
views
Is there a way to render the vector pass of the fire and smoke?
I want to use Blender to render the optical flow (vector pass) of something like fire or smoke for further research. I realize that I cannot directly render the vector pass of such volumes like solid ...
1
vote
1
answer
37
views
Why does StoreNamedAttribute's Vector Type for UVMap not work in place of 2DVector type?
I'm trying to make this setup compatible for version 3.4 but I don't understand why simply switching 2DVector to Vector didn't ...
0
votes
0
answers
68
views
How to clean up SVG imported Splines?
I'm not the most computer literate person but I have been improving substantially since I got a 3d printer. So I am trying to print an image a friend sent me from a t-shirt. I converted it to an svg ...
0
votes
1
answer
41
views
Align instances along curve
Can't align instances along curve.
If i delete nodes marked with yellow, it works fine, but i need this result on points of mesh. How can i achieve this?
2
votes
2
answers
366
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 ...
0
votes
2
answers
93
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 ...
0
votes
1
answer
26
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
vote
1
answer
69
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 ...
0
votes
0
answers
39
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 ...
0
votes
0
answers
37
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
0
votes
1
answer
138
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
1
answer
119
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 ...
1
vote
1
answer
181
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 ...
0
votes
0
answers
46
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.
2
votes
1
answer
197
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 ...
1
vote
1
answer
330
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, ...
5
votes
5
answers
1k
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 ...
0
votes
1
answer
66
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 ...
-1
votes
2
answers
134
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 ...
0
votes
1
answer
85
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
56
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
70
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
103
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
581
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
74
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 ...
1
vote
1
answer
655
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 ...
1
vote
1
answer
128
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 ...
1
vote
1
answer
135
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
166
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 ...
0
votes
1
answer
937
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 ...
1
vote
1
answer
71
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
52
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
268
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
48
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
722
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
407
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
37
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 ...
0
votes
0
answers
78
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 ...
2
votes
3
answers
329
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 ...