diff --git a/task09/README.md b/task09/README.md index b45bcd9..5c8ef26 100644 --- a/task09/README.md +++ b/task09/README.md @@ -83,12 +83,14 @@ The program will output `out.png`. Rename it to `out_default.png` then it replac ![problem1](out_default.png) +This code only move the position of fixed vertex. Let's deform other vertices to make hte deformation smooth! + ## Problem 2 (smooth deformation with Laplacian) Write a few lines of code around line #134 to implement smooth mesh deformation using Laplacian. -The program will output `output.png`. Rename it to `out_laplacian.png` then it replaces the image below. +The program will output `out.png`. Rename it to `out_laplacian.png` then it replaces the image below. ![problem1](out_laplacian.png) diff --git a/task09/main.py b/task09/main.py index 63702b8..57cfc02 100644 --- a/task09/main.py +++ b/task09/main.py @@ -199,7 +199,7 @@ def render(self, time, frame_time): if rgb.shape[0] == 1000: rgb = rgb[::2, ::2, :].copy('C') rgb = Image.fromarray(rgb) - ImageOps.flip(rgb).save("output.png") + ImageOps.flip(rgb).save("out.png") def main():