[Bf-committers] tfaces, makesdna and custom blobs

Alexander Ewering blender at instinctive.de
Wed Feb 22 10:07:08 CET 2006

On Wed, 22 Feb 2006, Campbell Barton wrote:

> Tom M wrote:
>> Is the limit on number of materials also a backwards compatibility
>> issue?  If so perhaps that could be redone also?
>> LetterRip
> If Material limit could be extended taht would be really good. It got to the 
> point where Im jist splitting seperate materials into separate meshes to 
> avoid over 16 limit for some importers that tend to have many materials per 
> mesh (3ds for eg.)
> 255 materials per mesh dosent seem unresionable, only 1 char. mesh faces can 
> alredy have large ints as face mat's.

Sorry, but this won't work. There's a flagfield storing for each material if
it's attached to obdata or object (or something - zr once explained it in
detail on the list), and thus we're limited to an absolute maximum of 64.

But I agree that that would be a plus :)

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de

More information about the Bf-committers mailing list