Questions tagged [mathematics]

Use of maths inside blender.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

Create mesh from procedural volumetric material 'isosurface'

So Rich Sedman wrote an answer / tutorial on how to make a random / organic scaffolding structure using procedural volumtetric materials. He essentially defines an isosurface in math nodes and uses ...
3
votes
0answers
107 views

Is there a way to model schrödinger's wave equations in blender?

I have the task to model the orbitals of an atom in blender for an animation. I know the orbitals of electron around an atom can be gotten from Schrödinger's wave equations. How would I be able to ...
1
vote
0answers
28 views

Find vertex projection of one object on the vertex normal of another object

I have the following setup: There are two objects: o1 (normal object; centered at the origin, no rotation) and o2 (it's a lattice; centered on a face of o1, rotated to match the rotation of the face)....
3
votes
1answer
44 views

Reconstructing axis of pot with one shard via vertex normals

I`m planning to do a reconstruction of a whole pot from one shard of it. I've already thought of a way to do it, but I really don`t know how to make it happen in code. Theory: every shard has a ...
1
vote
1answer
20 views

Primitive shapes whose parameters are dependent on their relative postiton

Fist time posting. I love Blender (a hobbyist new user making stills and stuff) but if it is not the right software, feel free to send me off. I'd like to have a sphere and a cone whose base is formed ...
0
votes
0answers
25 views

Is there anyway to differentiate a value ( from the shader editor ) in Blender

The title says it all. Is it possible? bit of a noob question though so hope any of you do not mind. Differentiation refering to getting a derivative of a value.
1
vote
1answer
35 views

Converting bottle threads from diagram to a 3D model

Goal: I'm trying to model the threads of a polar springs 500ml bottle in Blender 2.8x so I can 3D print an adapter for it. Issue: I'm having issues converting what Blender 2.8x calls Screw and what ...
0
votes
0answers
25 views

Plotting functions in blender

I've played around with "fractals" following https://www.youtube.com/watch?v=CR7jxw94Tcg but I want to plot my own functions; is it possible to plot any (math) function in blender, logs, ...
2
votes
1answer
25 views

Straightening Lines without Straightening Iron

Thanks for looking this over in advance. Hopefully pictures describe this somewhat well- but I'm looking to take the guess out of my guesswork here and have lines which are "perfectly straight&...
3
votes
0answers
34 views

Cycles - How to transfer information from a shader to another non-destructively ? (no baking)

How can we non-destructively (witouth baking anything into vertex color nor bitmap) transfer information from one shader to another within cycles ? Here's an example : Here is a simple proximity ...
1
vote
0answers
24 views

Calculating edges and polygon indices in python numerically to build mesh

I can calculate the vertices and faces but how does one calculate edges and polygon indices numerically in python? ...
1
vote
3answers
80 views

Updating objects parameters using python creates multiple objects

I can update a text curve object when I change the frame and it doesn't create multiple objects but how can I do the same with a mesh object. Code: ...
0
votes
0answers
17 views

Creating / Re-creating the X,Y,Z mesh Surface functions with the (u,v) options using python [duplicate]

Creating / Re-creating the X,Y,Z mesh Surface function with the (u,v) options using python in Blender 2.8x Does an example exist / anyone have an example of how to reproduce the X,Y,Z mesh Surface ...
2
votes
0answers
70 views

Converting / getting parametric equation to work using python

Converting / getting parametric equation to work in Python / Blender / Animation Nodes I can create / plot the parametric equation in Octave $$x=u\sin(u)\cos(v)$$ $$y=u\cos(u)\cos(v)$$ $$z=-u\sin(v)-\...
1
vote
1answer
60 views

Trying to animate an extrude in 3D using curves generated by an equation over time

Trying to animate an extrusion in 3D using curves generated by an equation over time. I can create a 3D spiral pattern using python and animation nodes but how can I extrude the curves so they vary ...
3
votes
1answer
171 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
181 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
25 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
51 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
45 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
15 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
29 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
204 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
11 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
53 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
28 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
22 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
117 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
49 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
13 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
120 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
19 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
76 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
56 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
48 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
28 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
76 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
63 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
30 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
77 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
631 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
18 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
108 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
57 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
39 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
139 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
78 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
31 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
34 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
2 3 4 5 6