改进了 Lua 的 Perlin Noise 模块

发布于 2024-08-02 11:08:49 字数 318 浏览 4 评论 0原文

我的 Lua 代码中需要改进 Perlin 噪声

有没有不错的开源 Lua C 模块可用?

或者是否有任何不错的 C 库可供我编写包装器(也许与其他噪声函数一起)?

我知道自己写一个并不难(参考代码在Java中是微不足道的到端口),但我不想在这里重新发明轮子。

I need Improved Perlin Noise in my Lua code.

Are there any decent open-source Lua C modules available?

Or is there any nice C library that I can write a wrapper for (perhaps with other noise functions)?

I know that it is not hard to write one myself (reference code in Java is trivial to port), but I do not want to reinvent the wheel here.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倾城°AllureLove 2024-08-09 11:08:49

啊,好吧,那么我就得自己动手了: http://github.com/agladysh /lua-噪音/

Ah, well, I'll have to roll my own then: http://github.com/agladysh/lua-noise/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文