Questions tagged [vector]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
139 views

How can I use for loop (or while loop) in python to move 50 objects with random beginning positions to specific positions

I am a beginner of Blender. I want to use the blender to show how proteins form a microtubule. My code creates a piece of microtubule and some proteins on random positions. I want to put the random ...
0
votes
0answers
18 views

Rotate an object with vector displacement

Short question: How can I rotate an object in the shader editor, using vector displacement or other means? Longer explanation: I have an object which I have instanced many times, each instance has a ...
1
vote
0answers
14 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 ...
0
votes
0answers
17 views

Can I export an editable vector source file from Blender?

I'm trying to sell a logo I made in Blender on BrandCrowd. To submit my logo I need to add an editable vector file (ai, eps) or they will reject my submission. Is it possible to export this kind of a ...
2
votes
1answer
26 views

How to get face normal's x or y axis vector (or matrix)?

Is it possible to get vector of the x or y axis of face's normal orentation? I know it's possible to get z axis of face's orientation like this ...
0
votes
1answer
32 views

Importing a complex SVG to Blender from Illustrator - Problems with Fill

I'm working on a project of polyhedral lanterns designed on topography, and using Blender for my modelling ahead of prototyping. I'm designing artwork in Adobe Illustrator, a program I'm robustly ...
1
vote
0answers
24 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 ...
0
votes
0answers
20 views

How to export flat image to cartoon freestyle vector file

How to create this image cartoon style. With the mesh we can add toon shader and freestyle, we can have cartoon style outline and toon shade on it. I want to export as vector file. For example this ...
1
vote
2answers
70 views

driver expression dot.product function

I´m coming from 3ds max and I would like to rebuild a scene in blender. It has a controller that outputs the angle between a bone and the world z-axis via the dot product function. That´s pretty ...
2
votes
1answer
80 views

How to position the default blender cube given coordinates, direction Z vector and direction Y vector using python?

New to blender and python here, Given the following: Coordinates (X,Y,Z) = (-100,100,1000) and Direction Z vector = (1,0,0) and Direction Y vector = (0,0,-1) where angle between direction vectors is ...
2
votes
2answers
196 views

How can I insert values at the start of an array of vectors in Blender 2.8 using Python

How can I insert a value in a array of vectors using Python 3.x? The full code is below. It is using Blender 2.82a: ...
0
votes
0answers
25 views

Create object over face aligned-with and nearest to the 3d-cursor

The following-code purpose is to create a cilinder over the 3d-cursor and rotate the cilinder so that is aligned with the nearest face of the selected-object to it. For it to work the active object ...
0
votes
0answers
21 views

Converting a vector array to an array of quaternions to do calculations on in python

Converting a vector array to an array of quaternions to do calculations on in python. (Thanks to user batFINGER for getting me this far) I know I can convert a vector to quaternion with the example ...
1
vote
1answer
50 views

How can I multiply a quaternion and a list of vectors that represent xyz vertices of an object

How can I multiply a quaternion and a list of vectors together (which will represent the x,y,z vertices of an object)? The error I get is: Error: Quaternion multiplication: not supported between ...
2
votes
0answers
45 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 ...
3
votes
1answer
80 views

Print vector with more decimal numbers

When outputting values for a mathutils.Vector and mathutils.Matrix, there's normally only 4 decimals printed out. Is there a way ...
2
votes
1answer
110 views

Offset points in space with python

I have a path-curve that uses a profile with two circles (reference and profile on the image below). I'd like to create a second ...
0
votes
0answers
16 views

Using mouse hit position on screen and a text objects position - how can I work out what character is moused over?

I can get a hitpoint from UPBGE - mouse sensor - and I can get the text object matrix and localize the hitpoint - from here - how would one work out what character is moused over? Local_point = mouse....
2
votes
1answer
27 views

How can I simply map a procedural gradient from the equator to the poles of a sphere?

I am struggling with something in the shader node editor that I thought should be rather simple, but apparently isn't. I want to map a linear gradient from the equator of a sphere towards the poles (...
1
vote
1answer
163 views

Radial vector displacement

I'm struggle with vector displacement shader. I'm trying to do something like reverse cone but I can't figure out how to add radial direction. I would like to use RGB curves like screw (lathe) ...
0
votes
0answers
49 views

Angle between reflected light and facing camera vector

I want to set the color of a material based on the angle between the reflected light ray and the camera angle using a gradient. Maybe there is a simpler way, but I think I've to use vector math to ...
1
vote
0answers
30 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 ...
1
vote
1answer
68 views

How do I get the normal vector of a selected vertex?(BMESH)

I'm trying to Orient my gizmo according to the normals, but I can't do it exactly. Sometimes perfect, sometimes not. Can you tell me what's wrong? ...
0
votes
0answers
37 views

Render to vector file using command line + Freestyle

I am trying to render to a vector file using Freestyle. I have enabled it in my file and when I render to image via GUI, it generates both a PNG and an SVG file, so everything is OK. When I do it via ...
2
votes
0answers
28 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 ...
2
votes
1answer
258 views

Get or display normal vector / coordinates of selected vertex?

