问题
I have a JavaScript app with a requirement to protect the drawing interface of the model so that it is not to public.
I want to use three.js on a server, save the model in JSON format and deliver it the client side. Three.js on the client will display it. But I don't know how to implement it on a server.
Are there any Node.js examples that run three.js apps? If so, how do I save a mesh into JSON format from three.js?
回答1:
But I don't know how to implement it on a server.
three module
Are there any Node.js examples that run three.js apps?
Yes
If so, how do I save a mesh into JSON format from three.js?
three-obj module
来源:https://stackoverflow.com/questions/16719666/run-three-js-on-server-with-a-help-of-node-js-export-model-to-json-and-load-to