Skip to content

rrika/yvis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

88bcd60 · Nov 10, 2019

History

17 Commits
Oct 9, 2019
Nov 10, 2019
Oct 23, 2019
Nov 10, 2019
Oct 5, 2019
Oct 23, 2019
Nov 3, 2019
Oct 31, 2019
Nov 3, 2019

Repository files navigation

yvis: a vvis-compatible visibility pre-computer

The launcher is written in python and is responsible for putting the resulting data back into the .bsp. The main algorithm is written in Rust.

git clone --recursive https://github.com/rrika/yvis.git # download yvis and srctools
python yvis.py input.bsp                                # assumes existence of input.prt next to input.bsp
cargo run --release input.prt output.pvs output.ppm     # output visibility blob and ppm image for debugging

I hope to improve upon existing visibility tools by:

  • using more accurate linear-programming based visibility checks
  • using sparse data structures for performance
  • using coarse-to-fine approximations to reduce work
  • using performance statistics to auto tune the process
  • giving hints for visleaf merging/splitting based on estimated triangles seen

For more information see my notes of visibility.

About

bsp visibility precomputer, but in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published