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

Namespaces

namespace  hmap

Functions

bool hmap::export_usd (const std::string &fname, const Array &elevation={}, const std::vector< Forest > &forests={}, const std::vector< RockField > &rock_fields={}, const std::vector< Cloud > &clouds={}, const std::vector< Path > &paths={}, MeshType mesh_type=MeshType::TRI, float elevation_scaling=0.2f, const std::string &texture_fname="", const std::string &normal_map_fname="", float max_error=5e-4f, bool fit_boundaries=false)
 Exports a composite scene (terrain, forests, rock fields, clouds, and paths) to Universal Scene Description (USD).