Build
Build is an engine developed by Ken Silverman for Apogee Software/3D Realms. ZDoom borrows a few elements from Build for various purposes.
| “ | Here's a summary of the Build code in ZDoom that I wrote a few months ago:
The slopes themselves were (and still are) entirely my own code. The part that's from Build is the wall boundary calculations. The way Doom did it was too imprecise for any useful sloping, so I was in the process of rewriting it to use the standard perspective divide equations, then Build's source was released, and I saw I was going in the same direction as it, so I just used its code to save myself some time. Here's a list of Build-touched functions:
There might be others, but I'm pretty sure that's all of it. The wallscan and prepwall routines are basically all for splitting up R_RenderSegLoop so that it can draw four columns at a time instead of just one, which can be significantly faster depending on the processor's cache. You could remove those and go back to the old R_RenderSegLoop without affecting slopes, but there will be a performance hit. |
” |
In addition, voxels are also rendered with Build code. (The code to load a voxel object in memory, though, is custom.)