3D建模软件 Libfive 的Unity 适配,试验品哈!
GitHub 上的工程多如繁星,有些好的仓库,但凡不经意间错过了就很难找回,故稍作采撷,希望能帮助到有心人。
本文集以一个小的功能点为单位行文,也便于拾取罢!
简介:
笔者今天推荐的仓库叫 libfive-unity。
这是一个任性的仓库,就是为了证明 libfive 可以在 Unity 跑起来~
A quick CSharp/Unity wrapper for the amazing libfive.
为棒棒的 libfive实现的一个快速的 CSharp / Unity包装器.
Supports operator overloading, tons of convenience functions, Context-based automatic disposal of unmanaged resources, and a strong editor interface.
支持运算符重载,大量便利功能,基于上下文的非托管资源自动处理以及强大的编辑器界面。
功能:
简单的步骤,做出漂亮的模型,立等可取那种哦(一声)!
使用:
Tips:
- Only basic mesh rendering is implemented for the output; Use the unwrapped, untested functions in libfivesharp.libFiveInternal at your peril!
仅实现了输出基础网格渲染; 使用libfivesharp.libFiveInternal 中未适配且未经测试的函数存在风险! - Many of the convenience functions found in libfive-Studio have not been reimplemented here.
libfive-Studio中的许多便捷功能尚未在此处重新实现。 - Much of the functionality is untested!
很多函数都是未测试的 - Only comes with precompiled binaries for Windows.
仅 Windows 适用 - Save often! The plugin has been known to crash Unity from time to time!
时刻注意 ctrl + s , 因为发现这个插件会时而不时的导致Unity奔溃
链接:
zalo/libfive-unity: A CSharp wrapper for libfive with Unity bindings
结语:
- 简单的几句友情提示可见这个仓库的作者多么任性(实在人)。喜欢嫁接东东的或者喜欢mesh编程的可以进去看下。
- 有能力的可以把它完善也是极好的,皆大欢喜!
本文集持续更新ing,喜欢记得点赞关注哦!