Relative Content

Tag Archive for javascriptgeometrypixi.jsperspectivecamera

Project the shadow of a disk in 3D space onto a 2D plane

I want to project a disk and its shadow in a 3D space onto the 2D viewer plane. I’m working with Javascript and PIXI, but my problem mostly concerns the general geometrics of the problem. The projection of the disk itself works fine, but I have troubles with displaying the shadow correctly.

Project the shadow of a disk in 3D space onto a 2D plane

I want to project a disk and its shadow in a 3D space onto the 2D viewer plane. I’m working with Javascript and PIXI, but my problem mostly concerns the general geometrics of the problem. The projection of the disk itself works fine, but I have troubles with displaying the shadow correctly.