Modme Forums
Menu:

MATERIAL_MAX_VERTICES may be too small.

Game Modding | Call of Duty: Black Ops 3 | Models & Animation


Kenny:

Hello,

I ported a obj file with Maya to COD.
In Radiant it shows up completely normal and works without any problems but when i compile i get this error:

ERROR: Object [Torch:Group63307Shape] with material [blinn2] has 65534 > 65534 vertices on 22191 triangles.
Bug it (MATERIAL_MAX_VERTICES may be too small.)|


What can i do now?

Thanks for any help! :)


Kenny:

SOLVED

When i tried to reduce the quality of the model Maya threw a bunch of errors so i reduced the face count with MeshLab following this tutorial: https://support.shapeways.com/hc/en-us/articles/360022742294-Polygon-reduction-with-MeshLab

i limited faces to 64.000, worked fine


RaGe-74:

SOLVED

When i tried to reduce the quality of the model Maya threw a bunch of errors so i reduced the face count with MeshLab following this tutorial: https://support.shapeways.com/hc/en-us/articles/360022742294-Polygon-reduction-with-MeshLab

i limited faces to 64.000, worked fine

By standard, in BO3 the limit is 30,000 tri's and xmodel2bin does not convert it for that reason. However, most of the time using DTZxPorter's ExportX making it a xmodel_bin still works. But keep in mind, you're doing something that this particular engine wasn't designed to handle, so it can cause errors if it's way off.


Kenny:

By standard, in BO3 the limit is 30,000 tri's and xmodel2bin does not convert it for that reason. However, most of the time using DTZxPorter's ExportX making it a xmodel_bin still works. But keep in mind, you're doing something that this particular engine wasn't designed to handle, so it can cause errors if it's way off.


ohh okay got it, thanks for the info ! :)