facebookresearch / habitat-sim

A flexible, high-performance 3D simulator for Embodied AI research.
https://aihabitat.org/
MIT License
2.54k stars 414 forks source link

-- [Part 1 of 2] Semantic Attributes Metadata : Support for Semantic Regions - Add attributes/config support #2299

Closed jturner65 closed 7 months ago

jturner65 commented 8 months ago

Motivation and Context

This PR is part 1 of a 2 part changeset that adds support for semantic regions in a dataset-agnostic way through the use of the existing metadata subsystem tooling.

This component adds manager, attributes and JSON config support for semantic scene descriptions that include region annotations for poly-loop-based extrusion region definitions, integrated into the existing metadata subsystem, managed by the existing scene dataset handling and accessed during scene creation. This PR does not introduce any breaking changes to the existing system, but does expand the possible metadata loading/handling in the scene dataset configs for the "semantic_scene_descriptor_instances" tag.

Part 2 of this PR will use these configs to instantiate Semantic Regions with the appropriate geometry and location that will support point containment checks and debug rendering.

How Has This Been Tested

Existing c++ and python tests pass.

Types of changes

Checklist