Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!platypus!jaguar.ucs.uofs.edu From: meo3@jaguar.ucs.uofs.edu (OGRINZ MICHAEL E) Newsgroups: comp.graphics Subject: Bit Image animation Message-ID: <317@platypus.uofs.edu> Date: 7 Mar 91 13:17:51 GMT Sender: news@platypus.uofs.edu Reply-To: meo3@jaguar.ucs.uofs.edu Organization: University of Scranton Lines: 17 Nntp-Posting-Host: jaguar.ucs.uofs.edu Hello there. I've been doing some independent coursework here regarding the manipulation of bit-images in Turbo C++. Anyway, I've been trying to animate a multicolor image over a multicolor background. Currently, I can only acheive this by first displaying a "mask" (a white image in the shape of my multicolor bit image) which is OR'ed with the background. I then XOR my multicolor image on top of the mask. As you might infer, this takes a lot of time, and of course; I want speed. The SET operation in Turbo C++ would let me drop in a bit image in only one instruction, but it drops in the entire (square) image (I am displaying non-rectangular forms). Any comments or suggestions on some more efficent way to quickly implement the equivalent of sprites on the PC would be greatly appreciated. Thanks in advance. Michael Ogrinz