Just ran across this in the docs. Apparently Ogre only supports 4 bone assignments per vertex? I was wondering if this is definitely still the case, or if it's changed since the docs were updated?
It's not particularly important, as 4 per vertex is usually plenty. I'm just curious.
Thanks.
Skeletal animation: only 4 bone assignments per vertex?
-
Elusive Pete
- Kobold
- Posts: 39
- Joined: Tue Jun 27, 2006 11:09 am
- haffax
- OGRE Retired Moderator

- Posts: 4823
- Joined: Fri Jun 18, 2004 1:40 pm
- Location: Berlin, Germany
- x 8
- Contact:
- epopov
- Halfling
- Posts: 85
- Joined: Tue Jun 10, 2003 2:57 pm
- Contact:
- sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67
- Contact:
- xavier
- OGRE Retired Moderator

- Posts: 9481
- Joined: Fri Feb 18, 2005 2:03 am
- Location: Dublin, CA, US
- x 22
The Ogre sample materials include vertex programs for 1, 2 and 4 weights per vertex. Yes, you would have to do a separate vertex program for each weight not covered, since it is not a general technique (unless you are targeting only GPUs that support vertex program instruction branching).epopov wrote:If you do that, I think (but not sure) that you will also need to modify the vertex shader used to do hardware skeletal animation.