run three.js on server with a help of node.js, export model to json and load to end user through ajax

◇◆丶佛笑我妖孽 提交于 2019-12-06 06:45:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!