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

Allow noise map precalculation #224

Open
tomrijnbeek opened this issue Mar 8, 2021 · 1 comment
Open

Allow noise map precalculation #224

tomrijnbeek opened this issue Mar 8, 2021 · 1 comment

Comments

@tomrijnbeek
Copy link
Member

🆙 Improvement proposal

Noise maps are always calculated when needed, without caching. For expensive to evaluate noise, you may want to turn this generic function into a pre-calculated "texture" so that querying becomes significantly cheaper.

Context

#223 introduces a method to potentially create complex composite noise maps. If you want to read from these maps often, you may want to precalculate the values.

@tomrijnbeek
Copy link
Member Author

Note that while the easiest method of doing this is by turning the noise map quite literally in a texture by dividing the space in a square grid. However, one could also consider using other methods to subdivide the space, e.g. by triangulating or even adaptive subdivisions.

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

1 participant