Friday, April 11, 2008

Friday, March 21, 2008

video



example of using behaviors for Graphics

I made a master to demonstrate how to create some of the graphic effects (used by the flight404 project) using behaviors.

please update your code from the repository, and go to the initialize() mathod of GraphicEffects.java in the master package.

within this methos is a demonstration of how to subscribe behaviors to wetObjects. There is no limit to the number of behaviors you can subscribe, try to understand how they are used, and write your own wetObjects and behaviors.



For those of you don't code, I make some screen shots of graphic affects that we have right now, I would suggest to make a wish list, stating any geometric forms, or graphics effects or dynamics that you wish to create.

Tuesday, March 18, 2008

Interactive Particle Stuff UCLA

http://bodytag.org/fluid_bodies/

Get the Code(updated)!!!

This guide is only for people who use Eclipse. For those of you who use something else, you will have to find directions of how to add a cvs repository to your workspace. If you need help, just email me. I've tested this on a mac (leopard), windows (vista), ubuntu (gutsy gibbon).

1. Make sure you have Eclipse installed (http://www.eclipse.org)
2. Make sure you have at least JDK 5.0 installed on your computer. (http://java.sun.com/javase/)
3. In Eclipse, File->Import... Then choose CVS->Projects from CVS. Click next.
4. A screen may show up that lets you choose to create a new repository or use an existing one if you have one already. Choose to create a new one. Click next.
5. Fill in the form with the following information:

host: fathead.mit.edu
Repository Path: /school
User: <athena-user-name>
Password:
<athena-user-name> (this can be changed if you want it to, just let me know)
Connection type: pserver
Use Default port should be selected

Once filled in, click next.

6. Select "Use an existing module". Select picasso and select finish.

You should now have a project in your workspace called picasso There should be no errors in the project but maybe some warnings.

Now you can run the application. I like using the view Package Explorer (Window->Show View->Package Explorer). Navigate to active->application->RunMe. Right click it and select Run As->Java Application.

There should be a pop up window that asks you use which? and num windows. If not, then something went wrong, so email me.

Another note. Si and I will be working on the core of the system and will be updating the system as the term continues. So because of this, you're going to want to "update" the code on your computer to reflect our changes as well as "commit" your changes to be reflected on other peoples computers. When you are done working on something and are ready to put it on the system, do the following:

1. In the Package Explorer view, right click on the project (picasso)->Team->Update. This should update your code on your computer with the changes that others have made.

To "commit" your code so that it is reflected on the server:
1. In the Package Explorer view, right click on what you want to add to the server->Team->Commit. Follow the instructions. This should add the changes you made to the server.

Anyways, enjoy. If you have any problems getting it running, let me know and I'll try to help you out. Si and I will be posting tutorials as we get them written.
Important Notice:
Please do not change the files in the "dev" folder. These are changed daily by Si and I. Most of everyones contribution will be in the "active" folder.

B005-Change the Look

Tutorial on changing only appearance of a wetObject.
link:
http://www.mit.edu/~seah/changeLook.html

Neat processing tricks...and some ideas

flight404

This is a blog of the videos posted by Kaustuv.  I've been reading through them and have come up with some ideas we can implement.

To create the beat ones, he would play the song through and manually hit the punches (assigning keys to different percussion instruments such as bass drum, snare, etc.).  We can do this in real time and have the audience try to use a wii to play the beat while the music is playing.  Every button is an instrument and each instrument would be certain visual effects (behaviors) in the system.

Also, another point I want to make about graphics and cool effects is textures.  You can use textures(images) to make the graphics in the system.  Instead of coding an awesome fire particle, you would use a texture that looks like an awesome fire particle in the system along with smaller graphics functions.  So for those visual artists in you, this is your calling.