# Questions tagged [mathematics]

Use of maths inside blender.

222 questions
Filter by
Sorted by
Tagged with
14 views

### Modeling with math or procedural methods? [duplicate]

I am looking to create a mathematically correct parabolic dish in Blender. I have played around by using proportional editing and whatnot, but in my experience this does not provide the precision that ...
22 views

### Material nodes - make a range of values?

Ok, Im trying to fake volumetric light shafts using this node setup and a gradient texture made in photoshop: Basically this still looks not great, and I want to have a "gradient" of the emission ...
241 views

### Looping function in node editor?

I want to be able to loop a certain math function (in the node editor) x amount of times. I want to do this without scripting (unless it could be done so while still being able to run on GPU). For ...
207 views

### Is it a correct math definition of averaging two vectors? (Blender vector math node)

There is such a definition in the Blender Vector Math node: Isn't an average vector supposed to be something like: Vector = (input1+input2)/n where n is a number of vectors? It seems what we ...
262 views

### Make sine wave around a circle?

Ok I found this question with no answers - Sine wave on a ring and How do I make a curve in the shape of a simple wave form (sine)? to make a sine curve. I need what the first question asked for - I ...
56 views

### Creating polygon from vertices alorithm

Is there somebody who can describe a theory behind creating quads from pointcloud(vertices) in blender python ? Is the only way to check length betweeen vertices like: (theory) ...
68 views

### What is the conventional way to input n^x?

If I have a length or angle and type =, blender enters math mode where I can type equations to set the input of a transformation. The only option I found is a very ...
56 views

### Scale texture (by Math Power node)

I experimented a bit with vector math and got this texture. It is compressed at the top and stretched below. How can I get the opposite effect? I did so, but I do not think that is the right way.
1k views

### Mathematical functions for mesh in Blender 2.8 beta [closed]

Does somebody know if it is already possible in the beta 2.8 to use mathematical functions for the mesh? I could not find the Addon "Add Mesh: Extra Objects", which I uses in 2.79. Any other solution ...
104 views

### Is MixRGB ALWAYS RGB calculated?

Hey guys I'm writing a Quizlet flashcard pack to help people learn and memorize how the various blending modes work within the mixRGB node. My question is, does mixRGB always handle color inputs as ...
42 views

### Calculator within Node Editor [duplicate]

I am working on a project with multiple texture of different sizes for the same object. The textures have the correct scale in dpi. I use a formula to calculate the UV scale of each texture. "pixel ...
183 views

### Fractal Noise in Blender Stretches From Origin Point- Why?

To make a good noise for terrain generation you can hook up a noise texture to the scale of another noise texture. I like using this, but I noted one limitation- if the texture coordinates become ...
237 views

### Transform Vertices by Matrix around Custom Point

I need to scale the vertices to 0 around the median point as here. Should get something like this I use Mathutils and multiply the Matrix.Scale(as Axis I take the average of all vertex normal) by ...
108 views

### Can Blender do mathematical reservoir simulation for petroleum engineer?

Can Blender do reservoir simulation like Petrel Schlumberger and CMG do for petroleum engineer? I'm a student of petroleum engineering, and I love Blender more than my girlfriend. Like this :
243 views

### How to convert pose bone's global position to bone's location or bone's matrix?

When I try to set pose bone's head in keyframe, I knew that the bone's head is just read only, so I have to convert the bone's head to bone's location or matrix, after searching a lot of information,I ...
575 views

### How to simulate blustery hot air & cold air in Blender

I want to see the behaviour of hot & cold airs against each each other. In one experiment, please try cloud particles with hot & cold airs. In another experiment without clouds, please use ...
70 views

### Why does the “Map Range” node fail for values above 10,000?

I have a "Map Range" node with the following inputs: Because 10,000 is right in the middle between 9,995 and 10,005, I expect the output to be 0.5, and indeed it is. If I now increase the value by ...
160 views

### What is the math for the B-spline interpolation of a color ramp with two color stops?

I often use a color ramp with only two color stops as a way to modify the output of a texture parameter as in this example. I would like to be able to do something similar in a node group where the ...
190 views

### How can i rip a circle open and turn it into a straight line?

I'm learning Blender so i can use it to do math animation videos, I've been trying to turn a circle into a line so i can measure the circumstance for a long time, and it didn't work sadly :(
496 views

### Physical simulation- how to create anti-gravity in objects like hot-air balloons

How do you create objects that "defy" gravity like an hot-air balloon? Then halfway into animation, how do you make the hot-air balloon drop anti-gravity, as it loses heat?
680 views

### Precision of Math Node?

To normalize the position coordinates of particles for an Image Texture node, I have to divide 1 by a very large number (119,617). After running some tests, I see that the colors of my image texture ...
91 views

### How to get Mirrored Vector by Plane on Python

How can I get mirrored vector(point) by Plane by using blender python modules? Plane will be defined as plane_normal : Vector plane_position : Vector I need to know function like ...
827 views

### How do I make a giant clock made of many small clocks?

I want to recreate this animation I found online, of a giant clock that displays the time using many smaller clocks. The minute and hour hands of the smaller clocks rearrange into symmetry and shows ...
2k views

### How can I rotate multiple objects in their LOCAL axis?

