用于确定3D模型内部和外部区域的算法(多个网眼)

发布于 2025-01-28 18:41:52 字数 257 浏览 2 评论 0原文

我正在尝试在我的3D City Model Viewer程序中实现有效的预先计算的淘汰计划(用户可以从任何数量的架构程序上上传城市的3D模型,这意味着可以有大量不同的不同独特网格)。我想实现的一种主要的淘汰优化是在您在模型内部时淘汰建筑物的内部并淘汰所有其他建筑物(这将有助于帧速率,因为我在Android设备上运行)。

我将如何计算外部是什么,内部是什么,然后在不同的内部之间有所不同?

我在想是否有一种预算这些区域的方法,那么在运行时,这将是与少数区域的简单位置检查。

I am trying to implement an efficient precomputed culling scheme in my 3D city model viewer program (a user can upload a 3D model of a city from any number of architecture programs, meaning that there can be a huge number of separate different unique meshes). And one major culling optimization that I would like to implement is culling out the interior of buildings when you are outside and culling out every other building when you are inside a model (this will help with frame rate, as I am running on an android device).

How would I algorithmically calculate what is the outside and what is the inside and then differeniate between the different interiors?

I was thinking if there was a way to pre calculate these regions, then during runtime it would be a simple position check against those small number of regions.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文