The purpose of this lab is to gain experience working with the GEM library in Pure Data.
GEM deals with 2D and 3D graphics, and is based on the idea of a render chain. Each chain starts with the
[gemhead] object and renders through objects that specify a series of transformations, ultimately applied to some 2D or 3D geometric object, or geo in GEM parlance.
You'll need the output~.pd abstraction file saved in the same directory you save this patch in.
Libraries like Gem are called externals in Pure Data. Like 3rd party libraries in Processing, externals can be downloaded and installed from within Pd:
New, then add Gem to the list (which may be initially empty) and click
Ok. This makes Pure Data load Gem automatically. but we'll have to restart it to take effect.
output-rangeset left range to 60 and right range to 420
output-rangeset left range to 0 and right range to 6
It can be hard to hear the audio unless the cube is very large. To fix this, make the modifications shown:
[triangle] objects have a right-hand inlet to set the size of the shape. The default size is 1.
Finally: save a screenshot of your patch to the wiki page.