Intereting Posts

A new imaginary number? $x^c = -x$
Riemann integrability of continuous function defined on closed interval
Probability of men and women sitting at a table alternately
WolframAlpha says limit exists when it doesn't?
Prove: $a_n \leq b_n \implies \limsup a_n \leq \limsup b_n$
What is the probability that the number $3^a+7^b$ has a digit equal to $8$ at the units place?
$X_n\leq Y_n$ implies $\liminf X_n \leq \liminf Y_n$ and $\limsup X_n \leq \limsup Y_n$
challenging alternating infinite series involving $\ln$
No group of order 36 is simple
$\ell_{p}$ space is not Hilbert for any norm if $p\neq 2$
Cardinality of the Cartesian Product of Two Equinumerous Infinite Sets
A Function Continous on
If $ \cos(x) \cos(2x) \cos(3x) = \frac{4}{7} $ find $ \frac{1}{\cos^2{x}}+\frac{1}{\cos^2{2x}} + \frac{1}{\cos^2{3x}} $
Show that every large integer has a large prime-power factor
Does every algebraically closed field contain the field of complex numbers?

I have a 3D mesh that is looking like this:

ie I have a set of triangles in a 3D space, and they are all linked by their edge.

I have to compute the gradient associated with this field, at each edge of the mesh. For a continuous function it would be the derivative along the X and Y axis, but in this case I can’t do this.

How can I compute this? I’m not even sure how I can define the (approximate) gradient in this situation.

thanks

- De Rham Cohomology of the tangent bundle of a manifold
- Orientation preserving diffeomorphism.
- Holomorphic functions on a complex compact manifold are only constants
- Do the polynomial germs generate all the ring of germs?
- The space of Riemannian metrics on a given manifold.
- Differential Geometry of curves and surfaces: bibliography?

- Is there a size of rectangle that retains its ratio when it's folded in half?
- Flow of sum of non-commuting vector fields
- Construct parallel line equidistant from two other parallel lines - Euclidea on iOS challenge 2.8
- How to Visualize points on a high dimensional (>3) Manifold?
- Endpoint of a line knowing slope, start and distance
- Deriving the formula of the Surface area of a sphere
- Definition of strong tangent.
- Differentiable Manifold Hausdorff, second countable
- Books on classical geometry
- Shortest distance between two circles

I think you can find more inspiration if you express your problem differently:

If you keep in mind that *“the gradient of a function at a point is perpendicular to the level set of the function at that point”* – ie that for a function defining a surface, the gradient will be normal to this surface (Q: Why is the gradient normal?) – then all you want to do with your mesh is to **compute its vertices’ unit normals**.

Using this wording, you should find plenty of methods to do so. For instance, here is a simple algorithm described by Perlin here:

Initialize all the vertex normals to the null vector. In the next step, you’re going to gradually accumulate values into these vectors.

Loop through all the faces of your mesh. For each face, consider all pairs of successive edges around the face. For example, if your

face has vertices A,B,C,D, in that order, then you would consider the

four pairs of successive edges:

- A→B and B→C
- B→C and C→D
- C→D and D→A
- D→A and A→B
For each pair of successive edges $e_1$ and $e_2$, take the cross product $e_1 × e_2$. Add the resulting vector to the normal of every

vertex that adjoins the face (for example, in this case you would add

to the normals of vertices A,B,C,D).Loop through all the vertices, and normalize the length of the normal vector of each one.

Bye!

- Dirac delta integral with $\delta(\infty) \cdot e^{\infty}$
- Representation of symmetric functions
- Subfield of rational function fields
- Let $W$ be the set of all linear combinations of $v_1,…,v_n$. Then $W$ is a subspace of $V$.
- Best Book For Differential Equations?
- All Sylow $p$-subgroups of $GL_2(\mathbb F_p)$?
- Prove the third isomorphism theorem
- Polynomials representing primes
- Limit of a sequence of averaged numbers?
- When does a Möbius transformation map $\Im(z)>0$ to itself?
- How to factor $9x^2-80x-9$?
- Linear independence of functions
- About the eigenvalues of a block Toeplitz (tridiagonal) matrix
- Point on circumference a given distance from another point
- Why is the second derivative of an inflection point zero?