Hi community.
I developed a FPS with Irrlicht.
How can I get all the scene nodes that the player (camera) is seeing in the screen??
Is there a function to do that??? I researched in the CollisionManager documentation but I didn't find a function to do that.
Objects that the player is seeing
ISceneManager::isCulled can be used for that. Maybe take a look at the implementation in CSceneManager::isCulled, even if it doesn't exactly do what you need, it's probably giving you the right ideas.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 42
- Joined: Wed Feb 18, 2009 5:26 am