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

Allow game entity to reference arbitrary data in render updates #1542

Open
2 tasks
heinezen opened this issue Sep 17, 2023 · 0 comments
Open
2 tasks

Allow game entity to reference arbitrary data in render updates #1542

heinezen opened this issue Sep 17, 2023 · 0 comments
Labels
area: renderer Concerns our graphics renderer area: simulation Involved in the game mechanics and simulation improvement Enhancement of an existing component lang: c++ Done in C++ code

Comments

@heinezen
Copy link
Member

In our engine architecture, game entities in the simulation send requests to the renderer to be drawn. The render requests also include updates on what to draw (i.e. which animation) and where (i.e. the entity position). Updates are only send when this info changes.

Currently, we only send information in updates that is always required by the renderer, e.g. the animation path and the entity position. However, we may want to send other information that is only used in specific cases such as the player ID when drawing player colors. Furthermore, the renderer also needs to be able to handle this info and transform it into something that can be passed to the GPU.

Tasks:

  • Game simulation needs to be able to lookup which data can be send to the renderer (and in which situations)
  • Renderer can transform optional data into something usable
@heinezen heinezen added improvement Enhancement of an existing component area: renderer Concerns our graphics renderer lang: c++ Done in C++ code area: simulation Involved in the game mechanics and simulation labels Sep 17, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in openage renderer Sep 17, 2023
@heinezen heinezen moved this from 📋 Backlog to 🔖 TODO in openage game simulation Sep 17, 2023
@heinezen heinezen moved this from 📋 Backlog to 🔖 TODO in openage renderer Sep 17, 2023
@heinezen heinezen mentioned this issue Jan 2, 2024
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: renderer Concerns our graphics renderer area: simulation Involved in the game mechanics and simulation improvement Enhancement of an existing component lang: c++ Done in C++ code
Projects
Status: 🔖 TODO
Status: 🔖 TODO
Development

No branches or pull requests

1 participant