Cast polymerization by irradiation