Tom Forsyth on Nostr: Is there any reason NOT to use a (nearly) infinite clip plane in D3D? You can just ...
Is there any reason NOT to use a (nearly) infinite clip plane in D3D? You can just pass something big like 2^80 as the far clip plane into the standard projection generator and it spits out basically the right thing.
It's odd that more people don't know about "just set the far clip to infinity". Just don't know, or is there some real reason to avoid it?
Published at
2026-05-09 05:55:21 UTCEvent JSON
{
"id": "5b12f4b1cae6bf542eee1da3498d13280e2980c349f1ff24ec0e09ac531881d0",
"pubkey": "59c5c61181eb766e339fd4da8594510cc8ee73ae967fe4298fafc81c718619d4",
"created_at": 1778306121,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/users/TomF/statuses/116543070011024842",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "Is there any reason NOT to use a (nearly) infinite clip plane in D3D? You can just pass something big like 2^80 as the far clip plane into the standard projection generator and it spits out basically the right thing.\n\nIt's odd that more people don't know about \"just set the far clip to infinity\". Just don't know, or is there some real reason to avoid it?",
"sig": "f6f01f929c72dc504295bef757c66b2f1d7f60eba87b6d1edb8302e285dc84cef9c3372f767c4990f7c67547c71a5a64a413d8547a7400c5de20fca6c0ee5211"
}