CreativeHub

GLART Week3

by Yang Liu on Feb.17, 2010, under Uncategorized

Very easy program to demonstrate the application of camera.

Use arrow keys to control the camera, and use spacebar to switch between perspective and ortho view.

week3 homework

200 Comments more...

GLART_week2

by Yang Liu on Feb.03, 2010, under Uncategorized

Ok, this week we deal with the translation and rotation of objects. The basic translation and rotation is not very hard. But I tried to write my own utility class, intending to complete the homework by using the syntax like myquad.translate(). I found it is not a easy job. Because in OpenGL the translation is like the reverse of the real world translation. In OpenGL, I have to moveĀ  the matrix which is a frame of reference as well I think first. And then, draw the object. However, in my utility class I want to draw the object first and use different functions to manipulate it. I can’t figure it out this week. But I will keep thinking about it.

Here is the files including the unfinished utility class.

Week2 homework

224 Comments more...

GLART_01 Hello GL World

by Yang Liu on Jan.27, 2010, under GLART 2010

This is the first week’s assignment. I just played with the jogl a little bit, nothing complicated.

Here is the key map.

QWE

ASD

Control theĀ  “eye”

456

RTY

Control ont of the point of the triangel

GHJ

BNM

Control the second point of the triangel

UIO

JKL

Control the third point of the triangel

ARROW KEYS

Control the yellow point

GLART_2010

235 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...