FLARToolkit Single & MultipleMarker Detection
What you will need:
1. Photoshop (any will do)
2. Papervision3D rev. 817 or later
3. FlarToolkit
4. ArToolkit Marker Generator (flash player 10)
5. webcam
6. Fash CS3 or Higher
There are allready some great sites experimenting and writing tutorials about Augmented reality in flash. This is nothing new, just my experience in writing the code to create a simple version [...]
Augmented Reality Drumkit by Squidder
Augmented Reality Drum Kit (demo #1) from squidder on Vimeo. source: squidder
PV3D - Interactive Shaded Cube
Ryan and myself wanted to figure out how to create have an interactive cube which uses a ShadedMaterial (MovieMaterial + Shader). Problem was that when you had a shadedmaterial you didn’t get any interactiveScene3DEvent’s back, when you used only the MovieMaterial and set it to interactive=true everything worked fine, but in combination with a shader [...]
Brownian Motion + CollisionGrid
View experiment.
Started reading Advanced Actionscript 3 Animation written by Keith Peters & Seb Lee-DeLisle (technical reviewer) so here’s a little experiment with grid collision using the FP10 Vector class. Let it run for a while and it creates a nice weird image.
Brownian CollisionDemo:
package
{
import flash.display.BlendMode;
import flash.filters.BlurFilter;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.events.Event;
import flash.display.StageScaleMode;
import flash.display.StageAlign;
import flash.display.DisplayObject;
import flash.display.Sprite;
public class [...]
Note - Most experiments make use of WismanAS3Lib
Ola peeps, some of my experiments use classes from wismanas3lib repository, so please get a copy from the repository so you can retrieve possible updates aswell. Or download them here (!! the classes will get updated so it’s better to use the googlecode repository !!).
Thanx for the understanding!
Cheers JW
Siftables, are AWESOME
MIT grad student David Merrill demos Siftables — cookie-sized, computerized tiles you can stack and shuffle in your hands. These future-toys can do math, play music, and talk to their friends, too. Is this the next thing in hands-on learning? Go and read his full bio on TED.
PV3D - Playing with light and cubes
Little thingy in between, playing with light in the most simplest way there is. It has no purpose…, but thought he why not. Click and drag the cube. On click the light will tween out of the center outside the cubes, onrelease move back to the center. At this point i’m still looking around to [...]
PV3D - Changing Cube Materials at runtime
A little demo illustrating how to change cube materials at runtime. In this demo you can click to go to the next side of the cube. Or just use your left and right arrow keys,
_sidesLeftToRight = ["back", "right", "front", "left"];
_currpageID = 0;
private function updateSkin():void
{
var faceName:String = _sidesLeftToRight[(_currpageID % _sidesLeftToRight.length)];
var material:MovieAssetMaterial = new MovieAssetMaterial(_list[_currpageID], true, [...]
Just fun with dragging 3D Object
With many thanx to Andy Zupko. Next step adding more objects to it and apply some physics (JigLibFlash) to it.
[UPDATE] Had to remove ground texture, file became way to big.
/**
* with many thanx to: Andy Zupko
*/
package
{
// FLASH
import flash.filters.BlurFilter;
import flash.display.Sprite;
import flash.ui.Mouse;
import flash.display.Bitmap;
import flash.events.Event;
// PAPERVISION
import org.papervision3d.materials.MovieMaterial;
import org.papervision3d.core.proto.LightObject3D;
import org.papervision3d.materials.BitmapMaterial;
import org.papervision3d.materials.special.CompositeMaterial;
import org.papervision3d.view.layer.util.ViewportLayerSortMode;
import org.papervision3d.lights.PointLight3D;
import org.papervision3d.materials.shadematerials.FlatShadeMaterial;
import org.papervision3d.core.math.Quaternion;
import org.papervision3d.objects.primitives.Sphere;
import org.papervision3d.core.math.Plane3D;
import org.papervision3d.core.math.Number3D;
import [...]
JigLib Flash + Papervision3D Demo
I had to play immediately with the JigLibFlash library. Like always there is a learning curve, but the syntax is at least better written/understandable than Box2DFlash, which doesn’t mean that I don’t like Box2DFlash, cause I do!
In this example you use the mouse to move the magenta ball, when you keep your mouse at the [...]