I have a .stl file and want to get the normal vector of a selected vertex or face in relation to the origin. Blender only shows the coordinates of that vertex/face. My blender skills are very ...
2
votes
0answers
58 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 ...
0
votes
0answers
27 views

Is this possible with vector displacement?

Is this shape above, possible with vector displacement ?
0
votes
0answers
29 views

Why does changing the size of my object affect my vector displacement?

When I change the size of my object, my vector displacement starts to go crazy, as can be seen below: Object with a scale of 1 and tiny dimensions Object with ...
0
votes
0answers
22 views

What file format and setup for the “Vector Blur” node in compositing

Which file format I've to save for using vector data in a "Vector Blur" node in Blenders compositing? Currently I save the vector pass into a OpenEXR file, but the blur is always vertical and doesn't ...
0
votes
0answers
52 views

How to move object along a vector that does not align with an axis?

This seems like a simple thing, but I can't work it out with the code. Overall I want to move an object along the surface of a plane of unknown direction. First I get the normal vector of the plane,...
0
votes
0answers
11 views

Is it possible to have the location of a seperate object as a vector-input in a material? [duplicate]

A simplified explaination of what I want to do is this: There is a camera moving through the scene and as it moves, there is a wireframe of the enviroment which expands outwards from the camera. I ...
0
votes
2answers
118 views

Make Curve Have A Fill and Border

Setting a fill and border is pretty easy in apps like Illustrator and Gravit Designer but in Blender. I've found it to be more tedious as I can't find anything online to solve this problem. The ...
0
votes
1answer
160 views

Animating Curves for Arms and Legs

Here's a design by a man named James Curran. Now James uses After Effects (you can watch how he does animations here and here, which is the long way in After Effects by animating and manipulating ...
-1
votes
1answer
85 views

Error creating Vector object from csv file in Blender (with python script) [closed]

I'm trying to create a Vector object (from mathutils library), whereby I have a csv file with 3 columns: x coordinate, y coordinate and z coordinate. All I want to do is import this CSV file in ...
1
vote
2answers
120 views

How to change a *VectorProperty size?

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

How to multiply vector with list items

I want to draw a point on every vertex of an instanced mesh in a particle system. I put together this short script to do that. It runs without error but nothing happens. The console puts out this ...
0
votes
1answer
90 views

Is Blender appropriate for learning Stereometry (a subject in mathematics)?

In some countries, senior high school students are still taught about Sterometry in which we are asked to draw a cross section between a solid and a plane, for example, as follows. Shortly speaking, ...
0
votes
1answer
292 views

Projection of point on plane

I have a point in 3d view (found out with region_2d_to_origin_3d of mouse position). I want to find its projection on a plane defined by a normal (x1, y1, z1) in orthographic view. How to do this? ...
0
votes
1answer
44 views

Make a bendable/posable 2d person

I currently have a vector image of a simple sprite similar to the people in the image except with eyes and I was wondering if anyone knew how to add a texture to the imported vector image and then ...
0
votes
0answers
21 views

Make an SVG into a bendable flat object like a paper cut-out

I am trying to make a paper cut-out that I can bend and distort. Currently I have a scalable vector graphics file and a separate texture. How can I add the texture to the vector image (the texture is ...
5
votes
4answers
469 views

Materials: How to compare two vectors?

I'm looking for a method that compares two vectors in order to use a mix color/shader. Example : If the camera looks at the object from atop (as the two vectors align) it should select material A. As ...
0
votes
0answers
880 views

Material view in sculpt mode doesn't show material

I've been working with Blender for several years now, and I am wondering how to use a material in sculpt mode as a guide for how the mesh looks while I am sculpting it (not matcaps). Right now, all I ...
2
votes
1answer
160 views

How to show out of bounds texture from a modulo operation [duplicate]

Does anyone know how to show the cut parts? I used a modulo operation with random coordinates and rotation for each cell, but when I try to randomly move them I get some parts of the texture getting ...
4
votes
0answers
201 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 ...
3
votes
2answers
864 views

Blender Eevee Vector Motion Blur?

So I am trying to use Eevee to render this animation, and I want to add motion blur. I like using the vector blurs in cycles but is there a way to use the nodes in Eevee? I don't see a way to add a ...
0
votes
1answer
169 views

How do I convert an svg (or a plane) into a rounded mesh?

How can I smoothly extrude a plane or an svg curve into a circular/rounded mesh? if I simply import an svg and extrude it and then add a subdivision surface modifier, it makes a big mess. I need a way ...
2
votes
1answer
91 views

Vector Math to Determine Gravity Path

I need to code a function that basically traces the path a sphere would roll when placed on a triangulated terrain. The image below shows the problem, but I haven't got a clue how to work with vectors ...
0
votes
1answer
375 views

Animating Animation node parameters…?

I am making an animation of atoms in random motion which decrease in speed along with the decreasing temperature. I made the atoms using animation nodes. Instanced sphere and added vector wiggle to ...
2
votes
1answer
624 views

Camera Data “View Vector” Interpretation

I am trying to develop some materials with interesting optical properties. In doing so, I am investigating the use of the "View Vector", however I do not understand it. Looking at the documentation, ...