Archive for lab
Here is the promised video to my augmented reality in 2d post
You can test it here
- Click on color
- Click on other color
- Tracking starts – white circles
- Try catching the black rect edges
- This time just on email and (at this time) not for commercial use
- download here
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
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.
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
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!
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
This night I saw this
So I wanted to try this in papervision3d. Well it is possible but there are some depth problems.
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:
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.
Yes It can. And it’s just awesome! Every cube has a FlatShadeMaterial and I implemented andy’s shadow caster
demo with source here:
Andy Zupko posted the shadow class and an demo here:
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.