Materials characterization for stereolithography