用于确定3D模型内部和外部区域的算法(多个网眼)
我正在尝试在我的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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论