# Renderloom Scene to GLB > Export a Renderloom or Form Studio scene as a glTF 2.0 GLB with PBR materials. Convert a Renderloom scene, Kerfwise Form Studio project or render recipe into one GLB file: a node per solid grouped by tag with its position and rotation, metallic-roughness materials from colours and finishes, and optionally a Material Nodes PBR texture set (base colour, normal, occlusion-roughness-metallic) on all solids, one tag or one solid. The file is re-read by a strict GLB parser before download. 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://renderloomsceneglb.usefulweb.app/ (interactive tool at https://renderloomsceneglb.usefulweb.app/tool) - JSON API: POST https://renderloomsceneglb.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://renderloomsceneglb.usefulweb.app/api/v1/tool) - OpenAPI: https://renderloomsceneglb.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://renderloomsceneglb.usefulweb.app/mcp - tool `renderloom_scene_glb` ## Inputs - scene (textarea): Renderloom scene, Form Studio project or render recipe JSON - visibleOnly (boolean): Export visible solids only - texture (select): PBR texture - textureSize (select): Texture size (pixels) - apply (select): Apply texture to - target (text): Tag or solid ID - tileMm (number): Texture repeats every (mm) ## Method - The scene root node converts Renderloom millimetres with Z up to glTF metres with Y up (scale 0.001, −90° about X). Below it, one group node per tag holds one node per solid. - Each solid node carries its translation and its Z rotation and X/Y tilts as one quaternion (Z · Y · X, the Form Studio order), so the mesh is the untransformed extruded footprint. - Colours are converted from sRGB to linear factors. Finishes map to metallic/roughness: matte 0/0.85, satin 0/0.45, metal 1/0.3. - Material Nodes textures are evaluated by the same engine as the app and stored as PNG: base colour (sRGB), normal (+Y, OpenGL style) and one ORM image bound as occlusion (R) and metallic-roughness (G, B). - After writing, the GLB is parsed again (header, chunks, buffer views, accessors, min/max, indices, hierarchy, textures) and its world-space geometry is checked for closed solids. ## Limits - Solids are exported as separate closed meshes with flat normals; no boolean union, cameras, lights or animation. Textured solids get planar (top/bottom) and perimeter (side) UVs; tangents are left to the viewer (glTF MikkTSpace default).