Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HITL - Add object visbility handling and hide "self" in viewports. #1959

Merged
merged 3 commits into from
May 17, 2024

Conversation

0mdc
Copy link
Contributor

@0mdc 0mdc commented May 15, 2024

Motivation and Context

This leverages instance metadata keyframes to hide objects in viewports.

It introduces the concept of "visibility layers".

  • Objects are assigned to a visibility layer.
  • Viewports are assigned a list of visibility layers.
    • All objects from these layers will be visible.

This also changes rearrange_v2 such as the user's agent is hidden from the first person view.

Notes

Depends on:

Agents are now transparent to selection, so they won't be interfering with UI flow:

Examples

Before:

viewports-2024-05-15_10.21.58.mp4

After:

object_properties-2024-05-15_10.45.29.mp4

How Has This Been Tested

Tested on multiplayer HITL.

Types of changes

  • [Development]

Checklist

  • My code follows the code style of this project.
  • I have updated the documentation if required.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes if required.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 15, 2024
@0mdc 0mdc mentioned this pull request May 17, 2024
5 tasks
@0mdc 0mdc force-pushed the 0mdc/object_visiblity branch from 918e086 to 6ea0ad7 Compare May 17, 2024 18:11
@0mdc 0mdc merged commit ed863f5 into main May 17, 2024
1 of 3 checks passed
@0mdc 0mdc deleted the 0mdc/object_visiblity branch May 17, 2024 18:12
0mdc added a commit that referenced this pull request May 23, 2024
…1959)

* Add object visiblity and viewport visbility layers.

* Hide self in viewports.

* Don't render viewports if networking is disabled.
@0mdc 0mdc mentioned this pull request Jun 19, 2024
5 tasks
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jun 26, 2024
…acebookresearch#1959)

* Add object visiblity and viewport visbility layers.

* Hide self in viewports.

* Don't render viewports if networking is disabled.
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
…acebookresearch#1959)

* Add object visiblity and viewport visbility layers.

* Hide self in viewports.

* Don't render viewports if networking is disabled.
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
…acebookresearch#1959)

* Add object visiblity and viewport visbility layers.

* Hide self in viewports.

* Don't render viewports if networking is disabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants