Documentation / Node reference / code nodes
code/MeshLaplacian
How much a point attribute differs from its neighbours on a mesh.
Geometry
Gives the Laplacian of a point attribute at the point being visited. It is 0 where the attribute is even. Added step after step, it makes the attribute spread over the surface. The neighbours and their weights are read from four ring attributes on the mesh.
Parameters
| Name | Type | What it does |
|---|---|---|
| name | AttributeName | The point attribute to read. |
| geoType | UInt8 FLOAT · INDEX · U32 · VECTOR2 · VECTOR3 · VECTOR4 · VECTOR2_64 · VECTOR3_64 · FLOAT64 · VECTOR2_U32 · VECTOR3_U32 · VECTOR4_U32 | The attribute's type. Each component gets its own Laplacian. |
| pointScale | AttributeName | Ring attribute holding each point's scale. |
| firstFace | AttributeName | Ring attribute holding each point's first primitive. |
| sideWeights | AttributeName | Ring attribute holding each side's weight. |
| nextFace | AttributeName | Ring attribute holding each corner's next primitive. |
See also
- geo/MeshLaplacianAttributes
- code/TextureLaplacian
- code/Attribute
- code/Buffer
- geo/PointBuilder
- geo/Solver
- compute/Builder
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.