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

bluenoise par_bluenoise_set_viewport question #45

Open
michalfratczak opened this issue Apr 21, 2020 · 0 comments
Open

bluenoise par_bluenoise_set_viewport question #45

michalfratczak opened this issue Apr 21, 2020 · 0 comments

Comments

@michalfratczak
Copy link

michalfratczak commented Apr 21, 2020

Hi
I'm trying par bluenoise, its very fast ! Thanks for making it public.

While experimenting with it, I noticed par_bluenoise_set_viewport behaviour I didn't expect.
Changing left/right bounds preserves points pattern and returns resonable point counts.
In contrast, changing bottom/top bounds looks totally different and makes point counts less stable.
I recorded a screengrab to illustrate this. Take a look at the end of video, where a slight change in upper bound, causes almost 10x change in generated point count. Is this to be expected ? I'm not really familiar with algorithm's internals.

Thanks for any tips.

https://www.youtube.com/watch?v=-WKOSpt47cg&feature=youtu.be

Here is how I use par blue noise - calling dist_wang_tiles() on each frame.
https://pastebin.com/9dkFm7n8

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