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

Preprocessing of vector fields #6

Closed
sci10n opened this issue Apr 23, 2017 · 3 comments
Closed

Preprocessing of vector fields #6

sci10n opened this issue Apr 23, 2017 · 3 comments

Comments

@sci10n
Copy link
Collaborator

sci10n commented Apr 23, 2017

Since we aren't using hardware acceleration for the construction of the vector fields we probably have to fetch them from preprocessed images if we want live demo.

@CaffeineViking
Copy link
Owner

That depends I guess, we can still generate simplex noise, create a vector field from it and apply the curl operator, write to a texture (uploading it to graphics memory) and re-start the simulation. Maybe you are referring to the amount of time it takes to re-generate and that maybe it isn't feasible to do up on stage? Have we measured how long it takes to re-generate the curl-noise vector field? A small hitch (1 s to 2 s) is fine in my eyes (as long as we have a button where we can change several settings at the same time).

Anyway, let's discuss this on the next meeting. But you are right though, if we can't do this in real-time a good bet would be to write them to images and load them. Nevertheless, it could be beneficial to have a this feature even if we can do it real time, in case we would like to modify the vector field directly (e.g. to add other static objects).

@sci10n sci10n added the wontfix label Apr 24, 2017
@sci10n
Copy link
Collaborator Author

sci10n commented Apr 24, 2017

Not relevant any more given the restructuring of evaluating the vector field on the GPU for each particle.

@CaffeineViking
Copy link
Owner

Sounds perfect! I'll go ahead and close this then.

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

No branches or pull requests

2 participants