Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I'm making a 1st person game that resembles a Wolfenstein like engine, and now I'm at the part where I need to figure out how to get it so the game knows which walls are hidden behind others (thus not displayed), and which ones need to be displayed.
I've been thinking about it and I can come up with a couple of algorithms, none of them that guarantee to work 100% of the time though. Does anyone have an approach that worked for them, or know of one that works best?
0 · ·