在Web浏览器中显示3dsmax模型 [英] Display 3dsmax models in web browser

查看:316
本文介绍了在Web浏览器中显示3dsmax模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些用3dmax/maya/cad/4dcinema编写的3d模型,我想在我的网站上显示它们,以便用户旋转模型并进行检查.

I have some 3d models written in 3dmax/maya/cad/4dcinema , i wand to display them in my website so user can rotate the model and inspect it .

我已经在互联网上找到了这个 http://replimat.com/thingiview/examples/client_side_ajax .html 我认为,只要我能以某种方式将这些模型从3dmax/maya/cad/3dcinema转换为OBJ/STL,它就会起作用.

i have found this on the internet http://replimat.com/thingiview/examples/client_side_ajax.html i think it will work IF i could somehow convert those models from 3dmax/maya/cad/3dcinema to OBJ/STL .

有没有可用于linux的转换器?还是任何其他方法都可以在Web浏览器中显示那些模型而无需在浏览器上安装任何东西? 谢谢.

is there any converter available for linux ? or any other method to display those models in web browser without having to install anything on the browser ? thank you .

推荐答案

将maya中的模型导出到wavefront(.obj)文件.然后,您可以使用诸如three.js之类的库以及此脚本在浏览器中加载和查看.obj文件

Export your model in maya to a wavefront(.obj) file. Then you could use a library like three.js, along with this script to load and view .obj files within the browser

obj到three.js json

也可以使用库对可移动相机进行编程.如果要使用默认格式,这将很棘手,因为如果没有默认格式,并且可以免费获得规范,则可能需要自己编写解析器.

Programming the moveable camera can also be done using the library. If you want to use the default formats, it will be tricky as you may need to write the parser yourself if there isn't one and the spec is freely available.

这篇关于在Web浏览器中显示3dsmax模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