Forum Discussion
Customizable 3D Model Viewer in Storyline 360 Using Three.js
This is great! Thank you for putting this together.
I'm trying to follow your steps to add different models, but I'm running into some trouble.
Here's what I tried:
1. I used the model viewer to get the settings for my new model I want to add
2. Downloaded your WO folder
3. Placed the model glb file in a folder in the WO folder
4. Created a new blank index.html file
5. Followed the steps to replace the web object in the story file/published to get the dataFolder variable string
6. Swapped the javaScript on the first button to use the settings I got earlier from the model viewer
7. Published
...but I keep getting an error stating:
actionator::exeJavaScript - DRACOLoader is not defined
Did the WO folder change when you added Draco compression? Am I missing something else?
Any help would be appreciated!
You're correct, I forgot to link the updated web object. I added a link to the post. It is also here:
https://paedagogus.org/3DModelViewer/WO+Draco.zip
The web object could also be extracted from the 4.0 project file by publishing to Web and copying the contents of the WebObjects folder.
- MHicks5 months agoCommunity Member
Thank you so much! It works!
Related Content
- 8 months ago
- 9 months ago
- 7 months ago