[Unity 3d] VertexPaint (Mesh 顶点画手) - GitHub

一个 Mesh 顶点动画绘制工具。

GitHub 上的工程多如繁星,有些好的仓库,但凡不经意间错过了就很难找回,故稍作采撷,希望能帮助到有心人。

简介:

笔者今天推荐的仓库叫 VertexPaint。 - 顶点画手
This package allows you to paint information onto the vertices of a mesh in the Unity editor as well as modify any attribute of the mesh. It uses the new 'additionalVertexStream' system of Unity5, which allows you to override per-instance data on meshes without paying the cost of duplicating a full mesh. This makes it ideal for painting vertex information across many instances of a mesh. The tool also allows you to easily bake that information back to mesh assets if you'd prefer to make a modified mesh and store that in disk, instead of with the instance in the scene.
- 它使用Unity5的新“additionalVertexStream”系统,允许您覆盖网格上的每个实例数据,而无需处理整个网格,这个插件允许你将信息绘制到 Mesh 的顶点上,也支持修改 mesh 的任意属性

功能:

Features
The toolset contains several different painting modes as well as a few tools that come in handy when doing this type of work.You can modify the positions, normals, UVs and colors of a mesh, painting colors, values, or direction vectors taken from the stroke. You can bake lighting or ambient occlusion data into the vertices, or bake any of the changes you’ve made into a new mesh asset on disk.
- 该工具集包含几种不同的绘制模式以及一些在执行此类工作时派上用场的工具。您可以修改网格的位置,法线,UV和颜色,绘制颜色,值或从中获取的方向向量 行程。 您可以将光照或环境光遮挡数据烘焙到顶点中,或者将您所做的任何更改烘焙到磁盘上的新网格资源中。

  1. Paint
    This tool allows you to paint information directly onto the vertices Color or UV channels. Data can be viewed as either color information or greyscale information if you are working on individual channels.

    • 该工具允许您将数据直接绘制到 顶点的颜色或者uv 通道。
  2. Deform
    This tool allows you to modify the vertices positions, properly recalculating normals and tangents.

    • 形变工具,允许您修改 顶点的位置,
      切线和法线将会被合理的重新计算。
  3. Flow
    This tool allows you to paint directional vectors into the color or UV channels, which can be used to create flowing effects in shaders. Note that the tool currently computes direction with a dot product of the tangent and bitangent of your mesh- this means that if your tangents are not in the expected space, the flow direction may be computed wrong.

    • 允许您将朝向数据写到颜色或者uv通道,用于实现水流或者火山岩浆涌动的效果。

Bake
This tab contains a number of utilities, such as the ability to bake AO and lighting into the mesh data. You can also bake information from a texture into your vertices, bake pivot points into the UV channels of the mesh (allowing you to combine many objects and animate them individually in the shader). Finally, you can save meshes as disk assets from this tab.
- 这个工具支持将 AO 或者 Light 数据烘焙到 Mesh 数据,也支持烘焙贴图数据和mesh的 pivot 数据。
Custom
This tab allows you to work with custom brushes, which can be written to do just about anything you can imagine. An example custom brush is included which paints simplex noise onto a model, but the system allows you to write your own custom brushes, apply arbitrary transformations to the vertex data as you paint, as well as provide an interface for your brush.
- 这个工具支持你自己构建笔刷。

演示:

链接:

slipster216/VertexPaint: Unity 5.3 Vertex Painter

结语:

  • 请使用2018.2以下,5.6以上的unity版本测试。

  • 转载请注明出处,谢谢~

本文集持续更新ing,喜欢记得点赞关注哦!

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 来自全国各地的朋友们好,我是冰洁来自山西大同,曾经是一位活泼开朗调皮的宝妈,后来因为家事变得非常迷茫,非常消极,那...
    生活小编利利阅读 316评论 0 0
  • 一、关键词:迷茫。 经常听到有些人在抱怨,说自己很“迷茫”,总是不知道自己想要什么或者说想要干什么,找不到自己的理...
    上成读书阅读 515评论 0 0
  • 今天自己尝试创作水彩小画,发现自己水平真的太糙了,看到自己的画作,特别泄气,感觉自己手残,信心也给打击没了,哎,还...
    余孑阅读 214评论 2 2
  • 抽噎不许秋叶黄,稚子仰天笑无心 文森不见语无人,十兆不解狄更斯
    吴摩洛阅读 201评论 0 1
  • 两小无猜 你许我一生 我许你一世 豆蔻年华 你背弃誓言 嫁入深宫 一墙之隔 相思泪断肠 旌旗凛冽 我拥兵百万 镇守...
    桃瑾阅读 800评论 11 15