From: Ã¢ÈÆ ¹Ú (littlepine72++at++hotmail.com)
Date: 01/21/2003 16:36:28
Hi pfAll
In first, mDirectInput is modified with following ciao¡¯s correction.
//
Just one note on your implementation: I noticed that your module uses a
preDraw callback to carry out its per-frame processing (reading joystick
input and printing it out). The preDraw callback is not the best place to be
doing this, since it is called once before drawing each channel, and may
thus be called multiple times per frame.
Also, in a multiprocess configuration, the preDraw callback is called in
DRAW processes, which is not where you'd expect to be reading joystick data
[although this is not really an issue on win32 for the time being as
multiprocess configurations are not yet supported].
The best spot for calling mDirectInput::UpdateInputState would be in a frame
or sync callback.
//
And, I introduce a new module which displays image from 1394 camera.
But, this module is not complete. Maybe, a kind of grab filter should be
added in order to achieve video texture.
In fact I have no experience with DirectShow.
Is there anyone help me to complete this module?
Download site (Anonymous Login)
ftp://210.95.48.144
Location: /pub/videopfv
=========
Park
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
This archive was generated by hypermail 2b29 : Tue Jan 21 2003 - 16:38:25 PST