Hello blender friends. I would like to rotate multiple objects by random, but in their LOCAl axis. NOT global. I already know the random transform function for objects, but it's working always for ...
2k views

### How can I make my procedural brick texture map correctly to both a cube and cylinder?

I've been experimenting with node-based procedural materials in Cycles lately, and after spending a few hours working out a brick material that works pretty well along walls, I noticed that it has a ...
844 views

### What's the fastest way to calculate the midpoints of a sequence of edges?

I'm trying to create a list that calculates the midpoints of a sequence of edges. Right now I'm doing it like this: ...
359 views

### Calculating a camera's Focal Length when given Field Of View (and vice versa)?

Are there any formulas that I can convert from FOV-to-FL and from FL-to-FOV? I need to match a camera from the Unity game engine to Blender (and vice versa). Unity uses Field Of View and Blender uses ...
252 views

### Difference boolean for overlapped objects or any possible alternative

I am trying to generate a geometry using Math Function (XYZ function) as in Fig.1 using version 2.79. I ideally would prefer to have three independent objects and merge/join all 3 objects as one and ...
251 views

### Example for creating and rotating of a mathematical function in a script

I want to make a body by rotating of this function in a script: Function X equation (ln( ((v*pi)/1)-(pi/2) ) *(1/pi)+3)*sin(u) Y equation ...
165 views

### Calculate surface by logarithmic function?

Is there any way to use the log() function in order to calculate the surface of a mesh?
40 views

### Blender Math Nodes: which input is which (numerator vs denominator) [duplicate]

Is there documentation associated with the cycles nodes, in particular the math nodes? The current documentation in the manual seems to only indicate that there are two values, but not which is which. ...
909 views

### Recreating Mandelbulbs with math nodes

I'm trying to recreate a Mandelbulb using Volume and math nodes in blender. I have been able to create a Mandelbrot with math nodes but I am having problems making it 3d. I tried translating this ...
1k views

### Create procedural spiral pattern

I'm trying to make a galaxy in blender. If I use an image of a galaxy to get the spiral shape it becomes a 2d image projected into the 3d volume. To avoid this I wanted to use a procedural method, but ...
99 views

### Make Ball rolling down function animation

I am making an animation to explain gradient descent, and for it, I want to have an animation of a ball rolling down a 3d function graph. how do i this with blender and make it similar to this https://...
71 views

### Scaling a math function from a specific vertex

I have a model developed through a math function as shown below in the figure. I would like to scale the figure as shown in the figure without changing the vertex position. Explanation of the figure: ...
359 views

### Average value in material nodes

Is there a way to get an average value in material nodes? I am only aware of this option in compositor: https://docs.blender.org/manual/en/dev/compositing/types/output/levels.html
100 views

### (Animation) Nodes : how to map a rotation to a value between 0 & 1?

The Parameter input of the Evaluate Spline, in Animation Nodes, needs to get a number between 0 & 1. I would like to map it to the rotation of an empty (here, Effector-Spline-Loop). No mather what ...
921 views

### How to calculate intersection between two planes

I'm dipping my feet at Blender SDK, and I'm trying to calculate intersection between two planes: Created a default plane in center, duplicated, rotated second, scaled first, applied transforms; but I'...
1k views

### Create a solid from 2D math function

Is it possible to create a solid based on a 2D function in Blender? Example: I have a function $y=x^2$ where $x \in [0,1]$. Here 'Z' is simple projection of XY plane so, extrude shall do the job. I ...
391 views

### Trying to convert a DXT5NM Normal Map for use in my scene

I have a handful of these strange normal maps I need to use in my scene that store X in the Alpha channel, Y in the green channel, and require you to calculate Z with the following formula: Z = sqrt(...
74 views

### How to not select objects behind main camera with script in Python?

With python, I search to select objects in the field of view of the main camera. I found this great script by ideasman42. It's half perfect. I don't understand why the script also selects objects ...
32 views

### How to extract information about a frame that's being rendered for later use?

Is there a way to extract information (calculations) about a frame that's being rendered without rendering it? Namely, send all calculations that Blender is doing when rendering a frame, to an ...
250 views

### Rotation Matrix

i am having a hard time trying to dechiper how blender game engine allocate the rotation values on the rotation Matrix, this website describes the values like this. But when i print the rotation ...
243 views

### Match two planes with different origin locations (Blender Python Matrix Math)

We see two identical Plane objects: A(blue) and B(red) They are oriented arbitrarily in the 3D space. Notice that the origin of A is located in the center and the origin of B is located in the lower ...
302 views

### How to export Bone matrices for animation?

I'm trying to export armature bone matrices (relative to parent), but fail miserably, because sometimes rotations and translations are getting applied to different axes, in comparison to Blender's ...
302 views

### Drawing mathematical functions using the Blender API - drawing a line

I want to represent the line y = 4x + 2. I suppose it has something to do with a function in python that gives pairs of values x-y and another that matches the ...
419 views

### How to get XYZ euler rotation of 3DView?

I'd like to extract the user view orientation of the current 3DView. Since I didn't find a direct command to get it, my approach would be to take its matrix using ...
459 views

### Animation nodes: rotate around axis

How do you rotate an object around a given unit vector and angle? I thought I could use this matrix, but I'm unable to create a custom 3x3 matrix inside animation nodes. R= \begin{bmatrix} \cos\...