Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1) Create a function that will the image the as shown below. Note that this figu

ID: 3534063 • Letter: 1

Question

1)    Create a function that will the image the as shown below. Note that this figure has an octagonal top and bottom and 8 rectangular faces. This function should have 3 function inputs: an array that contains the xyz values of the point of origin, P0; a scalar value for the length of side (length of each vertical face) of the octagon, and a scalar value for the height of the figure (z direction). P0 should be the lower left corner of the front face parallel to the x-axis.   Generate the x,y,z arrays that define the 10 faces (8 side faces plus top and bottom) of the box. Use the fill3 function to color the faces. Parallel faces should be in the same color. You should either set the transparency to 0.3 after all the faces have been filled as shown in Figure 1, or you can draw the 4 front faces and the top octagon, set the transparency to 0.3, then draw the 4 back faces and the bottom octagon as shown in Figure 2 (these figures did not use same input). Note: do not use the

Explanation / Answer

http://indesignsecrets.com/creating-a-two-function-button-for-interactive-pdf-or-swf.php