Struggling to integrate a Three.js project into the Ruby on Rails framework
I can't help but feel like there must be a simpler way to accomplish this task compared to my current methods
Initially, I searched for a guide or tutorial on how to transfer functional Three.js code to Rails and found minimal information on the topic. This lack of resources made me wonder if either not many people attempt this integration often -or- if it's so straightforward that no one felt the need to document it.
Afterwards, I looked for a three.js gem and came across one at I ultimately gave up trying to make it work after struggling with the manifest file extensively.
Following that, I placed the Three.js source code into the vendors folder and once again worked on the manifest file. This time, I encountered some success, although there appeared to be dependency issues within Three.js that remain undisclosed even to the require_tree method (and myself).
In theory, with several hours devoted to deciphering the loader sequence of Three.js, I could potentially achieve functionality. However, this approach doesn't sit right with me.
I feel as though I've hit a dead end here and overlooked something glaringly obvious.
- Is there a more efficient method for accomplishing this task?