Quantcast
Channel: Latest Questions by zenforhire
Viewing all articles
Browse latest Browse all 83

Calculate camera frustum intersection with plane

$
0
0
We have play area composed of hex gameobjects. We only display/load what is visible. Impossible to load large maps at one time. We want to calculate the polygon intersection with the game board plane. We cannot load every possible game object and test if in the frustum or ray cast to the screen. We need custom code to see which gameobject positions are in the visibility polygon? How do you get the corner rays of the camera frustum? ![alt text][1] [1]: /storage/temp/53944-view-pyramid-clipping.jpg

Viewing all articles
Browse latest Browse all 83

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>