Attn Paul: Visibility culling
Moderator: Ameena
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

-
- Ee Master
- Posts: 688
- Joined: Mon May 07, 2001 7:00 pm
- Location: Indiana, USA
- Contact:
Attn Paul: Visibility culling
You're quite possibly more familiar with the DM code than any of us. Is there any visibility culling technique used in DM/CSB to cull tiles that are blocked by walls? If so, would you be kind enough to give a brief explanation of how it works? Is there any ray-casting going on, or did they just render the whole scene back-to-front?
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
-
- Ee Master
- Posts: 688
- Joined: Mon May 07, 2001 7:00 pm
- Location: Indiana, USA
- Contact:
Cool, thanks. I'm just trying to get info for a clone project. As it stands, I'll be using a scanline triangle fill algorithm to determine cells that fall within the viewing frustum. I'll probably want some kind of raycaster to throw out cells that are completely hidden behind walls, but I'm still working on that.