Seeking a Solution
Is there a way to integrate the three.js
library into SAPUI5 in order to access it using THREE as the root variable in my main view controller?
I attempted to create a directory named libs
within my project folder and include it in the header of my controller, following the advice provided here: SAPUI5: How to use external library in controller
However, I encountered an error:
THREE is undefined
https://i.sstatic.net/cYnrj.png
Update: The same issue occurs when trying 'three' instead of 'THREE'.
An alternative package present in SAPUI5 called sap.ui.vk.threejs
appears to be complex and lacks proper documentation.