Building materials processing