Display controlable 3D (obj) models on a website

人走茶凉 提交于 2019-12-11 12:24:16

问题


I am wanting to add a 3D OBJ Model on a website, but I have absolutely no clue how to - google searches gives me options for in-browser games, but not this.

I basically just want a model that can be turned around with the mouse. Just like Microsoft's page for Surface. http://www.microsoftstore.com/store/mseea/da_DK/pdp/productID.300225600


回答1:


You are looking for WebGL ... there is a lot of websites that offers to view 3D objects directly into browser, such as https://sketchfab.com/ or https://p3d.in/.

in Microsoft website they are using a image based plugin that simulate the product rotation, you have to take a 360 degree pictures and upload them into your hosting so that plugin work. I recommand to use a 3D model instead, in addition its supported on mobile

have a look at http://www.x3dom.org/, https://playcanvas.com/ (its not related but it'll do the job) hope this helps :)




回答2:


I recently found Online3DViewer it looks promising, demo is here 3dviewer.net



来源:https://stackoverflow.com/questions/33666176/display-controlable-3d-obj-models-on-a-website

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