‹ Back to Orbis News
AI creation guides

How to create Godot game props with GLB-3D-Coder

A 4B model can turn text into a 3D web page with GLB export for Godot. Compare its workflow with Meshy and Tripo, check local setup requirements, and learn what to inspect after import.

Orbis News10 min read
Low-poly treasure chest, rocks and trees entering a dark grid scene

Palms surround a wooden platform, with blue and red monsters standing on it and a gray outpost behind it. This is the Godot scene shared by GLB-3D-Coder's developer. Its assets began as web pages written by a 4B model, then were exported as GLB files and placed in the game editor.

For indie developers blocking out levels, this offers a way to visualize crates, barriers and small buildings. Any time savings need to account for generation, import and cleanup together. AI can already provide draft props; turning those drafts into useful project assets still requires a full acceptance check.

The demo images in this article come from the project's developer. The instructions are based on public documentation. We have not run the model; the steps below are for readers to try and include no success-rate or speed tests.

From a web page to a game prop

GLB-3D-Coder is an independent fine-tuning project by CCORE, based on Qwen3.5-4B, and is currently a preview. Given a request such as “build a jungle siege platform,” it produces a file containing HTML and JavaScript, using Three.js to arrange geometry, materials and a scene.

Open that web page to rotate the view and inspect the model, then click Export GLB to download the asset. The Three.js code stays in the web page; Godot receives the exported .glb file. There is no need to move the page's JavaScript into Godot: the GLB file connects the two. The developer shows the imported scene below:

The developer’s platform, characters and outpost imported into Godot
Source: CCORE model card. Developer demonstration, not our own test.

Code generation also offers a way to make changes. Someone comfortable reading code can adjust the geometry and parameters to raise a roof or reduce decorations, then export again. The tradeoff is that the generated output must run in a browser: code errors, dependency loading and export logic can all interrupt the process. The developer also notes that some results need retries or minor code fixes.

Code can change geometry, while detailed textures and character rigging still require other steps. Meshy and Tripo incorporate multiple asset-processing features into their products, making them useful alternatives to compare.

Choose for the task before deciding to run locally

Meshy and Tripo both offer workflows for generating 3D assets from text or images. Meshy's website also lists PBR texturing, automatic rigging and animation; Tripo combines part segmentation, remeshing, texturing and rigging in one workflow. The comparison below covers production approaches based on public features. Visual quality and subscription prices are outside its scope.

ApproachWhat to test firstWhat you need to handle
Local code generation with GLB-3D-CoderSimple low-poly props; whether code gives you control over structureLocal runtime, web page errors, export and engine checks
Hosted generation with MeshyText or reference image to model, followed by texturing and riggingCheck meshes and textures; confirm your plan and export conditions
Hosted generation with TripoPart segmentation, remeshing and further editing after generationCheck part separation and topology; confirm your plan and export conditions

Specific questions in community discussions are easier to apply to your own needs than “which is better?” In one discussion of Meshy and Tripo, the poster wanted to edit a tank's turret separately from its hull. Commenters also discussed texture appearance and noted that both tools offer polygon reduction or retopology. These personal accounts do not share controlled test conditions. Turn them into requirements for your own trial: check part separation if a turret must rotate independently, inspect textures closely if the camera approaches surfaces, and include rigging and animation if a character needs to walk.

If you only need a few static barriers in a level, try one with a small local model first; the main costs are setup and cleanup time. If the task already includes skinning, a skeleton and a set of motions, first examine tools with a complete asset-processing workflow. Do not hide all those later steps behind “generation complete.”

Getting started locally: prepare your machine and generate a GLB

The model card currently offers quantized GGUF files: Q4_K_M at about 2.71GB and Q8_0 at about 4.48GB. For a first trial, you can start with the smaller Q4. File size describes download and storage needs only; running the model also requires memory for context and the application itself.

For hardware guidance, start with LM Studio's system requirements. Windows x64 requires an AVX2-capable CPU; the official recommendation is at least 16GB of RAM and 4GB of dedicated VRAM. Mac requires Apple Silicon and macOS 14 or newer, with 16GB or more memory recommended. These are general recommendations for the software, not measured minimum requirements for this checkpoint.

