Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / iCamPlay, make game like EyeToy of PSX2

Author
Message
BalrogSoft
21
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 30th Dec 2003 15:25
Hi
I develop a motion detection DLL library called iCamPlay, but also detects chroma (like bluescreens of TV, but based on a previous captured image) and edges, download free on my web at utilities section: www.balrogsoftware.com

Chroma detection can eliminate the player background, and then you can merge the player with a virtual scenary.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 30th Dec 2003 20:08
Does it work with FujiFilm Digital Cameras (in webcam mode) ?


The place for all great plug-ins
BalrogSoft
21
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 30th Dec 2003 23:35
It works with any camera that run under Video For Windows
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Dec 2003 01:04
Interesting - when will it be ready for testing ?


The place for all great plug-ins
BalrogSoft
21
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 31st Dec 2003 02:08
As i said its available on my web(www.balrogsoftware.com), its totally functionable, you can make any game like EyeToy, or more complex, my library have some functions that EyeToy dont have, like Chroma detection, but only exist examples sources on Pure Basic, i want to write some examples on different languages, Dark basic, Visual Basic, C++,... but at the moment you must wait to Dark Basic examples, but the library includes a Help file that its very complete to understand how work. You can see also the simple motion example, is coded in PureBasic, but you will understand and see how is called all functions...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Dec 2003 02:20 Edited at: 31st Dec 2003 02:40
I'll have a look...
Looks like you cant get images for use in other programs easily - iCamGetWebcamImage() just returns a number, and not something like HBITMAP or perhaps a D3DSprite - I can see it not being usable in DBPro because of that, unless you allow direct access to the image numbers (assuming they're in bitmap format).

Another thing - shame you have to open a capture window that appears on top of (I presume) all others. With DBPro, would be nice if this was an option, whereby you subclasss this window so (for example), it only opens a menu bar on the main DBPro screen.

Perhaps if someone has PureBasic they could make an interface for it.


The place for all great plug-ins
BalrogSoft
21
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 31st Dec 2003 16:23
Firstly, i must to say that iCamGetWebcamImage dont get any number, its the image identifier of the webcam capture, than can be used with API functions, by other hand i dont have DarkBasicPro, i have a published boxed version of DarkBasic published on Spain. The ImageID if im not wrong, its the memory address where its the image located, the size its CaptureWidth*CaptureHeight*4, you can copy from memory, and its on BMP format dont compressed, about capture window you can open the capture window only with menu bar, use InitCaptureWindow a True value on two parameters, and it will show only the menu bar, and you can disable also the menu bar if you put a False value on second parameter.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Dec 2003 17:11 Edited at: 31st Dec 2003 17:51
Ah, so the it returns a memory address of the start of the bitmap (does it have the usual headers, or just RGB 32-bit data?)

Unfortunately I cant copy the data out of memory - obviously its protected by the DLL...


The place for all great plug-ins
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Dec 2003 19:55
what we really need is this to be rebuilt around DBP's Global Structure... as PureBasic is capable of actually accessing .lib and creating realtime interfaces that way, unfortunately DBP isn't.

would be willing to help convert this though as it'd be a nice little addition to DBP's plugins


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Dec 2003 20:56
Yes, once it uses the DBPro system, it'll be quite useful.


The place for all great plug-ins
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 1st Jan 2004 13:48
then you could make it simple to understand if you dont know c/c++ etc

Resist the power of the ring...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st Jan 2004 14:52
It would work as it is, if I could get access to the data. Unfortunately unless a global memory area is used I cant (crashes at the moment).


The place for all great plug-ins
PiratSS
22
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 1st Jan 2004 20:57
Didn't iToy win the: "Most innovative product of 2003 by Megagames".

Dual AMD Athlon MP 2x1GHZ | IBM 15000Rpm SCSI 73.4 Gb X 2 | e-GeForce Ti4400 | Audigy 2 + 7.1 Surround sound | 17' Monitor | Ugly mouse
Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 1st Jan 2004 21:04
Very clever ... it sounds like it needs a bit of work, but I'd be very interested in looking into this in the future... good job btw.

--Mouse: Famous (Avatarless) Fighting Furball

I am the chainsaw paladin.
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 1st Jan 2004 23:50 Edited at: 1st Jan 2004 23:51
Has anyone tried the iJen engine in DBP?
That might work better: http://www.syfi.co.uk

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Jan 2004 00:46 Edited at: 2nd Jan 2004 00:51
I'm joining up See what its like etc etc...


The place for all great plug-ins
BalrogSoft
21
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 2nd Jan 2004 01:33
Hi...
I take a look to iJen some weeks ago, and it have only motion detection, my library have also edge and chroma detection, iJen size is 500kb, my library only 47kb, and iJen have less compatible webcams that my library...

Anyone knows if exist any online documentation of DarkBasicPro? i have the DarkBasic documentation, but probably changes a lot with Pro version, i want to take a look to documentation to see how to adapt iCamPlay with DarkBasic, i want to make the library compatible with any language... if anyone wants to download an early version of a winamp plugin that im making and use iCamPlay, its like dance game of EyeToy, to install copy iCamPlay.dll to system directory of windows, and iCamDancing.dll to plugins directory of winamp, download here: http://www.balrogsoftware.com/downloads/iCamDancing.zip
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Jan 2004 01:46 Edited at: 2nd Jan 2004 01:47
If you've got DBPro then the DLL documents ('converting' a DLL to a plug-in) are included - if not, might be worth asking Rich to send them to you (are we allowed to e-mail the instructions??)

The main problem is due to allocated memory in DLL's - due to memory protection it's local to that DLL. I think converting to a plug-in would solve that problem (ie the memory address would be accessable in DBPro)


The place for all great plug-ins
BalrogSoft
21
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 2nd Jan 2004 02:00
Can DarkBasicPro access to clipboard? it can be a form to access to webcam image if i modify the code to copy the image to clipboard...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Jan 2004 02:11
Unfortunately, whilst DBPro can write strings to the clipboard, we cant read from it (unless there is a command not documented). Anyhoo, the clipboard shouldn't be used anyway...


The place for all great plug-ins
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 2nd Jan 2004 04:39
yeah DBP can access the clipboard, not sure why it isn't documented.
but really what you should be doing is setting up a memory pointer so that the data can be passed that way.

really hope DBP improves so that we can directly assign images rather than having to use a memblock, would save alot of time and effort for some things. not to mention the inconvenience that it imposes.


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 3rd Jan 2004 19:32
We'll have to see how it goes


The place for all great plug-ins
BalrogSoft
21
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 4th Jan 2004 15:41
i downloaded DBPro Demo to take a look to help file, and i tryed to create the dll as a plugin, but im not programming the library on c++, and i dont know very well how to add the string table to the library, and access to memblocks that its the best form to make this, exist any form to get real memblock address to copy the image to the memblock? i will continue to adapt iCamPlay to DBPro...
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th Jan 2004 15:46
well just let us know what language your using, as RobK uses Pascal and can help out if thats what you've used.
failing this i'm sure some of the C++ coders around here would be willing to help convert it.


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 4th Jan 2004 15:50
Indeed - I presume you wont let us view the source ?


The place for all great plug-ins
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Jan 2004 16:11
Well, I've been decline on the iJen thing - unfortunately they wanted way to much information personal information, so I just gave dummy data. Seems like they checked it all...

Ah well - lets hope this one can be used in DBPro


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 6th Jan 2004 18:12
hahaa, figures that the one product you'd actually like a gander at and it's the one that actually checks the validity of the information you've sent.


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Jan 2004 18:27 Edited at: 6th Jan 2004 18:28
Its typical really... The iCam should be better anyway, if it can be made to work with DBPro - from what I got working, it looks rather good...


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 6th Jan 2004 20:40
lol, well i've registered for it just to take a look; i use my old UK address for everything as it's still my registered trade address

well that and it's the only info i can ever remember by heart lol
i realised last night my signature for emails was wrong last night cause i was looking at the phone number and couldn't work out what was wrong; then it dawned on me 929 was my old cellphone area code hahaa and my phone number actually is 320 area ^_^
i think i was still thinking of my irvine place which was 949... i swear this city has like 30 different area codes in such short spaces; quite confusing.


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Jan 2004 20:57 Edited at: 6th Jan 2004 20:57
Got job I wasn't trying to phone you, then, isn't it !?
So whats the iThingie like ?


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 7th Jan 2004 00:20
hehee yeah, but then would be pointless as you'd get either my answering machine or Alexis ... not that you'd mind talking to Alexis though hahaa

not sure i've not had the time to check any of it, i'm still making phonecall trying to confirm stuff that these guys are touting in another thread.
thankfully i don't have to worry about extra work when i get back in a few weeks


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 7th Jan 2004 01:03
Quote: "not that you'd mind talking to Alexis though hahaa"

I bet.... dribble...


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 7th Jan 2004 01:49
heheem, try not to short the keyboard


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 7th Jan 2004 13:53
sorry...


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 7th Jan 2004 20:29
BalrogSoft - any luck in getting it to work with DBPro.
One thing that could be done is if, in a DBPro, the programmer passes an allocate block of memory, whilst your DLL fills that...


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 7th Jan 2004 20:30
Who's Alexis?

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 7th Jan 2004 21:52
drool...


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 8th Jan 2004 03:17
hehee... she died her hair blonde recently, she does look tasty even for a 29yo hehee
i've still not got my confirmation to download this iJen thing yet;
wonder how Balrog's doing too


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Jan 2004 10:28
I've been accepted to iJen now - got an e-mail from 'Matt' asking (hell no, more like begging me to re-register).


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 8th Jan 2004 11:28
cool, lemme know what it's like ^_^


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Jan 2004 14:11
From what I've read of the documentation, it looks okay. Purely C++ unfortunately... Have to try it out sometime.


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Jan 2004 21:24
Yes, its going to be a real pain to program for (cant stand COM interfaces - its so not needed). Lets hope BalrogSoft can get his working in DBPro, as from what I managed to do, its very much easier.


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 9th Jan 2004 02:34
:: is still waiting for confirmation :: this is like taking forever lol


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 9th Jan 2004 11:50
Indeed - hope all the pestering hasn't scared him off


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 9th Jan 2004 12:17
this is still a useful tool for those wanting webcam controls


Detonating a nuclear device within the city limits results in a $500 fine!
900mhz|256mb|FX5200Ti 52.16|Dx9|WXP-Pro
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 9th Jan 2004 16:02
Quite true...


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
Wiggett
21
Years of Service
User Offline
Joined: 31st May 2003
Location: Australia
Posted: 10th Jan 2004 06:29
so as soon as something cool comes out for dbc people want to change it so it works with dbp, but when somethign cool comes out for dbp no one wants to help poor kids like me by converting it to dbc. i'll pirate you all.

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 10th Jan 2004 13:54 Edited at: 10th Jan 2004 13:55
Slight problem with that - it wont work for 'Classic' either...
It wont work in any DarkBasic program full stop... Not until the getData function has been fixed anyway...


The place for all great plug-ins
2 x XP3000+, 1Gb RAM, nVidia FX5600. 1 Draytec Router and me.
BalrogSoft
21
Years of Service
User Offline
Joined: 31st May 2003
Location:
Posted: 18th Jan 2004 04:49
Hi
I finished a new version, and i added a function called iCamCopyWebcamImage() that copy the image to address of allocated memory, you only must pass address, i think that it could be more usefull to DBPro users, but i not tryed, i dont have DBPro...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 18th Jan 2004 13:03 Edited at: 18th Jan 2004 13:53
Sounds just the ticket...
I presume iCamSetCallbackAddress cant be set to a NULL address (for default processing) ? If not, looks like I'll have to do a plug-in for the required processing, and try and get the address of the function. Or do a plug-in that gets the address of a function in a DLL (and do a new version of LOAD DLL).

On the plus side anyway, it no longer crashes when getting memory data

For those interested, this is the code so far :



Couple of other things : The end detection system is very clever.
And having DX overlayed DBPro's DX does of course mean you cant exit DBPro properly...


The place for all great plug-ins
2xXP3000+,1Gb RAM,FX5600,1Mb ADSL,Router,.Net 2003 Pro & me

Login to post a reply

Server time is: 2024-11-10 21:45:51
Your offset time is: 2024-11-10 21:45:51