RASTER GRAPHICAL DISPLAY APPARATUS

Abstract: Computer graphics requiring three dimensional representation needs very fine colour shading which is not possible with only 8 planes (bits) per pixel. In order to provide improved colour shading with acceptable resolution a video raster signal, with n (e.g. 8) planes per pixel and based on a resolution of x pixels per line and y lines, can be selectively processed (M1, M2, M3) to provide mn (e.g. 16 or 24) planes per macro-pixel where m is an integer greater than 1 and m = m1.m2 where m1 is the dimension in pixels of each macro-pixel along the scan lines and m<2> is the dimension of each macro-pixel transverse to the scan lines (in terms of lines of the normal raster). In one arrangement the 16 planes normally used to drive 3 colour guns (red, green and blue) for an odd-even pixel pair are used for providing non-intersecting sets of 5 planes for each of the guns. In another arrangement the 8 planes for odd and even pixels (i.e. 16 planes available) are used for the red and green guns respectively in one scan line of each pair of scan lines and in the other scan line of the pair 8 of the 16 planes are used for the blue gun, each of the guns being operated for 50% of the pixel scanning time.

Description: _ L _ RASTER GRAPHICAL DISPLAY APPARATUS This invention relates to raster graphical display apparatus. Computer graphics raster colour display gener- ators may be classified according to the following para¬ meters: a) Spatial Resolution - This is the number of indepen¬ dently definable points or pixels in the x (along the scan lines) and y (normal to the scan lines) axes of the displayed picture. b) The number of simultaneous colours which may be dis¬ played. This is determined by the number of bits defining each pixel of the screen, for example four bits allows 2 raised to the power of 4 = 16, simultan- eous colours, 8 bits allow 2 raised to the power 8 = 256 simultaneous colours. The term bit plane, or simply plane, is used to describe the memory for one bit of the pixel with the x and y resolution defined in (a). The amount of memory required to support the raster dis- play refresh is linearly proportional to x,y and the number of bits per pixel. Eight planes, allowing 256 colours to be present on the screen simultaneously, is adequate for most computer graphics such as computer aided design (CAD) and greyscale images but does not provide sufficient simultaneous colours for images with subtle colouring such as 3D shaded images. In such images the distance from the viewer may be shown by fading the colours of parts of the image further from the viewer (called depth cueing) or effects such as reflection and transparency. To achieve subtle shading such as this requires 256 shades of red, 256 shades of blue and 256 shades of green simultaneously calling for 24 bits per pixel. The cost of pixel store memory to provide twenty four planes is prohibitive for applications which only occasionally require this subtle shading. Such applications are in CAD where much of the graphics consists of assembly drawings, architects drawing, machine drawings and wire frame 3D drawings. These do not require many simultaneous colours, but do require high resolution in x and y to display all of the detail. Users often require to see a fully shaded, depth- cued 3d image after design to see what the room, building or complex machined part will look like once it has been fabricated. The user would normally produce a 24 bit image in the host computer using processing to remove the parts of the picture which are behind each other (called hidden surface removal) and to add effects such as room lighting, reflection and shadows. It would not normally be possible to display the result unless the graphics system provided 24 planes. Users of raster graphics equipment require high resolution in x and y raster directions to be able to reproduce fine detail on, for example engineering drawings. It is also desirable to have many bit planes to achieve realistic subtle shading for example to display computer generated images of three dimensional objects (24 bit planes are often used for this purpose). It is unusual to require both high resolution and many bit planes simul- taneously and such equipment is expensive due to the amount of pixel store memory required. According to this invention there is provided raster graphical display apparatus comprising means for providing, in a first mode, a video raster signal based on a resolution of x pixels per line and y lines, a pixel store arranged to provide n planes per pixel and thus 2 colour possibilities per pixel, means for selecting a second mode to make available mn planes per macro-pixel in the pixel store, where m is an integer greater than 1 and m=ml.m2 where ml is the dimension of each macro- pixel along the scan lines and expressed in pixels, and m2 is the dimension of each macro-pixel transverse to the scan lines and expressed in lines of the first mode raster, In one arrangement ml=2 and m2=2 but each line occurs twice in succession as a line pair (to preserve aspect ratio) to reduce the line resolution so that of the available 4n bit planes per macro- pixel only 2n are distributed between a plurality of colour gun drive signals in the same way in both lines of each line pair. In another preferred arrangement, the planes * available per macro-pixel are allocated to different sets of colour gun drive signals in respective consecutive lines of each set of m2lines. Thus where ml= 2 and m2=2, 2n planes may be allocated to two (e.g. red and green) colour gun drive signals in one line and in the other line of each line pair, n of the 2n available planes may be provided for another (e.g. blue) colour gun drive signal so that the effect is of 3n planes per macro-pixel. Embodiments of this invention will now be described, by way of example, with reference to the accom¬ panying drawings in which:- Fig. 1 is a block circuit diagram of a portion of conventional raster graphical display apparatus; Fig. 2 is a block circuit diagram of a portion of raster graphical display apparatus forming a first embodiment of this invention; Fig. 3 is a diagram illustrating bit distribution in the operation of the raster graphical display apparatus shown in Fig. 2; Fig. 4 is a block circuit diagram of a portion of raster graphical display apparatus forming a second embodiment of this invention; Fig. 5 is a diagram of the pixel store mapping for the apparatus shown in Fig. 4; Fig. 6 is a set of diagrams illustrating colour gun drive signal operation for the apparatus shown in Fig. 4. Referring to the drawings, in conventional raster graphical display apparatus having a resolution of x pixels per line and y lines per frame, parallel data streams from 8 respective pixel planes in a pixel store p are subjected to interleaving and multiplex- ing to form two parallel data streams for each plane, one, E, for even pixels and one, 0, for odd pixels in the x direction (along the scan lines) of the displayed picture. The two data streams E,0 are supplied to respect- ive transformation tables Tl, T2; T3, T * 4; T5, T6 of each of three colour gun drive signal channels associated respectively with the red, green and blue colour guns of a display monitor. The transformation tables each operate in a pre¬ determined manner to provide a respective output data signal in response to the data input signal which can act as a store address in the transformation table. The transformation tables in each channel provide respective 8 bit output data streams A,B which are input to synchron¬ ised multiplexers Ml to M3 which supply respective 8-bit output signals to digital-to-analogue converters DAC1 to DAC3 whose outputs provide colour gun drive signals R, G,B. Thus all the colour gun signals for a given pixel are derived from the same 8-bit (or plane) input data so Q that only 2 = 256 different colours can be provided from pixel to pixel. Referring now to Figs. 2 and 3, there is shown, a portion of a raster graphical display apparatus which in a first, standard, mode can effectively operate like the apparatus shown in Fig. 1. In a second mode which can be selected, as illustrated in Figs. 2 and 3, data is stored in the pixel store on the basis of a reduced resolution of x/2 macro-pixels per line and y/2 lines per frame, with two odd-even (along the scan lines) pairs of ' standard pixels, displayed over consecutive standard- display lines (comprising each odd-even pair of standard- display lines), combining to form macro-pixels which are 2x2 standard pixels in size. In each line, therefore, there are 16 bits (or planes) available for defining 2 = 65536 different colours from macro-pixel to macro-pixel. Since square pixels are normally required. the same colour data is used for both odd and even lines of a macro-pixel. The pixel store utilisation can thus be halved in this second mode (e.g. by using * only the even rows in the store) and the freed half of the storage capacity (e.g. odd rows in the store) can be used to store a second,different image, the image to be displayed being selected by controlling the line scanning so that both odd and even lines of each odd-even line pair of a displayed picture are produced by means of either the relevant even or the relevant odd row in the pixel store. Alternatively the freed half of the storage capacity can be used for a 16-bit deep Z buffer for the production (in a manner known per se) of 3-dimensional images within the display apparatus (rather than having to be loaded in from a host computer to which the display apparatus is connected). In the apparatus shown in Fig. 2, the green- channel multiplexer arrangement comprises multiplexers M21, M22. The inputs of the multiplexer M21 are respect¬ ively arranged to receive the sets of bits 7,6,1,0 of the 8-bit output data streams from the transformation tables respectively associated with the even pixels - (along the scan lines) and with the odd pixels. The inputs of the multiplexer M22 are respectively arranged to receive the sets of bits 2,3,4,5 of the 8-bit output data streams from the transformation tables. In the first, standard 8-plane mode, the multi¬ plexers M21, M22 are switched so that the sets of bits 7,6,1,0 and 2,3,4,5 are combined for the even pixel out¬ put signal and then for the odd pixel output signal. The multiplexers Ml, M3 are switched synchronously for even and odd pixels. In the second 16-plane mode, the multiplexer Ml is set to convey the even pixel bits, the multiplexer M3 is set to convey the odd pixel bits, the multiplexer M21 is set to convey the bits 7,6,1,0 of the odd-pixel data stream and the multiplexer M22 is set to convey the bits 2,3,4,5 of the even-pixel data stream. The setting of the multiplexers is achieved by means of setting logic value signals applied to the control signal inputs of the multiplexers. Only 5 bits of each of the output signals supplied to the digital-to-analogue converters by the multiplexers are used to provide the respective colour gun drive signals i.e. a total of 15 bits are used leaving one bit (or plane) spare. However since the bit is avail¬ able, this mode is referred to as the 16-plane mode. Thus, in the present embodiment, 2 15 = 32768 different colours are actually provided. On the assumption that the standard 8-plane mode resolution is 1448 x 1024 pixels the 16-plane mode thus provides a resolution of 724x512 macro-pixels without any alteration to the processing rate (i.e. the bandwidth of the apparatus) while retaining a constant scan-line rate so that the standard monitor does not require adjustment or alteration. The transformation tables for the 16-plane mode can be such that the data output is identical to the address (i.e. no effect) but various alternative mappings may be used for the production of special effects or if an unequal assignment of bits per colour channel is re- required. Additional circuitry would be required if the bit-assignment per colour channel is required to be outside the boundaries shown in Fig. 3. Referring now to Figs. 4 and 5, the apparatus shown s similar to that shown in Fig. 1 except in that, in addition to a first, standard 8-plane mode of operation, the apparatus shown in Fig. 4 has means enabling selection of a second, 24-plane mode of operation. This second, 24-plane mode is achieved as in the embodiment shown in Fig. 2, by the input of appropriate setting signals to the multiplexers Ml to M3 and by means of switches SI to S3 respectively connected in series with the outputs of the multiplexers. The switches SI to S3 can be controlled by means of a control unit C either so as to take up set positions connecting the multiplexer outputs to the digital-to-analogue converters DACl to DAC3 (for the standard 8-plane mode) or so as to oscillate between two positions with a period corresponding to the time taken for the scanning of an odd-evenline pair (for the 24-plane mode). One of the positions corresponds to the standard 8-plane mode position and the other serves to supply a logic value "0" signal to the digital-to-analogue converters (thus switching off the relevant colour guns). The switch positions are shown respectively in broken line and in solid line to indicate which of the two positions is taken up during odd and even scan lines respectively. As indicated in Fig. 4, in the 24-plane mode, the multiplexers Ml and M3 are set to transmit only the even pixel bits while the multiplexer M2 is set to transmit only the odd pixel bits. Also the red and green channel switches Si, S2 are arranged to supply colour data signals to the digital-to-analogue converters only during the even scan lines while the blue channel switch S3 conveys colour data signals only during the odd scan lines. The corresponding pixel store mapping is shown in Fig. 5 where the set of four stored pixel positions shown corresponds to a single macro-pixel in the 24-plane mode. As shown, the 8 bits determining the blue colour gun drive signal occupy a store position corresponding to a standard mode even pixel in an odd scan line while the 8 bit data groups for the red and green channels are respectively in even and odd pixel positions in an even scan line. The remaining odd pixel position in the odd scan line is left spare. The operation of the ' apparatus shown in Fig. 5 gives rise to the distribution of colour gun drive signals as indicated in Fig. 6 where each colour gun operates for 50% of the scanning time for each macro-pixel, the red and green guns operating simultaneously in the even scan lines and the blue gun operating on its own in the odd scan lines. However the effect on the human eye is as if the colour possibilities correspond to a total of 2 24 while still utilising the standard single line-rate monitor and without making extra demands on the process- ing speed of the circuitry. -li¬ lt should also be noted that although the colour guns each operate for 50% of the time, they provide adequate brightness of. the display. Finally it is to be noted that flicker is not increased because all informa- tion is repeated at the normal frame rate. The multiplexer control circuit (not shown) is fed with the least significant y scan address to control which situation occurs on any one line. The additional hardware required to achieve scanning in 24 bit mode is minimal and readily available so that both 16 bit and 24 bit modes may now be produced by the same equipment as alternatives to the standard mode, the system firmware controlling two status bits on the video processor. The pixel stores are filled with image data from the host prior to display. It may be seen that the component pixels and the macro-pixel require the data for each DAC to be placed in different positions dependent on the mode. Hence additional logic has to be provided to speed data transfer by remapping the pixels of the macro-pixel contiguously and thus remapping is mode- dependent. The hardware required for this is not a significant overhead because use could be made of spare sections of the existing mapping logic It will be appreciated that the switches Si to S3 may comprise shift registers acting as multi¬ plexers/latches. Thus the embodiments described above each provide raster graphical display apparatus comprising means (Tl to T6, Ml to M3 and DAC1 to DAC3) for providing, in a first mode, a video raster signal based on a resolution of x pixels per line and y lines, a pixel store arranged to provide n planes per pixel and thus 2 colour possibilities per pixel, means for selecting (Ml to M3m, SI to S3) a second mode to make available mn planes per macro-pixel in the pixel store, where m is an integer greater than 1 and m=ml.m2 where ml is the dimension of each macro-pixel along the scan lines and expressed in pixels, and m.2 is the dimension of each macro-pixel transverse to the scan lines and expressed in lines of the first mode raster.

