Omissions and inaccuracies in Noise Expressions aux docs

Place to report issues and suggest improvements to the API documentation.
Hanodest
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sun Aug 11, 2024 10:55 pm
Contact:

Omissions and inaccuracies in Noise Expressions aux docs

Post by Hanodest »

In Built-in constants, control:temperature:bias and control:temperature:frequency are missing. They are used in temperature, which is used for tree placement. Weirdly, they also don't have associated controls in the UI either.

In Built-in functions, expression_in_range function is missing, which is used e.g. here

In voronoi_spot_noise, minkowski3 distance should use abs(x) and abs(y). Same for other voronoi functions.
Hanodest
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sun Aug 11, 2024 10:55 pm
Contact:

Re: Omissions and inaccuracies in Noise Expressions aux docs

Post by Hanodest »

variable_persistence_multioctave_noise incorrectly suggests that it's same as multioctave_noise. In practice, they have different parameters. E.g. the following two expressions have the same result:

Code: Select all

variable_persistence_multioctave_noise{x = x, y = y, persistence = persistence, seed0 = map_seed, seed1 = 0, input_scale = input_scale, output_scale = output_scale}
multioctave_noise{x = x, y = y, persistence = persistence, seed0 = map_seed, seed1 = 0, input_scale = input_scale / 2, output_scale = output_scale * 2} 
Notice the difference in input_scale and output_scale. With higher number of octaves the difference is even more complicated.
Post Reply

Return to “Documentation Improvement Requests”