Ja/Eye Position Setup: Difference between revisions
No edit summary |
CacraCleto (talk | contribs) m (errolsitalt) |
||
Line 1: | Line 1: | ||
relaceltr | |||
[[Category:Japanese]] | [[Category:Japanese]] | ||
å®è¡å½¢å¼ã®ãã£ã©ã¯ã¿ã¼ã¢ãã«ãã³ã³ãã¤ã«ããåã«ãç®ã®ä½ç½®ã®ãã¼ã¿è¨å®ãè¡ãå¿
è¦ãããã¾ããå¾ã§ã¢ãã«ãç·¨éããã¨ãã§ããç®ã®ä½ç½®ãå¤ãããªããã°ãããã®è¨å®ã夿´ããå¿
è¦ã¯ããã¾ããã | |||
ããã¯å¥³æ§ã¢ãã«ã®1ã¤ã«ãããç®ã®ãã¼ã¿ã§ã: | |||
<pre> | <pre> | ||
Line 32: | Line 33: | ||
//end eye/face data | //end eye/face data | ||
</pre> | </pre> | ||
QCEyesã¢ãã¬ããã使ã£ã¦ç®ã®ãã¼ã¿ã®åºåãè¡ããã¨ãã以ä¸ã®èª¬æãã¿ã¦èªåã§è¨ç®ãããã¨ãã§ãã¾ãã | |||
''' | '''注æ:''' æé ãã¯ãããã¾ãã«ãç®ã®ããã«ç¨æããçä½ãæ£ããä½ç½®ã«ç§»åããã¦'''å
¨ã¦ã®å¤æãããªã¼ãº(Freeze All Transforms)'''ãã¦ãã ããã | ||
ã¢ãã«ã®ç®ã®ä½ç½®ãã¼ã¿ãå¾ãã«ã¯ã以ä¸ã®ããã«ãã¦ãã ãã: | |||
1. | 1. ããããã®ç®ã®ä¸å¿ç¹ã®åº§æ¨ãã®3軸å
¨ã¦ã«ã¤ãã¦èª¿ã¹ã¦ãã ããã(ã¾ãç®ã®çä½ã®'''å
¨ã¦ã®å¤æãããªã¼ãº(Freeze All Transforms)'''ããã®ãå¿ããªãã§ãã ãã) | ||
{| | {| | ||
Line 47: | Line 48: | ||
|} | |} | ||
2. | 2. ããããã®ç®ã®ã¾ã¶ãã®åæç¶æ
ãä¸ãã£ãç¶æ
ãä¸ãã£ãç¶æ
ã®ä½ç½®ã®Y座æ¨ã調ã¹ã¦ãã ããã(ãã£ã©ã¯ã¿ã対称ã®å ´åã1ã¤ã®ç®ã®ä½ç½®ã®ãã¼ã¿ãããçæ¹ã®ç®ã«é©ç¨ã§ãã¾ãã) | ||
{| | {| | ||
|Right_upper_def ( | |Right_upper_def (ä¸ã¾ã¶ããåæç¶æ
ããã¬ã¼ã 0) || [[Image:eye_upper_mid.jpg]] | ||
|- | |- | ||
| Right_upper_lo ( | | Right_upper_lo (ä¸ã¾ã¶ããä¸ãã£ãç¶æ
ããã¬ã¼ã 1) || [[Image:eye_upper_lo.jpg]] | ||
|- | |- | ||
|Right_upper_hi ( | |Right_upper_hi (ä¸ã¾ã¶ããä¸ãã£ãç¶æ
ããã¬ã¼ã 2) || [[Image:eye_upper_hi.jpg]] | ||
|- | |- | ||
|Right_lower_def ( | |Right_lower_def (ä¸ã¾ã¶ããåæç¶æ
ããã¬ã¼ã 0) || [[Image:eye_lower_mid.jpg]] | ||
|- | |- | ||
| Right_lower_lo ( | | Right_lower_lo (ä¸ã¾ã¶ããä¸ãã£ãç¶æ
ããã¬ã¼ã 3) || [[Image:eye_lower_lo.jpg]] | ||
|- | |- | ||
|Right_lower_hi ( | |Right_lower_hi (ä¸ã¾ã¶ããä¸ãã£ãç¶æ
ããã¬ã¼ã 4) || [[Image:eye_lower_hi.jpg]] | ||
|- | |- | ||
|Left_upper_def ( | |Left_upper_def (ä¸ã¾ã¶ããåæç¶æ
ããã¬ã¼ã 0) || [[Image:eye_upper_mid.jpg]] | ||
|- | |- | ||
|Left_upper_lo ( | |Left_upper_lo (ä¸ã¾ã¶ããä¸ãã£ãç¶æ
ããã¬ã¼ã 1) || [[Image:eye_upper_lo.jpg]] | ||
|- | |- | ||
|Left_upper_hi ( | |Left_upper_hi (ä¸ã¾ã¶ããä¸ãã£ãç¶æ
ããã¬ã¼ã 2) || [[Image:eye_upper_hi.jpg]] | ||
|- | |- | ||
|Left_lower_def ( | |Left_lower_def (ä¸ã¾ã¶ããåæç¶æ
ããã¬ã¼ã 0) || [[Image:eye_lower_mid.jpg]] | ||
|- | |- | ||
|Left_lower_lo ( | |Left_lower_lo (ä¸ã¾ã¶ããä¸ãã£ãç¶æ
ããã¬ã¼ã 3) || [[Image:eye_lower_lo.jpg]] | ||
|- | |- | ||
|Left_lower_hi ( | |Left_lower_hi (ä¸ã¾ã¶ããä¸ãã£ãç¶æ
ããã¬ã¼ã 4) || [[Image:eye_lower_hi.jpg]] | ||
|} | |} | ||
3. Once you've acquired the position data for the eyeballs and eyelids, as listed above, you'll need to do some simple arithmetic to get the following values: | 3. Once you've acquired the position data for the eyeballs and eyelids, as listed above, you'll need to do some simple arithmetic to get the following values: | ||
ä¸ã®ãªã¹ãã«ãããããªç¼çã¨ã¾ã¶ãã®ãã¼ã¿ãè¨é²ããããç°¡åãªè¨ç®ããã¦ã以ä¸ã®å¤ãæ±ãã¦ãã ãã: | |||
{| | {| | ||
| <code >X_avg_pos</code > || | | <code >X_avg_pos</code > || Righteye_center_Xã¨Lefteye_center_Xã®å¹³å | ||
|- | |- | ||
| <code >Y_avg_pos</code > || | | <code >Y_avg_pos</code > || Righteye_center_Yã¨Lefteye_center_Yã®å¹³å | ||
|- | |- | ||
| <code >Z_avg_pos</code > || | | <code >Z_avg_pos</code > || Righteye_center_Zã¨Lefteye_center_Zã®å¹³å | ||
|- | |- | ||
| <code >R_lid_up_hi</code > || Right_upper_hi - Righteye_center_Y | | <code >R_lid_up_hi</code > || Right_upper_hi - Righteye_center_Y | ||
Line 106: | Line 107: | ||
| <code >L_lid_low_lo</code > || Left_upper_lo - Lefteye_center_Y | | <code >L_lid_low_lo</code > || Left_upper_lo - Lefteye_center_Y | ||
|} | |} | ||
4. | 4. ç®ã®ä½ç½®ã®ãã¼ã¿ã以ä¸ã®æ¸å¼ã«ã¾ã¨ãã¾ã: | ||
<pre> | <pre> | ||
Line 137: | Line 138: | ||
//end eye/face data | //end eye/face data | ||
</pre> | </pre> | ||
''' | '''åèãã¼ã¸''' | ||
* [[.QC_Commands:jp# | * [[.QC_Commands:jp#æ°ãã$modelãªãã·ã§ã³]] - eyeball, eyelidã³ãã³ãã®è©³ç´°ãããã¾ããé»ç®ã®æ¯çãå¤ãããªã©ãã§ãã¾ãã | ||
{{otherlang:jp}} | {{otherlang:jp}} | ||
{{otherlang:jp:en|Eye Position Setup}} | {{otherlang:jp:en|Eye Position Setup}} |
Revision as of 08:32, 17 December 2008
relaceltr å®è¡å½¢å¼ã®ãã£ã©ã¯ã¿ã¼ã¢ãã«ãã³ã³ãã¤ã«ããåã«ãç®ã®ä½ç½®ã®ãã¼ã¿è¨å®ãè¡ãå¿ è¦ãããã¾ããå¾ã§ã¢ãã«ãç·¨éããã¨ãã§ããç®ã®ä½ç½®ãå¤ãããªããã°ãããã®è¨å®ã夿´ããå¿ è¦ã¯ããã¾ããã ããã¯å¥³æ§ã¢ãã«ã®1ã¤ã«ãããç®ã®ãã¼ã¿ã§ã:
//start eye/face data $eyeposition 0 0 70 // head controllers $attachment "eyes" "ValveBiped.Bip01_Head1" 0.002 -3.6165 65.0652 absolute $attachment "mouth" "ValveBiped.Bip01_Head1" 0.10 -5.70 0.00 rotate 0 -80 -90 $attachment "chest" "ValveBiped.Bip01_Spine2" 4.00 4.00 0.00 rotate 0 95 90 $model female_06 "female_06_reference.smd"{ eyeball righteye "ValveBiped.Bip01_Head1" -1.2783 -3.6165 65.0663 "eyeball_r" 1 4 "pupil_r" 0.63 eyeball lefteye "ValveBiped.Bip01_Head1" 1.2823 -3.6165 65.0642 "eyeball_l" 1 -4 "pupil_l" 0.63 eyelid upper_right "female_06_expressions" lowerer 1 -0.2275 neutral 0 0.1475 raiser 2 0.2559 split 0.1 eyeball righteye eyelid lower_right "female_06_expressions" lowerer 3 -0.2879 neutral 0 -0.2046 raiser 4 -0.0462 split 0.1 eyeball righteye eyelid upper_left "female_06_expressions" lowerer 1 -0.2275 neutral 0 0.1475 raiser 2 0.2559 split -0.1 eyeball lefteye eyelid lower_left "female_06_expressions" lowerer 3 -0.2879 neutral 0 -0.2046 raiser 4 -0.0462 split -0.1 eyeball lefteye mouth 0 "mouth" "ValveBiped.Bip01_Head1" 0 1 0 // mouth illumination flexfile "Female_06_expressions" { $include "../../standardflex_xsi.qci" } $include "../../facerules_xsi.qci" $include "../../bodyrules_xsi.qci" } //end eye/face data
QCEyesã¢ãã¬ããã使ã£ã¦ç®ã®ãã¼ã¿ã®åºåãè¡ããã¨ãã以ä¸ã®èª¬æãã¿ã¦èªåã§è¨ç®ãããã¨ãã§ãã¾ãã æ³¨æ: æé ãã¯ãããã¾ãã«ãç®ã®ããã«ç¨æããçä½ãæ£ããä½ç½®ã«ç§»åããã¦å ¨ã¦ã®å¤æãããªã¼ãº(Freeze All Transforms)ãã¦ãã ããã ã¢ãã«ã®ç®ã®ä½ç½®ãã¼ã¿ãå¾ãã«ã¯ã以ä¸ã®ããã«ãã¦ãã ãã: 1. ããããã®ç®ã®ä¸å¿ç¹ã®åº§æ¨ãã®3è»¸å ¨ã¦ã«ã¤ãã¦èª¿ã¹ã¦ãã ããã(ã¾ãç®ã®çä½ã®å ¨ã¦ã®å¤æãããªã¼ãº(Freeze All Transforms)ããã®ãå¿ããªãã§ãã ãã)
Righteye_center_X Righteye_center_Y |
![]() |
Righteye_center_Z | ![]() |
Lefteye_center_X Lefteye_center_Y |
![]() |
Lefteye_center_Z | ![]() |
2. ããããã®ç®ã®ã¾ã¶ãã®åæç¶æ ãä¸ãã£ãç¶æ ãä¸ãã£ãç¶æ ã®ä½ç½®ã®Y座æ¨ã調ã¹ã¦ãã ããã(ãã£ã©ã¯ã¿ã対称ã®å ´åã1ã¤ã®ç®ã®ä½ç½®ã®ãã¼ã¿ãããçæ¹ã®ç®ã«é©ç¨ã§ãã¾ãã)
3. Once you've acquired the position data for the eyeballs and eyelids, as listed above, you'll need to do some simple arithmetic to get the following values: ä¸ã®ãªã¹ãã«ãããããªç¼çã¨ã¾ã¶ãã®ãã¼ã¿ãè¨é²ããããç°¡åãªè¨ç®ããã¦ã以ä¸ã®å¤ãæ±ãã¦ãã ãã:
X_avg_pos |
Righteye_center_Xã¨Lefteye_center_Xã®å¹³å |
Y_avg_pos |
Righteye_center_Yã¨Lefteye_center_Yã®å¹³å |
Z_avg_pos |
Righteye_center_Zã¨Lefteye_center_Zã®å¹³å |
R_lid_up_hi |
Right_upper_hi - Righteye_center_Y |
R_lid_up_def |
Right_upper_def - Righteye_center_Y |
R_lid_up_lo |
Right_upper_lo - Righteye_center_Y |
R_lid_low_hi |
Right_upper_hi - Righteye_center_Y |
R_lid_low_def |
Right_upper_def - Righteye_center_Y |
R_lid_low_lo |
Right_upper_lo - Righteye_center_Y |
L_lid_up_hi |
Left_upper_hi - Lefteye_center_Y |
L_lid_up_def |
Left_upper_def - Lefteye_center_Y |
L_lid_up_lo |
Left_upper_lo - Lefteye_center_Y |
L_lid_low_hi |
Left_upper_hi - Lefteye_center_Y |
L_lid_low_def |
Left_upper_def - Lefteye_center_Y |
L_lid_low_lo |
Left_upper_lo - Lefteye_center_Y |
4. ç®ã®ä½ç½®ã®ãã¼ã¿ã以ä¸ã®æ¸å¼ã«ã¾ã¨ãã¾ã:
//start eye/face data $eyeposition 0 0 70 // head controllers $attachment "eyes" "ValveBiped.Bip01_Head1" X_avg_pos Z_avg_pos Y_avg_pos absolute $attachment "mouth" "ValveBiped.Bip01_Head1" 0.10 -5.70 0.00 rotate 0 -80 -90 $attachment "chest" "ValveBiped.Bip01_Spine2" 4.00 4.00 0.00 rotate 0 95 90 $model female_06 "female_06_reference.smd" { eyeball righteye "ValveBiped.Bip01_Head1" Righteye_center_X Righteye_center_Z Righteye_center_Y "eyeball_r" 1 4 "pupil_r" 0.63 eyeball lefteye "ValveBiped.Bip01_Head1" Lefteye_center_X Lefteye_center_Z Lefteye_center_Y "eyeball_l" 1 -4 "pupil_l" 0.63 eyelid upper_right "female_06_expressions" lowerer 1 R_lid_up_lo neutral 0 R_lid_up_def raiser 2 R_lid_up _hi split 0.1 eyeball righteye eyelid lower_right "female_06_expressions" lowerer 3 R_lid_low_lo neutral 0 R_lid_low_def raiser 4 R_lid_low _hi split 0.1 eyeball righteye eyelid upper_left "female_06_expressions" lowerer 1 L_lid_up_lo neutral 0 L_lid_up_def raiser 2 L_lid_up _hi split -0.1 eyeball lefteye eyelid lower_left "female_06_expressions" lowerer 3 L_lid_low_lo neutral 0 L_lid_low_def raiser 4 L_lid_low split -0.1 eyeball lefteye mouth 0 "mouth" "ValveBiped.Bip01_Head1" 0 1 0 // mouth illumination flexfile "Female_06_expressions" { $include "../../standardflex_xsi.qci" } $include "../../facerules_xsi.qci" $include "../../bodyrules_xsi.qci" } //end eye/face data
åèãã¼ã¸
- .QC_Commands:jp#æ°ãã$modelãªãã·ã§ã³ - eyeball, eyelidã³ãã³ãã®è©³ç´°ãããã¾ããé»ç®ã®æ¯çãå¤ãããªã©ãã§ãã¾ãã