initial version of 3D reconstruction ray caster