Control Systems and Computers, N2, 2016, Article 3

DOI: https://doi.org/10.15407/usim.2016.02.028

Upr. sist. maš., 2016, Issue 2 (262), pp. 28-33, 84.

UDC 004:519.876, 004.93

A.M. Qasem, PhD (Eng.), V.M. Glushkov Institute of Cybernetics, The National Academy of Sciences of Ukraine, Glushkov ave., 40, Kyiv, 03187, Ukraine, 
E-mail: aneesa.qasem@gmail.com 

The Formalization of the Data Handling Process of Raster Masking of Sprites’ Transparency

Introduction. Method is proposed for providing the transparency of the background bitmap pixels of multi-format symbols of moving objects at their outputting to the cartographic background.

Method. The essence of the method is in the intermediate buffer to perform the two sequential formalized raster operations with the masks of transparency AND and OR. It ensures the prioritized displaying of transparent sprites in relation to the cartographic background, without the need to comply the requirement which consists in absence the value of transparent background color among the color codes in the image contour of a single symbol.

Results and Conclusion. Due to the formalizing of the task of the display of transparent symbol images on the cartographic background it was succeeded to allocate the classes of operations that are common to many existing methods of forming the dynamic scenarios in terms of achieving the transparency effect. Such operations include the construction of a transparency mask, its use, taking into account the interaction of image pixels of the source and receiver, the transfer of the image bits from the source to the destination (bit-blitting).

Pre-execution of the bitwise logical operations as AND and OR with initial and final pixels into special designated video-buffer according to the proposed technics for transparent colors also allows to avoid the possible flashing during the implementation of the blitting process.

Download full text! (In Ukrainian and Russian).

Keywords: dynamic 2D-scene, transparency mask, raster logic operations, sprite, cartographical background

  1. Vasyukhina, I.M., Kasim, A.M., Kulik, A.Ye. et.al., 2005. “Metod organizatsii dinamicheskoy stseny, vyvodimoy na ekran geoinformatsionnykh kompleksov real’nogo vremeni”. Vestn. Kherson. nats. tekhn. un-ta., 1(21), pp. 207–210. (In Russian).
  2. Kasim, A.M., Vasyukhin, M.I., Kapshtyk, O.I., 2008. “Algoritmy postroyeniya zritel’nykh stsen v aeronavigatsionnykh geoinformatsionnykh sistemakh real’nogo vremeni”. Upravlausie sistemy i masiny, 2008, 3, pp. 79–84. (In Russian). (In Russian).
  3. Kasim, A.M., Vasyukhin, M.I., Hulevets V.D. et. al., 2010. “Metody stvorennya dynamichnykh hrafichnykh obraziv pry vyrishenni zadach vidobrazhennya potochnoyi obstanovky na terytoriyi aeroportu ta prylehlykh do noho zonakh”. ASU y prybory avtomatyky: vseukr. mezhved. nauch.-tekhn. sb. Kharkov: Yzd-vo KHNURE, 151, pp. 112–118. (In Ukrainian).
  4. Glushakov, S.V., Klevtsov, A.L., 2008. Delphi 2007: Samouchitel’. M.: AST Moskva, 448 p. (In Russian).
  5. Kul’tin, N.B., 2007. Osnovy programmirovaniya v Turbo Delphi. SPb.: BKHV-Peterburg, 384 p. (In Russian).
  6. Tyukachev, N.A., Illarionov, I.V., Khlebostroyev, V.G. Programmirovaniye grafiki v Delphi. SPb.: BKHV-Peterburg, 2008. 784 p. (In Russian).
  7. Zharkov, V.A. Samouchitel’ po animatsii i mul’tiplikatsii v Visual C++. NET 2003. M.: Zharkov Press, 2003. 448 p. (In Russian).
  8. Mozgovoy, M.V., 2005. Zanimatel’noye programmirovaniye: Samouchitel’. SPb.: Piter, 208 p. (In Russian).
  9. Shamis, V.A., 2007. C++ Builder Borland Developer Studio 2006. Dlya professionalov. Zanimatel’noye programmirovaniye: Samouchitel’. SPb.: Piter, 781 p. (In Russian).
  10. Nabayoti Barkakati, 1995. Programmirovaniye igr dlya Windows na Borland C++. M.: BINOM, 512 p. (In Russian).
  11. La Mot A., Ratkliff, D., Seminatore M. i dr., 1995. Sekrety programmirovaniya igr. SPb.: Piter, 720 p. (In Russian).
  12. Kasim, A.M., 2003. Metody ta zasoby formuvannya dynamichnykh stsenariyiv v navihatsiyno-keruvalʹnykh kompleksakh: Dys. … kand. tekhn. nauk. K., 200 p. (In Ukrainian).

Received 09.04.2015