In the launch thread, someone asked whether an 8GB laptop could run it. The developer thought Q4 might work with a smaller context, while warning that CPU inference would be slow and longer generations would increase memory pressure. With only 8GB, you can try short prompts and small objects, but should not plan a batch of assets that must be delivered that day on this basis. The 96GB graphics card mentioned in the comments was the developer's training hardware, not an inference configuration readers must buy.

1. Download the quantized file and check runtime support

Download your chosen GGUF from Files and versions on the model card. The card says the checkpoint was updated on November 2 at 04:50 UTC (12:50 Beijing time), using the same filenames. If you downloaded an earlier file, check which version you have.

In LM Studio, first confirm that your current runtime supports Qwen3.5 GGUF. Following the official import documentation, run the command below in a terminal and follow the prompts. Replace the path with your actual downloaded file rather than copying the placeholder filename:

lms import /path/to/model.gguf

Importing only adds the file to your model library. Next, follow the LM Studio getting-started guide: enter Chat, open the model selector, choose the imported file and load it into memory. Once loaded, send a simple text message to check that it responds before setting the parameters and system prompt below.

If loading fails with an error such as “unsupported architecture,” record the runtime version and full error, then update to a runtime that explicitly supports Qwen3.5 and try again. Changing the prompt cannot fix a loading problem. If the error indicates insufficient memory, try Q4, shorten the context and close other memory-intensive applications. We have not verified the minimum LM Studio version needed for this checkpoint, so actual loading and output must determine whether this step succeeds.

Text generation alone does not require a separate vision projector. For image input, the model card separately lists the approximately 644MiB mmproj-Qwen3.5-4B-BF16.gguf, and your runtime must support the corresponding multimodal GGUF. Getting text-to-GLB working first removes one layer of troubleshooting.

2. Set parameters and describe a specific prop

The developer's sampling settings are Temperature 0.8, Top K 40, Top P 0.95, Min P 0.0. The model card recommends English prompts. The developer's complete system prompt is preserved below; paste it into your runtime's system-prompt field:

Create game assets for the Godot editor, which uses GLB files. Create whatever the user requests as a good-quality low-poly asset using only Three.js in one complete standalone HTML file. The HTML must show the asset and include an Export GLB button that downloads a working GLB. If the requested asset needs animation, add it and include the animation in the exported GLB; otherwise make it static.

For the user prompt, start with the model card's Build a jungle siege platform. When writing your own request, specify the object, style, main parts and whether it should be static. The following prompt was written for this article and has not been tested:

Create a low-poly wooden supply crate with a closed lid and two metal bands. Keep it static. Use simple geometry and flat colors.

Start with a crate: its silhouette is easy to judge, and it makes checking the complete code and exported file simpler. A whole castle bundles many possible problems together: was the request too complex, was the output truncated, or did the exporter fail?

3. Save the page, check the preview and export

Save the complete output as an .html file, removing any code fences around the chat response. Open it in a browser and confirm that the object appears, the view rotates and the Export GLB button is present before exporting. The model card shows this jungle-platform page:

Jungle-platform web preview with an Export GLB button
Source: CCORE model card. The page shows an Export GLB button and a 607 meshes label.

If the page is blank, press Ctrl+Shift+J in Chrome (Command+Option+J on Mac) to open the Console, refresh the page and keep the first red error. The branches below are general troubleshooting guidance, not steps tested on output generated for this article.

If the error concerns restrictions on loading local modules from a file:// page, try a local HTTP server. The Three.js installation guide also recommends a local server for previews. One graphical option is the Live Server extension for VS Code:

  1. Open the folder containing your HTML in VS Code. If Live Server is not installed, first install the extension above, published by Ritwick Dey.
  2. In the file list, right-click your saved asset.html and select Open with Live Server. The extension opens a browser preview.
  3. When finished, open the Command Palette (F1) and run Live Server: Stop Live Server. If you use another editor, choose a local server listed in the Three.js documentation.

