Scenes with parallax enable a 3D experience solely based on 2D data. You can find the source code for it in our sample repository.
VirtualDressingRoom2DParallax component is the easiest way to implement a virtual try-on in your web shop. It’s using scenes with parallax to enable a 3D experience that is based on pure 2D data. This works based on 2D garment assets and personalised mannequins (converted to 2D) as avatars.
To create a new
VirtualDressingRoom2DParallax use the appropriate method provided by the
const dressingRoom = Pictofit.VirtualDressingRoomFactory.createDressingRoom2DParallax(webViewer, computeServer);