载入中...
搜索中...
未找到
TerrainSplatmap.cpp 文件参考
#include "procgen/heightmap/TerrainSplatmap.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <limits>
#include <unordered_set>
#include <vector>
#include "procgen/heightmap/Heightmap.h"
#include "procgen/heightmap/TerrainRasterInternal.h"
#include "procgen/heightmap/TerrainMultiTile.h"
#include "procgen/heightmap/TerrainStamp.h"

浏览源代码.

类

struct  eve::procgen::TerrainSplatmap::Impl
 
struct  eve::procgen::GtsHeightBlendSet::Impl
 
struct  eve::procgen::GtsHeightBlendSet::Impl::Layer
 
struct  eve::procgen::TerrainMultiSplatWorkspace::Impl
 
struct  eve::procgen::TerrainMultiSplatWorkspace::Impl::Tile
 
struct  eve::procgen::TerrainMultiSplatWorkspace::Impl::Snapshot
 

命名空间

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

函数

Result< int > eve::procgen::alignTerrainSplatTextures (TerrainSplatmap &terrainA, TerrainSplatmap &terrainB, const TerrainTextureAlignSettings &settings)
 Blend texture weights on adjacent terrain edges using Pcg's synchronized-noise equation.
 
Result< int > eve::procgen::paintTerrainSplatLayer (TerrainSplatmap &target, const Heightmap &paint, int targetLayer)
 Replace one terrain layer with a normalized paint raster and proportionally renormalize all other layers.
 
Result< int > eve::procgen::applyGtsHeightBlend (TerrainSplatmap &output, const TerrainSplatmap &input, const GtsHeightBlendSet &heights, float blendFactor)
 Recompute all splat weights using the GTS texture-height blending equation.
 
Result< TerrainMultiTileReport > eve::procgen::paintTerrainSplatLayerMultiTile (const std::vector< TerrainSplatTile > &tiles, const Heightmap &operationPaint, int targetLayer, const TerrainStampSettings &operationSettings, bool worldMapOperation=false, const std::vector< std::string > &validTerrainNames={})
 Paint one shared Pcg Texture-domain operation raster across selected tiles atomically.