Skip to content

Releases: xaroth8088/react-planet

v1.5.1

27 May 06:07
156be8c
Compare
Choose a tag to compare

Updates usage of emsdk to 2.0.23

v1.5.0

27 May 04:04
b1284bc
Compare
Choose a tag to compare

This release moves the texture generation to happen from inside a web worker, which unblocks the main thread and sets us up to be able to use pthreads in the future.

v1.4.0

26 May 04:02
88d833f
Compare
Choose a tag to compare

Now uses SIMD to greatly speed texture generation! Also, a plethora of package updates to go along with that.

More optimization work

15 Jun 04:53
55e543f
Compare
Choose a tag to compare

Do you know what's faster than a faster noise library? Calculating noise less often. And also a faster noise library.

Because normals are now calculated slightly differently (as part of this optimization work), some planets may not look exactly like they did in 1.2.0 - but they'll be close enough that probably nobody will actually notice, hence the minor version bump.

Smaller textures

11 Jun 02:54
94c2420
Compare
Choose a tag to compare

Three of the four textures generated by the library basically ignored the alpha channel anyway, so I've updated things to no longer generate that unused channel for those cases. Bumped minor version on the off chance that this could cause problems for some clients.

Minor Optimization

04 May 19:59
fd6b8f9
Compare
Choose a tag to compare

Adds partial protection against loading the wasm module more than once, which will help reduce memory utilization (especially when re-rendering the same instance of the component due to props changes).

Moves texture generation to happen in native code

19 Apr 03:50
79477dc
Compare
Choose a tag to compare

Texture generation now happens entirely in the native layer. This prevents a lot of overhead that was happening as the texture generation process switched back and forth between JS-land and native-land. Rough benchmarking puts this approach somewhere in the 10x-12x faster range.

At this point, the SimplexNoise generation takes the vast majority of the runtime. So if you've got a faster 3d noise generation algorithm, drop me a line. :)

The interface is unchanged, but the changes under the hood (e.g. changing from Simplex noise to OpenSimplex noise; moving more work into the native layer) are significant enough that I felt it warranted a minor version bump.

Initial release

29 Mar 19:28
Compare
Choose a tag to compare

Initial release