Zh/MAX MAP BRUSHSIDES: Difference between revisions
< Zh
Jump to navigation
Jump to search
1416006136 (talk | contribs) (Created page with "{{Language subpage}} <!-- Add the categories to the main page, not here. Some template, such as {{This is a}}, and all Table templates should be placed to the main page. --> {...") |
No edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
<!-- Add the categories to the main page, not here. Some template, such as {{This is a}}, and all Table templates should be placed to the main page. --> | <!-- Add the categories to the main page, not here. Some template, such as {{This is a}}, and all Table templates should be placed to the main page. --> | ||
{{:User:1416006136/Signature|time= | {{:User:1416006136/Signature|time=Oct 28, 2023}} | ||
'''MAX_MAP_BRUSHSIDES''' 当贴图超过 VBSP 19 格式定义的最大笔刷量时,会发生此情况。 | '''MAX_MAP_BRUSHSIDES''' 当贴图超过 VBSP 19 格式定义的最大笔刷量时,会发生此情况。 | ||
当前的限制为 '''65536''',这是由于 VBSP 19 格式使用 16 | 当前的限制为 '''65536''',这是由于 VBSP 19 格式使用 16 位整数(也称为「shorts」)来计算固体的数量。16位无符号整数的最大值为65536(2^16),这就是限制值的来源。 | ||
如果不改变 BSP 格式就无法解决此问题,并可能破坏兼容性。 | 如果不改变 BSP 格式就无法解决此问题,并可能破坏兼容性。 | ||
Line 11: | Line 11: | ||
术语「brush sides」有点误导性,如果你以前在 Hammer 中注意过你的 brush side 数目,你可能已经注意到编译的结果要更高。 | 术语「brush sides」有点误导性,如果你以前在 Hammer 中注意过你的 brush side 数目,你可能已经注意到编译的结果要更高。 | ||
这是因为在编译时,它包括笔刷的 | 这是因为在编译时,它包括笔刷的{{L|Bounding box|边界框}},每个笔刷最多可以增加6个笔刷边。如果面与边界框的边缘对齐(意味着没有任何角度),则不会添加额外的笔刷边。 | ||
例如:一个五面棱锥笔刷,底面与边界框的底部对齐。虽然笔刷本身只有5个边,但它将算作10个边。额外的5个笔刷边来自边界框。 | 例如:一个五面棱锥笔刷,底面与边界框的底部对齐。虽然笔刷本身只有5个边,但它将算作10个边。额外的5个笔刷边来自边界框。 | ||
作为经验法则,更容易弄清楚这一点。6+斜面数=每个笔刷的 brushside | 作为经验法则,更容易弄清楚这一点。6+斜面数=每个笔刷的 brushside | ||
{{ACategory|Level_Design}} |
Latest revision as of 06:13, 13 July 2024
This page was translated by DaKang233 on October 28, 2023 (UTC+8). Anyone is welcome to add new content or fix errors.
MAX_MAP_BRUSHSIDES 当贴图超过 VBSP 19 格式定义的最大笔刷量时,会发生此情况。
当前的限制为 65536,这是由于 VBSP 19 格式使用 16 位整数(也称为「shorts」)来计算固体的数量。16位无符号整数的最大值为65536(2^16),这就是限制值的来源。
如果不改变 BSP 格式就无法解决此问题,并可能破坏兼容性。
Hammer 中的与编译后的 brushsides 数据差异
术语「brush sides」有点误导性,如果你以前在 Hammer 中注意过你的 brush side 数目,你可能已经注意到编译的结果要更高。
这是因为在编译时,它包括笔刷的边界框 ,每个笔刷最多可以增加6个笔刷边。如果面与边界框的边缘对齐(意味着没有任何角度),则不会添加额外的笔刷边。
例如:一个五面棱锥笔刷,底面与边界框的底部对齐。虽然笔刷本身只有5个边,但它将算作10个边。额外的5个笔刷边来自边界框。
作为经验法则,更容易弄清楚这一点。6+斜面数=每个笔刷的 brushside