Difference between revisions of "Animation Test"

From Second Life Wiki
Jump to navigation Jump to search
Line 2: Line 2:




[AnimationTest]
== AnimationTest ==


[VERSION] 0.2
* '''VERSION''' 0.2


[LENGTH] 00:60
* '''LENGTH''' 00:60


[TESTERS] 1
* '''TESTERS''' 1


[OVERVIEW] Test uploadable animations, the construction of gestures and the  
* '''OVERVIEW''' Test uploadable animations, the construction of gestures and the  
llGetAnimationList function
llGetAnimationList function


[SETUP] 1 Tester, 10L$ for upload, Poser, and a Poser animation file (.bvh).
* '''SETUP''' 1 Tester, 10L$ for upload, Poser, and a Poser animation file (.bvh).


[*]


[NOTE] Animations
=== Animations ===


[*]


[0010] Verify you can upload .bvh files from Poser 4, 5 or 6ServiceRelease1.
* '''0010''' Verify you can upload .bvh files from Poser 4, 5 or 6ServiceRelease1.


[0020] Preview the animation from different angles.
* '''0020''' Preview the animation from different angles.


[0030] Stop and start the animation preview.
* '''0030''' Stop and start the animation preview.


[0040] Cancel the animation upload.
* '''0040''' Cancel the animation upload.


[0050] Preview an animation where the legs move and change the name and description.
* '''0050''' Preview an animation where the legs move and change the name and description.


[0060] Check the Loop box, and click the play button.
* '''0060''' Check the Loop box, and click the play button.


[0070] Set the priority to 2. Cycle through the preview poses and verify the legs bend in  
* '''0070''' Set the priority to 2. Cycle through the preview poses and verify the legs bend in  
only the stand preview
only the stand preview


[0080] Set the priority to 4. Cycle through the preview poses and verify the legs bend in  
* '''0080''' Set the priority to 4. Cycle through the preview poses and verify the legs bend in  
all the preview poses
all the preview poses


[0090] Set the Loop Start 50% and the End Loop to 80%. The animation will play to the 80%  
* '''0090''' Set the Loop Start 50% and the End Loop to 80%. The animation will play to the 80%  
mark then loop to the 50% mark.
mark then loop to the 50% mark.


[0100] Change the hand pose and expression and verify that your changes appear in the  
* '''0100''' Change the hand pose and expression and verify that your changes appear in the  
preview correctly.
preview correctly.


[0110] Change Ease in to 0 and Ease out to 1. Verify the animation starts quickly, and the  
* '''0110''' Change Ease in to 0 and Ease out to 1. Verify the animation starts quickly, and the  
end blends smoothly to the standing animation.
end blends smoothly to the standing animation.


[0120] Upload the animation. Verify you are charged L$10 for the upload.
* '''0120''' Upload the animation. Verify you are charged L$10 for the upload.


[0130] Open your inventory and verify the folder containing the animation asset is open and the most recently uploaded animation is selected.
* '''0130''' Open your inventory and verify the folder containing the animation asset is open and the most recently uploaded animation is selected.


[0140] Double click the animation from your inventory, click the "Play Locally" button and  
* '''0140''' Double click the animation from your inventory, click the "Play Locally" button and  
watch your avatar animate.
watch your avatar animate.


[*]


[NOTE] Gestures
=== Gestures ===


[*]


[0150] Check your gestures folder and verify that all your old gestures have been turned  
* '''0150''' Check your gestures folder and verify that all your old gestures have been turned  
into gesture assets
into gesture assets


[0160] Open one of the gestures from your inventory by double clicking it
* '''0160''' Open one of the gestures from your inventory by double clicking it


[0170] Change each of the elements of the gesture; the input text, the shortcut key, the  
* '''0170''' Change each of the elements of the gesture; the input text, the shortcut key, the  
sound, the animation, the output text. Save the gesture and trigger it with the input text  
sound, the animation, the output text. Save the gesture and trigger it with the input text  
and the shortcut key.
and the shortcut key.


