首页 > > 详细

CS 450讲解编程辅导、Python,C/C++程序辅导

CS 450/550 Project #2

CS 450/550 -- Fall Quarter 2021
Project #2
100 Points
Due: October 12
Animate a Helicopter!
This page was last updated: September 14, 2021
Introduction
This project is to animate a helicopter and look at it in two different 3D views.
Requirements:
1.
Draw a helicopter.
(Don't worry -- this won't be as hard as it sounds.)
2.
The helicopter's 2 blades must be scaled properly.
The helicopter's 2 blades must be oriented properly.
The helicopter's 2 blades must be rotating properly.
3.
Allow two views: an "Outside" view of the entire scene
and an "Inside" view from the helicoptercockpit.
Toggle between them with a pop-up menu.
(You can also use keyboard hits, but in-addition-to,not instead-of.)
For each view, use a different call to
gluLookAt( )
to position the eye.
A good eyepoition for your Inside View is (-0.4, 1.8, -4.9) .
A good look-at position for your Inside View is (-0.4,1.8, -10.) .
4.
Keep the same Xrot, Yrot, and Scale features as we've used before,
but only in the Outside View
.
Donot use Xrot, Yrot, and Scale in the Inside View.
5.
Use
gluPerspective( )
, not
glOrtho( )
.
6.
Put some sort of 3D scene for your Inside Eye to see, looking outside the helicopter
(off in the -Zdirection).
One or more GLUT wireframe objects might work well.
Or, whatever you did in the firstproject.
Or some sort of colored grid.
Or, all of these things.

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!