CompuServe Thread

Removing Bakground

1 messages in this thread
#45674From: Ed KellermanJun 8, 1993 10:51 PM
I have just finished creating an animation of a two-car race (one car symbolized IBM's new printed-circuit technology, the other an older technology). I used the car in \FLICS\FLC\3D\RACECUBH.FLC, from the AniPro CD, in my animation (I don't have 3D software to do my own!). It took me a while to figure out how to keep the car and eliminate the background. In any one frame, the difference between (most) car pixels and background pixels is that a car pixel (probably) does not have the same color as it did when it was used for the background (in other words, the car is moving, the background is not). A perfect job for XOR ink, because: 1) a pixel XORed twice with the same color remains unchanged, and 2) XORing any color with itsetf resutls in color #0. First, I "got" a one-frame cell from frame 39, which contained the background that was to be eliminated. Then, using XOR ink, I pasted that cell over frames 65 to 95. This caused any pixels in those frames that had the same color as they did in frame 39, to become color 0. At this point, the car colors have also been changed. but they can be restored by XORing them, again, with the cell from frame 39. However, to avoid restoring the background, I first masked the color 0 pixels. Since each frame required a different mask, each frame had to be processed individually. A perfect jpb for a macro. Now I need to find out what the "AND" and "OR" inks are good for.