Home
Products
Community
Manuals
Contact
Login or Signup

ESCAPI 2.0

Miscellaneous Forums/General Discussion/ESCAPI 2.0

degac(Posted 3 years ago) #1
I found this http://forums.indiegamer.com/showthread.php?t=9619
http://iki.fi/sol/code.html
and I think that it could be useful...
Now the interesting thing: as it is a .Dll, there is someone that can create a wrapper to it and *TEACH ME/US* how to make it? The DLL has a few commands so - I think - it should be quite easy to convert/create the wrapper.
Byez


Panno(Posted 3 years ago) #2
have u test it ? how much fps ???


degac(Posted 3 years ago) #3
I have used only the supplied example and it works. I don't know how many frames I can do, I think it depends by the webcam hardware.
The problem is I cannot create a wrap for this library because I don't know how do it:D; the author claims his source as free under GPL license.


BlitzSupport(Posted 3 years ago) #4
This works here... I've made the functions more Blitz-y but still need to wrap it up a little more nicely.

Thanks to Freak from the PureBasic forums!

(You need escapi20.zip from http://sol.gfxile.net/code.html and you should place this code in the same folder as escapi.dll.)




BlitzSupport(Posted 3 years ago) #5
... and using PixMaps instead, which draw much more quickly (4-5 ms versus 90-100 ms for the above version, on Core 2 Duo E6300).

Try changing width and height to 640/480 or 1024/768, and the Graphics line to "Graphics width, height, 32" for full-screen fun.




BlitzSupport(Posted 3 years ago) #6
BTW The code isn't GPL'd -- the readme says:


Copyright (c)2007 Jari Komppa

The DLL is free for anyone to use for any purpose as long as you don't hold me responsible for anything. It would be nice if you'd toss me a mail if you play with this thing.



... so you don't have to release your own source code. He only quotes the LGPL because he distributes the SDL library with one of his examples.


degac(Posted 3 years ago) #7
Ohhhh you are a God!!!
Many thanks!
(sorry for the misunderunderstanding about the license)