BoomingTech / Piccolo

Piccolo (formerly Pilot) – mini game engine for games104
MIT License
5.69k stars 1.79k forks source link

模型vertex太多,导致引擎启动失败 #415

Closed rocketman123456 closed 1 year ago

rocketman123456 commented 1 year ago

Describe the bug | Bug描述 添加了从 https://casual-effects.com/data/ 下载的bunny模型,然后启动运行失败。

在render_resource_base.cpp文件中,添加了如下限制:

assert(mesh_vertices.size() <= std::numeric_limits<uint16_t>::max()); // take care of the index range, should be
                                                                              // consistent with the index range used by
                                                                              // vulkan

请问这个会考虑怎么解决呢?