Load external three.js script inside a main scene. Next step for metaverses.

OK that sounds good, surely if I can create a pluggable scene that included, for example, 35 event listeners for mousedown, that surely should be denied by the api? One callback event listener would cover all use cases for the relative event?

To contribute to the discussion, I have added the ‘PopSpace’ example that demonstrates just-in-time loading of new content by the ‘3D iframe’ concept. Some of my older small scenes are used for this, but of course it could also load content from other domains this way.

For this to work best, I removed from the individual scenes:

  • The use of other skyboxes
  • Global lights (Directional, Ambient, Hemispere etc)
  • Local definitions for navigation

This is great! nay GitHub Repos for reference? This is full of bugs, hope it’s on the path of development. And best wishes!

Great discussion. I came across webaverse and seems to handle at least the basics elegantly via a generic lib called ‘totum’.

2 Likes