载入中...
搜索中...
未找到
MeshContactBlend.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include "procgen/MeshBuild.h"
#include <cstddef>
#include <cstdint>
#include <string_view>
#include <vector>

浏览源代码.

类

struct  eve::procgen::MeshContactBlendParams
 Parameters for contact-band edge and material fusion. 更多...
 

命名空间

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

函数

Result< MeshBuild > eve::procgen::meshContactBlendResult (const MeshBuild &mesh, const std::vector< std::int32_t > &vertexSourceIds, const MeshContactBlendParams &params)
 Fuse edge normals / optional positions and material blend weights across source slices.
 
Result< MeshBuild > eve::procgen::meshContactBlendAgainstSurfaceResult (const MeshBuild &movable, const MeshBuild &surface, const MeshContactBlendParams &params)
 Deform movable toward surface only (dynamic adhere / one-way fusion).
 
void eve::procgen::rebuildSoftSnapContactNormals (MeshBuild &mesh)
 Rebuild triangle normals then 1-ring-average them (soft-snap / post-weld lighting).