Recommended Posts

Hi,

I am a Maya user, and I am looking for a 3D engine that will support morph targets / blend shapes. From what I can see the Maya exporter for Babylon does support this - however, the code suggests it only supports one blend shape deformer per mesh.

Now - I need to be able to create a character editor that supports modifying multiple attributes (i.e. mouth width, eye spacing, facial structure etc). I also need to be able to use skeletal animation exported from Maya (as a separate file).

Any thoughts on how I could achieve this?

Thanks!

HF

Share this post


Link to post
Share on other sites

Hi HoratioHuffnagel,

Indeed currently the exporter only supports one blend shape deformer per mesh.

A Maya blend shape deforrmer is actually an exact copy of a Babylon morph target manager. And a mesh in Babylon can't have multiple morph target managers.

We didn't focus on the multiple blend shape deformers case because we weren't sure of the usecases of such feature.

So here are some questions:

Are you using multiple blend shapes deformers only for clarity during creation/edition process ?

From the result POV, is it the same as having a single blend shape deformer listing all targets ?

If so, it is possible for you to do modify multiple attributes by listing all targets (example: mouth_1, mouth_2, mouth_3, eyes_1, eyes_2, eyes_3...) and adjusting weights accordingly.

Share this post


Link to post
Share on other sites

Hi,

Thanks for getting back to me - yes. That does seem to be feasible. We should be able to take the one mesh, and modify multiple attributes and adjusting the weights accordingly. I may have misunderstood the purpose of the multiple blend shape deformers. If that feature is not required to allow multiple, tunable attributes on the same mesh - then it's probably fine. If I can independently tune eyes, mouth, nose etc - with just the one deformer, it should be fine. :)

I was just a bit suspicious that when looking at the documentation for the Babylon fbx loader - there is no mention whatsoever regarding blend shapes or morph targets. I guess it's just out of date?

Regards,

HH

Share this post


Link to post
Share on other sites

In the supported features under Maya.

https://doc.babylonjs.com/resources/maya#exported-features

You'll note that in the 3DS version of the same doc - it says it supports Morph Targets.

https://doc.babylonjs.com/resources/3dsmax#exported-features

I checked in the maya docs for both morph and blend (given terminology is slightly different) and could find nothing.

Cheers,

HF

Share this post


Link to post
Share on other sites

Hi,

Thanks for pointing that out! Updating Maya exporter docs.

 

Quote

I was just a bit suspicious that when looking at the documentation for the Babylon fbx loader - there is no mention whatsoever regarding blend shapes or morph targets

You were talking about a .babylon file being exported from Maya right ? Babylon FBX loader does not exist yet, but OBJ does!

 

Noalak

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.