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.

1
vote
0answers
17 views

How do you make a Lego statue out of a character Model?

I want to make a Lego esc statue out of a character Model. The character Model has a texture. My plan is to use the Remesh (Blocks) Modifier to make the Lego pieces. This works without a Problem. I ...
0
votes
0answers
22 views

What is the relationship between quaternion's value w, the (x,y,z) point, and the rotation they represent?

From what I understood, quaternion rotations could essentially be described as a vector coming from an object's location and going to (x,y,z) and W is a value that determines the object's rotation ...
0
votes
0answers
17 views

How to know if certain co-planar faces in Blender form a circle to apply quads later on?

I can get a set of co-planar faces from any mesh. Some of these co-planar faces form a circle while most of them do not. I eventually want to know which faces are forming a circle using Python, so ...
2
votes
1answer
36 views

Smooth Realtime-Audio Reaction in Animation Nodes?

I am animating certain objects in a scene using audio in animation nodes. The current setup makes my models react in a very aggressive way to the audio. Is there a simple way to smooth the reaction ...
0
votes
1answer
22 views

How could I have an object's Z axis align with the first derivative of is location F-Curve

I want an object to follow a path in space (specified via F-Curves, or by clamping to a Bezier curve), but I want the Z axis of this object to always be tangent to this trajectory (the same way that ...
3
votes
0answers
49 views

Are there any resources for learning CG related math (especially the math used by Blender)? [duplicate]

I want to get involved in developing Blender, maybe writing add-ons and stuff for the community. As far as I can tell, there's a lot of math involved with this (generally stuff like matrix/vector ...
0
votes
0answers
26 views

Setting center and scale during spherical uv layout

I'd like to map part of an equirectangular image to a cuboid mesh, in order that the texture view from an arbitrary POV appears without distortion. Both the mesh and its uv layout will be used for a ...
0
votes
1answer
36 views

How do I lay objects on the surface of a sphere with Python?

Just started Blender (and Python) about a week ago, so please bare with me. I apologize ahead of time for confusing/misused terminology, etc. I am working on a research project and I need to: ...
1
vote
1answer
50 views

Obtain normal map from specific camera and transformation

This may be a long shot, but after researching fruitlessly for about two weeks, I wanted to ask here in the hopes that someone who is a bit more knowledgeable about Blender and computer vision can ...
3
votes
1answer
71 views

How do you mathematically reverse a perspective transformation?

Maybe that's not the best title for this question, but I find it hard to describe what I'm trying to do in a generic way, so I'll just describe the situation. My friend and I are designing a human ...
2
votes
0answers
30 views

Making a Moire pattern animation

I'm trying to animate a pattern I made. I made this on a graphing website called Desmos, but ran into problems making all the lines move. Apparently it's too computationally difficult for the website ...
3
votes
1answer
70 views

AN - How to create path for moving an object or an outline?

I saw this diagram in Pinterest: lovely maths to create polynomials. I wonder how to use Animation Nodes to move objects on the paths like those below — or even how to create outlines. Being ...
2
votes
1answer
91 views

Maths — how to create moving waves with Animation Nodes

I am this week learning wave equations, my very first time. I am learning those below. Please give examples of how you'd use wave equations with Animation Nodes. Your way, please. No ideas? How ...
0
votes
0answers
26 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
13 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
15 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
38 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
52 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
92 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
34 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
59 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
35 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
32 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
568 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
73 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
35 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
108 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
106 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
61 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
104 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
327 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
57 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
69 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
103 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
139 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
527 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
45 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
749 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
830 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
645 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
364 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
206 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
117 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
119 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
130 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
35 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. ...
11
votes
1answer
656 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 ...
7
votes
2answers
633 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
62 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
64 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: ...