Questions tagged [mathematics]

Use of maths inside blender.

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

Mesh -> Math Function: Edit Dialog [duplicate]

How do I pull up the Edit Dialog after it closes? I have enabled Math Functions and it works fine; however, after I initially enter my settings in the dialog ("Add Z Function Surface"), the ...
0
votes
1answer
51 views

How To Make A Board Game Piece With Vector Displacement [duplicate]

My final outcome will be a flat plane with a displaced board game piece that I can move around. I started by making a cylinder come out of the plane. Then I wanted to use RGB curves to shape a board ...
-2
votes
0answers
18 views

Truncated-Icosahedron update needed? [duplicate]

Can this be updated for version 2.91.0 ? Number of Subdivisions does not seem to appear anywhere. Old Article version 2.74.0 with Great Info. Thanks for any help... In Object Mode hit Shift+A ...
1
vote
1answer
21 views

Rotate by a given relative quarternion

So this is a classic question, I guess, but still I couldn't find an answer to my specific variation: I have an object where I select a surface with a given normal vector. I then want to rotate the ...
2
votes
1answer
24 views

How can I invert the value range of a node group's input node?

I am making a simple edge detector group, and I want to expose a value to its input. The only problem is that the value I want to expose is mapped differently than I would like. It goes from -1 to +1. ...
1
vote
1answer
32 views

Calculating the correct angle needed to bend a plane into a “cylinder shape”

Calculating the correct angle needed to bend a plane into a "cylinder shape". I have a 5x5 diamond plane that when I bend it 396 degrees it becomes a "cylinder shape" Another ...
1
vote
0answers
35 views

Is there a way to morph between two different shapes made with shader nodes

I've made a couple of simple shapes (Just a circle and a star) and I wanted to be able to have a slider that at 0 would be one shape and at 1 be the other. Right now I'm using a value which is rounded ...
4
votes
1answer
46 views

How could i make a cartoon flower type of shape

Almost like a star shape but with the points rounded off. I used this node setup to make a star like this, but I can't figure out how to round off the edges. I would like to be able to customize the ...
4
votes
1answer
147 views

Why does a MixRGB node rotate my ColorRamp/mapping coordinates?

Why does a MixRGB node rotate my ColorRamp/mapping coordinates? The Fac is set to 0 so it should have no effect on anything at all. Also notice that the voronoi pattern is not rotated but the ...
2
votes
2answers
106 views

Is there a way to get continuous radial/polar coordinates?

I'm not exactly sure if that's the right word for it, but basically, I want to be able to generate a gradient around a point like in my picture, but without the seam. the only thing I can think of ...
0
votes
1answer
48 views

Mathematics behind creating shapes using math nodes

I have seen people are creating various shapes using math nodes in Blender. Not just simple shapes but very complex shapes for example like a batman logo. I have learned that they extract algebraic ...
0
votes
1answer
41 views

How can I calculate a 28.5 mm hole for a hyperboloid center opening when it's Z=0

How can I calculate a 28.5 mm hole for a hyperboloid center opening when it's Z is equal to 0 The arrows point to where z=0 and the 28.5mm hole should be. (I know I could scale the object but I need ...
2
votes
1answer
85 views

How can I turn a mesh inside out

I have a mesh with bottle threads on the outside. Now I would like to make / invert the threads so they appear on the inside to create the cap. I tried using the boolean modifier and difference ...
0
votes
2answers
27 views

map 2d coordinates to 1d index using blender drivers

is there a clean way to convert a 2d vector ( from relative position between two objects ) to 1d index using blender drivers? it should be extendable to add more items later . it is useful to control ...
0
votes
0answers
27 views

Using a 360 rotation to drive another object so that it rotates 0-180 and then again 0-180 [duplicate]

I've got a bit of a remapping problem with my driver setup. Driver disk rotates 360 degrees (or more) Driven disk should match the driver for 0-180 degrees. Driven disk should then rotate again from 0-...
1
vote
1answer
72 views

How Use the rotation of a driver object to drive the 0-1 position of 12 driven objects

I've specfied my question so its hopefully a bit clearer. The idea is to use the rotation of a driver, to drive 12 driven objects. This means that for every 30 degrees of rotation, a driven object ...
0
votes
0answers
44 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
116 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
31 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
47 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
31 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
36 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
42 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
30 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
35 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
28 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
126 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
131 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
68 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
300 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
184 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
28 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
77 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
47 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
24 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
33 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
212 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
13 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
54 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
34 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
23 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
184 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
54 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
121 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
91 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
67 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: ...

1
2 3 4 5 6