Stereolithography for 3D photoelasticity