同一新闻,精选展示《Sprite Stacking:利用Agent技能将四视图像素画转为可旋转伪3D精灵》
Four pixel art drawings are enough to create a rotatable fake-3D game asset. No traditional 3D modeling required. 🎮
Developer Daniel White has released sprite-stacking, an open-source Agent Skill that teaches Claude Code, Codex, Cursor, and other coding agents to turn simple 2D artwork into objects you can rotate and explore.
And the technique is surprisingly clever.
🧩 How does it work?
Start with four orthographic drawings of the same object:
▪️ Top view
▪️ Side view
▪️ Front view
▪️ Back view
The system uses those views to reconstruct a voxel-like volume.
It keeps the regions that agree across the different projections, then slices the resulting shape into thin horizontal layers.
Those layers are stacked vertically and rendered at different angles.
The result looks three-dimensional while preserving the crisp appearance of pixel art.
🛠️ What can you create?
▪️ Rotatable vehicles, buildings, trees, and environmental props.
▪️ 16-direction sprite sheets for top-down games.
▪️ Layered sprites with normal maps for lighting effects.
▪️ Emissive masks for glowing windows, headlights, and neon signs.
▪️ Interactive scenes with multiple stacked objects.
The included browser viewer is more than a simple turntable.
It supports day-night lighting, directional shadows, rain, snow accumulation, reflections, and procedural environments.
There's even a playable mode where you can move through a scene using WASD.
🤖 AI agent integration
Install the skill:
npx skills add danielwh2/sprite-stacking
Then ask your agent something like:
"Create a rotatable pixel-art car and export a 16-direction sprite sheet for my game."
The agent can generate or process the four views and run the conversion pipeline.
Under the hood, it uses Python, Pillow, and NumPy.
🎨 Is this a new AI 3D model?
No. Sprite stacking is an established game-art technique.
The innovation here is making the workflow accessible to coding agents and automating the geometry extraction.
The resulting sprites aren't conventional textured polygon meshes.
But for stylized top-down games, isometric environments, and pixel-art projects, that may be exactly what you want.
Four flat drawings. A stack of layers. A surprisingly convincing little 3D world.
Free and MIT-licensed.
GitHub:
https://github.com/danielwh2/sprite-stacking
#PixelArt #GameDev #AIAgents #OpenSource
来源:CuteGuy☣️ · x.com