Unity 4.3中的遮挡剔除:故障排除

本文介绍了Unity Pro 4.3中遮挡剔除的故障排除,包括可视化工具如相机音量、可见线和门户网站的使用,以及在使用过程中可能遇到的常见问题,如隐藏物体未剔除、可见物体被剔除、剔除速度慢等,提供了解决这些问题的策略。此外,还讨论了烘焙速度慢和遮挡数据过大等问题及其解决方案。
摘要由CSDN通过智能技术生成

The following blog post was written by Jasin Bushnaief of Umbra Software to explain the updates to occlusion culling in Unity Pro 4.3.

以下博客文章由Umbra Software的Jasin Bushnaief撰写,解释了Unity Pro 4.3中遮挡剔除的更新。

This is the last post in a three-post series. In the first one, I described the new occlusion culling system in Unity 4.3 and went through the basic usage and parameters. In the second one, I gave a list of best practices and general recommendations for getting the most out of Umbra. This last post deals with troubleshooting some common issues people tend to encounter when using Umbra.

这是三篇文章系列中的最后一篇。 在第一个中 ,我描述了Unity 4.3中的新遮挡剔除系统,并介绍了基本用法和参数。 在第二篇文章中 ,我给出了最佳实践列表和一般建议,以使您充分利用Umbra。 上一篇文章介绍了使用Umbra时人们经常遇到的一些常见问题的疑难解答。

可视化 (Visualizations)

Unity offers a couple of helpers for figuring out what’s going on in occlusion culling. These visualizations may help you figuring out why occlusion culling isn’t behaving quite as you’d expect. The visualizations can be found by enabling the Visualization pane in the Occlusion window and selecting the camera.

Unity提供了一些帮手来确定遮挡剔除的过程。 这些可视化可以帮助您弄清楚为什么遮挡剔除的行为与您期望的不一样。 可以通过启用“遮挡”窗口中的“可视化”窗格并选择摄像机来找到可视化。

01_inspector_visualization

The individual visualizations can then be enabled and disabled in the Scene view, in the Occlusion Culling dialog.

然后可以在“遮挡剔除”对话框的“场景”视图中启用和禁用各个可视化。

02_occlusion_camera_visualization

Let’s take a look at what the different visualizations do.

让我们看一下不同的可视化功能。

相机音量 (Camera Volumes)

The Camera Volumes visualization simply shows you, as a grey box, in which cell the camera is located. For more information on what the cells are, take a look at the first post. This is one way of figuring out how the value of smallest occluder changes the output resolution of the data, for instance. Also, if it looks like the cell bounds don’t make sense, for example when the cell incorrectly extends to the other side of what should be an occluding wall, something may be amiss.

Camera Volumes可视化工具只是以灰色框的形式向您显示了相机所在的单元格。 有关单元格的更多信息,请参阅第一篇文章 。 例如,这是弄清楚最小阻塞器的值如何改变数据输出分辨率的一种方式。 另外,如果看起来像细胞边界没有意义,例如,当细胞错误地延伸到应该是遮挡墙的另一侧时,可能会出现问题。

03_view_cell_visualization

可见

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值