FlowMap Painter

[update: check outĀ version 0.9.1]

I’ve been neglecting this blog a bit, but I figured this FlowMapPainter might be a good excuse to post something up again.


Click to download FlowMapPainter v0.9

It’s been pointed out that the overlay feature doesn’t work. Bit of a bug there that’ll be fixed in an imminent update.

This is actually a bit of a port job. I’ve been working on a vertex painter for Unity as an editor extension, but at some point after adding flowmap painting, I realised it could be quite useful as a standalone (eg. for folks using Cry, Source, Unreal, etc). So I spent a weekend rewriting the relevant bits, and putting together a very rudimentary interface (since most of that wouldn’t port directly over from the Unity Editor API).

From the readme:

This here is a flowmap painter. It serves to make artist-authored (or -tweaked) flowmaps a viable option, where current methods tend to favor simulations via Houdini, for example.

The tool allows the artist to paint areas of flow, and uses a basic flow shader to immediately preview the results.
It also provides a couple of additional visualisations, such as the actual colors that are being painted, as well as a visualisation of the resulting flow lines.

It’s currently a little rough around the edges; for example, needing to type in the path to your output or custom texture, as opposed to having a proper file browser.


Any and all feedback is welcome, as I continue to work on this.



Ignore file for Git and Unity

After the initial bewilderment of starting up git for my personal projects (I’d previously used Subversion and Perforce), I’m finding it quite nice. For those of you thinking of going Git with Unity, here’s a working ignore file. It basically covers the files listed in Unity’s source controlĀ documentation, plus the Temp directory. Anything else in the project directory gets versioned.

Paste the following in a plain text file named .gitignore located in your project directory (the repo root):


If you want to add more files to ignore, the syntax is pretty simple:

*.Ext     : Standard wildcard
File.Ext  : Specific file
Dir/      : Entire directory
Dir/*     : All files in directory (there's a difference! Thanks to James O'Hare for pointing that out)
!Dir/File : Negates ignore flag (you'll need to use the aforementioned [Dir/*] for this. [Dir/] will effectively override the ignore flag)