Image Inspirations
Results
Code Description
For both of the images above the same code was implemented. The surface closest point function was used to determine the inputs into the image sampler. This function was passed the area of the panels and the reparametrized lofted surfaces. In order to flip the wall image, the pick and choose function was implemented. This essentially multiplied the points from the surface closest point function by 1 or -1. Choosing -1 would result the image being flipped. I was unable to provide a toggle option for mirroring the images. However, if you switch the original bounds of the x and y bounds on the image sampler it mirrors the image. The code also includes the ability to rotate the image by any degree which at 180 degrees would result in a mirrored image. Although the functions do work, due to run time of images the flipped and mirror images are not shown. This is because a lot of panels were necessary to produce a clear image. For the wall the code also extrudes the panels using a slider that determines the extrude distance. In order to complete this, the vector containing the image in the y-direction was multiplied by the extrude distance. Below are the two code blocks that achieved these tasks.
Wall Image Code:
Roof Image Code: