# Voxel Greedy Mesher (OBJ, STL, GLB) > Turn a voxel model into a compact, watertight OBJ, STL or GLB mesh. Merge the exposed faces of a Renderloom voxel model into the fewest same-colour rectangles (greedy meshing), remove T-junction cracks, check the result with the shared mesh analyser and download it as OBJ + MTL, binary STL or GLB. Part of usefulweb.app (https://usefulweb.app/). Part of [Renderloom](https://renderloom.usefulweb.app/) (ownerApp: renderloom). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://renderloomvoxelmesher.usefulweb.app/ (interactive tool at https://renderloomvoxelmesher.usefulweb.app/tool) - JSON API: POST https://renderloomvoxelmesher.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://renderloomvoxelmesher.usefulweb.app/api/v1/tool) - OpenAPI: https://renderloomvoxelmesher.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://renderloomvoxelmesher.usefulweb.app/mcp - tool `renderloom_voxel_mesher` ## Inputs - project (textarea): Renderloom voxel project JSON - format (select): File format - mode (select): Meshing - unitMm (number): Voxel size (mm) ## Method - For each axis and direction, every slice is scanned for exposed voxel faces (the neighbouring cell is empty or outside the grid). Equal-colour faces are merged greedily: extend along the row as far as possible, then extend the strip row by row while the whole strip matches. - Watertight mode walks every rectangle edge and inserts the corners of neighbouring rectangles that lie on it (T-junction removal). Rectangles without such vertices stay two triangles or one OBJ quad; others are fanned from their centre. - The mesh is checked with the same edge analysis as the Renderloom mesh analyser: boundary, non-manifold and inconsistent edges, non-manifold vertices, volume by the divergence theorem and surface area. - OBJ and STL use millimetres with Z up. GLB stores metres with Y up: its root node rotates −90° about X and scales by the voxel size, so viewers show the model upright at true size. ## Limits - Watertight means no open or non-manifold edges. Voxels that touch only along an edge or at a corner always give non-manifold edges; the report lists them instead of hiding them. Colours become flat materials; no textures are generated.