这条提示词解决了用纯Three.js几何体构建复杂飞机模型的痛点,做3D可视化或航空模拟的开发者可以直接复制运行,省去手动建模的繁琐。
一条提示词展示了如何用Three.js从零构建高精度波音747-400飞机模型,仅使用内置几何体(BoxGeometry、CylinderGeometry等),无需外部模型加载器。提示词要求严格遵循真实比例、机翼后掠角(约35°)、四台发动机位置、尾翼构型、驾驶舱窗户、起落架等细节。模型需从多个视角可识别,并包含光照、阴影、轨道控制和简单动画。该提示词可直接生成完整可运行的HTML文件,适合3D可视化爱好者和开发者快速创建飞机模型。
制作飞机的提示词👇🏻 PROMPT: Write a complete single-file HT…
制作飞机的提示词👇🏻 PROMPT: Write a complete single-file HTML document using Three.js (include via CDN) that renders a highly detailed Boeing 747-400 aircraft.
Rules (must follow strictly): - Use ONLY built-in Three.js primitive geometries (BoxGeometry, CylinderGeometry, ConeGeometry, SphereGeometry, etc.). NO external model loaders, no GLTFLoader, no imported assets. - Pay extreme attention to accurate real-world proportions, swept wing angle (~35°), engine positions (4 engines under wings, correct size and spacing), tail configuration (horizontal + vertical stabilizer), cockpit windows, landing gear (retractable), fuselage curvature, winglets, etc. - Make the model instantly recognizable as a Boeing 747 from front, side, top, and 3/4 views. - Add realistic lighting (directional + ambient + point lights), soft shadows, OrbitControls for rotation, and a simple background (sky gradient or grid). - Include a short animation (e.g. slow rotation or landing gear deployment) or make it fully interactive. - Output the complete, ready-to-run HTML code in one block.
Start coding now.