Logo vun Prop Model

Prop Model

Organisatioun
SummerEngine
prop-model

Generate one static 3D prop (sword, barrel, chest, lantern, statue): one object, no rig, a MeshInstance3D.

Iwwersiicht

EditeurSummerEngine
Repositorysummer
Skill-Nummprop-model
Stären
91
Forks
8
Matgeliwwert Fichieren
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum SummerEngine op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Prop Model an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/SummerEngine/summer/tree/main/library/skills/prop-model
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/prop-model .claude/skills/prop-model
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Prop Model an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Prop Model automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Prop Model net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Prop Model — Generate One Static 3D Prop and Wire It

One prop, one mesh, one MeshInstance3D. Most game-world objects are static props, so this is the most common 3D-asset call. The skill keeps two things tight: the prompt shape that produces a clean isolated mesh on the first try, and the wire-in pattern that gets the asset into the scene without leaving orphans in res://assets/models/.

The backing operation is assets.generate_3d; it answers with a job that jobs.wait follows. Default model is hunyuan (Hunyuan 3D v3.1 Pro — best quality). Use trellis when speed matters (Trellis 2 is ~2× faster, slightly lower fidelity). meshy is the legacy fallback — only pick it if the user asks by name.

When to use

  • "Make me a treasure chest."
  • "Generate a viking axe."
  • "I need a wooden barrel for the cellar."
  • "Create a sci-fi crate."
  • Any single, static, non-character, non-modular object the player will see in 3D space.

When NOT to use

  • Character / humanoid → character-model (needs T-pose + rig pass).
  • A set of matching pieces (walls, floors, doors, pillars) → environment-kit (style-locked family).
  • Trees, rocks, foliage → organic-model (organic forgives AI artifacts; cheaper recipe).
  • Cars, ships, mechs → vehicle-model (hard-surface specifics).
  • Walls / floors / repeating geometry → asset-strategy Pipeline 2 (textures + CSG).
  • "I just need a placeholder" → propose a primitive (BoxMesh / CylinderMesh) instead. Generation is metered.

Steps

1. Search before generating

assets.search({ query: "<prop name>", assetType: "3d_model", scope: "all" })

If a fitting model exists, propose reuse:

Found assets/models/treasure_chest_01.glb. Reuse this, or generate fresh?

2. Pick a polycount target

Use caseTrisPass via
Hero prop (sword on hip, key item)3k–8ktargetPolycount: 5000
Background prop (crate, barrel, sack)200–800targetPolycount: 600
Mid-range interactive (chest, lantern)1k–3ktargetPolycount: 2000
Cinematic showcase (throne, statue)10k–30ktargetPolycount: 20000

Default if you don't pass it: provider picks (~10k–30k). For most game-world props, that's overkill — pass a target.

3. Build the prompt

Pattern: <object> + <material> + <silhouette/details> + isolated-object suffix.

GoalPrompt that works
Treasure chestA wooden treasure chest with iron bands and a heavy padlock, lid slightly ajar, gold coins spilling. Game asset, centered, stylized, white background, isolated object.
Viking axeA two-handed viking battle axe, weathered iron head with rune etchings, leather-wrapped wooden haft. Game asset, centered, stylized, white background, isolated object.
LanternA medieval brass lantern with stained glass panels and a hooked handle, candle inside. Game asset, centered, stylized, white background, isolated object.
ThroneAn ornate stone throne carved with serpent motifs, red velvet cushion, tall pointed back. Game asset, centered, stylized, white background, isolated object.
Sci-fi crateA weathered sci-fi cargo crate, metal panels with yellow hazard stripes, recessed handles. Game asset, centered, stylized, white background, isolated object.
Potion bottleA glass potion bottle with a cork stopper, glowing purple liquid inside, leather strap around the neck. Game asset, centered, stylized, white background, isolated object.

The isolated object and white background clauses are load-bearing — without them you get scene context (table, ground plane) baked into the mesh.

4. Confirm and call

About to generate viking_axe via hunyuan, target ~5k tris, ~60s. This uses credits. OK?

To say how many credits, run the same call with dryRun: true first: it returns estimate (credits, balance, enough) and generates nothing.

assets.generate_3d({
  prompt: "A two-handed viking battle axe, weathered iron head with rune etchings, leather-wrapped wooden haft. Game asset, centered, stylized, white background, isolated object.",
  model: "hunyuan",
  targetPolycount: 5000
})
jobs.wait({ jobId: "<job.id>", timeoutSeconds: 50 })   // again until finished

