Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display 3dsmax models in web browser [closed]

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 .

like image 376
Rami Dabain Avatar asked Sep 01 '11 09:09

Rami Dabain


3 Answers

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.

like image 151
vishakvkt Avatar answered Sep 28 '22 16:09

vishakvkt


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.

like image 37
Lior Ohana Avatar answered Sep 28 '22 17:09

Lior Ohana


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.

like image 26
SpliFF Avatar answered Sep 28 '22 18:09

SpliFF