A rendering based CAD method for the design and testing of rearview mirrors