Build a 3D scene with AI in PixiJS
Place a lit 3D model inside a PixiJS interface and keep ordinary controls, captions and other 2D elements around it.
You can build a 3D scene with AI in PixiJS for a product viewer or an interactive exhibit without turning the whole interface into a three-dimensional world. The pixijs-3d skill helps the agent embed a 3D view in the existing stage. The model, camera and lights live inside that view; labels and menus can remain ordinary display objects.
Imagine a display stand holding a small ceramic bowl. Start with a plain surface and one light so you can see the rim and its shadow. Once the camera’s starting angle makes sense, load the finished material. This gives you a useful comparison when a glossy surface looks flat or becomes difficult to see against its background.
What it does
- Load an authorised glTF model and play its existing animation.
- Add an orbit camera for a product inspection view.
- Choose materials and lighting that reveal an object’s shape.
- Keep interface buttons in front of the 3D view.
- Mix several instances of a repeated object in one scene.
Install and use
- Set up a PixiJS project with the official @pixi/3d extension and a model you have permission to use. Any external sample has its own asset terms.
- Ask, “Show this bowl on a lit stand, allow rotation and keep the item description fixed beside it.”
- Review the result in the browser, checking the camera limits, shadow and visibility of the controls.
FAQ
Source
Made by PixiJS. Original skill: pixijs-3d, published on GitHub under the MIT licence. The files are unchanged.
View on GitHub