Hiding entities when they are not on screen

Blitz3D Forums/Blitz3D Programming/Hiding entities when they are not on screen

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It depends on what sort of a game, how many entities etc.

Many previous suggestions involve having your game split into areas, where all the entities for an area are parented to a pivot or something. At the change of area, this pivot (and thus all recursive children) is hidden.

Some of the following may help:

http://www.blitzbasic.com/codearcs/codearcs.php?code=1244

http://www.blitzbasic.com/Community/posts.php?topic=41049

http://www.blitzbasic.com/Community/posts.php?topic=41247

plus check out the code archives (maybe search them for 'Occlusion' as this is what you are trying to achieve.