Nicer 3D colors and lighting

This commit is contained in:
Alessandro Ranellucci committed 2014-07-12 17:06:42 +02:00
1 parent bcc8e356b2
commit a34c7c76c4
2 files changed
+49 -23

No files matched your search

+3
View File
@@ -27,6 +27,9 @@ my %opt = ();
{
my $model = Slic3r::Model->read_from_file($ARGV[0]);
# make sure all objects have at least one defined instance
$model->add_default_instances;
$Slic3r::ViewMesh::object = $model->objects->[0];
my $app = Slic3r::ViewMesh->new;
$app->MainLoop;