View Single Post
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-15-2009 , 15:06   Re: [TUT] Usage EngFunc_EntitiesInPVS
Reply With Quote #8

Quote:
Originally Posted by joropito View Post
Yes please!

I thought PVS was just what you can see (visual area) but it's like what you could see in a 360* fashion from the point where you are.

And, during my tests, I saw that the walls were ignored...
Quote:
Originally Posted by ot_207 View Post
What is PVS?
PVS means potentially visible set, this means that the entities that we have in this list can be seen.
PVS does not hold just the entities that we see!
By knowing this we can get to the conclusion that PVS has the role of limiting data transfer for better internet connection/lower amount of data transfer!

So in small words I want to say something like this:
Code:
Entity that is in PVS => Can be seen => Data Transfer about that entity
Entity that it is not in PVS => Can not be seen => No data transfer => Save bandwidth
How does it work?
Well let's say that every room of the map is a cube.
We find ourselves in a room and that also means that we are in the cube of that room.
We can see the entities in the next rooms because the cubes of that room touch with the cube of the room we are in.
And yes the walls should be ignored! Because info about the worldspawn isn't sent to the client!
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline