3-D ray modeling by wavefront construction in open models