Real-world objects are usually 3D objects. In this laboratory exercise, you will write code to draw 3D objects, and project them to planes so that they can be viewed on display devices. Specifically, you will draw a Bezier surface and a solid generated by a rotational sweep.
Bezier surface a. Draw a Bezier bicubic surface with 16 control points (, *i*, *j* = 1, 2, 3, 4) specified below. ),,(*zyxPijPijPijPij*= P11 = (20, 40, 500), P12 = (140, 280, 380), P13 = (80, 160, 140), P14 = (260, 400, -40), P21 = (80, 160, 560), P22 = (200, 220, 440), P23 = (260, 340, 200), P24 = (140, 280, 20), P31 = (260, 40, 500), P32 = (320, 340, 380), P33 = (140, 220, 140), P34 = (440, 220, -40), P41 = (320, 160, 560), P42 = (140, 220, 440), P43 = (260, 100, 200), P44 = (140, 280, 20).
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2)
1. You must write a report .
The drawing result of each task, and your comments or explanations. You can copy your drawing result from the screen by pressing ‘Alt-PrintScreen’.
## Platform
Window XP
win 2000