I was asked by several people to share this dll and thus I finall decided to post it here. It is everything else but perfect and basicly just a bad wrapper of an awsome library plus basic point tracking.
You can use it completely free and however you want, but please share your results with me (not needed, it would just be a simple way for you to make me happy :P), as I am always enjoying to test such stuff :P
It is the dll used in those three videos:
And you can download it here: http://files.filefront.com/WebcamApp+Pub+V1rar/;13353125;/fileinfo.html
The example allows you to open the webcams driver panel with strg. You should hold something bright in front of your webcam like a torch and make sure that only this one can be seen as a white dot on the image. If you then press alt and afterwards space to set everything to zero, you can look around by moving the torch.
i watched some jhonny lee vids 2 mounts ago and i started experimenting with wii motes and sensor bar since then im glad too see that im not the only 1 interested in implementing them in games from here
The WiiRemote-solution is still something I would like to try out, but it turns out the effect looks almost as nice when tracking only one point trough a standard webcam.
So essentially what I'm doing is using the tracked white spot to move the scene counter wise to the movement of the observer in front of the screen. The hard part turned out the be finding the right amount of movement and the right amount of zoom. But I think it looks plausible now.
Since the distance of the observer to the screen can not be determent like this, my scene will only adjust to movements right/left and up/down.
It takes some time for the scene to catch up with the observers movements, the effect is not perfect yet and the illusion often goes away when you're looking a it live and notice even a small lagg. But since my crapy phonecamera is just as slow, it doesn't show on video.
I've also implemented Slin's AnaglyphApp to further give the illusion of a 3D scene and it really makes a huge difference.
I'm trying to make the scene and code adjustable to any screen/webcam combination. I would also like to create a nice scene that looks realistic, kind of a "inner life of a computer screen".
And no, I'm not sponsored by the CocaCola-Company , but it's a great object for realism , because everybody knows how it looks like in real life...
Thanks Slin for your great contributions and for making it easy to implement them!
Slin its awesome Contribution! How many marker this plug-in can track, only one?
You can use plugin like I did..just for getting picture from webcam,and than you can programm it all..I have made my own motion tracking system.. p.s. 3. video is mine.
Last edited by cro_games; 03/30/0923:38.
Hello everyone my name is Ivan Mandic from "Frozen pixel studio". ----------------------------------- Homepage: www.fpx-studio.com e-mail: emu_hunter_1990@hotmail.com (working on a game engine)