Example #1
0
        private void BatchRenderModels_Click(object sender, RoutedEventArgs e)
        {
            if (!FileTools.TryOpenFolderDialog(out string folderPath, "Select Source Directory"))
            {
                return;
            }

            if (!FileTools.TryOpenFolderDialog(out string outputPath, "Select PNG Output Directory"))
            {
                return;
            }

            BatchRendering.RenderModels(folderPath, outputPath, viewModel.Renderer);
        }
Example #2
0
 private void BatchRenderModels_Click(object sender, RoutedEventArgs e)
 {
     BatchRendering.RenderModels(viewModel.Renderer);
 }