Skip to content

Commit

Permalink
Update how avatars are handled.
Browse files Browse the repository at this point in the history
  • Loading branch information
digisomni committed Sep 30, 2024
1 parent f5c0a97 commit 5bd5d5d
Show file tree
Hide file tree
Showing 5 changed files with 667 additions and 621 deletions.
213 changes: 213 additions & 0 deletions quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,219 @@ module.exports = configure(function (ctx) {
process.env.VRCA_WIZARD_BUTTON_TEXT ?? "Get Started",
// Desktop App
VRCA_DESKTOP_MODE: process.env.VRCA_DESKTOP_MODE,
// Profile
// Profile
VRCA_DEFAULT_AVATAR_DISPLAY_NAME:
process.env.VRCA_DEFAULT_AVATAR_DISPLAY_NAME ?? "anonymous",
VRCA_DEFAULT_AVATARS:
process.env.VRCA_DEFAULT_AVATARS ??
JSON.stringify({
HTP45FSQ: {
name: "Sara",
image: "https://staging.vircadia.com/O12OR634/UA92/sara-cropped-small.webp",
file: "https://staging.vircadia.com/O12OR634/UA92/sara.glb",
scale: 1,
starred: true,
},
KLM23NOP: {
name: "Mark",
image: "/assets/models/avatars/Mark-small.webp",
file: "/assets/models/avatars/Mark.glb",
scale: 1,
starred: false,
},
QRS78TUV: {
name: "Megan",
image: "/assets/models/avatars/Megan-small.webp",
file: "/assets/models/avatars/Megan.glb",
scale: 1,
starred: false,
},
WXY12ZAB: {
name: "Jack",
image: "/assets/models/avatars/Jack-small.webp",
file: "/assets/models/avatars/Jack.glb",
scale: 1,
starred: false,
},
CDE56FGH: {
name: "Martha",
image: "/assets/models/avatars/Martha-small.webp",
file: "/assets/models/avatars/Martha.glb",
scale: 1,
starred: false,
},
IJK90LMN: {
name: "Miles",
image: "/assets/models/avatars/Miles-small.webp",
file: "/assets/models/avatars/Miles.glb",
scale: 1,
starred: false,
},
OPQ34RST: {
name: "Taylor",
image: "/assets/models/avatars/Taylor-small.webp",
file: "/assets/models/avatars/Taylor.glb",
scale: 1,
starred: false,
},
UVW78XYZ: {
name: "Tiffany",
image: "/assets/models/avatars/Tiffany-small.webp",
file: "/assets/models/avatars/Tiffany.glb",
scale: 1,
starred: false,
},
ABC12DEF: {
name: "Victor",
image: "/assets/models/avatars/Victor-small.webp",
file: "/assets/models/avatars/Victor.glb",
scale: 1,
starred: false,
},
GHI56JKL: {
name: "Audrey",
image: "/assets/models/avatars/Audrey-small.webp",
file: "/assets/models/avatars/Audrey.glb",
scale: 1,
starred: false,
},
MNO90PQR: {
name: "Kristine",
image: "/assets/models/avatars/Kristine-small.webp",
file: "/assets/models/avatars/Kristine.glb",
scale: 1,
starred: false,
},
STU34VWX: {
name: "William",
image: "/assets/models/avatars/William-small.webp",
file: "/assets/models/avatars/William.glb",
scale: 1,
starred: false,
},
YZA78BCD: {
name: "Erica",
image: "/assets/models/avatars/Erica-small.webp",
file: "/assets/models/avatars/Erica.glb",
scale: 1,
starred: false,
},
EFG12HIJ: {
name: "Samantha",
image: "/assets/models/avatars/Samantha-small.webp",
file: "/assets/models/avatars/Samantha.glb",
scale: 1,
starred: false,
},
KLM56NOP: {
name: "Roman",
image: "/assets/models/avatars/Roman-small.webp",
file: "/assets/models/avatars/Roman.glb",
scale: 1,
starred: false,
},
QRS90TUV: {
name: "Cathy",
image: "/assets/models/avatars/Cathy-small.webp",
file: "/assets/models/avatars/Cathy.glb",
scale: 1,
starred: false,
},
WXY34ZAB: {
name: "Lucas",
image: "/assets/models/avatars/Lucas-small.webp",
file: "/assets/models/avatars/Lucas.glb",
scale: 1,
starred: false,
},
CDE78FGH: {
name: "Michaella",
image: "/assets/models/avatars/Michaella-small.webp",
file: "/assets/models/avatars/Michaella.glb",
scale: 1,
starred: false,
},
IJK12LMN: {
name: "David",
image: "/assets/models/avatars/David-small.webp",
file: "/assets/models/avatars/David.glb",
scale: 1,
starred: false,
},
OPQ56RST: {
name: "Rochella",
image: "/assets/models/avatars/Rochella-small.webp",
file: "/assets/models/avatars/Rochella.glb",
scale: 1,
starred: false,
},
UVW90XYZ: {
name: "Susan",
image: "/assets/models/avatars/Susan-small.webp",
file: "/assets/models/avatars/Susan.glb",
scale: 1,
starred: false,
},
ABC34DEF: {
name: "Diego",
image: "/assets/models/avatars/Diego-small.webp",
file: "/assets/models/avatars/Diego.glb",
scale: 1,
starred: false,
},
GHI78JKL: {
name: "Jameson",
image: "/assets/models/avatars/Jameson-small.webp",
file: "/assets/models/avatars/Jameson.glb",
scale: 1,
starred: false,
},
MNO12PQR: {
name: "Kevin",
image: "/assets/models/avatars/Kevin-small.webp",
file: "/assets/models/avatars/Kevin.glb",
scale: 1,
starred: false,
},
STU56VWX: {
name: "Lila",
image: "/assets/models/avatars/Lila-small.webp",
file: "/assets/models/avatars/Lila.glb",
scale: 1,
starred: false,
},
YZA90BCD: {
name: "Vikki",
image: "/assets/models/avatars/Vikki-small.webp",
file: "/assets/models/avatars/Vikki.glb",
scale: 1,
starred: false,
},
EFG34HIJ: {
name: "Jonas",
image: "/assets/models/avatars/Jonas-small.webp",
file: "/assets/models/avatars/Jonas.glb",
scale: 1,
starred: false,
},
KLM78NOP: {
name: "Kelly",
image: "/assets/models/avatars/Kelly-small.webp",
file: "/assets/models/avatars/Kelly.glb",
scale: 1,
starred: false,
},
}),
VRCA_FALLBACK_AVATAR:
process.env.VRCA_FALLBACK_AVATAR ??
JSON.stringify({
name: "Maria",
image: "/assets/models/avatars/Maria-small.webp",
file: "/assets/models/avatars/Maria.glb",
scale: 1,
starred: false,
}),
},
},

Expand Down
Loading

0 comments on commit 5bd5d5d

Please sign in to comment.