Func detail: Difference between revisions
m (→Entity Description: {{Intent}}) |
m (could still be explained better) |
||
Line 2: | Line 2: | ||
==Entity Description== | ==Entity Description== | ||
A brush entity that does not retain any actual entity data after a compile, making it similar to a [[brush|world brush]]. It is solid (unless materials specify otherwise) and blocks light just like a normal world brush. | A brush entity that does not retain any actual entity data after a compile, making it similar to a [[brush|world brush]]. It is solid (unless materials specify otherwise) and blocks light just like a normal world brush. | ||
Unlike a world brush, a func_detail does not block visibility. Therefore it does not contribute to [[vvis|visibility]] calculations (reducing compile time) and does not divide the BSP tree. Thus, they are ideal for optimizing "visual detail" brushes that do not significantly block the player's line-of-sight (like debris, fences, or even small buildings) and complicated brushwork (like stairs, columns and angled brushes), since func_detail brushes will not cause other brushes to be divided into additional faces on contact. | |||
For an example of how func_detail geometry can be used to reduce face splits, see the example file ''Steam\SteamApps\username\sourcesdk_content\hl2\mapsrc\sdk_func_detail.vmf''. | For an example of how func_detail geometry can be used to reduce face splits, see the example file ''Steam\SteamApps\username\sourcesdk_content\hl2\mapsrc\sdk_func_detail.vmf''. |
Revision as of 15:56, 19 February 2007
Entity Description
A brush entity that does not retain any actual entity data after a compile, making it similar to a world brush. It is solid (unless materials specify otherwise) and blocks light just like a normal world brush.
Unlike a world brush, a func_detail does not block visibility. Therefore it does not contribute to visibility calculations (reducing compile time) and does not divide the BSP tree. Thus, they are ideal for optimizing "visual detail" brushes that do not significantly block the player's line-of-sight (like debris, fences, or even small buildings) and complicated brushwork (like stairs, columns and angled brushes), since func_detail brushes will not cause other brushes to be divided into additional faces on contact.
For an example of how func_detail geometry can be used to reduce face splits, see the example file Steam\SteamApps\username\sourcesdk_content\hl2\mapsrc\sdk_func_detail.vmf.
