1134 Commits

Author SHA1 Message Date
Gavin Tran
72f761678a Add SaltedNoiseFunctions in sampler conversion 2024-04-21 14:54:45 -04:00
Gavin Tran
62317a2f3f Add SaltedNoiseFunctions 2024-04-21 14:48:46 -04:00
Astrash
823afd592b Reduce number of erosion impulses
A reduction of impulse evaluations from 5^2 to 3^2, original algorithm used exponential falloff function which required evaluating impulses from further away to avoid artifacts. I've changed it to a parabolic falloff function which is exactly 0 at the largest possible distance from a cell origin, meaning any cells further than that will not have an effect, preventing said artifacting from occurring. The parabolic function could be replaced with an exponential function (or any other similar easing function) as long as it has an x-intercept at maxCellDistSq. In addition, an option to control whether averaging impulses has been added as it has more of a visual impact with the aforementioned changes.
2024-04-20 15:55:59 +10:00
Astrash
ff03b38b81 Derivative API documentation 2024-04-19 21:25:16 +10:00
Astrash
35246d65b9 Require implementing derivable check 2024-04-19 21:07:53 +10:00
Astrash
41652d29df Use proper check for derivative sampler validation 2024-04-19 21:05:52 +10:00
Astrash
142d364682 WIP fractal-gavoro-pseudoerosion 2024-04-19 20:55:14 +10:00
Astrash
f3476c5cc8 Add feature stage blending 2024-01-07 17:02:08 +11:00
Astrash
9c181f7ee1 Add ability to disable slant palettes globally 2024-01-06 09:13:02 +11:00
Astrash
271e7f3c69 Fix empty slant holders attempting to calculate slant
This occurs when the NoiseChunkGenerator3D#getSlant method is invoked at
a position where the biome has an empty slant holder, currently possible
when using the slant locator addon.

This is fixed by making slant calculation independent of SlantHolders.
Some minor refactoring has also been done as a result of this change.
2024-01-05 18:42:35 +11:00
dfsek
3622003a39 fix other lerp issues 2023-12-24 02:02:46 -07:00
dfsek
84cd96ecf7 fix BrownianMotionSampler lerp usage 2023-12-24 01:53:05 -07:00
Zoë Gidiere
0ad7ee4f9f fix CME 2023-12-10 16:57:27 -07:00
Zoë Gidiere
734d4bfb94 reformat 2023-11-27 11:31:20 -07:00
Zoë Gidiere
c82e015559 flatten array for pipeline biomes 2023-11-27 11:31:11 -07:00
Astrashh
3aef977384
Patch version 6.4.1 (#435)
* Bump version to 6.4.1

* fix fabric dev env

* Invert exposed ore logic (#433)

* Invert exposed ore logic

* Bump ore addon version

* Use logger in Gradle over println (#434)

* Log info instead of println in gradle scripts

* Missed buildSrc printlns

---------

Co-authored-by: Zoë <duplexsys@protonmail.com>
2023-11-25 01:02:45 +00:00
Zoë Gidiere
272556ed81 final reformat and import optimize 2023-11-12 21:45:47 -07:00
Zoë Gidiere
fd0c4df04c Revert "add stub for not physics"
This reverts commit 839bc23a5a2ee5919b7c99620b1d14bdd61923c1.
2023-11-12 21:18:27 -07:00
Astrashh
defd775f13
Change Java whitespace handling in .editorconfig (#425)
* Change whitespace handling in .editorconfig

* Reformat code

* fix format error

* Reformat code

---------

Co-authored-by: Zoë Gidiere <duplexsys@protonmail.com>
2023-11-13 00:57:01 +00:00
Astrash
a73fda7d04 Forgot @Meta 2023-11-13 11:48:06 +11:00
Astrashh
4065cfea53
Fix YAML formatting (#426)
* Remove trailing whitespace in YAML formatting

* Reformat YAML files
2023-11-10 00:47:12 +00:00
Zoë Gidiere
839bc23a5a add stub for not physics 2023-11-09 11:29:09 -07:00
Zoë Gidiere
89d497d500 Some requested changes 2023-11-08 21:58:57 -07:00
Zoë Gidiere
dd7bebb27f Update lerp usage and docs 2023-11-08 21:18:35 -07:00
Zoë Gidiere
020033f839 add rsqrt ts function 2023-11-08 19:53:36 -07:00
Zoë Gidiere
b3ef4ac79c optimized tan 2023-11-08 19:52:05 -07:00
Zoë Gidiere
c4f665ffc5 fix format error 2023-11-05 20:13:04 -07:00
Zoë Gidiere
c00753b0fc let reformat have another go at it 2023-11-05 20:12:57 -07:00
Zoë Gidiere
ad9bc7f67c fix format error 2023-11-02 18:47:45 -06:00
Zoë Gidiere
81a96d6b76 Reformat code 2023-11-02 18:47:36 -06:00
Zoë Gidiere
d696e4fd24 Optimize imports 2023-11-02 18:45:13 -06:00
Zoë Gidiere
c98d39c5d7 Update licence year 2023-11-02 18:42:51 -06:00
Zoë
a6fe268f79
Merge pull request #422 from PolyhedralDev/dev/image-caching
Improve image caching
2023-11-03 00:10:52 +00:00
Zoë
648da95e7d
Scattered ore (#424)
* Scattered Ore Impl

* remove break

* remove another break

* sphereCount -> blockCount

---------

Co-authored-by: Astrash <astrash@protonmail.com>
2023-10-29 17:33:50 -06:00
Zoë Gidiere
5829112a74 Merge branch 'ver/6.4.0' into dev/image-caching 2023-10-26 12:56:17 -06:00
Zoë Gidiere
6f08908bb4 merge ovre-v2 into ore(v1) 2023-10-26 10:43:13 -06:00
Zoë Gidiere
9292d3de17 Remove FastMath
hotspot has intrinsics for almost everything we use it for
2023-10-26 10:37:25 -06:00
Astrash
0149a29b04 Load correct path 2023-10-24 14:08:56 +11:00
Astrash
cd8605850f Replace unload-on-timeout with timeout > 0 2023-10-24 13:47:25 +11:00
Astrash
148b8dfe35 Bump image lib patch version 2023-10-24 13:34:10 +11:00
Astrash
3f485b1825 Add to unload on timeout description 2023-10-24 13:30:09 +11:00
Astrash
cb6ecff113 Remove sout 2023-10-24 13:29:53 +11:00
Astrash
e30bcbf1ba Improve image caching options 2023-10-24 13:26:35 +11:00
Astrash
805f99f57a Make ore algorithm readable 2023-10-20 10:55:23 +11:00
Astrash
4e5b02ef42 Pass correct coords for ore block checks 2023-10-20 10:30:25 +11:00
Astrash
e80e998cec Only log warnings with debug logging 2023-10-20 10:03:04 +11:00
Zoë
4a537a56aa
Merge pull request #415 from PolyhedralDev/dev/ore-v2
Add updated ore-v2
2023-10-18 00:33:15 +00:00
Zoë
4917160123
Update README.md 2023-10-17 18:32:00 -06:00
Astrashh
47f531089e
Add slant locator (#413)
* Add slant locator addon

* Bump slant locator noise3d dependency version

* Fix slant locator dependency version range

* Actually fix slant locator dependency version range
2023-10-10 00:35:47 +00:00
Astrashh
abd83e8278
Add number predicate addon (#412) 2023-10-10 00:35:26 +00:00