If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
capGrabFrame halting my program
I use VFW (c++) and successfully connect to my webcam. I grab an image
and display it in my OpenGL-window next to a standard spinning 3D-cube. Works great, but the framerate of the entire program is reduced to that of the camera (witch is 7 fps). I discovered that the macro capGrabImage(HWND) is halting my program as it waits for an image to be recieved from the webcam. I figured it would fix the problem if I just moved the macro out in its own thread, but no. Still halting my program. I can't show of impressive graphics at 7 fps! Does anyone know how I can keep running my program while capGrabFrame waits for an Image? Any help is appreciated! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Get Rich | Daun Johnson | Scanners | 0 | January 31st 06 03:16 PM |
Get Rich | Daun Johnson | Cdr | 0 | January 31st 06 03:16 PM |
The Diskette Experiments | Paul Allen Panks | Storage & Hardrives | 1 | October 17th 04 07:25 PM |
How to access program after new hard drive installed? | OrmesbyJohn | Homebuilt PC's | 4 | August 18th 04 12:34 AM |
"Out Of Memory error when trying to start a program or while program is running" | Dharmarajan.K | General Hardware | 0 | June 11th 04 10:42 PM |