Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.