예제 #1
0
파일: Omni.cs 프로젝트: VividCoder/SpaceRPG
        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();
        }
예제 #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();
        }
예제 #3
0
 private void SelectClick(object sender, RoutedEventArgs e)
 {
     TexTree.Load();
     Popup.IsOpen = true;
 }