RoomAcousticsRenderer: Simulation result is not updated correctly when source moves out of sight
Expected Behaviour
As soon as a source moves out of sight (from the receiver's pov), the direct sound should be rendered inaudible.
Current Behaviour
As soon as a source moves out of sight, the sound remains being rendered from the last position the source was visible from.
Explanaition
Error message in VA console:
Invalid parameter in ITA::SimulationScheduler::RoomAcoustics::Raven::IRavenWorkerInterface::ConvertSimulationResult: Result is empty.
std::unique_ptr<CRIRSimulationResult> IRavenWorkerInterface::ConvertSimulationResult
throws an exception, if simulation result is empty. In this case, the empty result however is the desired result.
if( soundPath->bEmpty == true ){
DEBUG_PRINTF( "[Worker ]\t Result Is Empty\n" );
ITA_EXCEPT_INVALID_PARAMETER( "Result is empty.\n" );
}