-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix memory usage #68
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now a very static vertex buffer is allocated on host memory, this can probably be done directly on the GPU with geometry shaders (see
layout
). By default this buffer is full and of size256 * 256 * 256 * 3 * 4
, or about 200MB.Also, it is of note that the colour buffer is mostly empty most of the time, while it is of the same size as the vertex buffer.
To fix this I am thinking of first processing the input file, turning it into a texture, then moving the sliding window on this texture.
The text was updated successfully, but these errors were encountered: