home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5572 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.4 KB  |  33 lines

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