<p>I have a problem that requires Partial Derivative of X and Partial Derivative of Y</p>
<p><strong>(Like OpenGL's dFdx() and dFdy() functions.. <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/dFdx.xhtml" rel="nofollow noreferrer">OpenGL Registry dFdx</a>)</strong></p>
<p>However, the issue is, I dont have access to these functions, and I'm basically writing formulas using Math nodes in blender.</p>
<p><strong>What I want to know is, how can I get the Partial Derivative of any point?</strong></p>
<p>These are all the pre-existing functions I <em>can</em> use:
<a href="https://i.sstatic.net/r1K12.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/r1K12.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-08-15T17:00:58.240Z
Since this is a question about Blender3D, you may want to ask on [their SE site](https://blender.stackexchange.com/) (and also search before you ask).
Nicol Bolas
CC BY-SA 4.0
2021-08-16T16:08:45.953Z
You can try numerical differentiation (e.g. finite differences approximation): https://en.m.wikipedia.org/wiki/Numerical_differentiation
lightxbulb
<rendering><blender>
How to dynamically calculate the Partial Derivative of any vector?
Mister SirCode
# How to dynamically calculate the Partial Derivative of any vector?

(Asked by: username_0 on 2021-08-15)

I have a problem that requires Partial Derivative of X and Partial Derivative of Y

**(Like OpenGL's dFdx() and dFdy() functions.. [OpenGL Registry dFdx](https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/dFdx.xhtml))**

However, the issue is, I dont have access to these functions, and I'm basically writing formulas using Math nodes in blender.

**What I want to know is, how can I get the Partial Derivative of any point?**

These are all the pre-existing functions I *can* use:
[![enter image description here](https://i.sstatic.net/r1K12.png)](https://i.sstatic.net/r1K12.png)

**Tags:** rendering, blender

> **Comments:**
> **username_1**: Since this is a question about Blender3D, you may want to ask on [their SE site](https://blender.stackexchange.com/) (and also search before you ask).  
> **username_2**: You can try numerical differentiation (e.g. finite differences approximation): https://en.m.wikipedia.org/wiki/Numerical_differentiation  

---

## 0 answers

