Image of My Model

Image mapped to the surface

image

Embossed surface:

image

Description

To apply adaptive panels to the surface in module 3, first, add two integer sliders to input U and V values and get the panel quad points. A series of rectangular seamless panels are then applied to the quad points. An image was read, and colors were retrieved according to the user defied U and V values. Here two orientations, original and transposed, are provided and users can choose one by typing the number 0 and 1 in the code block.

To provide the ability to flip the image as desired, two Boolean nodes are added. The program goes into the first Boolean node to ask if the user would like to flip the image vertically. If the user chooses yes, then the image will be flipped vertically by reversing the color list. Otherwise, it will process with the original color list. Then, whatever goes out from the first if block, will go into the second if block with the second Boolean node asking whether the user would like to flip the image horizontally. If the user chooses yes, then the image will be flipped horizontally by transposing the color list and then reversing it. Otherwise, it will process with whatever comes out from the first if block. Basically, if two false are selected, the final color list will be the original image data. If two true are selected, the final color list will be the original image data reversed, transposed and reversed. Then the final colors were map on the panels by override in view.

The embossed or debossed effect can be achieved by adjusting the standard thickness with color brightness remapped from zero to one. Users can choose one effect by tying numbers in the code block.