Got it working :)
The screenshot on the right shows the capture for the start hall. I've mangled the intensities (and inverted the range) so that you can see things a bit clearer. The image is also somewhat larger than I will use for production; again, this is just for demonstration purposes.
Further performance optimizations. I only capture the Z buffer under the following conditions:
- The viewleaf has changed (always capture, no matter what).
- We're in the first few frames of the map.
- The view origin or angles have changed significantly.
- 0.1 seconds have passed (i.e. capture at 10 FPS).
It's good to be back on track with this.
0 comments:
Post a Comment