Blender 3D Animation Export and Import Help
I must be doing something wrong because every time I import a blender3d .fbx file to the lens studio, it only imports the mesh, and the material (colors, textures, etc.) and animation, doesn't show up attached to the mesh.
Also, the animation, it doesn't animate. Do you have to manually script it to animate? Can anyone show exact steps on how to save in blender, then import it to studio with animation?
Thanks in advance.
If you see an Animation Mixer component with layers inside of it, then animations were successfully imported. To learn how to use 3D animation in Lens Studio you can use this tutorial: https://lensstudio.snapchat.com/templates/animated-object/
Additionally, there's a guide specifically for exporting using Blender. Check it out here:
https://lensstudio.snapchat.com/guides/3d/3d-software/blender-3d-object-export/
Also, for playing 3D Animation, check out the Playing 3D Animation guide:
https://lensstudio.snapchat.com/guides/scripting/playing-3d-animation/
CyreneQ did you find a solution to this problem? I experience exactly the samen using Blender exports.
The animation is showing in the Resources panel but not in the Objects panel. How do I add a resource (an animation) to my object? (I can edit a Resource with the inspector option, but it's not added to the objects panel)
Hey Gaynelle,
Did you follow the guides Travis suggested above?
Cheers,
Kaitlyn
Hey Kaitlyn,
I did! After a lot of trial and error I finally I gave up on blender. Importing files from Maya works like a charm!
Hopefully someone here can help me out as well.
After exporting my animation to a FBX file format and importing it into a 3D animation template (Red Panda Animation) I follow all of the instructions on the YouTube video for how to setup it up and how to export from Blender. I link everything up in the World Object Controller and my 3D model is present but the animation doesn’t work. Every now and again when I link the World Object Controller to the AnimationMixer the model disappears entirely; any hep or thoughts would be greatly appreciated
Thanks!
James
Hey James,
First make sure to update your Lens Studio to latest version which is 1.7 release. You can download it here.
Sometimes when you export your FBX file. the file is so big in the scene and it wont be shown because its very big make sure to check your object size.
Also make sure your imported object is set as a child of "WorldControllerObject".
Last thing, If your animation has a root motion make sure the movement is not the way that it can't be viewed in the camera.
Let me know if you get it to work. If you couldn't please share your FBX and project files so we can investigate.
Best,
Amir.
Hello Amir!
Thanks for getting back to me. I have followed all instructions above and I'll drop the FBX file here for you to see if you can spot the problem at all. In this model its a pretty simple animation and that the "Plane" layer is the one with the animation.
Let me know your thoughts!
Thanks,
James
https://drive.google.com/file/d/1sO7xEYb_WcD4v97gsd7IWo3CjVNjFGgR/view?usp=sharing
Hey James,
I opened your FBX file in Maya and Cinema 4D but I didn't see the plane as well also there was nothing animated in the scene as you can see in the GIF below:
Also I saw some weird rotation value on your plane
What I suggest you to do before exporting from Blender is to set a keyframe to your non animated transform at start with the default value. for instance in order to fix the weird rotation value problem, just set a keyframe at start of your animation with default value.
Also after exporting a FBX file please open the FBX file that you just exported in 3D software and make sure that everything is working as you expected.
Last thing, when you import a model into any real time engine like Lens Studio, any model which uses planes have only one side visible which is called back face culling. In your situation maybe the invisible side is facing the camera. In order to make sure that both side of the plane are visible you need to create a PBR material and in the material inspector make sure Two sided is checked.
Please also checkout the Material guide.
I hope this will fix your problem.
Let me know how it goes.
Best,
Amir.
Hey Amir,
Thanks for all of the help so far! I'll give all your reccomendations a try and see if I can ge tit figured out from here. I forgot to drop the link to the blend file for you too: https://drive.google.com/file/d/1FTc5G-bo-7aOoQR4w7wWfTvBG6wSt9o9/view?usp=sharing
Thanks again for all the help!
James
Hey James,
I just opened your Blender file and I saw that your using procedural animation with the sound.
What you need to do is to bake all of your animation to your sphere.
Now you only have one sphere which is using one of the Blenders effector to create the effect, Those effects is not compatible in any software other than Blender. So you need to bake the animation as a keyframe with not using the effectors.
Best,
Amir.
Thanks for the quick response Amir!
I'll see what I can do from my end. I'll see if I can find some examples as to how to perform that, thanks again!
James
Here is the link on how people convert their Blender Particle system to object:
https://blender.stackexchange.com/questions/24274/how-to-convert-particles-to-mesh
I think you need to do the same thing.
Best,
Amir.