Week 4 - Class 1

OpenGL Nodes

We will be looking at two different tools today: the OpenGL Node and the OpenGL Animation systems. The node system is most easily seen in a patch like this:

Much of the patching here is similar to our simpler examples from last week. However, the jit.gl.node object is used to connect the two items, and then we control the combination (the "node") using messages just to the node. This is the mechanism that you can use to create a more sophisticated shape out of basic (primitive) shapes.

OpenGL Animations

The easiest way to look as some of the options by the OpenGL Animations is to download the following "fixtures" file:

OpenGLFixtures.zip

There are a number of OpenGL examples built into these patches. We are going to look at the first two patches. Fixture 6-01, goes through some of the basics of working with the jit.anim.drive object, which is used to "drive" the an object around its world:

Fixture 6-02 allows us to look into the 'path' system, where you create a path, set a speed, then send an object off to run by itself.

Using this method for setting up object movement allows you to create a complex set of activities with a much reduced amount of code (and reduced amount of management of each object).


In-class Activity:


Week 4 - Class 2

This class features the presentation of your first individual project. You will be given 1 hour to set things up on your laptop (or a lab computer), then we will go round-robin through the presentations. Remember that this project requires OpenGL framing, movement, animation and other similar functions.

Your work will be graded based on:


Return to the class index.
Last update: 01/26/2015