Enabling 3D mode allows for designing pictures with multiple layers, where some pixels protrude further out than others
This may not be a good fit for all images, but can work quite well in many cases
Be careful when using high resolutions - this can cause performance issues on less powerful machines, especially during pdf generation and for 3D previews
Computing the depth map can be computationally expensive. Be prepared to wait a bit, and be careful, especially if you have a less powerful device.How does this work?
The depth map is computed using a DNN (deep neural network). For the reasons described in the 'about' section, everything is run entirely within the browser, using a modified version of ONNX.js. The model used is MiDaS - more specifically, the small ONNX version which can be found here.
● This section specifies how many pieces of each color you have available to create the image
● Color names are bricklink colors
● Step 4 of the algorithm cannot run unless you select enough pieces to fill the picture ('Missing Pieces' must be 0)
● If you're working with an existing set, then clear the available pieces and use the mix in option to add in the pieces from your set.Required Pieces:
Important: Since a linear error dithering algorithm was selected in the 'Quantization' section, infinite piece counts were used
● This setting determines which distance function is used to align pixels to their closest Lego colors
● This determines what strategy is used for aligning pixels
● Some algorithms run faster than others - be careful when running the greedy algorithms on larger images
Important: Since this is a linear error dithering algorithm, 'Infinite Piece Counts' under 'Available Colors' was enabled - be careful!
It's often best to use 'Euclidean RGB' for the color distance function, for mathematical cleanliness
Changing this is useful if you have a large background but not enough pieces to fill it out uniformly in step 4
● Click a pixel to increase its height
● Click a pixel to decrease its height
● The currently hovered on pixel is also highlighted in the step 4 color canvas
根据您的硬件和您选择的分辨率，生成pdf可能需要几秒钟。 如果您正在为更大的分辨率生成指令，尤其是高质量的pdf，请做好等待的准备。 较大的分辨率也可能导致页面速度变慢，在性能较弱的设备上可能会出现卡顿的情况， 所以建议优先制作低分辨率的说明书，然后再尝试制作高质量的说明书。
● This is a (very) rough preview of what the 3D effect might look like
● Hover your mouse over the image to vary the perspective
● Make sure your depth map is not blank
● This is unlikely to work well on less powerful devices, since this is generated dynamically
● Keep in mind that the effect varies from browser to browser, can be subtle, and may not be 100% representative of what the physical art piece would look like
● This is the set of plates that may be used to generate depth instructions and piece lists
● These pieces are used as padding so that the correct pixels protrude outwards
● Note that larger plates may be difficult to attach/detach from the baseAvailable Plates:
Longer instructions may be split into multiple files
Depending on your hardware and the resolution you've chosen, the pdf can take quite a few seconds to generate. Be prepared to wait if you're generating instructions for larger resolutions, especially for high quality pdfs. Larger resolutions may also cause some slowness on the page or may not work at all on less powerful devices, so I recommend starting at the default and then going up.