2#include <Threedim/TinyObj.hpp>
3#include <halp/controls.hpp>
4#include <halp/file_port.hpp>
5#include <halp/geometry.hpp>
6#include <halp/meta.hpp>
7#include <ossia/detail/mutex.hpp>
15 halp_meta(name,
"Object loader")
16 halp_meta(category,
"Visuals/3D")
17 halp_meta(c_name,
"obj_loader")
20 "Jean-Michaƫl Celerier, TinyOBJ authors, miniPLY authors, Eigen authors")
21 halp_meta(manual_url,
"https://ossia.io/score-docs/processes/meshes.html#obj-loader")
22 halp_meta(uuid,
"5df71765-505f-4ab7-98c1-f305d10a01ef")
26 struct obj_t : halp::file_port<"3D file">
28 halp_meta(extensions,
"3D files (*.obj *.ply)");
29 static std::function<void(
ObjLoader&)> process(file_type data);
40 halp_meta(name,
"Geometry");
41 std::vector<halp::dynamic_geometry>
mesh;
47 void rebuild_geometry();
49 std::vector<mesh> meshinfo{};
Definition ObjLoader.hpp:13
Definition ObjLoader.hpp:27
Definition ObjLoader.hpp:25
Definition TinyObj.hpp:63
Definition TinyObj.hpp:68
Definition TinyObj.hpp:72
Definition TinyObj.hpp:18