Search the Community
Showing results for tags 'rig'.
-
Whoa! Okay, there are two parts to this. Case/Issue 1: Scene picking info for animated rigs only obtains picking information from the first frame of the rig animation. I've setup a test case, http://jsfiddle.net/7x0nkh0g/3/ , where there's this cube that is being animated and moved by this bone. You can click on the cube to change it's colour between green and red. Clicking only works if you click on the mesh where it was at the first frame of animation. Doesn't canvas picking info casts a ray into the scene and looks for active faces everytime? It appears that it's using the first frame of the rig as if it was not being animated at all. This issue occurs from files exported from both Babylon and Tower Of Babel exporter from blender. Case/Issue 2: Using the Morph Extension (ver 1.1) and Tower Of Babel to import and animate shape keys created in Blender, on a mesh that also has skeletal rig and animation, morph shape offsets are relative towards the Rest Position (edit mesh position in Blender before the mesh has been set to a pose by a rig). Using the previous jsFiddle example: http://jsfiddle.net/7x0nkh0g/3/, clicking on the blue circle morph's the cube's shape into a pyramid. Only the top four keys are morphed. Notice how the top four keys try to move towards the rest position of the original mesh instead of following the translated skeletal rig's first frame. After discovering this, I created another animation rig but this time, I set the first frame of the rig to match the original rest position of the mesh and then have my usual looping animation after that. In Babylon, I then set the rig animation to skip over that first frame. This is sort of a work-around but it actually works! See: http://jsfiddle.net/7x0nkh0g/4/ The cube is being morphed to a pyramid correctly now, while still being animated by a skeletal rig. I've only tried this trick out on the test case. Can't wait to try it out on my facial shapes on top of a skeletal animation. I read in some old threads that JCPalmer might have a working copy of the Morph Extension version 1.2 hasn't been released? I'm getting depreciation messages from BJS using this old Morph Extension: "BJS - [22:36:45]: Mesh.updateVerticesDataDirectly deprecated since 2.3." On a sidenote for those test cases I've created, if you click on the blue circle to morph the shape of the cube first, then you can't click on it to change it's colour later. JS gives an error "Uncaught TypeError: Cannot read property 'subtractToRef' of undefined". Click on the cube to change its colour first and then clicking the morph next works fine however. If you need the blender file, I've attached it. cubearmatureplusdeform.zip
-
Hi! I created a model, rigged it and started searching how will everything go into Babylon (topic that covers skeletons). After going through a couple (all) of the tutorials, documentation etc. one thing is still buzzing me. What is the best way to structure a model and why? Would it be better to break it down into multiple meshes or keep it a single one? I also spotted "submesh". What is it? Couldn't find anything useful not for blender not for maya. I tried making sense from dude model but I couldn't figure it out. My mesh (robot on image bellow) is created as a single mesh, only parts are divided into vertex groups. Thanks! P.S.: It's been four years since I touched Blender so it might not be the best looking creation.
-
We have a character that has been rigged using CAT. Most of the animations that we have for the character plat without issue, but for some reason part of the face "slides" during some of the animations. There are bones in the face that correspond to what is sliding but we cannot find where or how this is happening in max. Here is a babylonjs playground example. focus the camera on the face and press the "P" key to see the animation. http://www.babylonjs-playground.com/#3I5MK#10 I also have the max file if it helps. It is very large though. 250+ MB http://protest.jht.com/duke/stroke/content/carl/carlLeftMCAM1.max I am not the artist for this, but both of us are at our wits end trying to figure this out. We were using three.js for this project but ported over to Babylon last week. Thanks in advance. Any help that anyone can offer would be appreciated.