VirtualDressingRoom2DParallax
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.
![](../../__attachments/2670264366/giphy-4.gif?inst-v=d790f226-3b9f-4b34-ab15-f98bb3bea1b6)
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);