Closed d33tah closed 7 years ago
Good idea, I will think about it, but it seems to be a huge project :)
By the way you can use the viewer with self-hosted models. Take a look at the embeddable folder where you can find examples on it.
Huge? Why would it be? Most of the code seems to already be there, the only thing left would be to have a way to load files from some external URL.
Yes, its true. But I think this solution should store the models in its own server, so the server side should be implemented. But yes, maybe not huge, just big :)
How about adding the first step of not worrying about hosting and just pulling the resource from somewhere else? Would it be big as well?
No, I think this should be relatively small, if I can solve the cross-origin problem.
One could delegate this problem to the hoster - just have the user enter a URL that works over cross-origin ;)
I'll give it a try. If you interested, feel free to collaborate on this task.
It seems working now :) http://3dviewer.net#https://cdn.rawgit.com/kovacsv/Online3DViewer/9e9ca71d/website/testfiles/cube.3ds
You can define the files as url hash separated with comma.
It would be great if one could upload a file (or point to it) and have it loaded automatically, sort of like 3d version of pastebin or imgur. Is this doable?