-
Notifications
You must be signed in to change notification settings - Fork 51
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
Scene Tags #1030
Scene Tags #1030
Conversation
I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Just be sure to remove the tag when the robot is removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! This is looking good, just a couple comments:
For me, the tags are appearing at the bottom of robots instead of above them
Do you think you can add a toggle in the settings modal to disable nametag rendering? To do so:
- Name the preference under "GlobalPreference" in PreferenceTypes.ts and assign it a default value
- Add it to the settings modal (you can pretty much copy any other toggleable setting)
- Access it elsewhere by calling:
PreferencesSystem.getGlobalPreference<boolean>("RenderSceneTags")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple changes, all around looking good tho
Used a label for consistency Modified the WorldToPixelSpace function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well and looks great, nice work!
Description
Creating 2D tags that will overlay on top of the scene (as they are rendered independently) and are currently used to follow around the robots on screen but they can be used for anything. Since the tags are 2D they always are facing the user.
JIRA Issue