载入中...
搜索中...
未找到
MeshUvProjection.cpp 文件参考
#include "procgen/mesh/MeshUvProjection.h"
#include <algorithm>
#include <array>
#include <cmath>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::procgen
 

函数

Result< MeshBuild > eve::procgen::projectMeshUvResult (const MeshBuild &input, std::string_view mode, float scale=1.f, float offsetU=0.f, float offsetV=0.f)
 Generate topology-preserving UVs for a procedural or deformed mesh.
 
Result< MeshSurfaceUv > eve::procgen::mapMeshSurfacePointToUvResult (const MeshBuild &mesh, int triangleIndex, float x, float y, float z)
 Map a surface point on a dynamic-mesh triangle to its interpolated UV.