开发者

Display 3dsmax models in web browser [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

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 .

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 .

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 .


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.


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


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