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

dynamically add particles to the simulation #15

Open
EmileSonneveld opened this issue Jun 15, 2015 · 0 comments
Open

dynamically add particles to the simulation #15

EmileSonneveld opened this issue Jun 15, 2015 · 0 comments

Comments

@EmileSonneveld
Copy link
Owner

Reserve huge buffers on the gpu and fill them up bit by bit.
The code must keep track of how many objects to draw.
For deleting, i could implement a sorting algorithm to place the dead particles at the end of the buffer and adapt the used buffer size in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant