x


Is there a limit to the number of bones in a model

is there a limit to the number of mesh influencing bones unity can handle. Especially when unity is used in an iPhone application?

I only have 1 character that will be rendered on screen and I want to make it fairly complex (adding facial bones and whatnot). Is this something I can do in unity or would I be limited?

Thanks

more ▼

asked Jan 04 '10 at 12:50 AM

Jamie gravatar image

Jamie
11 1 1 2

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

You can have up to 4 bones influencing a given vertex. The optimization notes suggest around 30 bones per mesh as a good number. That said, I have characters that have 70 bones per character and I am seeing a skinning cost of around 1 ms on the PC and Mac (very nice performance in otherwords.) I don't know what the performance is on an iPhone though.

In this as in all things, the profiler is your friend.

more ▼

answered Jan 05 '10 at 03:24 AM

bruceb gravatar image

bruceb
189 6 7 12

(comments are locked)
10|3000 characters needed characters left

4 is the maximum. You can choose between 1, 2, and 4 in the quality settings, although I actually have no idea if the quality settings are used by Unity iPhone.

more ▼

answered Jan 04 '10 at 01:31 AM

Jessy gravatar image

Jessy
15.6k 72 95 196

Thats the maximum number of influencing bones per vertex I believe, not per mesh.

Jan 04 '10 at 01:42 AM Stelimar
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3807
x1047
x143

asked: Jan 04 '10 at 12:50 AM

Seen: 4409 times

Last Updated: Jan 04 '10 at 12:50 AM