Jump to content
  • Advertisement
Sign in to follow this  
duluxe

How to do "matrix palette batching"

This topic is 3049 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone , Here are my story : My artist gave me an animation with have 32 bones and every vertex is influenced by all 32 bones ( in Collada file format ) . I want to render it using matrix palette ( OpenGL ES) technique but on iphone the maximum bones per mesh is 9 bones and the maximum bones can influence a vertex is 3. I've heard a technique called "matrix palette batching" ( not sure what it's officially called, though ) which break large meshes into sub-mesh . But not sure how to do it . I asked my artist and he had no idea either. I searched all over the internet but found little information about this. Could anyone show we where I want to look for ? Thanks very much.

Share this post


Link to post
Share on other sites
Advertisement
I would tell your artist he's a nut and needs to reduce the bone influence to 1 or 2. You want to do do 32 matrix multiplies per vertex? on an iphone?

You can process the file yourself though. With thresholding on the bone weights, reduce the bone count per vertex to something reasonable like 3. Then break the mesh into collections of faces that reference no more than 9 bones as a group.

The rest is pretty self explanatory.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!