habitat-sim icon indicating copy to clipboard operation
habitat-sim copied to clipboard

How to retrieve MeshMetaData?

Open mahnoor-fatima-saad opened this issue 8 months ago • 1 comments

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?

mahnoor-fatima-saad avatar Nov 03 '23 22:11 mahnoor-fatima-saad

@aclegg3 Thoughts?

0mdc avatar Nov 06 '23 17:11 0mdc