Re:Pixi3D – 3D rendering library for the web. Built on top o...
by wffurr on Wednesday December 21, 2022 @08:40PM
(#34088681)
How does it compose 2D and 3D content? Is it using a WebGL canvas for the rendering surface? Or a 2D canvas and rasterising the 3D content in an offscreen canvas and transferring to bitmap to place in the 2D canvas?
[ Parent
| on HN ]
Re:Pixi3D – 3D rendering library for the web. Built on top o...
by vlz on Thursday December 22, 2022 @02:35AM
(#34090827)
The readme describes some options you have for combining 2D and 3D.[1]
It seems you can either have 3D and 2D on top each other (without transformations applying to both) or include a 3D sprite in 2D. I guess that means 2D and 3D are generally not composed together but separately.