I know that THREE.js has importers from various 3d graphics formats.
Is there an importer suitable to display a model created in 3dStudioMax? And if there is not one, is there a way to convert a 3dStudioMax model in something that can be imported in THREE.js?
You can save max file using 3ds file format. Open 3ds model with the A3dsViewer. Click Export to the HTML5 in the toolbar and you will be able to preview the model in the browser.
I haven't used three.js in a while, but I know it imports OBJ which 3dsmax can easily export and there is a python script that converts an .obj to a three.js .json mesh.
I noticed that in the latest revision there is a MaxScript Exporter straight to the json format, so start with that. It should generate a .js file based on the selected mesh, but can't access a PC at the moment to test.
Below is a MAXScript script that will convert a selected object's mesh into JSON. At the time of this post, it was available in the SVN of the 3ds Max developer community at Google code hosting.
You have two options:
1) Use ThreeJSExporter.ms but take into account that is no longer mantained:
https://github.com/mrdoob/three.js/tree/master/utils/exporters/max
2) (Recommended) Use OBJ exporter option in 3DS Max. Then use convert_obj_three.py script available here:
https://github.com/mrdoob/three.js/blob/master/utils/converters/obj/convert_obj_three.py
More detailed info in my issue on Three.js's Github:
https://github.com/mrdoob/three.js/issues/893
Now in 2018, we do have glTF and a very nice exporter for 3ds max, developed and actively maintained by the babylon community:
Description and how to install is extensively described here:
https://doc.babylonjs.com/resources/3dsmax_to_gltf
The gltf models can then easily be used in three.js, see some examples:
https://threejs.org/examples/webgl_loader_gltf.html
https://threejs.org/examples/#misc_exporter_gltf
Enjoy!