[sldev] VWR-10311 Enabling lip sync by default
Tigro Spottystripes
tigrospottystripes at gmail.com
Wed May 6 12:10:55 PDT 2009
Dale Mahalko escreveu:
> While this is called lip sync, apparently it is really just "jaw-sync".
>
> What happens for the non-human avatars? It doesn't seem to make much
> sense for a cyborg to waggle its jaw... if it has one. Maybe have a
> pulsating-glow prim on its torso instead. And what about a jellyfish
> avatar? Might want to waggle some pairs of flexy flagellum around its
> umbrella.
>
>
> This setting doesn't really belong in the client prefs at all. It
> should be avatar-specific and so should end up in the avatar
> Appearance settings for each avatar to decide for itself whether or
> not to use, as well as how to use it or what prims to
> parameter-animate with it.
>
> Appearance....
> [ x ] Enable voice lipsync effect:
> ( . ) Sync avatar jaw to voice
> . . . . Maximum mouth-open scaling: [ 2.000 ]
> . . . . [ x ] Sync attachments to jaw
> ( . ) Sync LSL-enabled prim attachments to voice
>
>
> In enabled attachment:
>
> default
> {
> attach( key id )
> {
> // Enable attachment to receive lipsync scaling
> float MinScale = 0.0;
> float MaxScale = 1.0;
> float Linearity = 1.0;
> llLipSyncPrimParams( llGetKey(), FLEXY_TENSION, MinScale,
> MaxScale, Linearity );
> }
> }
> Constants for setting prim parameters to be lipsynced.
>
> - SIZE_X, SIZE_Y, SIZE_Z, SIZE_ALL
> - SCALE_X, SCALE_Y, SCALE_Z, SCALE_ALL
> - COLOR_R, COLOR_B, COLOR_G, COLOR_ALL
> - TRANSPARENCY
> - GLOW
> - TWIST_BEGIN, TWIST_END
> - DIMPLE_BEGIN, DIMPLE_END
> - CUT_BEGIN, CUT_END
> - SKEW
> - TEXTURE_SCALE_X, TEXTURE_SCALE_Y
> - TEXTURE_ROTATION
> - FLEXY_TENSION
> - FLEXY_GRAVITY
> (etc)
>
> All constants include the MinScale, MaxScale, and Linearity scaling
> parameters, and params need to be sane for the particular prim
> parameter being animated.
>
> Prim voice-animation modifications would be client-side only and would
> not affect prim parameters on the server side.
>
>
> - Dale Mahalko / Scalar Tardis
>
I would vote for that :)
More information about the SLDev
mailing list