IRiS nX
114 ARTICLES / 235 REPLIES [1:2]
=ADMIN=


#72. Æ´»õ
¸¶¸®¹ÌÅ× ¸µ ¼¿·º¼Ç~ 2004/10/22 (Fri)

¿µ±â´Ô °­ÁÂ¿Í ÀÛÇ°Àº.....
¾ðÁ¦³ª ±×·¸Áö¸¸ Á¤¸» °¨µ¿ÀÔ´Ï´Ù.
°Å±â¿¡ ÁÖÀΰø±×¸²ÀÇ ¹è°æÀ» Áö¿ì°í ÁÖÀΰø
¾ó±¼¸¸ º¸ÀÌ°Ô ¹Ù²ãº¸·Á°í Çϴµ¥¿ä.
Åõ¸íÅ°¼³Á¤Àº ¾î¶»°Ô Çϳª¿ä?

#72-1. ¾È¿µ±â 2004/10/23 (Sat)
¹è°æÀ» Åõ¸íÇÏ°Ô ÇÏ·Á¸é...
marimite.bmp (ÀÌ Ã·ºÎ ÆÄÀÏ·Î ±×¸² ÆÄÀÏÀ» ±³Ã¼ Çϼ¼¿ä)

USmD3D.pasÀÇ ³»¿ëÀ» ¼öÁ¤ÇØ¾ß ÇÕ´Ï´Ù.

431¹ø° ÁÙÀÇ ¾Æ·¡ ³»¿ëÀ»

for i := 0 to pred(width) do begin
     pDest32^ := pSour32^ or $FF000000;
     inc(pSour32);
     inc(pDest32);
end;

´ÙÀ½Ã³·³ ¹Ù²ß´Ï´Ù.

for i := 0 to pred(width) do begin
     if (pSour32^ and $00FFFFFF) <> $000000FF then
          pDest32^ := pSour32^ or $FF000000
     else
          pDest32^ := pSour32^ and $00FFFFFF;
     inc(pSour32);
     inc(pDest32);
end;

ÀÌ·¸°Ô ÇÑ µÚ ÷ºÎÇÑ ±×¸²ÆÄÀÏ·Î ÆÄÀÏÀ» ±³Ã¼Çϼ¼¿ä.

±×·¯¸é ¸µ ¼¿·º¼Ç¿¡¼­ 'È«Àå¹Ì'ÀÏ´çµéÀº ¸ðµÎ ¹è°æÀÌ Åõ¸íÇÏ°Ô ³ª¿É´Ï´Ù. (ÃÑ 3¸í¸¸)
³ª¸ÓÁö »ç¶÷µéµµ ¸ðµÎ ¹è°æÀ» 0x0000FF·Î ¹Ù²Ù¸é Åõ¸íÇÏ°Ô ¹Ù²ò´Ï´Ù.

#72-2. Æ´»õ 2004/10/23 (Sat)
¿µ±â´Ô °¨»çÇÕ´Ï´Ù.
°Åµì °¨»çÀÇ ¸»¾¸À» µå¸³´Ï´Ù.


NAME / EMAIL
URL
SUBJECT
MESSAGE
ATTACH
ATTACH STYLE COOKIE  
[PREV] [NEXT] return


IRiS nX by NvyU =starry scape=