Questions tagged [mathematics]

Use of maths inside blender.

Questions related to the use of math inside Blender.

  • Math in Node setups for shading / compositing
  • Formulas and calculations in Python scripts
  • everything else that can be done with mathematics in Blender.
611 questions
15
votes
5 answers

Use Latex in Blender

I want to use math text in Blender. For example, I would like to have fractions (A/B) where the letter A is on top of letter B and the division line is horizontal. I also would like to move this fraction around by animations just as I can do it with…
Adam
  • 609
  • 1
  • 6
  • 13
11
votes
3 answers

Plotting 3D Surfaces

Building on from my previous question, how can I plot something more complex than a sphere (and not as easy to split into a set of parametric equations)? Say, for example $$2x^2+y^2-5z^2+z-7x=16$$ Graphed on Desmos (use the z-slider to change the z…
math
  • 111
  • 1
  • 3
5
votes
2 answers

How to turn a mesh inside out, like a sock?

I am working with a 3D scan of an object that has convex ridges. Here is a screenshot of the object: I am trying to use the interior of the model to create a space for a video game. As you can see in this image, the ridges of the model are concave…
Mike
  • 275
  • 3
  • 10
4
votes
1 answer

3D Cardioid, using equations

I'm trying to create a 3D Cardioid, for which I would like to control/adjust the thickness along the axis perpendicular to the cusp. Do I use the cardioid's parametric equations for X and Y? What about Z? I'm getting "Error Evaluating Expression."
4
votes
0 answers

Are there any resources for learning CG related math (especially the math used by Blender)?

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 algebra, dot/cross products, quaternions, and complex…
thepufferfish
  • 632
  • 6
  • 25
3
votes
1 answer

Plotting 3D Regions

How can I plot a simple 3D region such as $$x^2+y^2+z^2<16$$ in Blender? If I can't do that directly, how can I turn it into $$x=\dots$$ $$y=\dots$$ $$z=\dots$$ So I can use Mesh --> Math Function --> XYZ Surface? Or is there a script that can…
Math
  • 31
  • 1
3
votes
2 answers

How to calculate the minimum difference between 2 values in a range that wraps around itself using math nodes?

I made this illustration and used a circle for better visualization of what I mean. Basically you define the Min and Max values in the range (which end up being the same point) and the max possible difference between the 2 points is never more than…
Pedro Ribeiro
  • 501
  • 2
  • 7
3
votes
2 answers

What is the normal of a point?

I know what is the normal of a plane/face, but what does it mean when the domain of the normal is a point? For some context: I'm watching this tutorial; at the timestamp 12:30, he multiplies the normal of the points with another attribute.
Sohail Nordin
  • 493
  • 3
  • 10
3
votes
1 answer

Create a solid from 2D math function

Is it possible to create a solid based on a 2D function in Blender? Example: I have a function $y=x^2$ where $x \in [0,1]$. Here 'Z' is simple projection of XY plane so, extrude shall do the job. I looked at the 3D Math addon functions but it not…
Saideep
  • 105
  • 1
  • 5
2
votes
2 answers

Sine function in Math Node in Blender

Hey guys I'm new to Blender. I don't know about Sine function in Math Node. Blender's official manual redirects me to the Wikipedia page but in there I don't understand the process. I want to know how to predict the output of the sine function and…
2
votes
3 answers

How do you Fix the Modulo Function Not Working Correctly for Negative Numbers?

If I make Blender compute a modulo, then it does not work correctly for negative numbers. In the picture, the part of the rectangular cuboid with a negative abscissa is incorrect. Here is a render of a rectangular cuboid with a base color of…
BlenderUser9000
  • 89
  • 1
  • 11
2
votes
2 answers

Paraboloid in geometry nodes

any idea how to do paraboloid in blender geometry nodes?
Mateusz 88
  • 447
  • 3
  • 12
2
votes
1 answer

Math Function Mesh

Could someone help me understand how to enter an X,Y,Z equation in Math Function Add on? Here is a sample equation: Cos(x)+Cos(y)+Cos(z) = 0 range -pi to pi Thank you very much :)
Aydin
  • 21
  • 4
1
vote
1 answer

Is there a LateX addon that directly let's me type in LateX into blender?

Is there a LateX add-on that directly lets me type in LateX into blender ? If not, is there a Python code for this to directly type into blender using this code ? Just to be clear, I would like to type in equation (math mode)
1
vote
0 answers

How can I see the numeric values being sent beteween material nodes? MOCKUP

Does anyone know of an add-on, property, or something, that will show the values being passed between material nodes? Is there a way I can just hover over, click a button, hold a key, or something, so I can see the actual numbers being sent between…
Wes Lee
  • 91
  • 3
1
2