Skip to content

Commit e0c8676

Browse files
committed
Normals surface integrated saved as tiff, also.
1 parent 70753c6 commit e0c8676

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

relightlab/normalstask.cpp

+2-10
Original file line numberDiff line numberDiff line change
@@ -204,19 +204,11 @@ void NormalsTask::run() {
204204
}
205205
//TODO remove extension properly
206206

207-
208207
progressed("Saving surface...", 99);
209208
QString filename = output.left(output.size() -4) + ".ply";
210209
savePly(filename, width, height, z);
211-
212-
/* auto tmp = z;
213-
flattenRadialHeights(width, height, tmp);
214-
filename = output.left(output.size() -4) + "_radialflat.ply";
215-
savePly(filename, width, height, tmp);
216-
217-
flattenFourierHeights(width, height, z);
218-
filename = output.left(output.size() -4) + "_fftflat.ply";
219-
savePly(filename, width, height, z); */
210+
filename = output.left(output.size() -4) + ".tiff";
211+
saveTiff(filename, width, height, z);
220212
}
221213
progressed("Done", 100);
222214
status = DONE;

0 commit comments

Comments
 (0)