Host avatars remotely

This commit is contained in:
Zach Fox 2019-10-08 17:39:57 -04:00
parent 17478af32d
commit 5871e6b83a
13 changed files with 1 additions and 529 deletions

View file

@ -121,7 +121,7 @@ Rectangle {
var alreadyAutoSelectedAvatarFromInventory = Settings.getValue("simplifiedUI/alreadyAutoSelectedAvatarFromInventory", false);
var userHasValidAvatarInInventory = topBarInventoryModel.count > 0 &&
topBarInventoryModel.get(0).download_url.indexOf(".fst") > -1;
var simplifiedAvatarPrefix = resourceDirectoryUrl + "qml/hifi/simplifiedUI/topBar/avatars/simplifiedAvatar_";
var simplifiedAvatarPrefix = "https://content.highfidelity.com/Experiences/Releases/simplifiedUI/simplifiedFTUE/avatars/simplifiedAvatar_";
var simplifiedAvatarColors = ["Blue", "Cyan", "Green", "Magenta", "Red", "Yellow"];
var simplifiedAvatarSuffix = "/avatar.fst";

View file

@ -1,88 +0,0 @@
name = Default-Color-DBlue
scale = 1
filename = default-DBlue.fbx
marketplaceID = {00000000-0000-0000-0000-000000000000}
texdir = textures
joint = jointRoot = Hips
joint = jointRightHand = RightHand
joint = jointEyeRight = RightEye
joint = jointLean = Spine
joint = jointNeck = Neck
joint = jointEyeLeft = LeftEye
joint = jointLeftHand = LeftHand
joint = jointHead = Head
bs = BrowsU_L = browUp = 1
bs = BrowsU_C = browUp = 1
bs = JawOpen = aA = 1
bs = LipsFunnel = oO = 1
bs = EyeBlink_R = blink = 1
bs = MouthSmile_R = mM = 1
jointIndex = LeftHandPinky1 = 20
jointIndex = RightHandMiddle3 = 54
jointIndex = RightFoot = 5
jointIndex = LeftToeBase = 11
jointIndex = RightHandMiddle1 = 52
jointIndex = RightToeBase = 6
jointIndex = HeadShape1 = 1
jointIndex = RightHandThumb1 = 60
jointIndex = LeftHand = 19
jointIndex = Head = 65
jointIndex = LeftArm = 17
jointIndex = RightHandThumb2 = 61
jointIndex = RightUpLeg = 3
jointIndex = RightHandIndex1 = 56
jointIndex = LeftToe_End = 12
jointIndex = HeadTop_End = 68
jointIndex = LeftHandThumb1 = 36
jointIndex = LeftHandIndex4 = 35
jointIndex = LeftHandRing3 = 26
jointIndex = RightHandPinky2 = 45
jointIndex = RightToe_End = 7
jointIndex = Face1 = 0
jointIndex = RightHandIndex3 = 58
jointIndex = LeftHandThumb2 = 37
jointIndex = LeftHandPinky2 = 21
jointIndex = RightHandRing3 = 50
jointIndex = LeftHandMiddle1 = 28
jointIndex = LeftHandPinky4 = 23
jointIndex = LeftLeg = 9
jointIndex = RightHandPinky3 = 46
jointIndex = Spine = 13
jointIndex = RightHandRing4 = 51
jointIndex = LeftHandMiddle3 = 30
jointIndex = RightEye = 66
jointIndex = Neck = 64
jointIndex = RightHandIndex4 = 59
jointIndex = LeftHandRing1 = 24
jointIndex = LeftHandThumb3 = 38
jointIndex = RightHandThumb3 = 62
jointIndex = LeftHandIndex3 = 34
jointIndex = RightHand = 43
jointIndex = RightHandRing2 = 49
jointIndex = LeftShoulder = 16
jointIndex = LeftHandPinky3 = 22
jointIndex = eftHandThumb4 = 39
jointIndex = LeftHandRing2 = 25
jointIndex = RightForeArm = 42
jointIndex = RightLeg = 4
jointIndex = Spine1 = 14
jointIndex = LeftHandRing4 = 27
jointIndex = RightHandThumb4 = 63
jointIndex = RightHandMiddle2 = 53
jointIndex = RightHandRing1 = 48
jointIndex = LeftHandMiddle4 = 31
jointIndex = RightHandMiddle4 = 55
jointIndex = Hips = 2
jointIndex = RightHandPinky1 = 44
jointIndex = RightShoulder = 40
jointIndex = LeftHandIndex2 = 33
jointIndex = RightHandIndex2 = 57
jointIndex = LeftHandIndex1 = 32
jointIndex = LeftForeArm = 18
jointIndex = RightArm = 41
jointIndex = Spine2 = 15
jointIndex = LeftHandMiddle2 = 29
jointIndex = LeftEye = 67
jointIndex = RightHandPinky4 = 47
jointIndex = LeftUpLeg = 8
jointIndex = LeftFoot = 10

View file

@ -1,88 +0,0 @@
name = Default-Color-LBlue
scale = 1
filename = default-LBlue.fbx
marketplaceID = {00000000-0000-0000-0000-000000000000}
texdir = textures
joint = jointRoot = Hips
joint = jointRightHand = RightHand
joint = jointEyeRight = RightEye
joint = jointLean = Spine
joint = jointNeck = Neck
joint = jointEyeLeft = LeftEye
joint = jointLeftHand = LeftHand
joint = jointHead = Head
bs = BrowsU_L = browUp = 1
bs = BrowsU_C = browUp = 1
bs = JawOpen = aA = 1
bs = LipsFunnel = oO = 1
bs = EyeBlink_R = blink = 1
bs = MouthSmile_R = mM = 1
jointIndex = LeftHandPinky1 = 20
jointIndex = RightHandMiddle3 = 54
jointIndex = RightFoot = 5
jointIndex = LeftToeBase = 11
jointIndex = RightHandMiddle1 = 52
jointIndex = RightToeBase = 6
jointIndex = HeadShape1 = 1
jointIndex = RightHandThumb1 = 60
jointIndex = LeftHand = 19
jointIndex = Head = 65
jointIndex = LeftArm = 17
jointIndex = RightHandThumb2 = 61
jointIndex = RightUpLeg = 3
jointIndex = RightHandIndex1 = 56
jointIndex = LeftToe_End = 12
jointIndex = HeadTop_End = 68
jointIndex = LeftHandThumb1 = 36
jointIndex = LeftHandIndex4 = 35
jointIndex = LeftHandRing3 = 26
jointIndex = RightHandPinky2 = 45
jointIndex = RightToe_End = 7
jointIndex = Face1 = 0
jointIndex = RightHandIndex3 = 58
jointIndex = LeftHandThumb2 = 37
jointIndex = LeftHandPinky2 = 21
jointIndex = RightHandRing3 = 50
jointIndex = LeftHandMiddle1 = 28
jointIndex = LeftHandPinky4 = 23
jointIndex = LeftLeg = 9
jointIndex = RightHandPinky3 = 46
jointIndex = Spine = 13
jointIndex = RightHandRing4 = 51
jointIndex = LeftHandMiddle3 = 30
jointIndex = RightEye = 66
jointIndex = Neck = 64
jointIndex = RightHandIndex4 = 59
jointIndex = LeftHandRing1 = 24
jointIndex = LeftHandThumb3 = 38
jointIndex = RightHandThumb3 = 62
jointIndex = LeftHandIndex3 = 34
jointIndex = RightHand = 43
jointIndex = RightHandRing2 = 49
jointIndex = LeftShoulder = 16
jointIndex = LeftHandPinky3 = 22
jointIndex = eftHandThumb4 = 39
jointIndex = LeftHandRing2 = 25
jointIndex = RightForeArm = 42
jointIndex = RightLeg = 4
jointIndex = Spine1 = 14
jointIndex = LeftHandRing4 = 27
jointIndex = RightHandThumb4 = 63
jointIndex = RightHandMiddle2 = 53
jointIndex = RightHandRing1 = 48
jointIndex = LeftHandMiddle4 = 31
jointIndex = RightHandMiddle4 = 55
jointIndex = Hips = 2
jointIndex = RightHandPinky1 = 44
jointIndex = RightShoulder = 40
jointIndex = LeftHandIndex2 = 33
jointIndex = RightHandIndex2 = 57
jointIndex = LeftHandIndex1 = 32
jointIndex = LeftForeArm = 18
jointIndex = RightArm = 41
jointIndex = Spine2 = 15
jointIndex = LeftHandMiddle2 = 29
jointIndex = LeftEye = 67
jointIndex = RightHandPinky4 = 47
jointIndex = LeftUpLeg = 8
jointIndex = LeftFoot = 10

View file

@ -1,88 +0,0 @@
name = Default-Color-Green
scale = 1
filename = default-Green.fbx
marketplaceID = {00000000-0000-0000-0000-000000000000}
texdir = textures
joint = jointRoot = Hips
joint = jointRightHand = RightHand
joint = jointEyeRight = RightEye
joint = jointLean = Spine
joint = jointNeck = Neck
joint = jointEyeLeft = LeftEye
joint = jointLeftHand = LeftHand
joint = jointHead = Head
bs = BrowsU_L = browUp = 1
bs = BrowsU_C = browUp = 1
bs = JawOpen = aA = 1
bs = LipsFunnel = oO = 1
bs = EyeBlink_R = blink = 1
bs = MouthSmile_R = mM = 1
jointIndex = LeftHandPinky1 = 20
jointIndex = RightHandMiddle3 = 54
jointIndex = RightFoot = 5
jointIndex = LeftToeBase = 11
jointIndex = RightHandMiddle1 = 52
jointIndex = RightToeBase = 6
jointIndex = HeadShape1 = 1
jointIndex = RightHandThumb1 = 60
jointIndex = LeftHand = 19
jointIndex = Head = 65
jointIndex = LeftArm = 17
jointIndex = RightHandThumb2 = 61
jointIndex = RightUpLeg = 3
jointIndex = RightHandIndex1 = 56
jointIndex = LeftToe_End = 12
jointIndex = HeadTop_End = 68
jointIndex = LeftHandThumb1 = 36
jointIndex = LeftHandIndex4 = 35
jointIndex = LeftHandRing3 = 26
jointIndex = RightHandPinky2 = 45
jointIndex = RightToe_End = 7
jointIndex = Face1 = 0
jointIndex = RightHandIndex3 = 58
jointIndex = LeftHandThumb2 = 37
jointIndex = LeftHandPinky2 = 21
jointIndex = RightHandRing3 = 50
jointIndex = LeftHandMiddle1 = 28
jointIndex = LeftHandPinky4 = 23
jointIndex = LeftLeg = 9
jointIndex = RightHandPinky3 = 46
jointIndex = Spine = 13
jointIndex = RightHandRing4 = 51
jointIndex = LeftHandMiddle3 = 30
jointIndex = RightEye = 66
jointIndex = Neck = 64
jointIndex = RightHandIndex4 = 59
jointIndex = LeftHandRing1 = 24
jointIndex = LeftHandThumb3 = 38
jointIndex = RightHandThumb3 = 62
jointIndex = LeftHandIndex3 = 34
jointIndex = RightHand = 43
jointIndex = RightHandRing2 = 49
jointIndex = LeftShoulder = 16
jointIndex = LeftHandPinky3 = 22
jointIndex = eftHandThumb4 = 39
jointIndex = LeftHandRing2 = 25
jointIndex = RightForeArm = 42
jointIndex = RightLeg = 4
jointIndex = Spine1 = 14
jointIndex = LeftHandRing4 = 27
jointIndex = RightHandThumb4 = 63
jointIndex = RightHandMiddle2 = 53
jointIndex = RightHandRing1 = 48
jointIndex = LeftHandMiddle4 = 31
jointIndex = RightHandMiddle4 = 55
jointIndex = Hips = 2
jointIndex = RightHandPinky1 = 44
jointIndex = RightShoulder = 40
jointIndex = LeftHandIndex2 = 33
jointIndex = RightHandIndex2 = 57
jointIndex = LeftHandIndex1 = 32
jointIndex = LeftForeArm = 18
jointIndex = RightArm = 41
jointIndex = Spine2 = 15
jointIndex = LeftHandMiddle2 = 29
jointIndex = LeftEye = 67
jointIndex = RightHandPinky4 = 47
jointIndex = LeftUpLeg = 8
jointIndex = LeftFoot = 10

View file

@ -1,88 +0,0 @@
name = Default-Color-Pink
scale = 1
filename = default-Pink.fbx
marketplaceID = {00000000-0000-0000-0000-000000000000}
texdir = textures
joint = jointRoot = Hips
joint = jointRightHand = RightHand
joint = jointEyeRight = RightEye
joint = jointLean = Spine
joint = jointNeck = Neck
joint = jointEyeLeft = LeftEye
joint = jointLeftHand = LeftHand
joint = jointHead = Head
bs = BrowsU_L = browUp = 1
bs = BrowsU_C = browUp = 1
bs = JawOpen = aA = 1
bs = LipsFunnel = oO = 1
bs = EyeBlink_R = blink = 1
bs = MouthSmile_R = mM = 1
jointIndex = LeftHandPinky1 = 20
jointIndex = RightHandMiddle3 = 54
jointIndex = RightFoot = 5
jointIndex = LeftToeBase = 11
jointIndex = RightHandMiddle1 = 52
jointIndex = RightToeBase = 6
jointIndex = HeadShape1 = 1
jointIndex = RightHandThumb1 = 60
jointIndex = LeftHand = 19
jointIndex = Head = 65
jointIndex = LeftArm = 17
jointIndex = RightHandThumb2 = 61
jointIndex = RightUpLeg = 3
jointIndex = RightHandIndex1 = 56
jointIndex = LeftToe_End = 12
jointIndex = HeadTop_End = 68
jointIndex = LeftHandThumb1 = 36
jointIndex = LeftHandIndex4 = 35
jointIndex = LeftHandRing3 = 26
jointIndex = RightHandPinky2 = 45
jointIndex = RightToe_End = 7
jointIndex = Face1 = 0
jointIndex = RightHandIndex3 = 58
jointIndex = LeftHandThumb2 = 37
jointIndex = LeftHandPinky2 = 21
jointIndex = RightHandRing3 = 50
jointIndex = LeftHandMiddle1 = 28
jointIndex = LeftHandPinky4 = 23
jointIndex = LeftLeg = 9
jointIndex = RightHandPinky3 = 46
jointIndex = Spine = 13
jointIndex = RightHandRing4 = 51
jointIndex = LeftHandMiddle3 = 30
jointIndex = RightEye = 66
jointIndex = Neck = 64
jointIndex = RightHandIndex4 = 59
jointIndex = LeftHandRing1 = 24
jointIndex = LeftHandThumb3 = 38
jointIndex = RightHandThumb3 = 62
jointIndex = LeftHandIndex3 = 34
jointIndex = RightHand = 43
jointIndex = RightHandRing2 = 49
jointIndex = LeftShoulder = 16
jointIndex = LeftHandPinky3 = 22
jointIndex = eftHandThumb4 = 39
jointIndex = LeftHandRing2 = 25
jointIndex = RightForeArm = 42
jointIndex = RightLeg = 4
jointIndex = Spine1 = 14
jointIndex = LeftHandRing4 = 27
jointIndex = RightHandThumb4 = 63
jointIndex = RightHandMiddle2 = 53
jointIndex = RightHandRing1 = 48
jointIndex = LeftHandMiddle4 = 31
jointIndex = RightHandMiddle4 = 55
jointIndex = Hips = 2
jointIndex = RightHandPinky1 = 44
jointIndex = RightShoulder = 40
jointIndex = LeftHandIndex2 = 33
jointIndex = RightHandIndex2 = 57
jointIndex = LeftHandIndex1 = 32
jointIndex = LeftForeArm = 18
jointIndex = RightArm = 41
jointIndex = Spine2 = 15
jointIndex = LeftHandMiddle2 = 29
jointIndex = LeftEye = 67
jointIndex = RightHandPinky4 = 47
jointIndex = LeftUpLeg = 8
jointIndex = LeftFoot = 10

View file

@ -1,88 +0,0 @@
name = Default-Color-Red
scale = 1
filename = default-Red.fbx
marketplaceID = {00000000-0000-0000-0000-000000000000}
texdir = textures
joint = jointRoot = Hips
joint = jointRightHand = RightHand
joint = jointEyeRight = RightEye
joint = jointLean = Spine
joint = jointNeck = Neck
joint = jointEyeLeft = LeftEye
joint = jointLeftHand = LeftHand
joint = jointHead = Head
bs = BrowsU_L = browUp = 1
bs = BrowsU_C = browUp = 1
bs = JawOpen = aA = 1
bs = LipsFunnel = oO = 1
bs = EyeBlink_R = blink = 1
bs = MouthSmile_R = mM = 1
jointIndex = LeftHandPinky1 = 20
jointIndex = RightHandMiddle3 = 54
jointIndex = RightFoot = 5
jointIndex = LeftToeBase = 11
jointIndex = RightHandMiddle1 = 52
jointIndex = RightToeBase = 6
jointIndex = HeadShape1 = 1
jointIndex = RightHandThumb1 = 60
jointIndex = LeftHand = 19
jointIndex = Head = 65
jointIndex = LeftArm = 17
jointIndex = RightHandThumb2 = 61
jointIndex = RightUpLeg = 3
jointIndex = RightHandIndex1 = 56
jointIndex = LeftToe_End = 12
jointIndex = HeadTop_End = 68
jointIndex = LeftHandThumb1 = 36
jointIndex = LeftHandIndex4 = 35
jointIndex = LeftHandRing3 = 26
jointIndex = RightHandPinky2 = 45
jointIndex = RightToe_End = 7
jointIndex = Face1 = 0
jointIndex = RightHandIndex3 = 58
jointIndex = LeftHandThumb2 = 37
jointIndex = LeftHandPinky2 = 21
jointIndex = RightHandRing3 = 50
jointIndex = LeftHandMiddle1 = 28
jointIndex = LeftHandPinky4 = 23
jointIndex = LeftLeg = 9
jointIndex = RightHandPinky3 = 46
jointIndex = Spine = 13
jointIndex = RightHandRing4 = 51
jointIndex = LeftHandMiddle3 = 30
jointIndex = RightEye = 66
jointIndex = Neck = 64
jointIndex = RightHandIndex4 = 59
jointIndex = LeftHandRing1 = 24
jointIndex = LeftHandThumb3 = 38
jointIndex = RightHandThumb3 = 62
jointIndex = LeftHandIndex3 = 34
jointIndex = RightHand = 43
jointIndex = RightHandRing2 = 49
jointIndex = LeftShoulder = 16
jointIndex = LeftHandPinky3 = 22
jointIndex = eftHandThumb4 = 39
jointIndex = LeftHandRing2 = 25
jointIndex = RightForeArm = 42
jointIndex = RightLeg = 4
jointIndex = Spine1 = 14
jointIndex = LeftHandRing4 = 27
jointIndex = RightHandThumb4 = 63
jointIndex = RightHandMiddle2 = 53
jointIndex = RightHandRing1 = 48
jointIndex = LeftHandMiddle4 = 31
jointIndex = RightHandMiddle4 = 55
jointIndex = Hips = 2
jointIndex = RightHandPinky1 = 44
jointIndex = RightShoulder = 40
jointIndex = LeftHandIndex2 = 33
jointIndex = RightHandIndex2 = 57
jointIndex = LeftHandIndex1 = 32
jointIndex = LeftForeArm = 18
jointIndex = RightArm = 41
jointIndex = Spine2 = 15
jointIndex = LeftHandMiddle2 = 29
jointIndex = LeftEye = 67
jointIndex = RightHandPinky4 = 47
jointIndex = LeftUpLeg = 8
jointIndex = LeftFoot = 10

View file

@ -1,88 +0,0 @@
name = Default-Color-Yellow
scale = 1
filename = default-Yellow.fbx
marketplaceID = {00000000-0000-0000-0000-000000000000}
texdir = textures
joint = jointRoot = Hips
joint = jointRightHand = RightHand
joint = jointEyeRight = RightEye
joint = jointLean = Spine
joint = jointNeck = Neck
joint = jointEyeLeft = LeftEye
joint = jointLeftHand = LeftHand
joint = jointHead = Head
bs = BrowsU_L = browUp = 1
bs = BrowsU_C = browUp = 1
bs = JawOpen = aA = 1
bs = LipsFunnel = oO = 1
bs = EyeBlink_R = blink = 1
bs = MouthSmile_R = mM = 1
jointIndex = LeftHandPinky1 = 20
jointIndex = RightHandMiddle3 = 54
jointIndex = RightFoot = 5
jointIndex = LeftToeBase = 11
jointIndex = RightHandMiddle1 = 52
jointIndex = RightToeBase = 6
jointIndex = HeadShape1 = 1
jointIndex = RightHandThumb1 = 60
jointIndex = LeftHand = 19
jointIndex = Head = 65
jointIndex = LeftArm = 17
jointIndex = RightHandThumb2 = 61
jointIndex = RightUpLeg = 3
jointIndex = RightHandIndex1 = 56
jointIndex = LeftToe_End = 12
jointIndex = HeadTop_End = 68
jointIndex = LeftHandThumb1 = 36
jointIndex = LeftHandIndex4 = 35
jointIndex = LeftHandRing3 = 26
jointIndex = RightHandPinky2 = 45
jointIndex = RightToe_End = 7
jointIndex = Face1 = 0
jointIndex = RightHandIndex3 = 58
jointIndex = LeftHandThumb2 = 37
jointIndex = LeftHandPinky2 = 21
jointIndex = RightHandRing3 = 50
jointIndex = LeftHandMiddle1 = 28
jointIndex = LeftHandPinky4 = 23
jointIndex = LeftLeg = 9
jointIndex = RightHandPinky3 = 46
jointIndex = Spine = 13
jointIndex = RightHandRing4 = 51
jointIndex = LeftHandMiddle3 = 30
jointIndex = RightEye = 66
jointIndex = Neck = 64
jointIndex = RightHandIndex4 = 59
jointIndex = LeftHandRing1 = 24
jointIndex = LeftHandThumb3 = 38
jointIndex = RightHandThumb3 = 62
jointIndex = LeftHandIndex3 = 34
jointIndex = RightHand = 43
jointIndex = RightHandRing2 = 49
jointIndex = LeftShoulder = 16
jointIndex = LeftHandPinky3 = 22
jointIndex = eftHandThumb4 = 39
jointIndex = LeftHandRing2 = 25
jointIndex = RightForeArm = 42
jointIndex = RightLeg = 4
jointIndex = Spine1 = 14
jointIndex = LeftHandRing4 = 27
jointIndex = RightHandThumb4 = 63
jointIndex = RightHandMiddle2 = 53
jointIndex = RightHandRing1 = 48
jointIndex = LeftHandMiddle4 = 31
jointIndex = RightHandMiddle4 = 55
jointIndex = Hips = 2
jointIndex = RightHandPinky1 = 44
jointIndex = RightShoulder = 40
jointIndex = LeftHandIndex2 = 33
jointIndex = RightHandIndex2 = 57
jointIndex = LeftHandIndex1 = 32
jointIndex = LeftForeArm = 18
jointIndex = RightArm = 41
jointIndex = Spine2 = 15
jointIndex = LeftHandMiddle2 = 29
jointIndex = LeftEye = 67
jointIndex = RightHandPinky4 = 47
jointIndex = LeftUpLeg = 8
jointIndex = LeftFoot = 10