Cool programmable effects

Subscribe to Cool programmable effects 22 posts

avatar for qwerber qwerber 4717 posts
Flag Post

(last update 10.30.2012.

1. Inverse Kinematics
http://freespace.virgin.net/hugo.elias/models/m_ik.htm

2. Boids
http://www.kfish.org/boids/pseudocode.html
http://megaswf.com/serve/2430517/ (demo from Truefire)

3. Fluid Dynamics
http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/GDC03.pdf

4. Bump mapping
http://www.derschmale.com/2008/05/17/2d-bumpspecular-mapping/

5.Ray tracing
http://www.simon-smith.org/raytracing/tutorial.html
http://wonderfl.net/c/horg

6. Voxels
http://bruce-lab.blogspot.ca/2009/04/ray-tracing-voxel-rendering-in-flash.html
http://wonderfl.net/c/2iec (vox fractal)

7. Dynamic lighting
http://dl.dropbox.com/u/17828135/index.html (courtesy of my own demo ^^)

8. Metaball rendering
http://www.patrickmatte.com/stuff/physicsLiquid/

9. Water ripples
http://www.derschmale.com/2008/08/03/water-ripples-revisited-as3-only-version/

10. Starling graphics API flowing lava.
http://www.bytearray.org/?p=4832

 
avatar for UnknownGuardian UnknownGuardian 8131 posts
Flag Post

I didn’t particularly enjoy my encounters with Inverse Kinematics. Huge pain. (But they did look pretty good sometimes)

 
avatar for MoonlaughMaster MoonlaughMaster 6660 posts
Flag Post

I hate flash’s iks…

 
avatar for qwerber qwerber 4717 posts
Flag Post

why? Ik is so sexy.

 
avatar for truefire truefire 3011 posts
Flag Post

I hate flash’s iks…

You mean the ‘bone’ tool built into newer versions of Adobe’s IDE? If so, then obviously. It’s Adobe :/

Also, I am now tempted to make some fishboidipedes.

 
avatar for Ace_Blue Ace_Blue 1071 posts
Flag Post

Thank you very much for these links. I love the fluid dynamics paper!

 
avatar for qwerber qwerber 4717 posts
Flag Post

It would be nice if you guys can add to it; I’ve been looking for interesting stuff such as the above. thanks! PS bump mapping.

 
avatar for truefire truefire 3011 posts
Flag Post

bump mapping and raycasting, go! (too lazy to find links).

Also I’ve been working on a boids simulator thing. Some screenies:

tunnel-vision boids can only see a 90 degree window in front of them

hipster boids don’t go with the flow, and think orange is the new blue

chaser boids get embedded image cuz they’re my favorite:

 
avatar for qwerber qwerber 4717 posts
Flag Post
Originally posted by Valfrit:

Wow, pseudocode. People actually use that stuff. At least now I know my software teacher isn’t teaching us a load of garbage.

o-o.

if you want to know how to implement an effect, and you want to look at pure logic instead of hard to read c++, use pseudocode. It was the one article that actually worked in teaching me boids.

 
avatar for BobTheCoolGuy BobTheCoolGuy 3752 posts
Flag Post

Hipster boids :D That is a good one.

And yup, psuedocode is great for the lazy (i.e. all programmers)

 
avatar for Dealmaster13 Dealmaster13 641 posts
Flag Post
Originally posted by Valfrit:

Wow, pseudocode. People actually use that stuff. At least now I know my software teacher isn’t teaching us a load of garbage.

Almost all algorithms that you find on Wikipedia are in pseudocode for obvious reasons

 
avatar for truefire truefire 3011 posts
Flag Post

At least now I know my software teacher isn’t teaching us a load of garbage.

He kind of is. I don’t know that I’ve ever written (and rarely read) pseudocode by any kind of standard. Outside of Wikipedia, it’s usually just like:

Loop through grid
   if (!gridElement.isAwesome) { print(gridElement.name) }
   floodFillWithAwesome(list,gridElement)

   if(onlyOneIsTrue of A,B,C,D) { gridElement.createPiano() }

If pseudocode has a syntax as rigorous as any language, it’s pointless. The purpose of pseudocode isn’t that it can’t compile, but that it’s easy to understand and to write.

 
avatar for qwerber qwerber 4717 posts
Flag Post

Updated Op with a link to voxel implmentation :)

 
avatar for RTL_Shadow RTL_Shadow 1020 posts
Flag Post

If the bump mapping was extremely optimized, think of how cool it’d look on a hi-res version of minecraft. Dang.

 
avatar for qwerber qwerber 4717 posts
Flag Post
Originally posted by RTL_Shadow:

If the bump mapping was extremely optimized, think of how cool it’d look on a hi-res version of minecraft. Dang.

Not very; When looking at a face from a low angle it will seem very flat compared to the other faces.

 
avatar for RTL_Shadow RTL_Shadow 1020 posts
Flag Post

ah. Well it still would’ve been cool if it worked.

 
avatar for Danishdragon Danishdragon 367 posts
Flag Post

That last link… I love the outcome of that code, looks so neat :‘D Too bad I don’t really understand how it works yet.

 
avatar for qwerber qwerber 4717 posts
Flag Post

I want to revive this thread… bump!

feel free to add links on each type of resource since the ones I provided aren’t that great…

 
avatar for Feffers Feffers 244 posts
Flag Post

That water ripples thing:
http://www.derschmale.com/2008/08/03/water-ripples-revisited-as3-only-version/

 
avatar for qwerber qwerber 4717 posts
Flag Post
Originally posted by Feffers:

That water ripples thing:
http://www.derschmale.com/2008/08/03/water-ripples-revisited-as3-only-version/

update :)

 
avatar for BobTheCoolGuy BobTheCoolGuy 3752 posts
Flag Post

This demo is cool – source here

 
avatar for ST3ALTH15 ST3ALTH15 910 posts
Flag Post

Wow…. that voxel bit is so amazingly cool.