Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Regulars » StarInfo/Miskin/!ColourDef/!Help
StarInfo/Miskin/!ColourDef/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199609.adf » Regulars |
Filename: | StarInfo/Miskin/!ColourDef/!Help |
Read OK: | ✔ |
File size: | 048F bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
!ColourDef ============== v 1.00 1/3/95 This utility enables you to find the R,G,B values of any colour, using the Acorn ColourPicker module. It is particularly useful to users of the (excellent) PD ray trace POV, which allows you to select colours for your object from a full 16million colours, but needs red,green,blue settings in the range 0-1. It works on RiscOS 3.xx only. Users of RiscOs3/3.1 will need a copy of this module. Select on the iconbar icon opens the control window, while Adjust opens the Colourpicker window. The r,g,b values of the chosen colour and the 32bit colour number are displayed in the control window. The format of the R,G,B colours can be toggled between Hex, 0-255, 0-1 and 0-100 depending on the use you plan to make of them. Clicking on the Pick icon opens the Colourpicker window, where a choice of colour can be made in RGB HSV or CMYK modes. Clicking on the OK icon causes the values in the control window to be updated. Using Adjust leaves the Colourpicker window open. Mrs A. R. Miskin 23 Hardwick Drive Loughborough Leics LE11 0TJ
00000000 20 20 20 20 20 20 20 20 20 20 20 20 20 21 43 6f | !Co| 00000010 6c 6f 75 72 44 65 66 0a 20 20 20 20 20 20 20 20 |lourDef. | 00000020 20 20 20 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d | ============| 00000030 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 |==. v| 00000040 20 31 2e 30 30 20 31 2f 33 2f 39 35 0a 20 20 20 | 1.00 1/3/95. | 00000050 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 | . | 00000060 20 20 20 20 20 20 0a 54 68 69 73 20 75 74 69 6c | .This util| 00000070 69 74 79 20 65 6e 61 62 6c 65 73 20 79 6f 75 20 |ity enables you | 00000080 74 6f 20 66 69 6e 64 20 74 68 65 20 52 2c 47 2c |to find the R,G,| 00000090 42 20 76 61 6c 75 65 73 20 6f 66 20 61 6e 79 20 |B values of any | 000000a0 63 6f 6c 6f 75 72 2c 20 75 73 69 6e 67 0a 74 68 |colour, using.th| 000000b0 65 20 41 63 6f 72 6e 20 43 6f 6c 6f 75 72 50 69 |e Acorn ColourPi| 000000c0 63 6b 65 72 20 6d 6f 64 75 6c 65 2e 20 20 49 74 |cker module. It| 000000d0 20 69 73 20 70 61 72 74 69 63 75 6c 61 72 6c 79 | is particularly| 000000e0 20 75 73 65 66 75 6c 20 74 6f 20 75 73 65 72 73 | useful to users| 000000f0 20 6f 66 20 0a 74 68 65 20 28 65 78 63 65 6c 6c | of .the (excell| 00000100 65 6e 74 29 20 50 44 20 72 61 79 20 74 72 61 63 |ent) PD ray trac| 00000110 65 20 50 4f 56 2c 20 77 68 69 63 68 20 61 6c 6c |e POV, which all| 00000120 6f 77 73 20 79 6f 75 20 74 6f 20 73 65 6c 65 63 |ows you to selec| 00000130 74 20 63 6f 6c 6f 75 72 73 20 66 6f 72 0a 79 6f |t colours for.yo| 00000140 75 72 20 6f 62 6a 65 63 74 20 66 72 6f 6d 20 61 |ur object from a| 00000150 20 66 75 6c 6c 20 31 36 6d 69 6c 6c 69 6f 6e 20 | full 16million | 00000160 63 6f 6c 6f 75 72 73 2c 20 62 75 74 20 6e 65 65 |colours, but nee| 00000170 64 73 20 72 65 64 2c 67 72 65 65 6e 2c 62 6c 75 |ds red,green,blu| 00000180 65 0a 73 65 74 74 69 6e 67 73 20 69 6e 20 74 68 |e.settings in th| 00000190 65 20 72 61 6e 67 65 20 30 2d 31 2e 0a 0a 49 74 |e range 0-1...It| 000001a0 20 77 6f 72 6b 73 20 6f 6e 20 52 69 73 63 4f 53 | works on RiscOS| 000001b0 20 33 2e 78 78 20 6f 6e 6c 79 2e 20 55 73 65 72 | 3.xx only. User| 000001c0 73 20 6f 66 20 52 69 73 63 4f 73 33 2f 33 2e 31 |s of RiscOs3/3.1| 000001d0 20 77 69 6c 6c 20 6e 65 65 64 20 61 20 63 6f 70 | will need a cop| 000001e0 79 20 6f 66 20 74 68 69 73 20 0a 6d 6f 64 75 6c |y of this .modul| 000001f0 65 2e 20 0a 0a 53 65 6c 65 63 74 20 6f 6e 20 74 |e. ..Select on t| 00000200 68 65 20 69 63 6f 6e 62 61 72 20 69 63 6f 6e 20 |he iconbar icon | 00000210 6f 70 65 6e 73 20 74 68 65 20 63 6f 6e 74 72 6f |opens the contro| 00000220 6c 20 77 69 6e 64 6f 77 2c 20 77 68 69 6c 65 20 |l window, while | 00000230 41 64 6a 75 73 74 20 0a 6f 70 65 6e 73 20 74 68 |Adjust .opens th| 00000240 65 20 43 6f 6c 6f 75 72 70 69 63 6b 65 72 20 77 |e Colourpicker w| 00000250 69 6e 64 6f 77 2e 0a 0a 54 68 65 20 72 2c 67 2c |indow...The r,g,| 00000260 62 20 76 61 6c 75 65 73 20 6f 66 20 74 68 65 20 |b values of the | 00000270 63 68 6f 73 65 6e 20 63 6f 6c 6f 75 72 20 61 6e |chosen colour an| 00000280 64 20 74 68 65 20 33 32 62 69 74 20 63 6f 6c 6f |d the 32bit colo| 00000290 75 72 20 6e 75 6d 62 65 72 20 0a 61 72 65 20 64 |ur number .are d| 000002a0 69 73 70 6c 61 79 65 64 20 69 6e 20 74 68 65 20 |isplayed in the | 000002b0 63 6f 6e 74 72 6f 6c 20 77 69 6e 64 6f 77 2e 20 |control window. | 000002c0 54 68 65 20 66 6f 72 6d 61 74 20 6f 66 20 74 68 |The format of th| 000002d0 65 20 52 2c 47 2c 42 20 63 6f 6c 6f 75 72 73 20 |e R,G,B colours | 000002e0 0a 63 61 6e 20 62 65 20 74 6f 67 67 6c 65 64 20 |.can be toggled | 000002f0 62 65 74 77 65 65 6e 20 48 65 78 2c 20 30 2d 32 |between Hex, 0-2| 00000300 35 35 2c 20 30 2d 31 20 61 6e 64 20 30 2d 31 30 |55, 0-1 and 0-10| 00000310 30 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 0a |0 depending on .| 00000320 74 68 65 20 75 73 65 20 79 6f 75 20 70 6c 61 6e |the use you plan| 00000330 20 74 6f 20 6d 61 6b 65 20 6f 66 20 74 68 65 6d | to make of them| 00000340 2e 20 43 6c 69 63 6b 69 6e 67 20 6f 6e 20 74 68 |. Clicking on th| 00000350 65 20 50 69 63 6b 20 69 63 6f 6e 20 6f 70 65 6e |e Pick icon open| 00000360 73 20 74 68 65 20 0a 43 6f 6c 6f 75 72 70 69 63 |s the .Colourpic| 00000370 6b 65 72 20 77 69 6e 64 6f 77 2c 20 77 68 65 72 |ker window, wher| 00000380 65 20 61 20 63 68 6f 69 63 65 20 6f 66 20 63 6f |e a choice of co| 00000390 6c 6f 75 72 20 63 61 6e 20 62 65 20 6d 61 64 65 |lour can be made| 000003a0 20 69 6e 20 52 47 42 20 48 53 56 0a 6f 72 20 43 | in RGB HSV.or C| 000003b0 4d 59 4b 20 6d 6f 64 65 73 2e 20 43 6c 69 63 6b |MYK modes. Click| 000003c0 69 6e 67 20 6f 6e 20 74 68 65 20 4f 4b 20 69 63 |ing on the OK ic| 000003d0 6f 6e 20 63 61 75 73 65 73 20 74 68 65 20 76 61 |on causes the va| 000003e0 6c 75 65 73 20 69 6e 20 74 68 65 20 0a 63 6f 6e |lues in the .con| 000003f0 74 72 6f 6c 20 77 69 6e 64 6f 77 20 74 6f 20 62 |trol window to b| 00000400 65 20 75 70 64 61 74 65 64 2e 20 55 73 69 6e 67 |e updated. Using| 00000410 20 41 64 6a 75 73 74 20 6c 65 61 76 65 73 20 74 | Adjust leaves t| 00000420 68 65 20 43 6f 6c 6f 75 72 70 69 63 6b 65 72 20 |he Colourpicker | 00000430 0a 77 69 6e 64 6f 77 20 6f 70 65 6e 2e 0a 0a 0a |.window open....| 00000440 20 20 4d 72 73 20 41 2e 20 52 2e 20 4d 69 73 6b | Mrs A. R. Misk| 00000450 69 6e 0a 20 20 32 33 20 48 61 72 64 77 69 63 6b |in. 23 Hardwick| 00000460 20 44 72 69 76 65 0a 20 20 4c 6f 75 67 68 62 6f | Drive. Loughbo| 00000470 72 6f 75 67 68 0a 20 20 4c 65 69 63 73 0a 20 20 |rough. Leics. | 00000480 4c 45 31 31 20 30 54 4a 0a 20 20 20 20 20 0a |LE11 0TJ. .| 0000048f