3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
// What scene_capabilities says about recipe vegetation. It lives apart from agent-scene-capabilities.js, which every agent scene bundle carries; the MCP host adds it to the capabilities it returns.
export const VEGETATION_CAPABILITY_NOTE = "Node field vegetation turns a group node into trees (src/vegetation.js). One tree: {species: broadleaf|birch|conifer|palm|bush, seed=1, height?, leaves: cards|mesh}, grown at the node transform. A scatter: {mix:{species:weight, also grass and flowers}, seed, leaves, scatter:{ground: terrain node ID, density=0.012 per m2, slopeLimit=32 degrees, area?:{min:[x,z],max:[x,z]}, exclude?:[{center:[x,z],radius}|{min,max}|{node,radius}], variants=3 (1-4), scale?:[min,max]}}; terrain holes stay clear. Instances sit in the ground node frame, so give the group the ground transform. Levels (0 full to 3 far) come from the recipe camera eye at each edit, never from a frame, plus optional cullDistance m and distanceScale, so a seek cannot change them. season 0 summer, 0.35 gold, 0.6 orange, 0.85 brown, 0.9 and up bare for broadleaf, birch and bush (conifer and palm stay green). scatterVegetation from crucible/addons/vegetation gives the same instances for the same options. At most 1000 instances. scene_inspect vegetation lists instances per species and level, culled and triangles. Tags foliage and grass sway with environment.wind {strength 0-4 (0.3), direction degrees, 0 toward +x and 90 toward +z}; a recipe material may use them, and asset materials:[{name, tag:\"foliage\"}] makes the leaves of an imported tree sway and cast moving shadows.";