Run-Down of Motion Files in the first Tribe Directory
Greg Hermanovic, January 1996
This is a bunch of motion files that I made for performing live, and are passed on to you so you may enjoy jamming to your favourite house, techno or jungle music... either in the privacy of your home or projected above 3000 insane screaming ravers.
These motion files heavily use the "beatbox" features in Action. The greatest benefit of using beatbox is that you can control many parameters on the fly, several at the same time, even with the simple SGI mouse/keyboard.
Beatbox also lets you tap in a rhythm, the beat tempo. Then by using functions like beat(KEY1, CYCLE), it lets you run parts of your animation timed closely to the music. Beatbox lets you easily re-sync to a beat, or if the tempo of the music changes or your tapping was a bit wrong, you can easily re-tap the tempo.
Alphabet |
BallArcs |
Blobs |
Camera |
Cloth |
Cone |
CrabMan |
Donuts |
Doodle |
Fire |
Gouramis |
Kaleidoscope |
Layers |
MaskMorph |
Riser |
SoftBalls |
Sperm |
Wavey |
Wipes |
setenv SESI_REALTIME
setenv IRISGL_USE_TEXOBJ
Sizes in brackets are uncompressed sizes, * indicates that it's one on my favourites.
Spell the names of your favourite people in bright lights, one letter at a time, by holding down the alphabetic keys of the keyboard. It is blended in with a random particle motion. Press two keys at a time to get a strange blend.
The 26 letters plus the particle motion are combined through two blend SOPs, one with 16 inputs, the other with 11. Replace the happy face with the suppled mask1.jpg or mask2.jpg to get a more ethnic look.
This is an example of what I call "procedural painting". The paint is always ready to spurt out of your paintbrush, but it's painted on in patterns and colors that you partially control, and the Action controls. It has 4 user-controls. It doesn't use textures, so it can run on most SGIs.
This is a bit like those crazy glasses advertised in old comics. If you are over 30 years old and you start to enjoy the images you are making, consult a therapist.
Just play it FORWARD, and occasionally tap the 9 key to clear the screen. To control the radial speed of the ring of balls, hold the "1" key and move the mouse left and right. In beatbox jargon, it's a "mouse X speed control on the 1 key". The radius is constrained to zig-zag between -2 and 2.
BallArcs can act like a cheap Indian mandala-maker. as you can get a lot of semi-symmetric patterns easily, without you needing to draw them all. To make more interesting images, hold down the 3 key, and move the mouse left-right. This controls the sphere radius' range. make the radius small, and occasionally make the radius large for a moment to lay down a simple background. After pulling the radius to zero and up a bit, it will feel like a procedural paint program as you are controlling the detail you add to the image you have already drawn.
Try ballarcB first. ballarcB is similar to A, except it has vivid colors and an opacity control on key 4, which gives a nice puffy look. It is much more colorful, but has a speed cost: the stamp SOP in geo1 has to recook its point-colored input every stamp (Uniform topology option).
If you look in the point SOP that regulates the color, you will see a 0* which makes each point have the same color each frame. Take the 0* out to get more colors per ball.
This uses a sequence of polygon files that are loaded and cycled. The polygon files originate as metaballs and are converted to polys with the blob SOP and written to .bpoly files on disk.
Try oneblob.bmot first. Use the keypad to orient this while it is playing: PAD 8 to close up and PAD 4 to tilt.
This one consumes a lot of disk because it uses polygon file sequences.
This isn't flashy performable animation, but is used to make the camlookat.rc script. It makes a flexible set of camera controls that use the keypad on the right side of the keyboard. These camera controls are better than the inspect controls, in my view.
A lot of the motion files in Tribe1 use this keypad setup. If you run "rcread camlookat.rc" in any .bmot file, it will assign the following keys:
The controls have a slight lag to simply simulate the inertia of a camera. You can be tracking a moving object by parenting the lookat object to the object being tracked. See the README for more information.
It creates the object camlookat (the camera being looked through). It is attached to camlookat.base the object that rotates and dollies relative to the target object, camlookat.target. If you want to track a moving object, make camlookat.target a child of that object.
The lags are controlled through a dummy feedback SOP in camlookat.base, which simulated the lags and stuffs the rotates, dolly and pans into parameters 91 to 95.
Play FORWARD to see a procedurally-made cloth-like strip being extruded from one ceoss-section. A cross-section is being added every frame is a curve that is blended between several cross-sections, a different blend each frame.
This doesn't use beatbox or texture mapping. You can use it as a start to model the cloth shape by performing it!
9 ice cream cones wobble together. Play FORWARD and then press the 1 to 9 keys to change the shape of the ice cream. Use the keypad according to the assignment of Cameras above. PAD 5, 4, 7 and 8 are most often used. Change the center of interest using the arrow keys.
The most significant controls are Q with mouse X (the tilt of the set of the cones), W with mouse X (the rate of cones turning) and E with mouse X ( mouse X changes the amount of dosie-doe that is happening).
Picture yourself in a jungle ceremony alongside 50 other crabmen summoning the spirits before the big hunt. Press 0 once to initialize (unfold) the guys before you press FORWARD.
Q makes him stand up/down, W tilts left, E tilts right. The fun stuff is the animation sequences stored on key 1 to 8. Pressing one of these keys stops the previous sequence and starts the sequence assigned to that key, almost seamlessly.
The special camera controls are on the key pad as usual. 2D IK plus the skelton SOP control the body motion. The underlying geometry is a flat set of about 10 polygons. A stamp SOP repeats them all, with a little trick to make crabmen that move off screen reappear on the other side.
It works simply, but is a bit nasty in its setup. it uses the param() funtion to store state information for use the next frame of animation. It also uses the feedback SOP to calculate lags.
donut.bmot is rather strange, an attack of the hungry blobs. I don't know what to make of it yet, but in the meantime, you can view it as an example of two interesting techniques. First, the texture is the 31-image sequence that is the donuts in the Action samples in /ufs/demo/SOPs/Morph3D.
The 31 images are in different files, and as you can see in the map2D object string for the object donuts, the texture map name changes each frame. It uses the param() function, and parameter 81 is set in the feedback SOP of the object called control. Here we build the integer that selects which image file we display: It cycles between 1and 151 in steps of 5, and its speed depends on the tempo tapped on key 0. The result is stuffed into parameter 81, for use by the object string. I couldn't think of an easier way of doing this, and definitely pointed me in the direction of implementing a better UI to selecting the desired frame you see in Houdini: the frame index parameter in the Image Map TOP or the Trace SOP.
This also points to another problem that can better solved (but not in 1.1) in Houdini. When you load the .bmot, I wanted to load all the texture maps immediately for its whole sequence, like the Disk SOP pre-loads polygon files. Action's loading of images is clumsy.
Then the 1 key controls a noise (displacement) applied to the UV texture coordinates of the grid. The result is not a nice distortion of the UVs because the noise is applied to the grid coordinates only, and everything linearly interpolates between grid points. Oh well, no realtime procedural textures yet.
donuttube.bmot is more suitable for a movie about your worst nightmare.
This is what I call "painting with particles". It demonstrates how to create colored particles under the cursor. You are using particles to reveal an images that is loaded into Action. The particles persist because we don't clear the screen except when you press the 2 key.
Start the .bmot and press FORWARD. Press the 2 key to clear the screen. Then hold the 1 key down and drag the mouse cursor around the display port. You should see particles streaming from the cursor area. This uses the new function mousecam(5, TX) in source/tx to get the mouse coordinates in camera space at a distance of 5 units from the camera. The birth rate is switched on when the the 1 key is pressed, zero otherwise. The cursor velocity is used to set the particle speed.
You can play around with the line width, turbulence parameters, and change the pan/zoom on the image (in the point SOP). This uses the pic() function, but the more modern tex() function would be better, as it refers to the loaded image by name.
In the future, I would like to control the brush-strokes more, and control the color under the cursor by dipping the cursor into some inks, several colors at a time. This could be done with Action and a little time.
This is a little better than the version in /ufs/demo/SOPs and it doesn't use the Mandril!
In this animation, I am trying to make a realistic fire effect using a low number of particles, and using subtly polygon shading combining textures with point transparency, with the goal of displaying the results in near-real-time.
We stamp a geometry at each particle that represents a volume of flame. The geometry is 4 circles, skinned together. I hide the boundary of that flame by making the stamped geometry face the camera, and be transparent at the edges. Look through the SOPs one-by one, switching between gouraud and wireframe.
The points are made more transparent as they rise.
The texture on the polygons is a texture sequence that was pre-rendered. In ice it was made to loop in time, and cycle spatially by flip-flopping the texture. This forces us to use textures with 4 times the number of pixels, a real waste. I have asked SGI to have a flip-flop option when texturing on their next-gen hardware.
Once the texture image is chosen for the frame using geo1's map2d texture mapping in the OBJECT STRINGS, the texture is projected on the flames orthographically, but it also translates up slowly to give that rising-flame look.
Sometimes a polygon flips so that the back of the polygons is visible. This causes the transparency and point colorsto be lost, and you can see this ugly artifact. It is an SGI OpenGL bug.
Also, the stamp SOP needs an option so that the stamped geometry can lie along the direction of the particle, and face the camera. To fake this, I am biasing the velocity of the particle a bit.
This is a school of fish who are choreographed Las Vegas-style. Their texture and shape comes from a $1 place mat. Each fish is attracted to a point on an invisible circle, and the attractors are turned on and off with the 1 key. The rotation rate of the circle of attractors is on the 2 key with mouse X, and you can rock it back and forth to give that heavily choreographed feeling. The 3 key and mouse X control the shape of the circle-ellipse.
Use the camera controls on the key pad to get more interesting camera locations.
The C key controls the speed of the camera over an un-displayed terrain. The attractors are always at a fixed distance in front of the camera. The camera initially is moving backwards.
To get the fish to wiggle more (at some CPU time expense), in the stamp SOP of the fishies object, change the source to be twistfish instead of untwistfish.
This .bmot could use more work to get more dramatic camera moves and choreography on the fish, so they swim in many different patterns, but I ran out of time.
If you turn the attractor off for too long, the fish will be too far away from the attractor to be pulled back into place.
A little better set up for performance of the kaleidoscope. It has a bit of a cyclic twitch, thanks to the amplitude on key 9 and the tempo on key 0.
This was the first performable thing I made, which is composed of layers of pre-rendered spheres with a mask-head texture, repeated on several overlapping polygons. It was partly as a test of the drawing speed of multiple-layers of transparent textured polygons. It's in /ufs/demo, but it is a bit improved here.
Key 1 changes rotation rate, key 2 is dolly rate.
13 keys of the ASCII keyboard are assigned to 13 unique morphing masks. When you press the keys on the top row (1 to 9) and the next row (Q to R), the mask will morph in realtime to another mask.
It uses two objects and the alpha* channels of each to dissolve between masks. One object is always used as the "from-mask", the other as the "to-mask". Fancy expressions in the script, fade.rc are executed each time a key is pressed, which switches the from and to targets.
All masks are located in one texture map, containing a 4x4 array of maks images. See maps/matrix.pic.Z. fade.rc computes the new image horizontal and vertical offset in the texture map, using the key index (0-12) that is passed to it in the beatbox command.
The 15 poly files are each aligned to the same mask features. They are used to blend between masks. The UV coordinates of each corresponding point of the mask polys are the same. That is, we don't blend UV, we only blend XY to get the morph effect. So point 213 is always the center of the nose.
You can make the effect run slower/faster move the time mark in fade/spare1,spare2. Here's a case where we use a channel as a lookup table for another channel. A little clumsy!
Two more unused masks can be added easily.
Another early one. Two ellipsoids are rising, and their release timimg is controlled by key 1 and key 2.
An attempt to make cloudy figures went astray, and I ended up with this soft puffy thing. It uses transparent circles and the sampling of colors from different parts of a color image.
I find this is the most fun of the lot, and it has the simplest controls. The sperm have a mind of their own. They have thir own erratic "behavior", upon which you control the larger scale motion.
The 1 and 2 keys with the mouse X and Y move the heads of the sperms, and the tails follow. The 3 key controls the rotation rate. The 1 2 and 3 can be used together. After a while, you can really make them seem intelligent. No, just wishful thinking.
It's a little like jellyfish motion. Its simple use of point expressions, lots of sine waves and some beatbox controls, gets a wavy effect. Use the key pad's camera controls to move around this one.
wipes.bmot is a first crack at generating wipe patterns for a video switcher. The problem with using a switcher's built-in wipes is that I wanted to put the timing of the repeating wipes on a beat box key and change the wipe pattern every cycle.
Hold the space bar while tapping on the 0 key to get the tempo. Then note in the last polygon SOP of the wipes object, there is a $F rotation rate on the rectangles to get stranger wipes. You can set this to 0 to see what a more conventional wipe would look like.
Then have a look at the identical expressions in the scale X and scale Y parameters. Note that beat(KEY0, CYCLE) ramps from 0 to 1 and then repeats 0 to 1. This long expression just tries to make it a zig-zag between 0 and 1, while pausing at the 0 position and 1 position for a good part of the cycle.
Find out: Tribe Magazine tracks one of Toronto's many subcultures. We've done live Action jams at two Tribe parties. In addition, the cover of Tribe#36 was the first print piece made with Houdini, developed by Rob Bairos of Side Effects. Oh damn, the girl is real. Well, maybe that's OK.