Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mathematics]

Use of maths inside blender.

0
votes
0answers
19 views

Are the geometry generated by math functions in blender faster in any way compared to other modelling methods?

As the question says, is an object generated via the blender math function faster in any way than using other modelling methods, especially poly modelling? does it cause faster rendering, view-port ...
0
votes
0answers
11 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 ...
1
vote
0answers
12 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 ...
1
vote
0answers
23 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 ...
2
votes
0answers
50 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 ...
0
votes
2answers
63 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 ...
0
votes
0answers
29 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) ...
-2
votes
3answers
57 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 ...
1
vote
0answers
32 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.
0
votes
0answers
31 views

Modifying a Blender camera position / orientation?

There was a great post about how to create a Blender camera from a 3x4 computer vision matrix: blender camera from 3x4 matrix How do you combine this projection matrix with an already existing ...
3
votes
1answer
362 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 ...
3
votes
2answers
67 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 ...
1
vote
0answers
34 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 ...
1
vote
1answer
90 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 ...
3
votes
2answers
91 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 ...
1
vote
1answer
55 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 :
0
votes
0answers
63 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 ...
-4
votes
3answers
291 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 ...
4
votes
1answer
55 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 ...
1
vote
1answer
57 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 ...
1
vote
1answer
77 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 :(
0
votes
1answer
103 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?
9
votes
4answers
479 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 ...
0
votes
1answer
39 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 ...
4
votes
2answers
730 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 ...
2
votes
2answers
567 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 ...
6
votes
1answer
413 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 ...
1
vote
1answer
221 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: ...
1
vote
0answers
176 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 ...
0
votes
2answers
84 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 ...
2
votes
3answers
83 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 ...
1
vote
1answer
118 views

Calculate surface by logarithmic function?

Is there any way to use the log() function in order to calculate the surface of a mesh?
1
vote
0answers
34 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. ...
0
votes
0answers
78 views

Mathematical correct Animation of a pendulum

that ist my first question here and i'm not into blender at all. I only want to know if it is possible to construct a 3D Animation of a pendulum in motion for which I already have the exact ...
11
votes
1answer
615 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 ...
6
votes
2answers
516 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 ...
1
vote
0answers
53 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://...
2
votes
1answer
60 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: ...
1
vote
0answers
70 views

How can I use Latex in Blender. How to display Math Formulas [duplicate]

How can I use Latex in Blender. How to display Math Formulas. Converting from pdf to svg is impossible in larger documents. Can I use Sympy? Mathjax? MathML?
0
votes
0answers
47 views

Ping-pong (back and force) alembic animation

Is it possible to play forward-backward (so call ping-pong) the alembic cache? I read this topic and I understand there can be used scipted expressions as drivers. But I can't imagine the math ...
1
vote
1answer
115 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
0
votes
1answer
54 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 ...
2
votes
1answer
504 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'...
1
vote
1answer
475 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 ...
4
votes
1answer
262 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(...
0
votes
1answer
67 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 ...
0
votes
0answers
31 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 ...
0
votes
1answer
163 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 ...
2
votes
2answers
145 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 ...
0
votes
1answer
185 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 ...