Questions tagged [mathematics]

Use of maths inside blender.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 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
19 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
22 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
59 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
14 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
163 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
49 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
26 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
78 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
14 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
32 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
153 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
51 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
74 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
864 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
31 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
48 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
57 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
50 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
109 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
36 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
75 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
27 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
135 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
186 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
70 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
58 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
124 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
401 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
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
18 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
110 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
83 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
27 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
196 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
53 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
66 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
42 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
78 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
27 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
217 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
47 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
154 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
66 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
239 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 ...

1 2 3 4 5