联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp2

您当前位置:首页 >> Python编程Python编程

日期:2021-10-13 10:04

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.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。