habitat-sim
habitat-sim copied to clipboard
How to retrieve MeshMetaData?
I am using soundspaces 2.0 and trying to get a hold of the materialID that is being assigned to objects. According to my understanding, when we set: audio_sensor.setAudioMaterialsJSON("./data/mp3d_material_config.json")
, our simulator loads the semantic scene via AudioSensor.cpp's loadSemanticMesh function.
I am trying to understand how to print out the meshmetadata of an object that I see via the audio sensor. According to the MeshMetaData struct, I should get the material ID printed out too?
I want to be able to access the materials of an object using soundspaces2.0's audio sensor - how should I go about this problem?
@aclegg3 Thoughts?