• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
KGC04_실시간애니메이션이해와응용
 

KGC04_실시간애니메이션이해와응용

on

  • 275 views

 

Statistics

Views

Total Views
275
Views on SlideShare
275
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    KGC04_실시간애니메이션이해와응용 KGC04_실시간애니메이션이해와응용 Presentation Transcript

    • TM ǼÌÀ޸ϴ־ TM ÇÀ¼Ì޸ϴ־ º¸¼± ÀÔ·Â ¸Þ½Ãµ¥ÀÌŦ º¯ÇüÒ ÇÊ¿ä¾ø´Ù. (Çϵå¿þ¾î + ½Ã°£ (time, frame)ÇÀÓ¼¡° »À¡Áå ÒÇë¿°È ö¼ ) .Ù´ ÖÀ ¾î´À ½Ã°£ÀÇ Å°( key) Á¤º¸Àΰ¡. LOCAL LOCAL TRANSFORM TRANSFORM INPUT VERTEX DATA ¡¦ X X TRANSFORM ¡¦ (view X X CAMERA -1 matrix) + ȸÀü (rotation) WORLD WORLD TRANSFORM TRANSFORM x3 ,Ä·àÇ (aternion)ÇÀ ,ÂÅüÇ ºÀ¤È ÏÀ¿ 3 ö¼ø¿ç» uq ¯· ¢° (ear ane) lu lg VIEWPORT -1 CAMERA TRANSFORM RESULT VERTEX PROJECTED VERTEX | _11 _12 _13 0 | (projection matrix) (view matrix) DATA DATA | _21 _2 _23 0 | | _31 _32 _3 0 | | 0 0 0 1|ÀϹÝû¸·Î °áú´Â Çà·Ä(matrix)ÀÇ ÇüÅ°¡ µÈ´Ù. + À̵¿ (translation) º¤ÅÍ (vector) ÀÇ ÇüÅÂ. À§Ä¡ °ª | 1 0 0 0| | 0 1 0 0| | 0 0 1 0| | Xt Yt Zt 1| + ½ºÄÉÀÏ (scaling) | Xs 0 0 0| | 0 Ys 0 0| | 0 0 Zs 0 | | 0 0 0 1|
    • ȵÑǦÁ ǼÌÀ޸ϴ־ °Å ¸¤ºÁerpolati n)À̶õ º¸°£(I ε ÇÀ¡Áö £°ßÁ »Àª° ´ò¾ η¸ÀÍ° -¼¡¿Ç ÎÀ޸ϴ־ º¸°£À» ÀÌ¿ëÇؼ- Áß°£ Å° À»°ª ¾òÀ» ¼ö ÀÖ´Ù. – P 0 t*) 1=< t 0,Ü´ ,13*vTRVCOXEtDospcnLr(e ) t al of, 2 v*3 RT OCV EX D s nc { ;O3vETRDVCX + ½ºÇöóÀÎ ¸°£ ( Spline I nterpola i ) -x(2>v+1=. t;>)*v-x1 -y(2>v+1=. t;>)*v-y1 Á¦¾î Á¡À¸·Î °î¼± ¸ð¾çÀÇ Áß°£ °ªÀ» ¾ò´Â ¹æ½Ä -z(2>v+1=. t;>)*v-z1 ;nvtreu } + ¼±Çüº¸°£ (Linear I t pol ) µÎ °ª À̸¦»ç Á÷¼±À¸·Î ¾ò´Â ¹æ½ÄÀ¸·Î,°è»êÌ °£ ´ÜÇÏ¿© ½Ç𣿡¼- »ç¿ëÇÑ´Ù.
    • C.°èÃþÀû ±¸ Á¶ °¢ ¿ÀºêÁ§Æ®Ç ¾Ö´Ï¸ÞÀÌ¼Ç Á¤º¸´Â ·ÎÄà ¸ÅÆ®¯½º ¿¡ Àû¿ëµÈ´Ù. Àû¿ë ¿¹Á¦ (2) + bip ´Þ¸®±â µ¿ÀÛ » Àоî¿Í¼- ¾Ö´Ï¸ÞÀÌ¼Ç – ÀÚ½Ä(child) Ç °ü è·Î À» Àû¿ë½ÃŲ´Ù.¿¬°áµÈ´Ù. ·»´õ¸µ ¼öµ ÄÚµå (pseudo c ) ¹öÅؽº ÁÂÇ¥°¡ ·ÎÄà ÁÂÇ¥°¡ ¾Æ´Ï¹Ç·Î ·»´õ¸µ½Ã ·Î ,®Æ§Á êºÀ¿(µ¸õ´»· )º½ ¯¸®ÆÅ åµ ù¿ð Î ÃÄ Î·¥ÇÂÁ ´ÏǯȺ ¦¸tamvni åøµ¿ º½¯¸®ÆÅ Õ¾ { º½¯¸ ®ÆÅ åµù¿ º½¯¸®Æ Å ÃÄη. §Áê À¿ = * º½ ¯¸®Æ Å åµù¿ð Î ¿¡ °öÇÑ´Ù )º½¯¸®ÆÅ åµù¿( õ´»·. §Áê À ) + i ; ö ¼ Ä ½ Ú À . ® Æ § Á ê º ¿ <0 = ( r o f ¿ÀºêÁ§Æ® ¿¬°áÀº ÀÚ½Ä ¸®½ºÆ¦ °¡Áöí )º½ ¯¸®ÆÅ åµù¿ ,]i[Ä ÚÀ . §Áê ( õ´»· ÀÖÁö ¾Ê°í ÀÚ½Ä(child) » ¿¬°á(next) ½ÃÅ ´Â } ±¸Á¶ (°á ú µ¿ÀÏ)
    • – y n So
    • ¿ª±â¸ÇÐ (3) •V NEW )*2 ȸÀü Çà·Ä ±¸ÇÏâ “µ¢,°àÃüÀ¸È ö¼ø¿ç>»= Ä·à>Ç= ”ÀÇ °úÁ¤À¸·Î ±¸ .Ù´ÑÇ µ ¢° ,àÃüÀ¸È ÇÀö¼ø¿ç» >= Ľø° zyx .Q 5d).*a(0rnsi/x=A Q.w )50.*rad=cos( ¿ÜÀû Ç Å©±â°¡ sin( ȸÀü°¢µ ) Î Á¡À» ÀÌ¿ëÇؼ- ȸ Àü °¢µ¡ Àý¹ÝÎ V MID ¸ ¦ ± Ǹ ϸ é V I DM i z e N o r m a l= ( V OD L V+ WEN ) xyz Q. C =r o s P d u c t ( V MID V, WEN ) Q.w D o ct = P (r V d u MID V, WEN ) ·Î Á÷¢ »ç¿ø¼ö¸¦ ±¸ÇÒ ¼öµ ÀÖ´Ù. »ç¿ø¼ö¸¦ ÀÌ¿ëÇÏ© Çà·ÄÎ º¯ÈÇÏ¸é µÇ¸ç,¾à ȸÀü °ªÀ» »ç¿ø¼ö·Î ÀúåÇÏ°í ÀÖ´Ù¸é ºñ¿ëÀÌ Àûº »ç¿ø¼ö °öÀ¸·Î ȸÀü °ªÀ» ´©Àû ½ÃŲ´Ù.
    • ¿ª±â¸ÇÐ (4)¦Á¹¿ë ûÀ ( )5°èÃþÀû Î ±¸Á¶¿¡¼-ÀÇ ¿ª±â ¸ÇÐÀ» ±¸Çö Ñ´Ù. ’ V= OLD - V( OLD , • V FIXED )*V DEXIF V WEN ’ V= NEW - (V WEN ,• V D EXIF )*V FD I X E + ȸÀü·® Á¦ÇÑ ÑÇÝ°Þ± »À¢°ü ¸È â±ÏÇÑ ¦Á ±¼ØǧÀ dar.Q ¡° Cos(RAD XAM Ù /´ ) ¸ 2 º º À Û ¡ ¿ ì æ ° rad_2 = acos(Q.r d) Q.xyz ’ DAR(niS / )2_dar * zyx.Q = XM A / )2 w.Q ’ = Cos(RAD XM A / )2
    • Àû¿ë ºÐ¾ß¼è»ç½ , Æ÷´Ï Å×ÀÏ(ponytail), ·¡± µ¹ r gd î ÇÁ¶ÀÎÆ®°¡ ÀÖ´Â °-ü ¹°¸®¿¡ Àû´çÇÏÙ. – IO ive ract n
    • ( 2 ) I S TU E C H N A L »ç¿ø¼ö ¾ÐÃàÀº ¼Óµ Çâ»óÀ °³äµ ÀÖÁö¸,¾à 16¹ÙÀÌÆ® Ç È¸Àü Å°¸¦ 8¹ÙÀÌÆ®·Î ÁÙÀÌ´Â °æ¿ì, Àº ¿ë·®À¸Î ¾Ö´Ï¸ÞÀÌ¼Ç »ùÇøµ Áֱ⸦ µÎ ¹è ÀÌ »ó ³ôÀÏ ¼ö ÀÖ ¸¹Ç·Î ÈξÀ ÀÚ¿¬½º·¯ î ¸ð¼ÊÀ» ¾ò À» ¼ö À ´Ö Ù. à ÖÀ ûÈ ¿- Í ¿ £Á ø ± ¸¼ º –1¿¡¼- 1»çÀÌ °ª ¸Þð® ÃÖÀûÈ-µ µ¥ÀÌÅÍ ±¸Á¶À» °¡Áø´Ù. ¾Ö´Ï¸ÞÀÌ¼Ç ÀÎÅÍÆä ̽º °ªÀÇ ¹üÀ§°¡ Á¤ÇØ ® 2¹ÙÀÌÆ®·Î Ö´ . Áï, º¯È ÇÑ´Ù ¸Þ𮿡 µû¸¥ Å° ÃÖÀûÈ-í° éÏ¸Ç -¼¡8¿6723 ÇÀÌç7»623 η§Àü¹ ÎÇŸ °¡´ÉÇÏÙ.+ ÄõÅʹϾð (x, y z w) ¿Í ( –x,-yzw)´Â °´Ù.w¸¦ 0¿¡¼- 1 »çÀÌ·Î ¸ µé ¼ö ÀÖ ¸¹Ç·Î w °ªÀÇ ÇØ» óµ µÀ » ´ õ ³ ôÀ Ï ¼ µö µ À Ö´ Ù.x 2 +y 2 +z 2 +w 2 =1 ÀÇ Á¶°Çµ È°¿ëÇÏ¸é µ¥ÀÌÅ͸¦ ´õ ÁÙÀÏ ¼öµ ½Çð£À¸·ÎÖ³ª, »ç¿ëÇÑ´Ù¸é °£´ÜÇÑ °Ô Á´Ù.