Questions tagged [mathematics]

Use of maths inside blender.

Filter by
Sorted by
Tagged with
1
vote
1answer
88 views

Spiral array but with fibonacci sequence

I am trying to make a sunflower. The seeds in a flower grow in a spiral. Whenever I add an array spiral and make it follow the curve, it doesn't seem to look quite right. This is because it doesn't ...
0
votes
0answers
9 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....
0
votes
1answer
18 views

Python: Placing objects around a spheres surface with proper rotation

i have a script to duplicate an object, and place the duplicates at random coordinates around a spheres surface, and then point those objects away from the center of the sphere. It almost works but ...
0
votes
1answer
29 views

Count of multiple face areas

is any way how to display total faces area of selected faces in Blender 2.8? Manually counting isnt possible...I want count 1000 and more faces...
1
vote
0answers
33 views

How to make a math function with equal sign in blender?

I was trying to make a circle . I tried to use this function (xx)+(yy)=a. Making (xx)+(yy) was easy but how i should go about making =a part in blender shader editor? (also it would be great if ...
3
votes
1answer
94 views

Node editor Hexagon

I currently have the Maths expressions addon installed in blender. I know it has a hexagon preset already, but it comes up with this: 1) How do I fix this? 2) How do I make a hexagon?
0
votes
0answers
26 views

How do I convert camera coordinates to world coordinates?

Blender has a great function to convert world coordinates to camera coordinates. However, in my case I am trying to do the exact opposite and can't find an existing method of doing so. I have tried ...
0
votes
0answers
21 views

Python : Negative scale causes global rotation discrepancies

I'm currently working on a system using Blender to export some scenes to a game engine. To do so, I've written a Python script reading the scenes and writing the files as needed. So far I've had no ...
0
votes
0answers
27 views

How to plot XYZ dataset? [duplicate]

I have a text file with a set of 3D points. How can I plot it and generate a Mesh surface like in the given image? enter image description here
1
vote
1answer
63 views

How do i convert this equation into the node editor?

How do I make this in the node editor? I don't get how to go around y=(-x)
0
votes
0answers
28 views

How to configure the python values to fix the facial movements of a new 3d character not originally thought to work with those

I've just tracked and saved on the timeline the facial movements of Victor using OPEN CV and following this tutorial : https://www.youtube.com/watch?v=RY_eErKlilw The result has been good,as u can ...
2
votes
2answers
181 views

Calculate sphere's rotation for rolling

Let's say that there is a sphere whose x,y,z dimensions are d. So, the circumference is d*pi. Now, the sphere is rolling on a ...
2
votes
1answer
57 views

looping through splines of a bezier circle, can only find 1 spline not 4

I'm trying to port differential line growth to blender animation nodes following this example https://vimeo.com/169438763 . I was suggested to work with splines in blender as it would be a lot simpler ...
0
votes
0answers
28 views

adding vertex between two vertices using animation nodes

i'm working on differential line growth, which requires me to resample my shape each time the distance between two vertices becomes too big. Yet I can't seem to find anything concerning this online. ...
4
votes
1answer
98 views

Documentation on the mathematical models used by Blender physics engines

I need to know which mathematical models Blender uses during rigid body simulation and fluid simulation (e.g. Lattice Boltzmann). Is there something like that in the Blender manual or do I need to ...
0
votes
0answers
17 views

Custom colors for ramp node (scripted)

Hello. I was watching this video in the aims of custom scripting colors for a color ramp (linear) in a property panel. I´ve armed this network like this: Question 1: How can I do the group node like ...
5
votes
0answers
39 views

Calculating position difference in a driver

Suppose I have an object, that I move from A to B (by pressing the G button) on the XY plane. I want to automatically orient it, so it always faces the direction of the movement. Furthermore, I want ...
1
vote
0answers
13 views

Where is the menu to modify newly created objects? [duplicate]

So I've installed the Add Mesh: Extra Objects add-on because I want to make a mesh from a mathematical function. However, the tutorial I'm following seems to use an old menu that I cannot find in the ...
4
votes
1answer
155 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
93 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
104 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
940 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
33 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
25 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
51 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
69 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
65 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 ...
-1
votes
1answer
111 views

Get the depicted result procedurally, with interactive possibility as described, minus the equilateral grid ? Python, AN, any other method

Strike four - Drivers... No control. The AN nodes will prove to be the best solution as I initially suspected. Unless I'm missing something obvious, which is entirely plausible. Strike three I'm ...
1
vote
2answers
44 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
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
0answers
91 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
29 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
159 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
216 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
77 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
64 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
187 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 ...
10
votes
2answers
453 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
17 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
26 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
19 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
147 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
90 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
29 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
225 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
61 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
76 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 ...
2
votes
0answers
43 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
112 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
28 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 ...

1
2 3 4 5