Maya exported json file not able to play animation and display multiple texture
See original GitHub issueHi Devs, I am trying to display a 3D model using .json file with the help of JSONLoader, but it display only black screen. I have exported .json from ‘maya exporter plugin’. I want to load all its texture from json file only. I have tried several ways but still result is far away? I have spend lots of time on Google, Stack Overflow, Clara.io but not getting any relevant answer. I already added this issue on SO, but not found any solution. Here it is link :
I am being confused that is it possible to render maya exported json with Three.js till current release or not. Please help me to sort out this issue.
Here it is my json file: new-heart.txt
Here it is my json (material array):
"materials": [{
"opacity": 0.0,
"mapDiffuseRepeat": [1, 1],
"mapNormalFactor": 1,
"depthTest": true,
"colorDiffuse": [0.5, 0.5, 0.5],
"vertexColors": false,
"blending": "NormalBlending",
"mapDiffuseAnisotropy": 4,
"shading": "Lambert",
"transparent": true,
"depthWrite": true,
"mapNormalRepeat": [1, 1],
"mapNormalWrap": ["repeat", "repeat"],
"DbgName": "Arota",
"mapNormalAnisotropy": 4,
"mapNormal": "Heart_Arota_NM.jpg",
"mapDiffuseWrap": ["repeat", "repeat"],
"mapDiffuse": "Heart_Arota_Diffuse.jpg"
}, {
"opacity": 0.0,
"mapDiffuseRepeat": [1, 1],
"mapNormalFactor": 1,
"depthTest": true,
"colorDiffuse": [0.5, 0.5, 0.5],
"vertexColors": false,
"blending": "NormalBlending",
"mapDiffuseAnisotropy": 4,
"shading": "Lambert",
"transparent": true,
"depthWrite": true,
"mapNormalRepeat": [1, 1],
"mapNormalWrap": ["repeat", "repeat"],
"DbgName": "Full_Heart1",
"mapNormalAnisotropy": 4,
"mapNormal": "Full_Heart_NM.jpg",
"mapDiffuseWrap": ["repeat", "repeat"],
"mapDiffuse": "Full_Heart_Diffuse.jpg"
}]
Here it is my code:
var jsonloader = new THREE.JSONLoader( manager );
jsonloader.load( jsonFileName, function( geometry, materials ) {
mesh = new THREE.Mesh(geometry, new THREE.MultiMaterial(materials));
scene.add( mesh );
} );
Here it is my screen shot:

Description of the problem
Three.js version
- Dev
- r82
- …
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- Linux
- Android
- IOS
Hardware Requirements (graphics card, VR Device, …)
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Maya exported json file not able to play animation and display ...
I am working with three.js (latest version r82) and want to display maya 2016 exported json models on webpage. I have tried MultiMaterial...
Read more >FBX Troubleshooting - Maya - Autodesk Knowledge Network
Textures disappear from files when if you move or delete any texture from the relative and absolute paths of the associated media files...
Read more >Animation not loading properly - PlayCanvas Forum
I upoload a .dae file, which brings a .json file, a texture and an animation. This same file runs well when imported to...
Read more >Exporting Unreal Engine Content to glTF
You can also export glTF files from the Editor using Blueprint, ... When enabled, the glTF exporter does not export floating-point-based JSON properties ......
Read more >Export formats - Keyshot Manual
It can also be used with AR viewers mainly on Windows and Android. The glTF format will bake materials and textures in a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@samiasultan Please don’t post your help request here. Use the forum or stackoverflow instead.
hi i uploaded model in blender and used three.js plugin in blender to convert it into json file. but it does not appear in web page. (black screen). i used three.js for this purpose. Please help me out. Here is my code.