]> icculus.org git repositories - divverent/darkplaces.git/commit
cleaned up entity culling in server code, implemented new option - sv_cullentities_tr...
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Feb 2002 03:08:32 +0000 (03:08 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Feb 2002 03:08:32 +0000 (03:08 +0000)
commit6622dc0f50e46953e458b1b30505d2545ae5902b
treec9b3e0849b692077159bbbec585b3737c93fd466
parentca73bea207fcb994f6baa2b170e198a9dced6b89
cleaned up entity culling in server code, implemented new option - sv_cullentities_trace - traces a line from eye to random locations in the model box, if a trace succeeds it marks the entity visibility timeout for 1 second in the future, and if it fails and the timeout has expired by then, it culls the entity.  this method works great for most cases, and is far more aggressive (and faster) than pvs culling

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1496 d7cf8633-e32d-0410-b094-e92efae38249
server.h
sv_main.c
world.c