The finished job's result holds assetId and fileUrl. Treat assetId as the stable handle and fileUrl as a fallback preview/import URL.

5. Import and wire

assets.get({ assetId: "<assetId>" })
summer_import_asset_by_id(
  assetId="<assetId>",
  path="res://assets/models/viking_axe.glb",
  parent="./World/Props",
  scenePath="res://main.tscn",
  name="VikingAxe"
)
summer_save_scene(scenePath="res://main.tscn")

scenePath is required whenever parent is set — it names the exact scene that receives the model, and the scene does not have to be the active editor tab. Omitting it fails the import with a pass the exact scenePath when parent is set hint. summer_save_scene likewise takes an explicit scenePath; there is no bare form.

For interactive props (chest the player opens, lantern the player picks up), wrap the instantiated model in a StaticBody3D (or RigidBody3D for physics props) with a CollisionShape3D sibling — see scene-composition for the parent-shape pattern.

Anti-patterns

  • Scene context in the prompt. "A sword lying on a wooden table" → the table becomes geometry. Always say isolated object.
  • Multi-object prompts. "A sword and a shield" → fused single mesh. Generate separately.
  • Skipping targetPolycount for background props. A 30k-tri barrel in the background tanks frame rate when the level has 50 of them.
  • Forgetting to import. fileUrl from assets.generate_3d is a remote URL — you MUST summer_import_asset_by_id or summer_import_from_url before referencing it as res://....
  • Generating before searching. Reuse beats regenerate every time.
  • Picking meshy by default. It's legacy. hunyuan is better; trellis is faster.

Edge cases

  • Transparent objects (glass, ice, gem). AI 3D gen makes these opaque. Generate the mesh, then assign a StandardMaterial3D with transparency = ALPHA and a low albedo_color.a in the editor.
  • Long thin props (spear, staff, banner pole). Hunyuan sometimes thickens the shaft. Trellis handles thin geometry better — try it as the second attempt.
  • Concave interior (open chest, hollow vase). Specify "lid open" or "hollow inside" — Hunyuan defaults to closed solids.
  • Symmetrical prop comes back asymmetric. Add symmetric, mirrored to the prompt and regenerate.

Without Summer Engine

In a session without Summer Engine tools (the assets profile; the summer-assets skill has the whole loop), do steps 1-4 and skip step 5 (import and wiring). Save the file where the person asked with out (the summer-assets skill says how), and tell them the path and format. The file is GLB. Generated models are not at real-world size, so give the person the target size (a chair about 1 m, a door about 2 m) to scale it to.

Fallback (no MCP)

The user can run the same prompt in the Summer dashboard or a supported provider UI, download the .glb, and drop it into res://assets/models/. Summer Engine's Import dock will pick it up. Then instance the .glb scene in the level (an imported .glb is a scene, not a Mesh).

Handoff

After the prop is wired:

viking_axe.glb imported and placed at ./World/Props/VikingAxe. Next:

  • For physics (player can knock it over), wrap in RigidBody3D + CollisionShape3D — see scene-composition.
  • For pickup interaction, see design-mechanic for the pickup pattern.
  • For matching props in the same style (chest → barrel → crate as a treasure-room kit), use environment-kit with this prop as the style anchor.

See also

  • asset-strategy — the meta-router that decides between this skill and Pipeline 2 (textures).
  • character-model — for humanoids.
  • environment-kit — for style-locked sets.
  • summer_docs_read id reference/mcp-tools-reference — how to call assets.generate_3d; summer_search returns its exact input.

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
assets.generate_3d, summer_assets_generate_3dsummer assets generate-3d
summer_assets_generate_imagesummer assets generate-image
summer_assets_getsummer assets get
summer_assets_searchsummer assets search
summer_docs_readsummer docs read
summer_add_nodesummer engine add-node
summer_get_scene_treesummer engine get-scene-tree
summer_import_asset_by_idsummer engine import-asset-by-id
summer_import_from_urlsummer engine import-from-url
summer_inspect_nodesummer engine inspect-node
summer_save_scenesummer engine save-scene
summer_set_propsummer engine set-prop
jobs.wait, summer_jobs_waitsummer jobs wait
summer_searchsummer ops search "<what you want>"

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Prop Model?

Generate one static 3D prop (sword, barrel, chest, lantern, statue): one object, no rig, a MeshInstance3D.

Firwat Prop Model op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Prop Model besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Prop Model an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/SummerEngine/summer/tree/main/library/skills/prop-model an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Prop Model benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Prop Model benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Prop Model domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Prop Model gratis?

Jo. De Skill gëtt vum SummerEngine ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