Archive for lab

Ar in 2d – video and demo

Here is the promised video to my augmented reality in 2d post


You can test it here

Description:

  1. Click on color
  2. Click on other color
  3. Tracking starts – white circles
  4. Try catching the black rect edges
  5. enjoy

Sourcecode:

  • This time just on email and (at this time) not for commercial use
  • download here

SURF the next big thing

SURF is a computer vision technique which helps doing crazy things ;) Here is some footage showing whats possible. NOTE: no flash implementation yet ;) – I think it wouldn’t work -> performance

openFrameworks & OpenCV SURF from postspectacular on Vimeo.

Augmenting a Postcard from Julian Oliver on Vimeo.

Augmented Reality in 2D

Once again I experimented with webcam, augmented reality and flash. Inspired by camspace.com this time I wanted to see if its posible to map a video on a rect which is moved and resized by colored objects.

Tomorrow I will post a screencast and a demo. so you can see it in action. I can’t post the sources right now but I’m on it.

Headtracking: my version

One par of my diploma was headtracking with flash. So finally i uploaded my demo. 3d moddeling was done by alexander el-meligi.

the algorithm is open source. just drop me a line, if you’re interested You can find it on the demo page

demo:

http://experiments.alexmil.de/facedetection

My ArToolkit

Short after midnight I started to do what i promised : Rewriting the arToolkit – in my way – for flash. Well now it’s 7am and I’m to tired to talk about details right now, but the major detecting work is done. The next big thing is converting the 2d data in 3d roll pitch yaw parameters (this will be pretty nasty math) and of course cleaning the whole coding mess up :D

When it’s all done I’ll post more details. Promised!

Update:

So whats better?

  • works in bad light conditions
  • needs less cpu performance
  • the tracking is more stable (no jumping marker)

Whats up next?

  • better edge detection
  • find marker start orientation (black spot in white square)
  • cleaning code
  • coding the 2d 3d bridge

Webcam and papervision3d

This night I saw this

So I wanted to try this in papervision3d. Well it is possible but there are some depth problems.

http://experiments.alexmil.de/pv3d-webcam-3d/

My curtain, but not my credits

The real tricky coding was done by http://www.clublime.com. But his demo is down for some reason. So I just changed his cloth idea a little to get a really nasty green curtain.

demo and source are here:
http://experiments.alexmil.de/pv3d-curtain/

The idea isn’t verry so tricky at all. The plane is analysed and on everey “corner” (just look on it with applied wireframe material) a “ball” with physics is added. Theses objects will not be rendered. Balls are “wired up” with constraints. When the physics kick in the balls move. Their new position (x,y,z) is also the position of the plane vertices. Hm doesn’t sound simple at all… but it really is. Major problem is – as i explained earlier – the performance on planes with a huge amount of vertices.

Can Papervision3D draw lots of shadows @ realtime

Yes It can. And it’s just awesome! Every cube has a FlatShadeMaterial and I implemented andy’s shadow caster

demo with source here:
http://experiments.alexmil.de/pv3d-shadow1/

Andy Zupko posted the shadow class and an demo here:

http://blog.zupko.info/?p=146

So I just wanted to see how well it performes. Furthermore I wanted to provide a full compileable demo with complete asset – actually there’s only a white jpg in the asset folder :-)
I had some clipping trouble moving an object directly over the plane with casted shadows. I can’t tell either it is a render problem or I just did something wrong.

« Older Entries