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(); }
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(); }
private void SelectClick(object sender, RoutedEventArgs e) { TexTree.Load(); Popup.IsOpen = true; }