Skip to content

Commit

Permalink
Normals surface integrated saved as tiff, also.
Browse files Browse the repository at this point in the history
  • Loading branch information
ponchio committed Jan 10, 2025
1 parent 70753c6 commit e0c8676
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions relightlab/normalstask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,19 +204,11 @@ void NormalsTask::run() {
}
//TODO remove extension properly


progressed("Saving surface...", 99);
QString filename = output.left(output.size() -4) + ".ply";
savePly(filename, width, height, z);

/* auto tmp = z;
flattenRadialHeights(width, height, tmp);
filename = output.left(output.size() -4) + "_radialflat.ply";
savePly(filename, width, height, tmp);
flattenFourierHeights(width, height, z);
filename = output.left(output.size() -4) + "_fftflat.ply";
savePly(filename, width, height, z); */
filename = output.left(output.size() -4) + ".tiff";
saveTiff(filename, width, height, z);
}
progressed("Done", 100);
status = DONE;
Expand Down

0 comments on commit e0c8676

Please sign in to comment.