Programmers - sharing experiences: "3-colour". A few words about converting images in the format of RGB.

ZX Format #06
  BMC - Show 'em up in colour.

        (BMC = Bitmap Multicolor)


   or


   Author's description

   8-color mode for the Spectrum.

music by DNK
(C) Reseath.
_______________________________


  So, I'm from the Research Group VolgaSoft, is pleased to 
present you a shell '3 Color 'written by the guys from Virt 
Group. 

  The program is based on the method of adding primary colors 
created by me and first presented in our demo

called 'Pops'. The effect then cruelly ate all the speed Z-80 
and worked wheelbarrows to provide no less than 68,400

cycles (6144 * 10.5 768 * 5 + about300), onymi
proved to be my 777, Pentagon, Composite,
turbocharged car ... Mik made from VG
your code into two screens, plus a universal set fixup, and 
Creator all rolled into shell, and now you ready '3 color '-

enjoy!

              ___

 VolgaSoft rulez,

  or how it all began ...


  I guess I'm not alone fought over such effects by 
experimenting with two screens, changing colors, etc., but with 
two screens three to go or who do not dare.


  It all began in the late 95 th. Steal'a
zabrfali the army and the band cracked. I
plagued his PCyuk, Cache, and Phantom - Amiga.
Sometimes collected, played, watched demos, pictures 
ditheren'nye me. Two Colors seemed a little and I decided to 
write a prog that would do multicolor'y a la Satisfaction 
megademo. Tests of this software were deplorable, according to 
this it was decided koordinalno change the approach to this 
issue. Again created a whole heap optimizer'ov, posterizer'ov, 
convert'orov, which again did not give conclusive results. Then 
came graduation / entrance exam, released in August by viewing 
the demo brought back from Leningrad, I decided to make a 
multicolor 

  64 * 86 as a Busy in Echology.

... Night, the birds are singing, in a radius of 30m or
soul, DJResearch Ltd sits wrote ORG
25000 and thinks it would be nice to go
a spa-aa-at ... And then this stuff and then synchronize ... 
And can do here so ... "



  And I dashed off recoder images in 3
bit plane'a, skidyvaya LDIR'om in their third
screen. Then two, then the whole ...
The first time I dragged in such a way that almost two
nights not sleeping and felt tired,
all shaking and shaking ....


  Let us Now for the processing of images, without which, in 
fact, BMC, and a penny not worth. I do not know why Got

father paid so little attention to this subject, most likely 
something he does not know something do not agree, I, in turn, 
I know a few more than RGB, so will explain more in detail.



  The only problem is - to share a picture on the main composes 
R / G / B, and otditerit (Dither) each of them, then converted 
into 1-bit format and send x on the Spectrum.


 Now, the examples (for PC).
First remove the following software:
 1) Corel Photo-Paint - part of the
package Corel Draw
- 2) SEA (handy for viewing the files of
and converting images from one format to another, including 
those with cuts colors)

3) GWS 6.xx Dos (Graphic WorkShop) - see
below
4) PV 2.xx - convenient for both the converter and takes up 
little space  5) Photo Finish (v1.xx - v3.xx) - until the pile.



  In principle, one can do a Photo-Paint'om. Ideal option when
You have pp.1-4.

  - Corel Photo-Paint for editing
original image (resize,
brightness, contrast, etc.) for separation into RGB (click 
Image / Split channels to / RGB), 1 bit of dithering (item 
Image / Convertto / Black and white (1 bit) / Screen halftone. 
Divide the image 3 (R / G / B), otditerite each and translate 
on the Spectrum. 


  - GWS (Dos) allows you to immediately translate
Zoom in eight fixed colors
(N. Effects / Colour reduction / Stucki / Fixed
ight colours).


  The question immediately arises, what to do
Next?

  If you have three single-bit images of size 256 * 192 - to 
ship them in formate.BMP, drag on Speccy "bite off" the first 
62 bytes, and ... transferring them from consistent format 
sprite (in addition upside down) in the Spectrum screen format. 


  If you are "washed out" color in the GWS is either
divide the image in Photo-Painte on RGB (n.
Image / Split channels to / RGB), then transferred to 1-bit (n. 
Image / Convert to / Black and white / Line art), Apostle of 
which see the previous paragraph, or do your analyzer / 
translator / interpreter / converter, or wait until the Lord be 
upon you are my new Convert!.



  I must say that the first picture "butchered" in the Photo 
Finish'e (rather buggy thing), Dieter in GWS, and everything 
else did spektrum.Teper, I almost finished the analyzer on a 
PC, was soon released, Then "life will become better, life will 
become fun. "



  I am not a word mentioned about the Amiga - a little
any of amizhnikov is 5''FDD, poetomu.ILBM we moved v.PCX being 
shipped to 720kb MS-DOS disk, and is cut "again on the PC. 


  If someone would write a parser
on the Spectrum - kratko.TGA So you have
8-color picture of size 256 * 192
pixel otditerinnaya in GWS (by the way it is
Once we know that it is in eight colors). Its size: 18 bytes to 
a descriptor 768 bytes of palette 256 * 192 bytes himself

raster, a total of 49,938 bytes. Descriptor does not need, your 
task - to build in accordance with a palette of three ruling, 
because GWS in palette spread chaos (can meet

several similar colors), turn
and convert these bitmaps to Spectrum
format.

  It was only a brief example of the use of software, get, 
experiment, and do not stop there! Use Photoshop (a great 
opportunity but inhibits) and Corel Xara (super thing!).

Harness the power of graphic editors - this will allow Ulush 
quality pictures and clear up some extra points, and

better still draw directly in eight colors,
in order to abandon the dithering, and hence not
lose money. And best of refuse
Translation portraits - they and 256 flowers from
262,144 small and eight nothing at all, it is better
translate fantastic scenery - they
almost the entire spectrum of colors, and look
beautiful.

  Work on "coloring" Spectrum
continues and I am researching for a new BMC. If anyone has 
suggestions, you owl, questions - write to the ZX-Format. 

  If you really want to push through - see pictures on TV, the
whose kinescope of a delta-shaped arrangement of electron guns 
(61lk3ts, 4ts) reduce flicker until help sunglasses.


              ___


  Now I devote you to some of the projects VS. So, we released 
the "POPS DEMO", assembler XAS / VS 9.07, which is smaller than

similar to the old XAS (64 characters, rapid
calculations, fixed all the bugs, a lot of extras ...), now 
written COPY'97 - copies of MS-DOS in TR-DOS, CONVERT! make 
ready for use in 3Color'e file iz.TGA after treatment in

GWS (written on the PC), a new assembler runs with the second 
screen, and the main project - a totally unique 4-x

channel music editor RIFF TRACKER, Card GENERAL SOUND, which
You can pisat.MOD 's long to 128kb! In
Togliatti branch of VS (and there are such) is preparing to 
release a new game "BLOOD". It is a pity that I was not there, 
I would help Cache'u with graphics, so if you draw, and you 
live in Togliatti - please call 

  Tel. 11/30/1935 (Constantine)

That's all.
_______________________________