Tutorial 3 - Geos and 3D space



Tutorial 3 Patch

The last tutorial introduced two objects, square and triangle, that come from the Geo class of objects. Geos are objects made from primitives that exist in three-dimensional space. Technically, the Geos are a bunch of polygons described by vertices and the graphics hardware connects the dots and fills in the surface however the software specifies.





Open the subpatch 'draw-style' to play with a few of the drawing features. the 'draw' message sets the style of drawing, point, line and fill. When using the line drawing style the 'width' message changes the thickness of the line.





The 'translate' subpatch has an object called 'translateXYZ' in it. This object moves or translates Geos around 3D space. The 3 inlets with number boxes attached to them control the X, Y and Z positions respectively. Changing the X moves the Geo left or right (- to go left + to go right), the Y moves the Geo up and down, and Z moves the Geo further away or closer in the depth of field. Remember to hold down the shift key when moving the mouse over the number box to get finer resolution.





The third patcher labeled 'rotate' contains a render chain with two new objects: rotate and cube. The rotate object turns the object on the specified axis X, Y or Z. Imagine a three bars going through the center of the cube along the X,Y and Z axis and that rotating the cube spins it around the bar. Hit the 'draw line' message to see the actions more clearly.



index