Jump to content


Photo

Webcam Dll


  • Please log in to reply
122 replies to this topic

#101 Digitpix

Digitpix

    GMC Member

  • New Member
  • 106 posts

Posted 22 December 2009 - 11:56 AM

Will it work with in-built webcams on laptops?


yes, it will
(experience)

Edited by Digitpix, 22 December 2009 - 11:57 AM.

  • 0

#102 a.sorensen

a.sorensen

    GMC Member

  • New Member
  • 4 posts

Posted 23 December 2009 - 10:33 PM

question, I have 2 webcams on my laptop (1 built in and one external USB), the dll always priorotises the internal one over the USB, when I disable the built in on it show's nothing, I have all the drivers etc. I prefer the USB one because of:
a. how I have my laptop setup
b. its better quality than the built in one
so how do I tell it to use the USB one??

Edited by a.sorensen, 23 December 2009 - 10:35 PM.

  • 0

#103 Digitpix

Digitpix

    GMC Member

  • New Member
  • 106 posts

Posted 23 December 2009 - 10:46 PM

so how do I tell it to use the USB one??


i guess recalling the connect cam script.
that way it searches again for a webcam,
but i'm not sure...
  • 0

#104 a.sorensen

a.sorensen

    GMC Member

  • New Member
  • 4 posts

Posted 26 December 2009 - 10:24 AM

so how do I tell it to use the USB one??


i guess recalling the connect cam script.
that way it searches again for a webcam,
but i'm not sure...

Nope, sorry that didn't work
  • 0

#105 StijnHooft

StijnHooft

    GMC Member

  • New Member
  • 31 posts

Posted 29 December 2009 - 10:02 PM

Cool :whistle: Now I can finally create some game that i wanted to created for a long time.
Just one thing, I want to capture a pic, and then go to another room. Problem: the webcam screen still shows up in the next room.

{
disconnect();
}


doesn't kill the webcam window, it just stops the 'recording'. How do I unload this DLL?
  • 0

#106 broady08

broady08

    GMC Member

  • New Member
  • 41 posts

Posted 13 April 2010 - 06:36 AM

The only way i can think to destroy the black box left behind is to compile a game, that is just the webcam and use the embed DLL to embed the other exe into your window. Then your can just un-embed it later.

The file i downloaded also only has 5 functions, im not sure if thats all there is but im not sure how to use multiple webcams ??
  • 0

#107 beeproductions

beeproductions

    Helping gmc users

  • GMC Member
  • 1139 posts
  • Version:GM:Studio

Posted 21 June 2010 - 03:07 AM

GOOOODDD.Yesturday my dog played with the cable from my webcam so i can't use it because it's broke nowX(.Anyway i'm downloading this now and in 2-3 hours maybe i'm going to buy a new one..I definatly need to see this in action!!!Hope it;s a good one:))
  • 0

#108 Jolie

Jolie

    GMC Member

  • New Member
  • 105 posts

Posted 23 June 2010 - 10:38 AM

Sorry for bumping this topic, but i have a problem.
When i use this, i can't see the other objects in the room!
I have put the depth of the webcam object to 1000, but i don't work!
Can anybody help me?
  • 1

#109 Digitpix

Digitpix

    GMC Member

  • New Member
  • 106 posts

Posted 07 August 2010 - 02:19 PM

how does it handle problems?
i looked at var=init().
in my case init() returned 3, and the dll worked properly,
so if init returns 3 a webcam was found and defined properly?
if it returns 0, 1 or 2, what does that mean?
thanks in advance. :)
  • 0

#110 tomkraze69

tomkraze69

    GMC Member

  • New Member
  • 32 posts

Posted 09 August 2010 - 03:59 PM

Can someone please help. This dll used to work with my webcams, but for some reason it stopped. All I get is a black screen. I think it has something to do with the fact that my camera's name was changed to Dual Camera #3, instead of just Dual Camera. Can someone please help me solve this problem?
  • 0

#111 theweirdn8

theweirdn8

    Unrivaled Legend

  • GMC Member
  • 3835 posts
  • Version:GM8.1

Posted 09 August 2010 - 10:32 PM

fulscreen mode is disabled?
  • 0

#112 _166728

_166728

    GMC Member

  • New Member
  • 1 posts

Posted 26 September 2010 - 02:24 AM

How about a cool motion trigger? Like if I wanted to check where the motion was x,y? http://gmc.yoyogames...fault/blink.gif
  • 0

#113 Alfred0110

Alfred0110

    Programmer

  • New Member
  • 366 posts

Posted 16 October 2010 - 09:06 PM

Could you add GMAPI to this to capture the frames to a surface instead? That way it would be MUCH faster than having to load the frames from bitmaps every frame.
Link to GMAPI: http://gmc.yoyogames...howtopic=429267

Edited by Alfred0110, 16 October 2010 - 09:07 PM.

  • 0

#114 lostdarkwolf

lostdarkwolf

    GMC Member

  • GMC Member
  • 407 posts
  • Version:GM8.1

Posted 09 November 2010 - 10:35 AM

is there something faster than this? haste would be appreciated, my house was just vandalized.
  • 0

#115 joshsora

joshsora

    GMC Member

  • GMC Member
  • 32 posts
  • Version:GM8

Posted 18 June 2011 - 02:02 PM

Im trying to make an augmented reality game with this.

So far so good, and the test i did was to search for color and then say "i see the color: (color)."

this worked perfectly but when i try to use it for augmentation, the object doesn't appear but apparently its there. ( i use debug mode and entered the expression obj_player.x and it returned 172.) why isn't the player object appearing?
  • 0

#116 joshsora

joshsora

    GMC Member

  • GMC Member
  • 32 posts
  • Version:GM8

Posted 19 June 2011 - 11:04 AM

Ok i fixed it, all i had to do was put :
createCam(0,0,1,1)

instead of:
createCam(0,0,room_width,room_height)


now i can start making an augmented reality game :D

Edited by joshsora, 19 June 2011 - 11:05 AM.

  • 0

#117 gmcsdobbie

gmcsdobbie

    GMC Member

  • GMC Member
  • 298 posts

Posted 08 July 2011 - 02:52 PM

Is there any way to save the captured frames as png files? Also, you need an option to access the camera properties because my camera can record at 640 by 480 but your program will only show 320 by 240. Even if I use createCam(0,0,640,480); The video will display at 640 by 480 but it is scaled up. It also does not work with some webcams such as the ps3 eye and the built in chicony webcam on my computer. I am using it with the namtai eye toy. And i think that the creator of this dll has stopped working on it. What a shame.

Edited by gmcsdobbie, 08 July 2011 - 03:26 PM.

  • 0

#118 sporefan

sporefan

    GMC Member

  • GMC Member
  • 16 posts
  • Version:GM8

Posted 09 August 2011 - 07:06 PM

cool dll :medieval:. if you combine with 39dll you can make a web chat like sykpe B-)
  • 0

#119 storkEXEC

storkEXEC

    GMC Member

  • New Member
  • 365 posts
  • Version:GM8

Posted 08 September 2011 - 05:56 PM

I have some questions:
Does this work on 64 bit Win 7?

Edited by storkEXEC, 08 September 2011 - 10:36 PM.

  • 0

#120 NeoTalon27

NeoTalon27

    GMC Member

  • GMC Member
  • 219 posts
  • Version:GM:HTML5

Posted 20 February 2012 - 01:10 PM

Thank you for making this, It is awesome! :thumbsup:
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users