I’m using Microsoft VC++ and MFC.
Say that I want to create an animation that is composed of N different frames. Is it more effecient to have a separate CBitmap object for each frame, or to have one big CBitmap that contains the images for all frames, and then index into the big CBitmap when I want to display the next frame in the animation cycle?
Also, can anyone point me to good reference material (online or books) for doing animation using VC++ and/or MFC?
Thanks,
Kevin
One big bitmap will usually be more efficient.
Offhand, I’m not sure about good books on the subject — but it’s fairly unusual to do animation via GDI, so I wouldn’t expect a lot.