Questions tagged [mathematics]

Use of maths inside blender.

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

Ping Pong Math node - what does it do?

Reading through the math node docs, I came across a math function named "ping-pong". The docs state that ping-pong does the following The output value is moved between 0.0 and the Scale ...
3
votes
2answers
166 views

How to calculate movement of a radius of one sphere to intersect another sphere and create a specified distance for the intersection

Attached is a diagram and a picture of my current model and a GIF image what I'm trying to achieve. Sketch: Screenshot: Details: The inner circle is a perfect sphere with a radius of 6.63 The outer ...
0
votes
0answers
23 views

Is there a way to procedurally loop processes in shader nodes

I'm trying to make a node group that can convert values into "binary" (i know the value will still technically be base 10). I made a set of nodes that if they are recursively placed over and ...
0
votes
2answers
43 views

How to turn the Compare Math node result into a gradient?

I need help. I need the bracket (shown by the yellow grid on the floor and ceiling) along Y of this material to have a gradient, that meaning, to have the always "1" return from the Compare ...
0
votes
1answer
43 views

Maths question regarding curved bay window

I have been using Archimesh to create floor plans for a representation of my house. Generally, this is OK but it really is not very flexible with curved walls and cannot reflect my bay window at all. ...
1
vote
0answers
7 views

Simulating Shadings Losses for Solar Field, like PVsyst

About Me: I'm an electrical engineer by Profession with some programming experience in Python and applied Machine learning. I am involved in modelling, optimization and data analysis of renewable ...
0
votes
1answer
26 views

Is there an alternative to the Geometry -> Normal Output?

This is the matte I need, created from the mesh with this ring displacement using the "normal" output. I will be using a different displacement in the end but I need this specific ...
2
votes
3answers
193 views

Proportionally editing an object using a given/exact angle

I can proportionally edit an object (see animation below) but if I want to alter an object to have an angle of 63.45 how can I go about calculating/doing this (I'm testing parameters/limits/tolerances ...
0
votes
0answers
9 views

Axis flip when using Matrix.to_euler() - how to avoid?

I have a little script that export a camera out of blender and it uses the Matrix.as_euler("ZXY") to extract the rotation values. It all works great as long as it doesn't cross 180 degrees. ...
1
vote
1answer
49 views

Creating a Specular using two color channels?

I've been attempting to recreate a game's cel shading and am currently stuck on making speculars function. The main issue is that the speculars are done manually using both the red and blue channels ...
1
vote
0answers
23 views

Multiply to Combine XYZ vs Combine XYZ to Multiply

I was translating the object's origin by Vector Math node. Though I'm a bit confused of why feeding Multiply & Combine XYZ on a different order yields different results. I thought both vectors ...
0
votes
0answers
14 views

Animation node Moebius ring transposed into nodes

I'd like to learn better the use of math formulas in animation nodes. I'm very bad in maths but i would like to define a node set to make a parametric moebius ring i've found https://en.wikipedia.org/...
1
vote
1answer
71 views

How to emulate MixRGB (Mix) with math node for Grayscale?

I would like to do a little research, and I would like to simulate a MixRgb type node with a mathematical node, to mix BW type maps, since the MixRGB mixes 3 channels, it would be enough for me to mix ...
2
votes
1answer
46 views

inequalities using math node

Using math nodes I generated that pyramid like shape, but I want to impose inequalities. The equation for the following pic is 9-8|x|-y=0 but I want to impose inequalities to the equation where 0.75&...
0
votes
0answers
12 views

How does the follow path constrain work

First of all thanks to all who make blender such a great software! We're currently trying to find an animation solution for a scientific task and I came to the follow path constraint in my research. ...
1
vote
2answers
107 views

Make the dots the color of your logo

The grid shown below is what i have right now but it just overlays. I want the white dots to be using the image texture color. I have this method i have seen with simon tommes. Where he uses a image ...
2
votes
0answers
17 views

Get Normal data from smooth Normal

I don't know about "Shade Smooth", but I hope you can help me there. If the mesh has "Shade Flat", then you can read every face with "polygons [i] .normal". Can I also read the "normals" from the "...
1
vote
2answers
69 views

Scripting alternative to editing colour based on vertex coordinates using Nodes editor

I am trying to add colour to a mesh object where the colour varies based on the z location of each vertex (similar to a heat map). I am able to do so using the nodes editor (cycles render) into ...
2
votes
1answer
44 views

How to plot 1/x^x in Blender using Z function surface

I am looking to plot math functions in Blender using the Z function surface Add-On. It works great for functions such as: 1/x**2 But fails for functions like: ...
2
votes
0answers
38 views

frame_change_post/pre not working when Rendering Animation [duplicate]

I've got this script file that works flawlessly in the viewport, but stops completely when I start rendering it as an Animation. ...
0
votes
0answers
26 views

Creating Hydrogen Orbitals with Blende

I want to create a 3D Animation of a hydrogen orbital using the mesh.math addon. Therefore I wrote a short python code. ...
4
votes
1answer
62 views

How create Optical distortion effect

I would like to make custom blender transitions similar to the first second of this video https://www.youtube.com/watch?v=mZvQ9ipTK_8 I know that in reality, it's a transition executed outside the ...
0
votes
1answer
48 views

Normalize / Create a unit quaternion number / calculation using Python and Blender

I'm trying to work with quaternion math in Blender 2.82a and Python I need to normalize a quaternion number in Blender 2.82a using Python before I do calculations on it but I'm getting an error. <...
0
votes
1answer
28 views

Math in Texture Nodes

I’m having trouble figuring out how a math node influences a texture node. Say you have the Musgrave Texture node and put the output into an add node. Does the node add all the values within the ...
1
vote
0answers
60 views

blender python: evaluate extruded curve points

I need to find coordinates of points extruded from blender's bezier curve with python. All I know right now is how to evaluate each point on the curve(mathutils.geometry.interpolate_bezier) but I don'...
0
votes
0answers
16 views

How the math node works in shader editor [duplicate]

i am new to blender and can't find how math node works and why math node is working totally differently when connect with different type of nodes , is there any proper documentation on math nodes
1
vote
1answer
406 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
16 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
66 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
37 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
37 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
122 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
52 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
28 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
32 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
68 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
57 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
253 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
86 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
42 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
177 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
22 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
60 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
160 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
166 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
160 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
1k 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
34 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
36 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 ...

1
2 3 4 5 6