This approach addresses how the page is opened. You still need to check the browser console for errors.

If the error is a remote script 404, an unreachable network or a remote server refusing cross-origin access, starting a local server will not fix that dependency. Correct the resource reference or use an accessible dependency of the same version; the Three.js core library and addons should use matching versions. For syntax errors or a missing file ending, first check that the output is complete. Running the model locally does not mean a page that references external resources can already work offline.

If the preview works but the export button fails, save the HTML, original prompt and first error together. If you can read code, repair the exporter; otherwise, give the model the error and ask it to fix the complete file, then check the preview and export again. If the fix fails, return to a simple object that already works rather than counting repeated retries as success. Once you have downloaded the .glb, bring it into your project.

Four checks after importing into Godot

Godot officially recommends glTF 2.0 and supports binary .glb. Following the import documentation, copy the file into the project directory, return to the editor and wait for import, then place the asset in the scene from the FileSystem panel. Select the source file to open the Import panel; Advanced provides more detailed node, mesh, material and animation settings.

First, check scale and placement. Put the prop beside an existing character or an object of known size, and check its height, orientation and base position. If a whole batch is too large, check root scale in the import configuration. Simply shrinking it in the current scene leaves the same problem for later placements.

Next, check materials. Web and game lighting differ, so correctly imported colors do not guarantee the same appearance. To edit imported materials in Godot, open Advanced Import Settings and choose Actions → Extract Materials to extract them as external resources. The official documentation says these changes can survive reimporting the source model; if material names change in the source file, check the associations again.

The developer’s outpost and surrounding rocks placed in Godot
Source: CCORE model card. The imported outpost scene; a screenshot does not establish that collision or performance requirements have been met.

Then open the scene tree and inspect mesh count and actual runtime cost. The jungle-platform page above says 607 meshes: this counts mesh objects, not 607 triangles, and cannot be treated directly as 607 draw calls. Look closely at small planks, leaves and decorations to see whether they are split into many objects. A low-poly appearance is no substitute for checking object counts, material counts and runtime behavior. Place one asset first, then duplicate it to the number your level needs. Run on the target device and watch frame rate and rendering statistics; when optimization is needed, address repeated decorations, mesh merging or LOD separately.

Finally, check collision and animation. A visual model can appear in the scene while players still walk straight through it. In Advanced Import Settings, Generate → Physics can create physics nodes and collision shapes. Trimesh is an option for static scenes; for moving objects, prioritize simple shapes or convex decomposition. Trimesh cannot be used with dynamic physics bodies. Walk a character around the prop, then try jumping onto the platform to quickly expose collision-shape size and placement problems.

If you requested animation, also check it in the advanced import preview or AnimationPlayer: was the animation exported, does it loop smoothly, and does the motion pull parts apart? The model card's system prompt asks for animation export, but the prompt itself does not mean every result passes these checks.

Start with one replaceable static prop

For a first pass, choose a supply crate, a stretch of barrier or a sign in your level. Their silhouettes are easy to judge, they are inexpensive to replace, and they do not require solving complex character motion first. Use an existing main-character model as a size reference, settle on colors and main parts, then complete one generation, export, import and scene run.

Keep a brief record for this prop: how long generation took, how long web-page repairs took, and what you changed after importing into Godot. Compare the total with building a simple model yourself or finding an existing asset. If generation took minutes but code and collision fixes consumed most of a day, this route has not saved time on the current task. If changing colors and swapping parts produces a usable set of scene drafts, keep the same code for further iteration.

During acceptance checks, put the camera at the distance players will actually see. A distant outpost and a close-up prop need different levels of detail; one model need not serve both purposes. Once this asset fits the level, expand it into a small set of objects in the same style.

Keep the generation prompt, HTML that exports correctly and project-checked GLB together. Next time you want to turn a wooden crate into an iron one, start by modifying this working example.

Further reading: Making a 51-second ad with code; Checking consistency in AI reference images and batch generation (in Chinese).