HighMap library (C++)
Loading...
Searching...
No Matches
export_asset.cpp File Reference

Namespaces

namespace  hmap
 

Functions

std::string hmap::extract_raw_filename (std::string fname)
 
bool hmap::export_asset (const std::string &fname, const Array &array, MeshType mesh_type=MeshType::TRI, AssetExportFormat export_format=AssetExportFormat::GLB2, float elevation_scaling=0.2f, const std::string &texture_fname="", const std::string &normal_map_fname="", float max_error=5e-4f)
 Exports a heightmap to various 3D file formats.