[0180] Create a New Gesture from the Inventory's Create menu.
* '''0180''' Create a New Gesture from the Inventory's Create menu.


[0190] Verify a new Gesture is created in your inventory and selected.
* '''0190''' Verify a new Gesture is created in your inventory and selected.


[0200] Double click it to open the Gesture Floater. Click the Preview. Your avatar will  
* '''0200''' Double click it to open the Gesture Floater. Click the Preview. Your avatar will  
wave and then say "Hello, avatar!"
wave and then say "Hello, avatar!"


[0210] Rename the Gesture asset to "backflip".
* '''0210''' Rename the Gesture asset to "backflip".


[0220] In the Description field, type "backflip gesture"
* '''0220''' In the Description field, type "backflip gesture"


[0230] Activate the gesture
* '''0230''' Activate the gesture


[0240] Type "yay" In the Trigger field, and "w00t!" in the Replace with field.
* '''0240''' Type "yay" In the Trigger field, and "w00t!" in the Replace with field.


[0250] Set the shortcut key to shift-F6
* '''0250''' Set the shortcut key to shift-F6


[0260] Add a animation by clicking Animation from the left column, and clicking the add  
* '''0260''' Add a animation by clicking Animation from the left column, and clicking the add  
button.
button.


[0270] An animation will be added to the end of the Steps list. Click the "Move Up" button  
* '''0270''' An animation will be added to the end of the Steps list. Click the "Move Up" button  
until the animation is the 2nd step. Change the Animation to one you have just uploaded.
until the animation is the 2nd step. Change the Animation to one you have just uploaded.


[0280] Hit Ctrl-S to save the animation, then click the Preview button to play it.
* '''0280''' Hit Ctrl-S to save the animation, then click the Preview button to play it.


[0290] Delete the Wait step.
* '''0290''' Delete the Wait step.


[0300] Add a new Wait step. and set the wait time to 5.0 seconds.
* '''0300''' Add a new Wait step. and set the wait time to 5.0 seconds.


[0310] Add a new sound, and select a sound from the list.
* '''0310''' Add a new sound, and select a sound from the list.


[0320] Click the save button, click the Active checkbox, and close the gesture floater.
* '''0320''' Click the save button, click the Active checkbox, and close the gesture floater.


[*]


[NOTE] Playing Gestures
=== Playing Gestures ===


[*]


[0330] Activate the Gesture, then chat "animations work, yay"
* '''0330''' Activate the Gesture, then chat "animations work, yay"


[0340] Verify your avatar waves, does a backflip, says "animations work, w00t!", waits for  
* '''0340''' Verify your avatar waves, does a backflip, says "animations work, w00t!", waits for  
5 seconds, says "Hello, avatar!, then plays the sound you chose.
5 seconds, says "Hello, avatar!, then plays the sound you chose.


[0350] Make a new gesture, name it "greet", and set the trigger to "/greet". Save and  
* '''0350''' Make a new gesture, name it "greet", and set the trigger to "/greet". Save and  
activate the gesture.
activate the gesture.


[0360] Hit enter to open the chat bar. Click the Gesture combo box in the chat bar, and  
* '''0360''' Hit enter to open the chat bar. Click the Gesture combo box in the chat bar, and  
choose your "greet" gesture. Verify the gesture plays.
choose your "greet" gesture. Verify the gesture plays.


[0370] Type "/gre" into the chat field and verify that "/greet" is autocompleted. Hit  
* '''0370''' Type "/gre" into the chat field and verify that "/greet" is autocompleted. Hit  
enter and verify the animation plays.
enter and verify the animation plays.


[*]


[NOTE] Active Gestures
=== Active Gestures ===


[*]


[0380] Open the Active Gestures window by selecting gestures from the Edit menu.
* '''0380''' Open the Active Gestures window by selecting gestures from the Edit menu.


[0390] Sort the animations by clicking the buttons at the top of the columns.
* '''0390''' Sort the animations by clicking the buttons at the top of the columns.


