Substantial changes to TestLineOrSky which now becomes TraceLine to more conveniently trace lines through the BSP and, terminate the trace on specific contents and return information about the termination point. TraceLine also more correcly handles the cases where points are close enough to the node planes to be considered "on-node" to ensure we get a good intersection point back, when requested. Finally, the algorithm for making the small adjustments to surface points in CalcPoints has been changed so if the surface point can't see the midpoint, we find the obscuring surface and move the surface point just above that. Seems to work better and eliminates some (but not quite all - midpoint is still not quite the ideal point to use) random black spots. Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net> |
||
|---|---|---|
| .. | ||
| common | ||
| light | ||
| vis | ||