Distance Field Editor (experimental)
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9892cf1 Jun 4, 2016
Failed to load latest commit information.
zwerg integrated mercury sdf library Jun 5, 2016
.gitignore initial commit, Zwerg 1.3 Mar 18, 2016
README.md updated README.md Jun 5, 2016
Zwerg.sln initial commit, Zwerg 1.3 Mar 18, 2016


Zwerg - Distance Field Editor

by movAX13h (filip.sound@gmail.com)



Feel free to fork and modify.


  • 1.4 - 2016-06-05

    • renamed nodes.xml to functions.xml (format extended), contains defines, helpers and all code nodes
    • nodes can have a 'comment' attribute now which is displayed in the properties panel when the node is selected
    • function tags can have a 'requires' attribute now (name of other node or helper) to maintain code dependencies
    • Zwerg writes only required functions to the shader now (preparation for minify features)
    • renamed raymarcher.fs to shader.fs, moved optional code to functions.xml
    • integrated most operators of the Mercury SDF Library
    • PLEASE NOTE: Scene files created with earlier versions won't load because SDF function definitions have changed! The scene file format itself has not changed.
  • 1.3 - 2014-06-15: external nodes.xml (contains all available nodes from scene view context menu), simplified internal tree structure and code cleanup, fixed: node order

  • 1.2 - 2014-06-14: fixed mouse sensitivity issues

  • 1.1 - 2014-06-10: mouse click selection of df objects + minor fixes


  • C# .NET4.5, VisualStudio 12 (2013) solution
  • OpenGL via OpenTK (find dlls in bin/Debug)



  • distance functions (primitives)
  • distance operations
  • domain operations
  • scene view
  • realtime preview/camera/light
  • properties panel
  • select model on mouse click (experimental)
  • delete node (del key and context menu)
  • save/load scene to/from file (xml)

To do