For this Module, I continued with my inspiration of the ocean. I selected an image of a turtle to involve the ocean in this adaptation to the shelter. The image also provides an excellent color palette that achieves the aesthetic intent of the shelter.
Image of My Model
I was content with the shelter created in Module 3, so I did not make any changes to the overall geometric form of the shelter. The same ribs and panels created in Module 3 are utilized for the adaptation in this Module.
The user inputs I added for the requirements of Module 4 are listed below. These allow the user to easily edit the image projected onto the shelter, the layout of the photo, and adjust the embossing or debossing effects.
First, the image data is obtained from the file and parsed into individual pictures. Note in “Image.Pixels” that the number of sample points in the y direction had to be reduced by 1 so that the image was appropriately aligned. The pixels are assigned to lists and adjusted (transposed) so that the image is correctly laid out.
The following adjustments (left image) are used to adjust the layout of the pixels in the lists to produce different effects on the image when the image colors are overlaid on the panels (right image) created in Module 3.
Finally, the bossing and debossing option is applied to adapt the thickness of each of the panels based on the image brightness. First, the brightness value of each pixel in the list is obtained. Then, the thickness of each panel is calculated and applied to the panels of the shelter.