foy@aero.ARPA (Richard Foy) (06/15/88)
Please help me solve a problem in using SpeechToy within The Director.
My objective is to show pictures of people with The Director and have
them speak various things and have their lips move while they speak.
I plan to have The Director randomly select lines which execute my
SpeechToy with different text messages.
I have modified Speechtoy so that it opens a window in which I do
nothing but draw lips as a result of the reads from narrator. However
I don't know how to open this window without wiping out the image under
the window. Can I approach this problem in the following manner?
Find the front screen.
Find its size and number of bitplanes.
Allocate a bitmap the size of the mouth area in my image.
OwnBlitter
BltBitMapRastPort from the image mouth area to my bitmap
DisownBlitter
for each mouth read;
OwnBlitter
BltBitMapRastPort from my bit map to the screen
DisownBlitter
Drawlines for the lips as per speechtoy
Is this approach likely to lead to a talking image?
/|\
|
The above opinions are all my own.
Richard Foy
dillon@CORY.BERKELEY.EDU (Matt Dillon) (06/17/88)
>Find the front screen. >Find its size and number of bitplanes. >Allocate a bitmap the size of the mouth area in my image. >OwnBlitter >BltBitMapRastPort from the image mouth area to my bitmap >DisownBlitter You only OwnBlitter() when you are directly manipulating the blitter, not when you do most standard graphics calls. Apart from that, I can't say (-> to the original question). -Matt