Claims: CLAIMS : 1. Raster graphical display apparatus comprising means for providing, in a first mode, a video raster signal based on a resolution of x pixels per line and y lines, a pixel store arranged to provide n planes per pixel and thus 2 colour possibilities per pixel, means for selecting a second mode to make available mn planes per macro-pixel in the pixel store, where m is an integer greater than 1 and m=ml.m2 where ml is the dimension of each macro-pixel along the scan lines and expressed in pixels, and m2 is the dimension of each macro-pixel transverse to the scan lines and expressed in lines of the first mode raster. 2. Apparatus according to claim 1 wherein ml=2 and m2=2 and each line occurs twice in succession as a line pair so that of the available n planes per macro-pixel a maximum of 2n are distributed among a plurality of colour gun drive signal channels in the same way in both lines of each line pair. 3. Apparatus according to claim 2 wherein three colour gun drive signal channels are provided and each is arranged to be provided with x planes where x is the nearest integer less than 2n/3 and none of the channels use any common planes for a respective colour gun drive signal output. 4. Apparatus according to claim 1 wherein means are provided for allocating the planes available per macro-pixel to different sets of colour gun drive signal channels in respective consecutive lines of each set of m2 lines. 5. Apparatus according to claim 4 wherein ml=2 and m2=2, n planes are allocated to first and second colour gun drive signal channels in one line and in the other line only n of the available 2n planes are allocated to a third colour gun drive signal channel. 6. Apparatus according to claim 5 wherein during the scanning of each macro-pixel each colour gun is arranged to be operated for 0$ of the time, two of the guns being operated simultaneously using different sets of n planes. 7. Apparatus according to any one of the preceding claims wherein two input channels are provided for receiving signals relating to. alternate odd and even pixels respectively, said input channels being connected to respective transformation tables in each of the colour gun drive signal channels, the transformation tables having outputs connected to a multiplexing arrangement connected in turn to digital to analogue converters, said second mode being selectable by means of appropriate setting signals supplied to the multiplexing arrangement. 8. Apparatus according to claim 7 as appendant to claim 3 wherein the three colour gun drive signal channels are arranged to drive red, green and blue colour guns and the red and blue channels use odd and even pixel signals respectively while the green channel uses a combination of the odd and even pixel signals. 9. Apparatus according to claim 7 as appendant to claim wherein the first and second channels are arranged for driving red and green colour guns and the third channel is arranged for driving a blue colour gun. 10. Raster graphical display apparatus substantially as described herein with reference to Figs. 2 and 3 or to Figs. 4 to 6 of the accompanying drawings.

Inventors: ELGOOD MARK CHRISTOPHER, JALES RICHARD JAMES, ELGOOD, MARK, CHRISTOPHER, JALES, RICHARD, JAMES
Applicants: SIGMEX LTD, SIGMEX LIMITED
Application year: 1986
Main classification: G09G1
IPC codes: G09G5