Questions tagged [mathematics]

Use of maths inside blender.

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

How do i calculate the displacement of a certain bone

I'm trying to simulate the mechanism of the differential gear box using only math but, to do this i need to drive the weel rotation using a guide bone with a child of constraint targeting the root. My ...
1
vote
0answers
15 views

How do I make a curve with multiple parts, all connected parametrically?

I'm looking to model the nozzle for a rocket engine in Blender to use in an animation, and I want to be as accurate as I can. This means using math (and a lot of it) to make the model. My problem is, ...
0
votes
0answers
23 views

can anyone help with getting the Z Location data from the Music empty object into the radius value? /Sverchock

can anyone help with getting the Z Location data from the Music empty object into the radius value? Sverchok some help would be great!
0
votes
1answer
33 views

How do I match an orthographic type camera to an orthographic image?

There's a program called fSpy in which you can draw lines on an image, and it will in turn give you a camera position and rotation, however it doesn't seem to work with orthographic images. I have an ...
6
votes
0answers
64 views

Flip Normals with Geometry Nodes

I have geometry being created through geometry nodes and I am am trying to flip the normals on this duplicate geometry. However, it appears that normals are a read only attribute in the geometry nodes....
0
votes
1answer
77 views

Scaling along normals in Geometry Nodes

I'm trying to use geometry nodes to scale up a duplicate mesh along each faces' normal to "thicken" up the mesh. This can be achieved manually by scaling a mesh with Alt+S (Scale along face ...
0
votes
0answers
12 views

How to change math function after closing “Add function surface” [duplicate]

When I choose to add Z or X, Y, Z function, "Add function surface" menu appears in the bottom-left corner. But once I click outside the object it disappears and I can no longer change the ...
0
votes
0answers
13 views

How to keep two object relative position and set one to origin

I'm writing Python code to intergrade the VIVE tracker to the Scenes, but OpenVR only provides absolute and separate positions. right now I'm successful to get two trackers position and rotation, one ...
0
votes
0answers
39 views

How to get the position output of a Voronoi texture using only math nodes

Sorry in advance if the title is confusing, I didn't know how else to phrase it. I'm trying to replicate the voronoi texture node and I'm stumped on how to replicate the position vector of the voronoi ...
0
votes
1answer
41 views

Is there a way to make a gradient based on an object or a image texture?

I made this image with a monkey head and I want to be able to make something like the second image with nodes procedurally [i made this just by duplicating a cutout] I want to be able to take a ...
0
votes
2answers
36 views

How to use drivers in order to allow a rotation of an object in the x axis to be mirrored as a rotation in the y axis?

Is there anyway to make an object rotate for the same value in the z axis when the y axis rotation is changed. It is to rotate the door as attached, as it needs to rotate at an angle.
0
votes
1answer
50 views

Nearest point to a z(x,y) function

Let's see if I can express my problem. I have created a grid mesh and then assigned to each (x,y) a z value (this is how I create z(x,y) function in animation nodes, I don't know if it's the best way)...
0
votes
1answer
14 views

How to use the equation of the circle in the driver expression?

How to use the equation of the circle in the driver expression?
4
votes
2answers
140 views

Interpreting a formula for Blender Python

I'm pretty poor at maths but managed to get someone who is decent at it to come up with a linear algebraic formula for the control over the distribution of points along a straight line. The formula is:...
0
votes
0answers
26 views

What areas of mathematics will help me in creating this add-on?

I want to create an add-on like this. It edits the selected edge, adds vertices to it ( as much as you need - the parameter will be adjusted ), creates the curvature we want. I want to make this add-...
0
votes
0answers
21 views

Reflection Calculation wrong?

I am trying to recreate the reflection calculation performed in Blender when an object reflects a Equirectangular Environment Texture, but instead of using the camera feeding in an arbitary normal ...
2
votes
0answers
48 views

Animation Nodes: How to keep the Radial perfect loop when adding iterated rotations to each instance

I have this simple AN radial setup: And this simple loop to give incrementing rotations to each instance: And this setup allows me to keep the perfect loop intact regardless of how many instances I ...
0
votes
0answers
71 views

Newbie trying to create a gyroid sphere (gyroid ball) like this one

I would like to create an object closely resembling this minimal surface gyroid intersecting a sphere, sometimes called a "gyroid sphere" or a "gyroid ball": Unfortunately the ...
0
votes
0answers
27 views

How can I animate matrix transforms like rotation or scaling?

Can transform matrix be animated with keyframes or do I have to do this manually? e.g. How could I animate this rotation? I know how to set keyframes on rotation, but i need/want to use transforms. <...
1
vote
0answers
19 views

What is the technique or method blender uses to calculate surface area of mesh from print 3d tool box?

I know we can obtain the surface area and volume of mesh from print 3d tool box. I want to know what is the technique blender uses to obtain them.
1
vote
1answer
56 views

How can i shade foam along a coastline, together with a sea shader?

I want to make a procedural texture for terrain, with water, sea foam, sand, moss, and rocks. I have managed to make them all except for the water foam, which i cannot fix along the shoreline. ...
0
votes
0answers
17 views

Blender 2.9 Light Power Driver Formular always returns 0

I try to add a driver formular for lights which should result in heart beat like pulsing. In general when I only use #frame*800 it works. But when I use a "complex" formular it is always ...
5
votes
2answers
315 views

Why are there thick edges in Voronoi 3D/4D?

I was playing with Voronoi and discovered that if I use 3D/4D, some of the edges are thicker than others. In my opinion, it looks unnatural and neither colorramp nor greater/less than can solve this ...
1
vote
1answer
32 views

How to have the texture of a circle separated in bands each with a different factor (or color) in a shader? [duplicate]

I created a simple shader to subdivide a circle in a specified number of bands. Each bands has a number between 0 and 1 and the factor (color) for each band is (previous bands + 1/NumberOfBands); I ...
5
votes
3answers
677 views

How to avoid violating energy conservation when making shaders and node groups?

Recently a user on here offered a tip to be careful when making shaders so I don't violate energy conservation. Blender stores colors in the value range of 0-1. If you go above 1, then more light is ...
1
vote
0answers
45 views

Changing the “angle / curvature” of a mesh created using python and parametric equations

Changing the "angle / curvature" of a mesh created using python and parametric equations. I can create a Hyperboloid using Python and Blender: With the Python script formula snippet: ...
6
votes
2answers
125 views

How to convert HSV to RGB using shader nodes?

I am trying to implement the following function that converts HSV to RGB: ...
3
votes
3answers
227 views

Having trouble implementing a function in the node editor where the source uses if/else logic

I am creating a color saturation node group in blender as an exercise. This is the code I'm trying to implement: ...
3
votes
1answer
62 views

How to compare three (or n) values and output the minimum value using nodes

I want to compare three values (RGB) and then pass the minimum (or maximum) along the node chain. For instance an input of (100,50,255) would output 50. The math node only allows you to pass along one ...
2
votes
0answers
31 views

Is there a node-based implementation for saturation that works a little more like Photoshop?

I am asking this question because I am putting together a node group to adjust some basic color and contrast settings for texture maps. I really hate the way that Blender's Hue/Saturation node ...
4
votes
2answers
154 views

How to I change the Interpolation Type in the Map Range node like the documentation says?

According to the documentation, you should be able to change the Interpolation Type of a Map Range node. I am on 2.91.2 and don't see it. Is this a new feature that I don't yet have access to? ...
2
votes
1answer
44 views

Why doesn't a value node set to 1 evaluate to pure white in the shader editor? [duplicate]

I am starting to work with math nodes more often and came across something I don't understand fully. When you preview a value node that is set to a value of 1, the result is not pure white. If I crank ...
2
votes
1answer
94 views

I want to make a nasty wriggling worms procedural shader

I saw a tutorial to make a spaghetti shader in substance designer, and in that they used some default noise texture that they altered to look like noodles. I want to do something similar in blender, ...
0
votes
1answer
29 views

How to make node disappear

It seems to make the value node disappear while connecting it to group input. I've tried different combinations and have node wrangler on but I'm not sure how to get it. I'm also unclear as to exactly ...
3
votes
1answer
43 views

How to create such a mechanism? [closed]

I thought to do it sideways. Here you need to use drivers and math, I think. But where can I find similar examples in execution, tutorials with a solution to a similar problem? Or books, videos, ...
1
vote
0answers
25 views

How to give uniform thicknes to edges of an object using materials(nodes)?

Here I want to create a thick border around my object using materials (Nodes). Here is my model and material. But, when we see closely, there is a variation in thickness of side borders. The side ...
0
votes
0answers
26 views

Camera solving - what algorithm is used?

Note: this question is about how Blender is implemented, not how it's used. IIUC, Blender uses 8 points (or more) at two keyframes to calculate the position in space of the camera. What is the ...
0
votes
0answers
21 views

How can I mask a layer using another layer in the compositor without manually masking

I want to mask a layer having freestlyle lines alone of a cube (rest transparent) using an upper layer containing a sphere passing past the cube in the compositor using nodes such that the ...
0
votes
0answers
42 views

Blender 290 Python : Rotate object , to align object any “edge” toward point (By math ?)

I am trying to build up a tool for orient objects, and align them... I start placing a starting point(circle), and a ending point(squaredcircle), And use these two lines of codes to orient an arrow, ...
1
vote
2answers
61 views

How to create a rotation in local space that is equivalent to the rotation in world space?

Say I have a quaternion rotation in the world space, and I need an object to rotate according to that rotation, however, that object has its own axis. What sort of operations would I need to perform ...
0
votes
0answers
17 views

How to isolate edge loops along axis in python?

Using python scripting, I want to make changes to edge loops that roughly follow a given axis, (Z in this case) but I don't even know how to isolate the loops I want. To illustrate, I've selected the ...
0
votes
1answer
29 views

converting parametic equation using python

I'm trying to convert some math / formulas STEP 1: Found at: https://math.stackexchange.com/questions/324527/do-these-equations-create-a-helix-wrapped-into-a-torus But the spirals aren't closing / ...
5
votes
1answer
74 views

How can I make this hexagon be exactly the height of the square

I made this hexagon using a tutorial from erindale: https://www.youtube.com/watch?v=mLRqhcPIjg8&t=334s I'm trying to make a pattern using this hexagon (the carpet pattern in "the shining&...
3
votes
1answer
138 views

Is there a way to loop in some way, the w slider on 4D nodes?

I have a little procedural nodes animation that has a wavering 4d noise texture made by adding the #frame driver to the W value. I would like it to loop, but since the W value is like a random seed, ...
2
votes
1answer
19 views

Can I define a coordinate system based on a mesh, as generated coordinates are based on a bounding box?

I am making a procedural cloud based on CGMatter's which takes the shape of the mesh assigned the cloud material, with the added ability to 'shrink' the initial (pre-distortion) volume box so the ...
0
votes
0answers
87 views

Object>>rigid body>calculate mass: mass estimates are bit out on shape created using Maths Mesh tool

I was hoping to use Blender to calculate the mass of shapes with curved surfaces. To start I took a 1m cube and performed a boolean difference with a parabolic curve (x=0 to 1m)that was extended ...
1
vote
1answer
958 views

Geometry Nodes. What to enter in the result to get a change in the Z axis?

I entered scale to control the size of the object, if I want to control its height, what should I enter? I tried dozens of different ways.
3
votes
1answer
96 views

Any way to recreate this procedurally and random?

I've recently been trying to create a personal library of node groups and materials to get a better understanding of blenders material nodes, but I'm a bit stumped on how to recreate this I'm trying ...
0
votes
1answer
141 views

How to get a vector type from a FloatVectorProperty?

How do I get the mathutils.Vector from the FloatVectorProperty in a python script? Sometimes it works other times I get a type ...
0
votes
0answers
27 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 ...

1
2 3 4 5
7