I have a unique challenge where my program creates .obj files at runtime and stores them as strings. I am now looking to load these generated .obj files using the load() function in three.js (OBJLoader).
Currently, the load() function uses an HTTP request to retrieve the .obj files from the server directory. However, I am wondering if there is an alternative method that would eliminate the need to generate a new .obj file in the server directory and load it again?
If this is not possible, I am curious to know how I can automatically generate a .obj file in the server directory without manual intervention.
Any suggestions or insights would be greatly appreciated. Thank you.