HighMap library (C++)
Loading...
Searching...
No Matches
scene.hpp File Reference

Header file for 3D composite scene export functionalities (USD, etc.). More...

Go to the source code of this file.

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).

Detailed Description

Header file for 3D composite scene export functionalities (USD, etc.).

Author
Otto Link (otto..nosp@m.link.nosp@m..bv@g.nosp@m.mail.nosp@m..com)

This header declares functions and types related to exporting structured 3D scenes composed of terrain meshes, point clouds, and path splines/curves.