Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@aws/aws-tools-for-babylonjs-editor-open-source-hosts-plugin
Advanced tools
AWS Tools for Babylon.JS Editor: Open Source Hosts Plugin is a set of tools meant to communicate with Amazon Sumerian Hosts (https://github.com/aws-samples/amazon-sumerian-hosts) inside of Babylon.JS Editor
AWS Tools for Babylon.JS Editor: Open Source Hosts Plugin (AWS Tools: Open Source Hosts Plugin) is a plugin that enables BabylonJS Editor workflows with Amazon Sumerian Hosts.
This project is licensed under the Apache-2.0 License. See the LICENSE file.
package.json
)Note that the editor is not capable of hot reloading; whenever changes to the plugin are made, the editor must be refreshed (close/open the editor, File->Reload Project, or press F5 with the devtools focused, or type location.reload()
into the console window in the devtools) to see those changes reflected.
To debug the plugin, press ctrl+alt+I (or cmd+option+I on a mac) to bring up the dev tools. If you log to the console, those messages will be routed here.
Locate Open Source Hosts Tools
in the editor toolbars. When you expand "Add Hosts", you will see a submenu of possible host types, each with their own unique model. Select one to spawn it at the origin of your scene. This will also copy the necessary assets and install the requisite dependencies into your project workspace.
The script sumerianhost.ts
will be added into your project source; the file will load and configure animations at runtime, such as blinking, lip sync, gestures, etc. The host will track the main camera by default; the configuration of this behavior can be found in this script.
The @amazon-sumerian-hosts
library needs to be configured to use the same instance of BabylonJS as the rest of the project. To do this, add the following to the module.exports.resolve
block in the webpack.config.js
for the project:
modules: ['node_modules'],
alias: {
'@babylonjs/core': path.resolve('./node_modules/@babylonjs/core')
}
Select the host in the editor and find the Script
node in the Inspector column. There is a field under Exported Values
called Cognito Identity Pool ID
that will need to be filled in with the ARN of a Cognito Identity Pool that has access to Polly.
The SumerianHost
class has a speak
utility method that can be used to trigger the host to speak. To make use of it, you may need to get a reference to the SumerianHost node:
// change name to whatever the name of the added host was
const host = scene.getNodeByName('Cristine') as SumerianHost;
host.speak("Hello world!");
FAQs
AWS Tools for Babylon.JS Editor: Open Source Hosts Plugin is a set of tools meant to communicate with Amazon Sumerian Hosts (https://github.com/aws-samples/amazon-sumerian-hosts) inside of Babylon.JS Editor
We found that @aws/aws-tools-for-babylonjs-editor-open-source-hosts-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.