Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
ANU - College of Engineering and Computer Science - SoCS - COMP4610
| |
ANU College of Engineering and Computer Science School of Computer Science

which forms a simple screen saver program (the same as the last lab).

Create a simple polygon that rotates in 3D on it's y-axis.

Duplicate this polygon 4 times so that the same polygon is rotating similtainiously in 4 different places on the screen. In doing this you should use either a method for drawing the shape which you call 4 times or a using a display list (i.e. glNewList, glEndList, and glCallList). This will also involve using glPushMatrix and glPopMatrix (this assumes you are using the old fixed function pipeline, feel free to use a programmable pipeline approach in which case you will need to do the matrix operations outside OpenGL).

Step 2 (2 mark)

Find a real object that is not too complex (but also not to simple) and attempt to model this in OpenGL. An example of the type of objects include: a pen, a tooth brush, a vegemite container, a calculator, mobile phone, etc...

Once again display 4 of them rotating at the same time.

Step 3 (1 mark)

Add an image onto the surface of your object. So in the case of the vegemite container you would add the label. In the case of the tooth brush you would add a logo. ....
| | |

本站部分内容来自互联网,仅供学习和参考