Digipak DVD Box
The Digipak DVD Box shape has fixed dimensions and can’t be resized. Please use the following texture dimensions:
- Cover: 28.3cm x 18.7cm
- Spine: 0.635cm
Please note that you need a full cover image that includes Front, Spine and Back parts. Here’s the list of properties you may adjust:
- Cover angle - controls how much is the cover opened. 0 means closed, 100 means completely opened.
- Wrap cover image around - allows you to switch between wrap-around cover image and three separate images for each side.
- Show disc - allows you to show or hide the disc.
Digipak CD Box
The Digipak CD Box is almost the same as DVD one, just has slightly different dimensions:
- Cover: 28.7cm x 12.54cm
- Spine: 0.64cm
Here’s how you can create a Digipak DVD Box object and adjust its properties:
var m = scene.root.addMesh("digipak dvd", "generator.DiscBox.DigipakDVD"); var g = m.generator; g.coverAngle = 0.5; g.showDisc = false; g.solidCoverImage = true; // wrap cover image
To create a Digipak CD Box, use the following code:
var m = scene.root.addMesh("digipak cd", "generator.DiscBox.DigipakCD"); var g = m.generator; g.coverAngle = 0.5; g.showDisc = false; g.solidCoverImage = false; // do not wrap cover image