[0400] Verify you can Edit a gesture by selecting a gesture and clicking edit.
* '''0400''' Verify you can Edit a gesture by selecting a gesture and clicking edit.


[0410] Verify selecting a gesture and clicking Show Inv will open your inventory and  
* '''0410''' Verify selecting a gesture and clicking Show Inv will open your inventory and  
select the Gesture.
select the Gesture.


[0420] Verify you can play gestures by clicking a gesture then clicking Play.
* '''0420''' Verify you can play gestures by clicking a gesture then clicking Play.


[0430] Verify double clicking a gesture will play the gesture.
* '''0430''' Verify double clicking a gesture will play the gesture.


[*]


[NOTE] Scripted Animations, Verifies llGetAnimationList() works
=== Scripted Animations ===
Verifies llGetAnimationList() works


[*]


[0440] Rez a box then Create and Add the following script to it.
* '''0440''' Rez a box then Create and Add the following script to it.


[SCRIPT] llGetAnimationListScript
** '''SCRIPT''' llGetAnimationListScript


[0450] Copy the UUID from one of you animations by right clicking it in your inventory >  
* '''0450''' Copy the UUID from one of you animations by right clicking it in your inventory >  
Copy Asset UUID
Copy Asset UUID


[0460] Chat the UUID (Ctrl V and Enter in the Chat Bar)
* '''0460''' Chat the UUID (Ctrl V and Enter in the Chat Bar)


[0470] Play the animation and verify that one of the UUID's displayed by the script  
* '''0470''' Play the animation and verify that one of the UUID's displayed by the script  
matches the UUID you chatted.
matches the UUID you chatted.


[*]


[NOTE] Gesture Caching
=== Gesture Caching ===


[*]


[0480] Create two gestures
* '''0480''' Create two gestures


[0490] Make sure one is active and the other is inactive
* '''0490''' Make sure one is active and the other is inactive


[0500] Log out, log in -purge (add -purge to the Target field of the SL shortcut)
* '''0500''' Log out, log in -purge (add -purge to the Target field of the SL shortcut)


[0510] Make sure they are still active and inactive
* '''0510''' Make sure they are still active and inactive


[0520] Make sure they both still play
* '''0520''' Make sure they both still play


[0530] Deactivate one and activate the other
* '''0530''' Deactivate one and activate the other


[0540] Log out, log in -purge
* '''0540''' Log out, log in -purge


[0550] Make sure they are inactive and active.
* '''0550''' Make sure they are inactive and active.


[0560] Make sure they both play
* '''0560''' Make sure they both play


[END]


 
== llGetAnimationListScript ==
[llGetAnimationListScript]


<pre>
<pre>

Revision as of 11:09, 14 August 2008


AnimationTest

  • VERSION 0.2
  • LENGTH 00:60
  • TESTERS 1
  • OVERVIEW Test uploadable animations, the construction of gestures and the

llGetAnimationList function

  • SETUP 1 Tester, 10L$ for upload, Poser, and a Poser animation file (.bvh).


Animations

  • 0010 Verify you can upload .bvh files from Poser 4, 5 or 6ServiceRelease1.
  • 0020 Preview the animation from different angles.
  • 0030 Stop and start the animation preview.
  • 0040 Cancel the animation upload.
  • 0050 Preview an animation where the legs move and change the name and description.
  • 0060 Check the Loop box, and click the play button.
  • 0070 Set the priority to 2. Cycle through the preview poses and verify the legs bend in

only the stand preview

  • 0080 Set the priority to 4. Cycle through the preview poses and verify the legs bend in

all the preview poses

  • 0090 Set the Loop Start 50% and the End Loop to 80%. The animation will play to the 80%

mark then loop to the 50% mark.

  • 0100 Change the hand pose and expression and verify that your changes appear in the

preview correctly.

  • 0110 Change Ease in to 0 and Ease out to 1. Verify the animation starts quickly, and the

