Modeling Geometry
Embossed Effect:
Debossed Effect
My structure has a circular surface. This initially posed some issues for me when I was attempting to map an image to it. Due to the images having a rectangular/square shape when they mapped to my circular surface, they were curved to fit the surface. This distorted the images and made them unrecognizable in a way that flipping the image horizontally/vertically or transposing the image did not help. To work around it I decided to use an image that when twisted into a donut/circular shape would be aesthetically pleasing and instantly recognizable. Hence, I went with a horizontal image of a rainbow shown below.
Original image
Image mapped to a circular surface:
- To complete this assignment, I expanded upon my visual code from module 3. To begin I loaded the image file and mapped the pixel colors in the file to the adaptive panels on my lofted surface that I created in the module 3 submission. I achieved this with the code block shown below.
- I then added a code block (shown below) to see if transposing my image was necessary to make it look more like the original image. It turns out that transposing my image is not necessary for it to look recognizable.
- Next, I used logic to enable the image to be flipped or mirrored with the following code block.
- My final step was to enable the image to be embossed or debossed by changing the thickness of the adaptive panels depending on the brightness of the color of each panel. I used the code block below to achieve this. To create the embossed effect, I created a formula where a multiplier is multiplied by the standard thickness – thickness. The multiplier can be varied with a number slider and the standard thickness can also be varied with a number slider. The thickness is the brightness values of all the colors mapped to a range between 0 and 0.25. The purpose of the multiplier is to make the embossed or debossed effect more prominent. For the debossed, I used a formula where a multiplier is multiplied by the standard thickness + thickness.
In addition to the features that can be varied from my module 3 submission the following parameters can also be flexed:
- Standard panel thickness
- Multiplier
- Embossed/debossed effect in the adaptive panel thicknesses
- Flipped image horizontally/vertically/both
- Untransposed or transposed image