Display 3dsmax models in web browser [closed]

半城伤御伤魂 提交于 2019-11-30 09:39:45

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 to 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.

I remember 3dsmax support obj format, regarding the other apps I don't remember. Anyway, you can use try this tool, you didn't mention which formats you saved from 3dsmax/maya/cad/3dcinema but it supports many format.

Check this link. - http://www.thoro.de/page/3dnp-introduction-en

Visitors don't need to install anything on their browser, just click and go. Your 3d model loading takes some time, for that a progress bar is shown.

For the widest range of existing solutions you won't beat converting your models to VRML.

This format has plugins that support browsers as far back as IE 3 and Netscape 4. There are a large number of free and commercial plugins that handle this format. If you don't want the user to rely on plugins there are also java applet based viewers.

There should be a variety of tools that will convert your models to VRML as well, even if you have to save to an intermediate format first.

The main downside of VRML is lack of fancy new features like shaders, bones and complex texturing but whether those things are necessary all depends what you're trying to achieve.

You can try to use this webservice http://showwebgl.com it does not support 3dsmax directly but you could export your model into obj or collada then upload it. Have a look at the faq if it fits your need. http://showwebgl.com/faq

I've done this using X3DOM. It allows you to script interaction with the 3D object using javascript.

  1. First export from 3ds Max as VRML.
  2. Convert the VRML to X3DOM by copying and pasting the code into this online converter.
  3. Simply insert the converted code into your web page where desired.

Because the 3D model is now part of the dom you can manipulate it with javascript and style it with CSS. Here's an example.

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