home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3997 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  34 lines

  1. Path: oreig.uji.es!ii202
  2. From: ii202@rossegat.uji.es (Jorge Acereda Macia)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: *SLOW* colour cycling.. :(
  5. Date: 15 Feb 1996 15:53:35 GMT
  6. Organization: Universitat Jaume I. Castell≤ de la Plana. Spain
  7. Message-ID: <4fvktv$gdm@oreig.uji.es>
  8. References: <311c0fb8@beachyhd.demon.co.uk> <651.6615T1308T2046@stud.cs.uit.no>
  9. NNTP-Posting-Host: @rossegat.uji.es
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Magne Oestlyngen (magneoe@stud.cs.uit.no) wrote:
  13. > >Hi all,
  14. > >I'm trying to make some colour-cycling patterns for a screen saver. However,
  15. > >I'm having a few problems getting the cycling to work..
  16. > [...]
  17. > >This does the job, *BUT*, it takes about half a second to do a single cycle!!
  18. > >This is absolutely unacceptable.. I want it cycling within 1/25th of a second
  19. > >at the absolute worst..
  20.  
  21. > Use LoadRGB32(), with which you can set all 256 colors at once.
  22.  
  23. Yeah, and faster if you have 2 consecutive copies of your color arrays
  24. and only increment the pointers to do the cycle.
  25.  
  26. Greets,
  27. --
  28.  ---------------------------- --------------------------------------------
  29. |       Jorge Acereda        |      Dream the same thing everynight       |
  30. |   ii202@rossegat.uji.es    |       I see our freedom in my sight        |
  31. |       Intel Outside        |     No locked doors, no windows barred     |
  32. |        Amiga Rules         |   No things to make my brain seem scarred  |
  33.  ---------------------------- --------------------------------------------
  34.