!B (Sandbox) (CE-21795) Importing models with multisubmaterials via fbx switches...
[CRYENGINE.git] / Code / Sandbox / Plugins / LodGeneratorPlugin / Util / AtlasGenerator.h
blob6a3a3c33144259575a9e8b2c9ab2f34257c6691c
1 #pragma once
3 #include <string>
5 struct IStatObj;
6 namespace LODGenerator
8 class CTopologyGraph;
9 class CAtlasGenerator
11 public:
12 CAtlasGenerator();
13 ~CAtlasGenerator();
15 public:
17 void generate_texture_atlas(bool auto_cut,bool auto_cut_cylinders,double max_overlap_ratio,double max_scaling, double min_fill_ratio);
18 void pack_in_texture_space();
20 CTopologyGraph* surface();
22 void setSurface(IStatObj *pObject);
23 void setSurface(CTopologyGraph* meshMap);
25 void testGenerate_texture_atlas()
27 //generate_texture_atlas(false,true,true,"ABF++",0.005,120,0.25,true,false,"Spectral_max",-1);
28 generate_texture_atlas(true,true,0.005,120,0.25);
29 //pack_in_texture_space();
33 private:
35 CTopologyGraph* m_MeshMap;