Questions tagged [mathematics]

Use of maths inside blender.

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

scale multiple textures

is there anyway to scale multiple texture nodes? for example the image below. Is there anyway to scale these three textures together?
1
vote
1answer
18 views

How to calculate world position of offset point based on rotation of an object in python

I have a sphere parented to another object, offset on the Z axis so that when i rotate the parent i can get the world position of the top part of the parent. How can i calculate this without needing ...
3
votes
1answer
61 views

Blender 2.8 - Cycles - Math (Sign)

I have worked on plenty of Math operations within Cycles without the need to use GLSL. The only operation/function so far that I Can't figure out however, is Sign. Basically, this operation will ...
5
votes
2answers
704 views

What does the fraction math node do?

I am trying to learn some procedural basics. Could you tell me what the fraction math node does? Is the result similar to modulo?
0
votes
0answers
27 views

I need help measuring MIN and MAX diameter of an eliptical shape

I'm pretty new to blender, what brought me here is that I'm working gon a project in which we're looking for a simple way to measure 3d cuts of a body scan, in order to identify spine deformations in ...
1
vote
0answers
24 views

How to set the Euler angles(XYZ) of an arrow, from its components? [duplicate]

Given a vector(an arrow object) say $\vec A\,= \,P \hat{i} + Q \hat{j} + R \hat{k}$ , how to determine the corresponding Euler angles (XYZ) to be assigned to the vector so that it points in that ...
3
votes
0answers
44 views

What's the algorithm used in 'tris to quads' (Alt+J)?

Does anyone know the algorithm used in 'tris to quads' function in Blender or the script containing this function? Thanks!
1
vote
1answer
28 views

How to create a mirror pose for a pose bone (using Python)?

I've done pose mirroring for characters in some other 3D software using scripting / matrices. However in Blender I don't have the same helper methods / functions available (or haven't found them yet)...
1
vote
0answers
34 views

Animating the trajectory of solutions to ordinary differential equations

Hello Blender Community, I am new to the software and I am looking for some advice on the following problem. Suppose that we are given the position and orientation of a rigid object in Euclidean ...
0
votes
0answers
58 views

How do I make this “60degree” graph programatically?

Translating x values to y via f(x) as usual, but without treating x and y as coordinates, only endpoints of finite (pink) lines. I looked for other solutions before coming back to Blender, but ...
1
vote
2answers
30 views

How do I change a Math Z Surface's x and y bounds?

I am new to blender and I am trying to make a 3D model of an equation that I came up with. When I create a math Z surface with the Extra Objects Add-on, I cannot seem to change the bounds of x and y. ...
0
votes
0answers
10 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
0answers
50 views

How to add smooth step equation to a shader node graph?

I'm trying to add some math to a shader network that I'm building. I want to take a numeric output from a node and pipe it through the equation f(x) = -2x^3 + 3x^2 (this is sometimes called the ...
1
vote
1answer
24 views

I'm trying to recreate the camera as a mesh in python

i'd like to recreate the active camera as a geometry (it's for optimizing particles in the viewport with a dynamic paint modifier) i'm almost there, the last part is just finding the correct ...
1
vote
1answer
96 views

Using Animation Nodes with the expression node with equation starting with x(n+1)=

I'm trying to animate the variables for various strange attractors using animation nodes and it's expression node. The equation I'm trying to animate. I can create the equations and animate the <...
6
votes
1answer
129 views

Converting the Clifford Attractor equation into python to animate it in blender 2.8

I'm trying to re-create and animate a "Whispy Clifford Attractors" this http://paulbourke.net/fractals/clifford/5.jpg from this site http://paulbourke.net/fractals/clifford/ I can create the ...
0
votes
1answer
62 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
54 views

How to render a 3d object in a texture

So I have somewhat of a 3d space inside this texture and I wanted to know if it is possible to draw a 3d sphere inside of how do I tackle this with nodes if possible at all, should I use a Parametric ...
0
votes
0answers
39 views

Generating blue normal map channel from red and green channels

I have a normal map texture where the blue channel is used to store some other map of information since it is normally used in a program which calculates the blue channel from the red and green ...
9
votes
2answers
353 views

Is there a way to calculate mean curvature of a triangular mesh?

So I've written a script which does this: Before: After: The code is: ...
0
votes
0answers
13 views

Create Spline from Formula (Vector Valued Function) [duplicate]

In Cinema 4D, there is a formula spline whose shape is dictated by a vector valued function. This allows me to create very unique shapes very easily, such as the following: I am not sure if there is ...
0
votes
0answers
24 views

defining vertices with a math formula? [duplicate]

Is there a way to define vertices of a curve with a math formula? I'm trying to do a lemniscate (a rose curve the two lobes, infinity sign). X=90*cos(b)*sqrt(cos(2*b)) y=90*sin(b)*sqrt(cos(2*b)) ...
0
votes
0answers
14 views

What units does the Point Density and Particle Info nodes use to represent particle age and lifetime?

For example, If I set my particle's lifespan to 100 frames and then read particle age using either the Point Density or Particle Info nodes, what value should I divide by in a Math Node so that once ...
0
votes
1answer
84 views

How to quickly render 2D/3D Mathematical curve animations without the shadow details

I am thinking of starting a new YouTube Channel where I'll be doing Math videos. So I'll be doing things like animating curves, similar to the picture attached below. So I don't need much of the ...
1
vote
0answers
71 views

Physics and calculus in blender

I'm physics student and I want to calculate things on blender, I've to learn many things of the program and I'm starting on it. I want to know if it's possible to do some calculus inside blender, for ...
1
vote
2answers
25 views

How can I make boundaries for a numerical value in the node editor?

I am trying to make a node setup where: If the input is 0 or anything less it outputs 0 If the input is 5 or anything greater it outputs 5 If the input is between 0 and 5 it outputs the input I can'...
4
votes
1answer
156 views

How to convert equations to work with Blender and animation nodes?

I have an equation that I'm trying to animate in Blender 2.79b The equation is. $$y=e^{{{\log \left(1-x^{{\it (S*T)}}\right)}\over{{\it (S*T)}}}}$$ Where: ...
0
votes
1answer
46 views

How can I create a non-self-intersecting mesh from a line mesh?

I am currently working on creating a 3D model of a Lorenz system. I want a result fairly similar to the following picture from the Internet, minus the stand: To accomplish this, I created a C++ ...
2
votes
1answer
57 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 ...
1
vote
0answers
34 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
49 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
25 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
180 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
39 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
53 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
127 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
61 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
144 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
143 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
71 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
144 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
198 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
28 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
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 ...
1
vote
0answers
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 ...
4
votes
1answer
200 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 ...
3
votes
1answer
128 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
240 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
53 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
64 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 ...