Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当模型vertex数量太多时,无法启动引擎 #414

Open
rocketman123456 opened this issue Dec 30, 2022 · 0 comments
Open

当模型vertex数量太多时,无法启动引擎 #414

rocketman123456 opened this issue Dec 30, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@rocketman123456
Copy link
Contributor

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

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

@rocketman123456 rocketman123456 added the bug Something isn't working label Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant