-
Notifications
You must be signed in to change notification settings - Fork 427
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
Replay Batch Renderer #1904
Replay Batch Renderer #1904
Conversation
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.
LGTM!
Just making sure -- is this meant to eventually also abstract away from using a On my side I have some really dirty code that attempts to make that abstraction, by storing an ID inside a |
30098e7
to
4037f70
Compare
This is intended to help abstracting away the scene graph, however this will be done in a later PR.
I'd love to see your vision on this. |
std::vector<std::vector<char>> buffers(numEnvs); | ||
std::vector<Mn::MutableImageView2D> imageViews; |
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.
FYI you could use Magnum's Image2D instead of a buffer + an image view. It's an owning container so there's no need to maintain a separate buffer for it, and it's implicitly convertible to a [mutable]ImageView2D
as well.
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.
I'll move on with this changeset and improve the test case when the real batch renderer will be integrated here.
Motivation and Context
This changeset is a continuation of the work started in #1745 by @eundersander (see facebookresearch/habitat-lab#863 for full context).
How Has This Been Tested
ReplayBatchRendererTest
is successful.Types of changes
Checklist