艾布拉姆斯坦克Three.js转台模型对比
- 播放
- 1.1万
- 点赞
- 180
- 评论
- 32
- 收藏
- 64
完整提示词4,327 字符
Build a single-file three.js (r160, ES modules via importmap) interactive turntable of a realistic M1A2 SEPv3 Abrams main battle tank in CARC Green 383, aiming for the look of a Blender render. It opens standing in an open desert at golden hour, with studio lighting one click away. Model (fully procedural, real-world scale in metres): beveled hull with sloped glacis, driver's hatch and periscopes, headlight clusters with guards, tow eyes and shackles, fuel caps, engine deck grilles, rear exhaust grille, tail lights, mud flaps. Side skirts made of framed panels with raised lips, lifting handles and a rubber bottom strip. Seven road wheels per side with hub detail, front idler, rear sprocket, return rollers, and an instanced track whose links have split rubber pads, end connectors and wedge bolts and actually run around the wheels. Turret lofted from cross-sections, with hex bolts, lifting eyes, smoke grenade launchers on the cheeks, side stowage boxes, a mesh bustle rack full of kit (bedrolls, ration boxes, a cooler, rolled camouflage nets, water cans, cargo straps), commander's remote weapon station with optics, independent thermal viewer that scans on its own, loader's machine gun on a skate mount, two whip antennas, crosswind sensor. 120 mm gun with thermal sleeve, latches and straps, bore evacuator, muzzle reference sensor and a canvas mantlet cover with folds and straps. Active protection units on both turret sides standing off the wall on brackets: a box with a slanted front, a ribbed radar face looking forward and out, access panel and latches, a turning launcher on top with two ports, cables into the turret, and a second radar on a post looking aft. A toggle hides the protection units. Materials: one weathering shader injected into MeshStandardMaterial via onBeforeCompile, triplanar in object space using a 3D noise texture and canvas-generated detail maps: faded panels, light rain streaks, chipped edges that show older tan paint and then bare steel, subtle rust only at high wear, oil stains, exhaust soot, pale desert dust that settles on top surfaces and low on the sides, mud on the running gear, micro bump detail. Sliders for dust and wear. Finishes: Green 383 (default), NATO three-tone, desert tan. Off-white stencil markings as decals: bumper codes, vehicle number on the side boxes, a name on the gun, lifting and no-step marks. Desert (default scene): rolling dunes displaced in the vertex shader with rounded crests and a flat area around the tank, fine parallel wind ripples on the sand with an anti-tiling blend, a sky dome with a warm horizon, blue zenith, low sun and thin cirrus, distant mesas, smooth weathered rocks, dry shrubs, a small outpost of barriers and drums, and tread marks behind the tank; scenery scrolls and wraps when the tank drives. Warm low key sun with soft shadows, a reflection map built from the same desert sky, sand and sun disk through PMREM so the paint picks up the sky and the ground bounce, light drifting sand and dust kicked up by the tracks. Other lighting presets: Studio (a seamless 360-degree cyclorama that curves from floor into wall with a soft falloff, a reflection map made of soft boxes, strip lights and an overhead ring, key, cool fill and rim spotlight), Noir (dark cyclorama, warm key, blue rim) and Night (headlights on). Everywhere: contact-hardening soft shadows (percentage-closer soft shadows patched into the shadow chunk, enabled per light), GTAO ambient occlusion, ACES tone mapping, a computed contact shade under the hull, and a final pass with gentle vignette and fine film grain. White-hot thermal sight mode with a reticle. Interaction: orbit with auto-rotate turntable, drive with moving tracks, suspension pitch and dust, turret traverse and gun elevation by sliders and arrow keys, fire with recoil, muzzle flash, smoke and camera shake, open the hatches. Web Audio: turbine whine that follows speed, turret servos, the cannon shot, desert wind, quiet ambient music, all toggleable. UI: a condensed stencil title block with spec chips, a readout panel (turret bearing, gun angle, speed, rounds), and a glass control dock that wraps on phones. Shadows update only when something moves; adaptive pixel ratio and ambient-occlusion fallback keep it smooth, and soft shadows are skipped on low-power devices.
出处:作者在原帖下的回复。提示词保留原文语言,未做改写。
📬
订阅 Newsletter,免费获取完整手册
订阅即送《AIP出海自媒体实战手册》完整版(下载链接发到邮箱),还有每周AI精选内容推送
作者提到的工具
原帖:https://x.com/vib3coded/status/2125313222488252689
全部作品数据开源在 GitHub · awesome-opus-5.5-video。
模型归属以作者自述为准,本站未独立复现。播放量为 2026-11-26 的快照。作品版权归原作者,修改署名或下架请在 X 私信 @GoSailGlobal。