Gravitational waveform model based on photon motion for spinning black holes