Skip to content

Commit

Permalink
feat: updated to web-threejs 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Couture committed Apr 2, 2024
1 parent 297f095 commit 58fe7af
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .env-sample
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ VITE_INWORLD_GENERATE_TOKEN_URI=http://localhost:4000/
# Innequin base asset file location. It can be a local or external path.
# Used as the prefix uri for the animation, texture and model file paths are set in config.json.
# Assets are automatically installed as apart of the yarn postinstall process
# Manually download asset files here at=https://storage.googleapis.com/innequin-assets/playground/inworld-web-playground-assets-v1.0.zip
VITE_INNEQUIN_BASE_URI=/assets/v1.0/innequin
# Manually download asset files here at=https://storage.googleapis.com/innequin-assets/playground/inworld-web-playground-assets-v3.0.zip
VITE_INNEQUIN_BASE_URI=/assets/v3.0/innequin

# The path to the Innequin configuration
VITE_INNEQUIN_CONFIG_URI=/assets/v1.0/innequin/config.json
VITE_INNEQUIN_CONFIG_URI=/assets/v3.0/innequin/config_male.json

# Ready Player Me base asset file location. It can be a local or external path.
# Used as the prefix uri for the animation, texture and model file paths are set in config.json.
# Assets are automatically installed as apart of the yarn postinstall process
# Manually download asset files here at=https://storage.googleapis.com/innequin-assets/playground/inworld-web-playground-assets-v1.0.zip
VITE_RPM_BASE_URI=/assets/v1.0/rpm
# Manually download asset files here at=https://storage.googleapis.com/innequin-assets/playground/inworld-web-playground-assets-v3.0.zip
VITE_RPM_BASE_URI=/assets/v3.0/rpm

# The path to the Ready Player Me configuration
VITE_RPM_CONFIG_URI=/assets/v1.0/rpm/config.json
VITE_RPM_CONFIG_URI=/assets/v3.0/rpm/config_male.json

# Draco Compression Library URI
VITE_DRACO_COMPRESSION_URI=/draco-gltf/
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "inworld-web-gallery",
"version": "1.0.2",
"version": "1.1.0",
"description": "",
"main": "index.js",
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@inworld/web-core": "2.2.0",
"@inworld/web-threejs": "^1.3.0",
"@inworld/web-threejs": "^1.4.0",
"@mui/icons-material": "^5.14.11",
"@mui/material": "^5.14.11",
"@react-three/drei": "^9.96.1",
Expand Down
2 changes: 1 addition & 1 deletion src/asset-library-installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { writeFile } = require('fs/promises');
* @returns {Promise<void>} Promise of the main process
*/
async function run() {
const ASSETS_VERSION = 'v1.0';
const ASSETS_VERSION = 'v3.0';
const ASSETS_VERSION_FILENAME = 'version.json';
const ASSETS_FILE_PATH = './public/assets/';
const ASSETS_VERSION_FILE_PATH = path.join(
Expand Down
5 changes: 3 additions & 2 deletions src/ui/MainHud.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import './MainHud.css';

import { Container, Stack, Typography } from '@mui/material';
import { button, useControls } from 'leva';

import { Container, Stack, Typography } from '@mui/material';

import { useInworld } from '../contexts/InworldProvider';
import {
ROOM_ANIMATIONS,
Expand Down Expand Up @@ -59,7 +60,7 @@ function MainHud() {
Character: {name}
</Typography>
<Typography className="textFooterLabel">
Inworld Web Playground - ver 1.0.2{' '}
Inworld Web Playground - ver 1.1.0{' '}
</Typography>
</Stack>
<a className="linkInworld" href="https://www.inworld.ai">
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,10 @@
defer-promise "^3.0.0"
uuid "^9.0.0"

"@inworld/web-threejs@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@inworld/web-threejs/-/web-threejs-1.3.0.tgz#ed7b804b6f629c51130283223afc4b15603e4277"
integrity sha512-7ylP95tNmjLaZ/fw2buO0VK3bbV7uNqPb7nLh+xzXCUQ5udZY6N66XN3HKncNKN4VaVqJcAipuWrhweu/s1q9w==
"@inworld/web-threejs@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@inworld/web-threejs/-/web-threejs-1.4.0.tgz#6e60d590f47b4afe5ad711aadba85fdf97545e92"
integrity sha512-OPNaRmiS218v2ZzmVOwBhNEU4dY+qtBN55LbGF9nI/zui0EjemGPCiqEfHSMtWGjU7fb8yaqpvlyIt0Olg8rsA==
dependencies:
"@inworld/web-core" "2.2.2"
three "^0.160.1"
Expand Down

0 comments on commit 58fe7af

Please sign in to comment.