How to I implement occlusion in a B3D game?

Blitz3D Forums/Blitz3D Beginners Area/How to I implement occlusion in a B3D game?

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.

>>and some hostility about selling stuff, from other blitzers<<

Cmon - you are free to do what ever you want. I thought it would be nice to see some freeware tools from time to time.

Personally I would deal with occlusion in a manual way:

Create a tool that displays your entire huge super map. Then you can open boxes with the mouse (ala Maplet) and cover zones with such boxes. You don't need to make every room a zone, think of 5 to 10 thousand polys per zone. Use overlapping boxes and cover the whole map. Then the app can parse all boxes and check if one of the 3 Vertices of a Trianlge is inside a box. It will then create a mesh for each box, containing all neccessary Triangles. In the Game you will only have to ask if the player is inside the xyzwhd of one of the boxes and show that box and hide all the other ones.

This is the easiest way IMHO and considering that you spent maybe a week or more to create the Map Mesh, you shouldn't worry about 5 Minutes of Zone Boxes definitions.