Question: Q.No.6. Write (JOGL) method to draw Hexagonal Pyramid using only GL_TRIANGLE_FAN OpenGL primitive. Hexagonal Pyramid have Six walls (Triangles) and One base (Polygon). Only create

 Q.No.6. Write (JOGL) method to draw Hexagonal Pyramid using only "GL_TRIANGLE_FAN"

Q.No.6. Write (JOGL) method to draw Hexagonal Pyramid using only "GL_TRIANGLE_FAN" OpenGL primitive. Hexagonal Pyramid have Six walls (Triangles) and One base (Polygon). Only create "drawHexgonalPyramid" method and only create Walls. o Z X Y o 0.0 8.0 0.0 A -5.0 0.0 0.0 B -2.5 0.0 4.33 C 2.5 0.0 4.33 D 5.0 0.0 0.0 F E E 2.5 0.0 -4.33 D D F -2.5 0.0 -4.33 B C Hexagonal Pyramid Coordinates Figure 3 Note: Vertices value and shape is shown in Figure 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!