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

histogram preview #16

Closed
malytomas opened this issue Dec 29, 2020 · 3 comments
Closed

histogram preview #16

malytomas opened this issue Dec 29, 2020 · 3 comments

Comments

@malytomas
Copy link

Would it be possible to add histogram preview that would show content corresponding to the texture preview?

As an example, I want to match terrain levels with this:
https://commons.wikimedia.org/wiki/File:Earth_elevation_histogram.svg
(the histogram should have swapped axes)

@Auburn
Copy link
Owner

Auburn commented Dec 29, 2020

That wouldn't really make sense for the noise tool since it works with more abstract concepts of noise in a volume. There is no 0 height, there isn't even a "terrain" unless you use some modifiers

@Auburn Auburn closed this as completed Dec 29, 2020
@malytomas
Copy link
Author

I guess you misunderstood my example, but the concept is much widely applicable.

Generally, I want to generate noise output that has specific distribution. Sometimes, I want constant - black is equally as common as white and equally as common as gray. Other times I want black to occupy 80%, gray 15% and white 5%. Sometimes I want logarithmic curve. And so on and so forth.

If the 2D texture was used as heightmap, it is a terrain, and Earths terrain has some specific distribution which can be achieved with the nodes. Its just that having histogram would make it significantly simpler to reason about designing the nodes graph. I do not mean it as output, that would make little sense of course.

If you really see histogram unfit, than at least consider showing minimum and maximum values. Among other things, it would have hinted at the issue with checkerboard used in the fade node #15.

@Auburn
Copy link
Owner

Auburn commented Dec 30, 2020

ok I think I understand what you mean now. There is a min/max for the 3D preview, I would like to add it for the 2D preview too it's not as easy though since the conversion into a texture happens inside FastNoise. I've been trying to think of a good way to work around this without too big of a performance hit, when I do I can also look at adding a histogram as well.

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

2 participants