Exemplo n.º 1
0
        public Omni(int mapWidth, int mapHeight, SceneGraph3D graph, int tri_w = 16, int tri_h = 16)
        {
            Graph       = graph;
            ResultGraph = new SceneGraph3D();

            FinalMap = new TexTree(mapWidth, mapHeight);
            Tri_W    = tri_w;
            Tri_H    = tri_h;
            DoLightMap();
        }
Exemplo n.º 2
0
        public LightMapper(int mapWidth, int mapHeight, SceneGraph3D graph, int tri_w = 8, int tri_h = 8)
        {
            Graph       = graph;
            ResultGraph = new SceneGraph3D
            {
                Lights = graph.Lights,
                Cams   = graph.Cams
            };

            FinalMap = new TexTree(mapWidth, mapHeight);
            Tri_W    = tri_w;
            Tri_H    = tri_h;
            DoLightMap();
        }
Exemplo n.º 3
0
 private void SelectClick(object sender, RoutedEventArgs e)
 {
     TexTree.Load();
     Popup.IsOpen = true;
 }