Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Can't load exported Manuel Bastioni Lab 1.2.0 json model with shapekey directly #12

Open
akjava opened this issue Jul 4, 2016 · 0 comments
Labels

Comments

@akjava
Copy link
Owner

akjava commented Jul 4, 2016

There are three.js-issue (Morph targets vertices array in Blender exporter wrong)
mrdoob/three.js#7724

Manuel Bastioni Lab 1.2.0 json model with shape-key/morphtargets can't load correctly on three.js-r74(I'm not sure newer version fixed it or not.)

I think there are another problem.morphtarget vertex turned need fix like this
vec.applyAxisAngle( HREE.Vector3( 1, 0, 0 ), THREEMath.degToRad( -90 ) );

There are function to convert/fix these json model.how ever ModelWeight can't read directly.

because it's detect loaded file is either format3 or format4 and return json-model.
but Mbl3dLoader(fixing class) is not support json.

I'm still considering how to integrate these.

@akjava akjava added the bug label Jul 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant