3D preview (PrintBlob Pro)
With PrintBlob Pro, customers turn the product in 3D in the designer and see their design on the front and the back, made from the mockup's own front and back photos. What it needs, how to turn it off, and how it loads.
Updated , for PrintBlob 1.7.12.
PrintBlob Pro adds a 3D button to the designer, beside Front and Back (PrintBlob Pro 1.1 or later, with PrintBlob 1.2 or later; in PrintBlob 1.1 the button was part of the free plugin). It turns the product in 3D with the customer’s design printed on it: a garment or a bag hangs, its print following the folds of the fabric, and a mug, a cap or a phone case stands. Customers drag it to turn it; Front and Back turn it round; the colour they pick applies straight away. 3D again goes back to editing.
Editing on the 3D product
With PrintBlob Pro 1.6.9 and PrintBlob 1.7.7 or later, customers edit their design on the 3D product as on the 3D preview on printblob.com’s home page. They drag the product to turn it, drag a text or an image to move it, and scroll over it to resize it; the hint under the product says so, without the scrolling part on a touch screen. A text or an image they point at or drag shows a blue frame and the print area’s dashed line; at rest nothing is drawn over the design and nothing on the product is darkened. A design stays inside the print area as it moves and grows. Add text opens the new text for typing on the product, and an image dropped on the product is added to the side shown, as Upload image adds one. There are no handles on the 3D product: a print is turned, and on a touch screen sized, on the flat stage, where 3D goes back to. Left alone, the product turns a little either way to show it is 3D, and stops while the pointer rests on it; never for a customer whose device asks for reduced motion.
Editing in 3D under WooCommerce › Settings › PrintBlob chooses View and edit (the default) or View only, where customers only turn the product and the hint says only that; the same field on a product’s PrintBlob designer tab sets it for that product. With a PrintBlob earlier than 1.7.7 the product is turned only.
There are no 3D models to make: the garment is built from the mockup’s front and back photos (see Mockups). Its outline comes from the photos’ transparent background, its thickness from how far each point is from the edge, and its look from the photos themselves. The guide How PrintBlob Pro makes a 3D product from your photos shows each step, which photos work best and how to fix what doesn’t look right.
What it needs
- A mockup with a front and a back photo. The bundled t-shirt mockup has both. The back need not be printed: a phone case’s inside, uploaded as the back and left unticked, is shown behind it and never printed. Products whose mockup has only a front photo don’t show the button.
- The mockup’s shape in 3D, chosen in the mockup editor: Garment on a hanger (the default) hangs from its hook and fills out like fabric; Bag on a hanger hangs by its straps as a thin bag; Phone case, standing stands as a thin case with a rounded rim, its camera opening left open; Mug, standing is a round 11 oz mug drawn from its own model at your photo’s width, your print curved round its wall; Cap, standing stands on its brim, your print curved round its front.
- Photos on a transparent background, as for the designer itself.
- The back photographed from behind, the same way as the front: same distance, same framing, same hanger. The 3D view lines the back up as the front’s mirror image, so a back photo taken from further away or off-centre won’t meet the front at the edges.
The bundled t-shirt’s photos are made for it: the back is the same shirt, hanger and light as the front.
Openings
A real garment is open at the sleeve ends, the hem and the neck, and sewn everywhere else. PrintBlob Pro knows where the bundled t-shirt is open, so the 3D view shows the inside of its sleeves and hem instead of closing them. For mockups on your own photos the edges are treated as seams.
Turning it on or off
Product view under WooCommerce › Settings › PrintBlob sets how the designer shows products: Front and back only (2D), 2D with a 3D button (the default) or Open in 3D. The same field on a product’s PrintBlob designer tab sets it for that product; Use the shop setting follows the shop’s. A choice made with PrintBlob 1.1 is kept.
On Shopify
PrintBlob for Shopify on a PrintBlob Pro plan has the same 3D view, built by the same code, with the same shapes and the same three product views.
- The shop’s product view is Product view on the app’s Settings page.
- A product’s shape and its own product view are in the 3D view section of its page in the app, under Shape in 3D and Product view. The section says what customers will see, for example that the product turns in 3D with its back photo behind it.
- A back photo, printed or not. As on WooCommerce, the 3D view needs the product’s back photo. A side that is set up with a photo but not printed is shown behind the product and never printed.
On another plan the 3D section shows the choices but they can’t be changed, and customers see the product in 2D.
How it loads
The 3D view’s code (three.js and PrintBlob Pro’s garment code, about 150 KB compressed) is a separate file that downloads only when a customer presses 3D; the designer itself doesn’t get any heavier. It needs WebGL 2 on a graphics processor, which every current phone and computer has, and draws nothing while it is scrolled out of view. Where a browser would draw it in software instead (graphics acceleration turned off or blocked), it would stutter, so the 3D button isn’t shown there and the designer works as before. It sends nothing to any outside service: the customer’s design never leaves their browser until they add it to the cart.