end blends smoothly to the standing animation.

  • 0120 Upload the animation. Verify you are charged L$10 for the upload.
  • 0130 Open your inventory and verify the folder containing the animation asset is open and the most recently uploaded animation is selected.
  • 0140 Double click the animation from your inventory, click the "Play Locally" button and

watch your avatar animate.


Gestures

  • 0150 Check your gestures folder and verify that all your old gestures have been turned

into gesture assets

  • 0160 Open one of the gestures from your inventory by double clicking it
  • 0170 Change each of the elements of the gesture; the input text, the shortcut key, the

sound, the animation, the output text. Save the gesture and trigger it with the input text and the shortcut key.

  • 0180 Create a New Gesture from the Inventory's Create menu.
  • 0190 Verify a new Gesture is created in your inventory and selected.
  • 0200 Double click it to open the Gesture Floater. Click the Preview. Your avatar will

wave and then say "Hello, avatar!"

  • 0210 Rename the Gesture asset to "backflip".
  • 0220 In the Description field, type "backflip gesture"
  • 0230 Activate the gesture
  • 0240 Type "yay" In the Trigger field, and "w00t!" in the Replace with field.
  • 0250 Set the shortcut key to shift-F6
  • 0260 Add a animation by clicking Animation from the left column, and clicking the add

button.

  • 0270 An animation will be added to the end of the Steps list. Click the "Move Up" button

until the animation is the 2nd step. Change the Animation to one you have just uploaded.

  • 0280 Hit Ctrl-S to save the animation, then click the Preview button to play it.
  • 0290 Delete the Wait step.
  • 0300 Add a new Wait step. and set the wait time to 5.0 seconds.
  • 0310 Add a new sound, and select a sound from the list.
  • 0320 Click the save button, click the Active checkbox, and close the gesture floater.


Playing Gestures

  • 0330 Activate the Gesture, then chat "animations work, yay"
  • 0340 Verify your avatar waves, does a backflip, says "animations work, w00t!", waits for

5 seconds, says "Hello, avatar!, then plays the sound you chose.

  • 0350 Make a new gesture, name it "greet", and set the trigger to "/greet". Save and

activate the gesture.

  • 0360 Hit enter to open the chat bar. Click the Gesture combo box in the chat bar, and

choose your "greet" gesture. Verify the gesture plays.

  • 0370 Type "/gre" into the chat field and verify that "/greet" is autocompleted. Hit

enter and verify the animation plays.


Active Gestures

  • 0380 Open the Active Gestures window by selecting gestures from the Edit menu.
  • 0390 Sort the animations by clicking the buttons at the top of the columns.
  • 0400 Verify you can Edit a gesture by selecting a gesture and clicking edit.
  • 0410 Verify selecting a gesture and clicking Show Inv will open your inventory and

select the Gesture.

  • 0420 Verify you can play gestures by clicking a gesture then clicking Play.
  • 0430 Verify double clicking a gesture will play the gesture.


Scripted Animations

Verifies llGetAnimationList() works


  • 0440 Rez a box then Create and Add the following script to it.
    • SCRIPT llGetAnimationListScript
  • 0450 Copy the UUID from one of you animations by right clicking it in your inventory >

Copy Asset UUID

  • 0460 Chat the UUID (Ctrl V and Enter in the Chat Bar)
  • 0470 Play the animation and verify that one of the UUID's displayed by the script

matches the UUID you chatted.


Gesture Caching

  • 0480 Create two gestures
  • 0490 Make sure one is active and the other is inactive
  • 0500 Log out, log in -purge (add -purge to the Target field of the SL shortcut)
  • 0510 Make sure they are still active and inactive
  • 0520 Make sure they both still play
  • 0530 Deactivate one and activate the other
  • 0540 Log out, log in -purge
  • 0550 Make sure they are inactive and active.
  • 0560 Make sure they both play


llGetAnimationListScript

default
{
    state_entry()
    {
        llSetTimerEvent(0.5);
    }

    timer()
    {
        llSetText((string)llList2CSV(llGetAnimationList(llGetOwner())), <1,1,1>,1);
    } 
}