Article View: comp.sys.next.programmer
Article #1107Re: Animating lots of small bitmaps
From: Andrew Loewenstern
Date: Wed, 12 Aug 1992 04:09
Date: Wed, 12 Aug 1992 04:09
21 lines
1462 bytes
1462 bytes
In article <22171@venera.isi.edu> dstrout@darpa.mil (David Strout) writes:
>I need to animate many (up to 40) small (48>x>20) bitmaps in a view
>under 3.0. (Think what the X game netrek looks like) I tried doing
>it with a subview per bitmap, but that flashed badly. I tried putting
>them all in the drawSelf:: of the main view, but that makes the whole
>view flash. Current idea is to define a Type 3 font with my bitmaps,
>then use xyshow to draw them. This seems really gross. If I wanted
>to do graphics with fonts, I'd program (pick one: X, TI99/4a, IBM PCs)
>etc. Does anyone have a better method? Ideas welcome, example code
>even better.
turning flushWindow off before drawing will hide the flashing, but
compositing may be too slow... Fonts are really fast though.
andrew
--
andrew@cubetech.com | "We shall not cease from exploration
Andrew Loewenstern | And the end of our exploring
Cube Technologies, Inc. | Will be to arrive where we started
| And know the place for the first time." -T.S. Eliot
Technical Details
Message-ID:
<1992Aug12.040912.2504@cubetech.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!cubetech.com!imladris!andrewReferences:
<22171@venera.isi.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!cubetech.com!imladris!andrew From: andrew@cubetech.com (Andrew Loewenstern) Subject: Re: Animating lots of small bitmaps Message-ID: <1992Aug12.040912.2504@cubetech.com> Organization: Cube Technologies, Inc. References: <22171@venera.isi.edu> Distribution: usa Date: Wed, 12 Aug 1992 04:09:12 GMT Lines: 21