Offset / Scale in NoiseTool Texture Preview #152
Replies: 4 comments 6 replies
-
The preview in the noise tool defaults to 0,0 being in the centre, to replicate this in your code you'd want to do |
Beta Was this translation helpful? Give feedback.
-
Are you setting the frequency value to the same as preview window, that will affect the scale |
Beta Was this translation helpful? Give feedback.
-
@Auburn is the issue/difference likely to be down to something my side, do you think? I am using the latest version from the downloads page: v0.10.0-alpha I am using the DistanceToPoint module to capture a circular area that I can then scale it and subtract from other inputs, to achieve this: |
Beta Was this translation helpful? Give feedback.
-
Both cellular distance have a min output of 0, checkerboard and sine wave have a min of -1. The noise tool shows -1 as black and 1 as white, so it's expected that the minimum is grey. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have a question around offsets and scale, because the noise I generate myself via code looks slightly different to how it does in the NoiseTool Texture Preview.
Does the NoiseTool do anything special with the inputs/outputs?
For example, I want to use the DistanceToPoint module. It looks fine in the NoiseTool Texture Preview, and is centred perfectly:
However if I generate it myself, it looks to be zoomed in significantly, and is also not automatically centred – which I had assumed was what this module did. Its the sprite on the right of this screenshot:
The main lines of code, and the tool encode string I used:
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions