Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Static primitives #412

Open
AlexvZyl opened this issue Jun 21, 2022 · 3 comments
Open

Static primitives #412

AlexvZyl opened this issue Jun 21, 2022 · 3 comments
Assignees
Labels
Feature Request Request to add a feature to the application. OpenGL Software related to the gaphics rendering backend.

Comments

@AlexvZyl
Copy link
Owner

AlexvZyl commented Jun 21, 2022

Currently (with the new rework) the renderer only supports having primitives that has to be owned by something. Must be able to add entities that are static and does not have a lifetime.

Edit: Has the lifetime of the scene.

@AlexvZyl AlexvZyl self-assigned this Jun 21, 2022
@AlexvZyl AlexvZyl added OpenGL Software related to the gaphics rendering backend. Feature Request Request to add a feature to the application. labels Jun 21, 2022
@Cullen-Enerdyne
Copy link
Collaborator

Why should this be an option? Surely something always needs to own the primitives?
Should the scene not maybe own the primitives?

@AlexvZyl
Copy link
Owner Author

AlexvZyl commented Jun 24, 2022

For example, rendering drawings that are not interactable. Like drawing an MCC.

We should just push the data on the GPU and it can stay there until the scene is destroyed. (However, for the future we might want MCC's to be interactable, but anyway)

This would basically be the same as the scene owning it.

@Cullen-Enerdyne
Copy link
Collaborator

See #426

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request Request to add a feature to the application. OpenGL Software related to the gaphics rendering backend.
Projects
None yet
Development

No branches or pull requests

2 participants