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


#152. ¿íÀÌ
3D ŸÀÏ ºÙÀ̱â 2005/11/12 (Sat)

ij¸¯Å͸¦ È­¸é Áß¾Ó¿¡ À§Ä¡½ÃÅ°±â À§ÇØ

tile := map[(hLoop+mapy-8)*mapTPL+wLoop+mapx-8] and $FFFF;
height := map[(hLoop+mapy-8)*mapTPL+wLoop+mapx-8] shr 16;

Map2VertivesÇÔ¼ö¿¡¼­ Å°¸¦ ´©¸¦¶§¸¶´Ù mapx, mapy¸¸ ¹Ù²ã¼­ ¸ÊÀ» À̵¿ÇÏ°í ij¸¯ÅÍÁÂÇ¥¸¦ °»½ÅÇß½À´Ï´Ù.

±×·±µ¥ movex, movey°¡ 0.02¾¿ 1.0ÀÌ µÉ¶§±îÁö ¿òÁ÷ÀÌ·Á°í ÇÏ´Ï ¹®Á¦°¡ »ý±â³×¿ä.

inc(numVertices, MakeVertexXYZ(movex-0.5+x*1.0, 0.0, -0.5+z*1.0, movey+0.5+x*1.0, 0.0, 0.5+z*1.0, tile, vertices[numVertices]));

movex, movey°¡ °°À»¶§¸¸ ¾ÕµÚ·Î ºÎµå·´°Ô À̵¿ÇÏ°í ¿·À¸·Î´Â ¾ÈµÇ³×¿ä.

¾îÂîÇÏ¸é µÇ´ÂÁö Á» °¡¸£ÃÄÁÖ¼¼¿ä.

#152-1. ¾È¿µ±â 2005/11/13 (Sun)
¾Æ·¡ÀÇ Áú¹®µµ ±×·¸°í ÀÌ Áú¹®µµ ±×·¸°í...
Á¦°¡ ³»¿ëÀ» ÀÌÇØÇϱⰡ Á» ¾î·Æ³×¿ä.

±×¸®°í ±×·± ¹®Á¦¸¦ ¶°³ª¼­ ÀúÀÇ ¼Ò½º ÀÚü¸¦ ÀÌÇØÇÏ½Å´Ù¸é º¯°æ ¶Ç´Â È®ÀåÀÌ º°·Î ¾î·Á¿î °ÍÀº ¾Æ´Ï¶ó°í »ý°¢ÇÕ´Ï´Ù.

±× »ùÇÃÀº È­¸é Ãâ·Â ¹æ½Ä¸¸ 3DÀÏ»ÓÀÌÁö ½ÇÁ¦·Î´Â 2D ŸÀÔ¸Ê Çü½ÄÀÇ ³»ºÎ ±¸Á¶¸¦ °¡Áö°í ÀÖ½À´Ï´Ù. µû¶ó¼­ 2D¿¡¼­ ij¸¯ÅÍ À̵¿À» Çغ¸¼Ì´Ù¸é ±×°ÍÀ» ±×´ë·Î ÀÀ¿ëÇÏ½Ã¸é µË´Ï´Ù. (¸¸¾à 2D¿¡¼­ ±¸Çö Çغ» ÀûÀÌ ¾øÀ¸½Ã´Ù¸é 2D¿¡¼­ ¸ÕÀú ±¸ÇöÀ» ÇÏ´Â °ÍÀÌ ¼ø¼­ÀÏ °ÍÀÔ´Ï´Ù)

±×¸®°í ÀÌ »ùÇÃÀÌ Ä³¸¯Å͸¦ ¿òÁ÷À̱â À§ÇØ ¸¸µç ±¸Á¶´Â ¾Æ´Ï±â ¶§¹®¿¡ ¿ø·¡ »ùÇÃÀÇ ±¸Á¶¿¡¼­ ¹º°¡¸¦ º¯°æÇؼ­ ¿øÇÏ´Â °á°ú¸¦ ³ª¿À°Ô ÇÏ·Á ÇÑ´Ù¸é ¾à°£ÀÇ ¹«¸®°¡ µû¸¨´Ï´Ù. ±×³É »õ·Î ±¸Á¶¸¦ ¼³°è ÇϽô °ÍÀÌ ´õ ºü¸¦Áöµµ ¸ð¸£°Ú½À´Ï´Ù.

#152-2. ¹Ú¼ºÁØ http://www.cyworld.com/popo8402 2005/12/05 (Mon)
°¨»çÇÕ´Ï´Ù.
°¨»çÇÕ´Ï´Ù.


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


IRiS nX by NvyU =starry scape=