hn.today

PixiJS 3D Open Sourced

pixijs.com15 points1 comments
Screenshot of PixiJS 3D Open Sourced

PixiJS 3D is an open beta that adds a full 3D engine to PixiJS while keeping its familiar 2D workflow. A 3D scene is a display object called View3D, so developers can add one to an existing stage, mix it with sprites and interface elements, and use familiar asset-loading and pointer-event systems. Multiple 3D views can coexist, each with its own scene and camera. The two dimensions can also interact: 2D containers can appear on 3D surfaces, and 3D objects can affect 2D content behind them. This supports anything from a single 3D item in a menu to a full 3D game with 2D overlays, including nested combinations.

The engine aims to make efficient rendering automatic, batching compatible objects and selecting rendering approaches suited to the device, browser, and scene. It is designed primarily for WebGPU, with WebGL2 support, and includes features such as shadows, animation, particles, and post-processing. The announcement highlights performance in complex, changing scenes, adaptive culling, and reduced CPU work for unchanged meshes. Documentation includes 35 guides, more than 100 examples, tutorials, and an API reference. After a closed beta that produced over 30 reports and feature requests, the project is inviting wider testing and feedback; the API may still change before version 1.0. PixiJS 3D is MIT-licensed and offers new PixiJS skills for AI coding agents.

Read on pixijs.com1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Ggml v1.0.0

Ggml v1.0.0

ggml 1.0.0 removes deprecated public APIs and legacy DIAG_MASK operations, while adding configurable YaRN truncation and FP8 support. It also improves backend performance with quantized matrix multiplication, fused MoE operations, and new attention and scheduling paths. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.