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


#56. Åõ¿ÍÀÌ
2004/05/13 (Thu)

25%´Â ¹ÝÅõ¸íÀÌ ÀߵǴµ¥¿ä. 75%´Â ¹ÝÅõ¸íÀÌ ÀÌ»óÇÑ °ªÀÌ Áß°£¿¡ ³ª¿É´Ï´Ù.

MASK50 : DWORD = $00FEFEFE; // 50% shr 1
MASK25 : DWORD = $00FCFCFC; // 25% shr 2
tmpDest50 := (pSour^ and pDest^) + (((pSour^ xor pDest^) and MASK50) shr 1);
tmpDest25 := (pSour^ and pDest^) + (((pSour^ xor pDest^) and MASK25) shr 2);
pDest^ := tmpDest50 + tmpDest25;

50% + 25%Çغ»°á°úÀÔ´Ï´Ù. ´Ù¸¥ °ø½ÄÀ» ½á¾ßÇϳª¿ä?

#56-1. Åõ¿ÍÀÌ 2004/05/13 (Thu)
¾ËÆÄä³Î·Î ÇßÀ» °æ¿ì¿Í ¹ÝÅõ¸í°è»êÀ¸·Î ÇßÀ»°æ¿ì Ä®¶óÀÇ Â÷ÀÌ°¡ ÀÖÀ»±î¿ä?
¿¹¸¦µé¾î ¹ÝÅõ¸í:(src + dst)/2 <->
dst*alpha + src*(1 - alpha)ÀÌ°ÍÀ¸·Î ÇßÀ»°æ¿ì¿ä... ^^* Âü, ¿©Å±îÁö ´äº¯ Á¤¸»·Î °¨»çÇÕ´Ï´Ù.

#56-2. ¾È¿µ±â 2004/05/19 (Wed)

Á˼ÛÇÕ´Ï´Ù. Á¦°¡ ÀÌ°Í Àú°Í µ¹·Á º¼ ½Ã°£ÀÌ ¾ø³×¿ä. ÀÏ´Ü 50%¸¦ Á¦´ë·Î ÀÌÇØÇϼ̴ٸé 25%¸¦ ¸¸µé ¼ö ÀÖÀ» °ÍÀÌ°í.. '50%°ø½Ä+25%°ø½Ä'À¸·Î 75%¸¦ ¸¸µå´Â ¹æ½ÄÀÔ´Ï´Ù....


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


IRiS nX by NvyU =starry scape=