Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, 7th_zorro, ozgur, Quad), 841 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
WebcamApp Dll #253315
02/23/09 23:48
02/23/09 23:48
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline OP
Expert
Slin  Offline OP
Expert

Joined: May 2005
Posts: 2,713
Lübeck
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.

Re: WebcamApp Dll [Re: Slin] #253362
02/24/09 11:06
02/24/09 11:06
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
I was waiting for this! Thnaks! smile

Just a question, Can i use it in a commercial game?

Re: WebcamApp Dll [Re: Cowabanga] #253403
02/24/09 15:14
02/24/09 15:14
Joined: Feb 2009
Posts: 25
Cluj-Napoca Romania
3
3dgs1 Offline
Newbie
3dgs1  Offline
Newbie
3

Joined: Feb 2009
Posts: 25
Cluj-Napoca Romania
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


Last edited by 3dgs1; 02/24/09 15:17.
Re: WebcamApp Dll [Re: 3dgs1] #253434
02/24/09 17:42
02/24/09 17:42
Joined: Jun 2008
Posts: 151
Ukraine
XD1v0 Offline
Member
XD1v0  Offline
Member

Joined: Jun 2008
Posts: 151
Ukraine
Slin its awesome Contribution!
How many marker this plug-in can track, only one?


A7 Commercial cool
Celeron 1700, GeForce 5500 FX 256mb, 1 Gb Ram
Re: WebcamApp Dll [Re: XD1v0] #253452
02/24/09 18:52
02/24/09 18:52
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline OP
Expert
Slin  Offline OP
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Thanks for your comments wink
It can track 20 points.

Re: WebcamApp Dll [Re: Slin] #253460
02/24/09 20:04
02/24/09 20:04
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
i guess the 20 points are decided by the brightness?

i mean what happens if i use 5 points at same brightness and close to each other?

if it was able to track colored points, it could be used for very basic non preciese mocap. (with 2-4 cameras, or 2d mocap with 1 camera)

aand, btw, thanks for your contrubition looks nice wink

Last edited by Quadraxas; 02/24/09 20:04.

3333333333
Re: WebcamApp Dll [Re: Quad] #253785
02/26/09 20:05
02/26/09 20:05
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
Wow!...very impressive!

Re: WebcamApp Dll [Re: JazzDude] #253910
02/27/09 16:54
02/27/09 16:54
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline
User
BoH_Havoc  Offline
User

Joined: Jun 2004
Posts: 655
to your left
Sweet! This came just in time for a small project we do at the university at the moment smile

Great contribution as always wink


Shade-C EVO Lite-C Shader Framework
Re: WebcamApp Dll [Re: BoH_Havoc] #257800
03/25/09 15:48
03/25/09 15:48
Joined: May 2008
Posts: 150
Switzerland
Hitsch Offline
Member
Hitsch  Offline
Member

Joined: May 2008
Posts: 150
Switzerland
I've been messing with your WebcamApp a bit.

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 cool , 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!

Re: WebcamApp Dll [Re: XD1v0] #258486
03/30/09 23:37
03/30/09 23:37
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline
User
cro_games  Offline
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
Slin knows I love it..
Originally Posted By: XD1v0
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/09 23:38.

Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Page 1 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1