home *** CD-ROM | disk | FTP | other *** search
/ Supremacy 2 / Supremacy-2.iso / Pompey / PP_030.MSA / MANUAL / MAN_29 < prev    next >
Text File  |  1989-04-11  |  2KB  |  66 lines

  1.    HBLs - an extra splash of colour
  2.  
  3.     Canvas offers the chance to use
  4. many more colours on-screen at once
  5. than most art packages. Up to 512
  6. colours (the whole ST palette) can be
  7. displayed at once, or 4096 on an STE!
  8. However, you wont be able to see all
  9. these colours while you are drawing
  10. your picture - only the usual 16
  11. colour palette (lo-res).
  12.     To access the extra colours is
  13. quite a complex process. There are 3
  14. options on the Colour Specbox with the
  15. letters 'HBL' in them. HBL refers to a
  16. programming technique called Horizontal
  17. Blanking. This is simply a means of
  18. 'interrupting' the graphics chip as it
  19. is in the process of drawing the
  20. picture onto the television/monitor
  21. screen. This process happens 50 times
  22. every second to produce the illusion of
  23. a stable picture. Every 4 scan lines
  24. (there are 200 scan lines in lo-res),
  25. the chip is interrupted by Canvas and
  26. given a new palette to display. This
  27. means that more than the usual 16
  28. colours can be displayed. Any number of
  29. HBLs may be set up using the options on
  30. the Colour Specbox so long as they are
  31. each no closer than 4 lines apart
  32. (Canvas wont allow you to put them any
  33. closer).
  34.     To create a HBL, select the palette
  35. you wish the chip to swap over to,
  36. using the Palette Infobar at the top of
  37. the Colour Specbox, and click on the
  38. 'Set HBL' option. A line will appear
  39. across the screen. The height of this
  40. line determines at what point the
  41. graphics chip will be interrupted and
  42. the new palette fed in. The Y
  43. co-ordinate is displayed in the top
  44. left of the screen. Click the right
  45. mouse button if you do not wish to set
  46. the HBL or the left button if you do.
  47.     Once you have set some HBLs, select
  48. the palette you want to appear at the
  49. very top of the screen using the
  50. Palette Infobar and click on 'View
  51. HBLs'. See... lots of colours!  Press
  52. any key to return to the Main Menu.
  53.  
  54.                 A Demo
  55.  
  56.     On the Canvas program disk are some
  57. files which demonstrate how HBls can be
  58. used for stunning effects. First load
  59. in the "SUNSET.CPT" compact picture
  60. which is found in the "_HBLS" folder,
  61. then load the "SUNSET.HBL" file. Now
  62. View HBLs from the Colour Specbox -
  63. pretty eh? You can also try the
  64. "F_348.CPT" and "F_348.HBL" files which
  65. too are found in the "_HBLS" folder.
  66.