i'm trying to convert a blender animation to a .json file, with the three.js addon for blender. i'm not a pro in blender, so please explain it for dummies.
everytime i click on 'export->Three.js(.json)', i get a error message from blender.
blender error message http://s23.postimg.org/gu5mv8u7u/error_screenshot_blender.jpg
i have no idea where the error is. how can i solve this problem?
for a better understanding i uploaded the blender file too.
http://www.filedropper.com/walking_1
many thanks in advance.
Try this tutorial, it helps me in basic blender
https://devmatrix.wordpress.com/2013/02/27/creating-skeletal-animation-in-blender-and-exporting-it-to-three-js/
Related
I have marked the problem I got after importing the fbx file into the web using three.js on the above image.Is there a way to fix this? Please be kind to help me.
i'm trying to export a model to use it in three.js, it's important for me that after import on threejs i can see the smoke effect and the particles, but unfortunately this doesn't happen.
i don't know if is an issue or i'm doing something wrong in my project, so i've attached the blender project and a screenshot of my export settings.
can someone please help me to figure out what's wrong?
gltf exporter settings
in this github issue you can find the Blender project
I'm trying to import a simple scene from blender in three.js. I'm following this tutorial for setting up the importer:
http://benchung.com/lesson-2-importing-model/
Now the issue is in step 3, right in front of the human figurine (inside the yellow rectangle) I'm getting an error sign that says "importer not included". I think I did everything right but Im getting this error. What am I doing wrong or missing to see this error
UPDATE: I also followed the three.js on github. For the new version of three.js the file name and structure has changed. But even now I'm having the same issue
I am not sure when you are saying ' I also followed the three.js on github' if you are talking about three js lib or the blender exporter.
If you haven't already, download this exporter and follow the steps. I did this 1 week ago and it works fine on Windows. Later when you export from blender to json format, don't forget to check the 'face materials' checkbox and uncheck the checkboxes in Scene
I have been trying to export a skeletal animation, from Maya 2013 to THREE.js for quite some time, and I haven't seen this exact issue come up yet...
After getting frustrated for it not working. I resorted to copy and pasting the monster example then placing it with my model, my model has lost its animations. :( I baked them and everything when I exported in FBX-DAE.
I do get a warning but i don't know if it matters:
could not find transform "visibility" in node joint1.
Have you tried the OpenCOLLADA exporter?
There's a new project under way that might be of interest to you. Export path would be Maya > OpenCOLLADA > gltF > Three.js
Here's the glTF loader for Three.js:
https://github.com/KhronosGroup/glTF/tree/master/loaders/threejs
Do you have to have it in a Collada format? How about if you could export an animation from Maya directly to .JS?
You might be aware that THREE.js comes with an exporter for Maya, but it only works for static models. I have created an updated version that also supports exporting rigged and animated models. It doesn't require any intermediate steps: it just outputs straight to a .JS file. We have a pull request to integrate the updated exporter with the THREE trunk, but if you want to get the new and improved exporter immediately you can get it from this repository: https://github.com/BlackTowerEntertainment/three.js/tree/maya_animation_exporter. The exporter files are in utils/exporters/maya.
Hope this helps.
I have a simply question and hopefully someone can answer this. I need to get an animated model into three.js from Maya. I know currently the only exporter/ converter to the three.js JSON format that supports animations is the blender plugin. Unfortunately, my company works with Maya and Blender doesn't take FBXs. I already figured out that in order to do what I need to do, I need to export out of maya a Collada, import the Collada into Blender, then export out to three.js using the plugin.
But here is my problem. When importing the dae file from maya, I get an error:
Sax FWL Error: Could not resolve sid "**" referenced in skin controller.
for each bone in the rig and nothing is connected properly.
I also tried exporting the fbx from other Autodesk applications but each one gives me the same errors.
Anyone know either how to resolve this error or another way to get a Maya animated rig into blender without error.
It may not answer your question but this two animations from the three.js repository use collada .dae format instead of JSON format supported by the ColladaLoader.js:
http://threejs.org/examples/webgl_loader_collada.html
http://threejs.org/examples/webgl_loader_collada_keyframe.html
I have created an updated version that also supports exporting rigged and animated models. It doesn't require any intermediate steps: it just outputs straight to a .JS file. We have a pull request to integrate the updated exporter with the THREE trunk, but if you want to get the new and improved exporter immediately you can get it from this repository: https://github.com/BlackTowerEntertainment/three.js/tree/maya_animation_exporter. The exporter files are in utils/exporters/maya.