Archived

This topic is now archived and is closed to further replies.

Nitro

PVS calculations

Recommended Posts

Hi folks! I did a pvs and bsp compiler but it is too lame. It works like the following: 1. build the bsp 2. build the portals 3. calculate pvs the problem is the 3rd point. For a simple hollow cube I need about one minute to compile. The half-life vising tool does this in 2 secons (a small difference =)). The pvs works like this: First you choose the leaf (it is a leaf bsp, i forgot to mention) for which the pvs should be calculated. then you go through every of the leafs portals and look in which leafs they can look. then you choose the new leafs portals and calculate if they can be seen by the initial portal. so it is a recursive function. But it is sooo sloowwww. i got a tip. first i should build each portals pvs. i did but it is still too lame. does anyone know a good tutorial, source code (perhaps of vising tools) or any other help that might help? I would be VERY THANKFUL! Nitro

Share this post


Link to post
Share on other sites
Take a look at Droyers Tutorials?

http://members.home.com/droyer/tutorials/index.html

maybe they could help....

cya,
Phil



Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states

Share this post


Link to post
Share on other sites