CJ Price

SEE BELOW FOR DESCRIPTION OF MODELING APPROACH

3D View of Structure with Debossed Effect
3D View of Structure with Debossed Effect
3D View of Structure without Debossed Effect
3D View of Structure without Debossed Effect
Image I Mapped on My Structure
Image I Mapped on My Structure

Modeling Approach

Although I used my code from Module 3 as a starting point, I am only posting screenshots of the new code. The structure can still be manipulated in all the same ways it could be in Module 3. Below is an overview of all the new code.

Overview of New Code
Overview of New Code

Although not pictured here (since it is in the old code), you can still easily change the number of panels in the structure by altering the number of ribs and the number of points per rib. As seen below, we then move on to getting image file data and orienting the image correctly. To do this, the user can choose to reverse and/or transpose the image file data. In this case, it was necessary to both reverse and transpose the data to arrive at the correct initial orientation.

Close-Up of New Code (Going from Left to Right)
Close-Up of New Code (Going from Left to Right)

Next, the user can choose to change the image orientation by flipping it horizontally, vertically, or both. As seen in the purple box, the user makes this choice by entering an integer between 0 and 3. A similar structure was implemented for future choices.

Close-Up of New Code (Going from Left to Right)
Close-Up of New Code (Going from Left to Right)

Next, we map the image with the desired orientation on the structure and calculate adjusted panel heights based on color brightness. The user is able to use a magnification factor to make the heights more or less extreme.

Close-Up of New Code (Going from Left to Right)
Close-Up of New Code (Going from Left to Right)

Next, the user is able to choose whether to apply a debossed or an embossed effect on the image. For embossed images, the user can also adjust the initial height offset to increase or decrease the base height for all panels.

Close-Up of New Code (Going from Left to Right)
Close-Up of New Code (Going from Left to Right)

Lastly, the user can choose whether the panels face outward or inward by entering either ‘true’ or ‘false’ in the bottom-left node.

Close-Up of New Code (Going from Left to Right)
Close-Up of New Code (Going from Left to Right)