You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sampleBiomeNoiseBeta() returns integers from 0 to 10000 when bnb->nptype >= 0, and these could be used to display the noise maps on the viewer panel like in 1.18+.
Note that in Beta 1.7, the returned integers are only positive, so instead of -10000 representing a black pixel, 0 will need to represent a black pixel. Also, Beta climate noise exists at a 1:1 scale, not 1:4.
For the sake of clarity, since this isn't fully documented in the code or in my commit notes:
As is apparent in the code, when sampling humidity noise on its own, the raw humidity sample is multiplied by the temperature sample. In the original Minecraft code, the biome lookup table was programmatically generated upon startup, and the first step of generating the table was to multiply humidity by temperature and use this adjusted value for humidity. So while the Cubiomes biome lookup function for Beta 1.7 uses the non-adjusted humidity as input, the biomes themselves are determined by the adjusted humidity. As far as I can tell, every other use of humidity noise in Beta Minecraft explicitly multiplies humidity by temperature. So, in sampleBiomeNoiseBeta(), the returned value for humidity when nptype == NP_HUMIDITY is multiplied by temperature.
Also, this is more of a Cubiomes thing, but it seems appropriate to mention it here -- The int64_t* argument np could probably be removed from sampleBiomeNoiseBeta(). I included it to match sampleBiomeNoise() before I was certain how the function would work, and never got around to removing it once it was clear that it didn't have a purpose for Beta.
The text was updated successfully, but these errors were encountered:
added biome noise visualization for beta 1.7 climates (#212)
added keyboard controls to navigate the map (#217)
added desert wells map option and finders (#218)
added trail ruins map option and finders
added amethyst geode map option
added indicator for igloos with basement
added command line option --reset-all to clear the sessions and settings
added visibility toggles for structures that can be used to de-clutter the toolbar
updated structure icons, replacing several amidst icons that had non-standard sizes
changed UI so multiple conditions can be enabled/disabled at once (#216)
changed warning message for small areas to be more informative (#220)
changed compiler flags for debug builds
changed the toolbar position to its anchor is resored upon restart
changed preferences dialog to be non-blocking
fixed missing y-level option for locate biome center finders (#221)
fixed incorrect stronghold positions for 1.6- (#228)
fixed secondary spawn pass for 1.18+ (#219)
sampleBiomeNoiseBeta() returns integers from 0 to 10000 when bnb->nptype >= 0, and these could be used to display the noise maps on the viewer panel like in 1.18+.
Note that in Beta 1.7, the returned integers are only positive, so instead of -10000 representing a black pixel, 0 will need to represent a black pixel. Also, Beta climate noise exists at a 1:1 scale, not 1:4.
For the sake of clarity, since this isn't fully documented in the code or in my commit notes:
As is apparent in the code, when sampling humidity noise on its own, the raw humidity sample is multiplied by the temperature sample. In the original Minecraft code, the biome lookup table was programmatically generated upon startup, and the first step of generating the table was to multiply humidity by temperature and use this adjusted value for humidity. So while the Cubiomes biome lookup function for Beta 1.7 uses the non-adjusted humidity as input, the biomes themselves are determined by the adjusted humidity. As far as I can tell, every other use of humidity noise in Beta Minecraft explicitly multiplies humidity by temperature. So, in sampleBiomeNoiseBeta(), the returned value for humidity when nptype == NP_HUMIDITY is multiplied by temperature.
Also, this is more of a Cubiomes thing, but it seems appropriate to mention it here -- The int64_t* argument np could probably be removed from sampleBiomeNoiseBeta(). I included it to match sampleBiomeNoise() before I was certain how the function would work, and never got around to removing it once it was clear that it didn't have a purpose for Beta.
The text was updated successfully, but these errors were encountered: