I've been bundling the tools I've written for various projects over the past few years together. Mostly geometric processing tools and procedural generators. They're part of a library which can be found:
here.
All tools are console applications that can be called from within a scripting environment. A script feeds serialized data into an app via the standard streams and vice versa.
I've added a php setup and scripts for a handful of tools:
- the brancher (a tree generator)
- a poisson sampler (covers a mesh in sample points)
- a convex hull tool
- mesh reduction tool
- texture block compressor
- a shader compiler (wrapper for D3DCompiler)
Scripts and samples for remaining tools I'll add later.
Hope you find something useful in there...
...
In general, scripts look like this:
[source lang="java"] options["somevalue"] = 6; options["aspline"] = new Spline(0.3, 0.4, 0.7); options["andatexture"] = Texture2D::fromNormalMap("Replicator_Normal.png"); meshsaver(array("meshes" => replicator(options)));[/source]
Because of how multiple tools pipe into one another, I think a node editor would suit well as a GUI-frontend.
Is there an existing library that provides this sort of functionality? (...and perhaps a spline/curve editor as well?)
edit: can't get those = chars to line up
Edited by eppo, 11 September 2012 - 03:35 PM.






