Scenes with parallax enable a 3D experience solely based on 2D data. Check out this demo to see the feature in action. You can also find the source code for it in our sample repository.

The 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 VirtualDressingRoomFactory:

const dressingRoom = Pictofit.VirtualDressingRoomFactory.createDressingRoom2DParallax(webViewer, computeServer);