Determination of the optically equivalent model in three-dimensional photoelasticity