|
Blender V5.0
|
#include <mikktspace.hh>
Classes | |
| struct | VertexHash |
| struct | VertexEqual |
| struct | NeighborShard |
Public Member Functions | |
| Mikktspace (Mesh &mesh_) | |
| void | genTangSpace () |
Protected Member Functions | |
| template<typename F> | |
| void | runParallel (uint start, uint end, F func) |
| float3 | getPosition (uint vertexID) |
| float3 | getNormal (uint vertexID) |
| float3 | getTexCoord (uint vertexID) |
| bool | has_uv () const |
| void | generateInitialVerticesIndexList () |
| template<bool isAtomic> | |
| void | generateSharedVerticesIndexList_impl () |
| void | generateSharedVerticesIndexList () |
| void | degenPrologue () |
| void | degenEpilogue () |
| float | calcTexArea (uint tri) |
| void | initTriangle () |
| void | buildNeighbors () |
| void | assignRecur (const uint t, uint groupId) |
| void | build4RuleGroups () |
| template<bool atomic> | |
| void | accumulateTSpaces (uint t) |
| void | generateTSpaces () |
Definition at line 26 of file mikktspace.hh.
|
inline |
Definition at line 145 of file mikktspace.hh.
Referenced by mikk::Mikktspace< Mesh >::NeighborShard::buildNeighbors().
|
inlineprotected |
Definition at line 776 of file mikktspace.hh.
References mikk::dot(), mikk::fast_acosf(), getNormal(), getPosition(), i, mikk::project(), and mikk::UNSET_ENTRY.
Referenced by generateTSpaces().
|
inlineprotected |
Definition at line 694 of file mikktspace.hh.
References assert, assignRecur(), i, and mikk::UNSET_ENTRY.
Referenced by assignRecur(), and build4RuleGroups().
|
inlineprotected |
Definition at line 745 of file mikktspace.hh.
References assignRecur(), i, and mikk::UNSET_ENTRY.
Referenced by genTangSpace().
|
inlineprotected |
Definition at line 654 of file mikktspace.hh.
References hash, mikk::hash_uint3(), i, mikk::pack_index(), and runParallel().
Referenced by genTangSpace().
|
inlineprotected |
Definition at line 498 of file mikktspace.hh.
References fabsf, getTexCoord(), mikk::float3::x, and mikk::float3::y.
Referenced by initTriangle().
|
inlineprotected |
Definition at line 416 of file mikktspace.hh.
References assert, i, mikk::pack_index(), and mikk::unpack_index().
Referenced by genTangSpace().
|
inlineprotected |
Definition at line 377 of file mikktspace.hh.
References getPosition(), and runParallel().
Referenced by genTangSpace().
|
inlineprotected |
|
inlineprotected |
Definition at line 364 of file mikktspace.hh.
References generateSharedVerticesIndexList_impl().
Referenced by genTangSpace().
|
inlineprotected |
Definition at line 351 of file mikktspace.hh.
References i, numVertices(), and runParallel().
Referenced by generateSharedVerticesIndexList().
|
inlineprotected |
Definition at line 812 of file mikktspace.hh.
References accumulateTSpaces(), assert, i, runParallel(), and mikk::UNSET_ENTRY.
Referenced by genTangSpace().
|
inline |
Definition at line 147 of file mikktspace.hh.
References build4RuleGroups(), buildNeighbors(), degenEpilogue(), degenPrologue(), generateInitialVerticesIndexList(), generateSharedVerticesIndexList(), generateTSpaces(), i, initTriangle(), and verts.
Referenced by mikk_compute_tangents().
|
inlineprotected |
Definition at line 242 of file mikktspace.hh.
References mikk::unpack_index(), and v.
Referenced by accumulateTSpaces().
|
inlineprotected |
Definition at line 235 of file mikktspace.hh.
References mikk::unpack_index(), and v.
Referenced by accumulateTSpaces(), degenPrologue(), and initTriangle().
|
inlineprotected |
Definition at line 249 of file mikktspace.hh.
References mikk::unpack_index(), and v.
Referenced by calcTexArea(), and initTriangle().
|
inlineprotected |
Definition at line 256 of file mikktspace.hh.
Referenced by initTriangle().
|
inlineprotected |
Definition at line 513 of file mikktspace.hh.
References calcTexArea(), floorf, getPosition(), getTexCoord(), has_uv(), mikk::float3::length_squared(), mikk::not_zero(), runParallel(), sqrtf, v2, mikk::float3::x, and mikk::float3::y.
Referenced by genTangSpace().
|
inlineprotected |
Definition at line 217 of file mikktspace.hh.
Referenced by buildNeighbors(), degenPrologue(), generateSharedVerticesIndexList_impl(), generateTSpaces(), and initTriangle().