usermattcancel
branchsbox/mapdoc-managedcancel

4 Commits over 28 Days - 0.01cph!

3 Years Ago
Cleanup and namespace map editor stuff under Tools.MapEditor, MapDoc class -> MapDocument SimplePolygonMeshDescription (mouthful) defines a set of n-gon polygons that can be turned into a half edge Hammer mesh. Explicitly this is simple because vertices are repeated, this isn't performant but it's 1000x easier to do simple things, I'll probably add an additional advanced API for nerds. This will merge coincident vertices on the Hammer mesh if set and within a tolerance.
3 Years Ago
Create inherited map node types MapEntity, MapMesh, etc. Can remove map nodes from managed document Add PolygonMesh for creating map mesh nodes from polygons in C# Add a simple perlin noise mesh generator to Hammer using PolygonMesh Fix a few small bugs with feeding polygon meshes into map meshes Add a window with noise parameters, update map mesh on change
3 Years Ago
GameData binding ( fgd stuff ) Bind MapDoc, MapNode, MapWorld w/ new handles, frame out how internal child nodes are handled Don't use IHandle for mapnodes, pass them to a managed manager and reference by their HammerUniqueId_t. Still storing the native pointer in the class, we could probably roll a handle like system with the unique id. Simple map outliner in C# for testing API Implement entity gallery in C#
3 Years Ago
GameData binding ( fgd stuff ) Bind MapDoc, MapNode, MapWorld w/ new handles, frame out how internal child nodes are handled