Nicer 3D colors and lighting

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

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;