gun base model by masterxeon1001, decaled and rendered by machin3.
Contents
- Installation
- Other Addons
- Technique
- Using DECALmachine
- Decal Creation
- Errors
- Reporting Errors or Problems
Installation
I have no idea how to install this, how is it done?
See the Installation guide and follow it precisely.
Other Addons
Is MACHIN3tools required?
The free MASCHIN3tools addon is not needed, but I'd recommended to use at least some of its tools, as they are very convenient in the DECALmachine workflow. Throughout this documentation its repeatedly mentioned when that is the case.
Is HardOps or BoxCutter required?
HardOps and BoxCutter are not needed to use DECALmachine. HOps/BC and DM fill different niches in a hard surface workflow. DM is a finishing and detailing tool. While HOps/BC are tools for working with form and generally improve the Blender experience greatly.
As such the addons complement each either very well and I'd recommend them to DECALmachine user.
Furthermore it should be noted, that the HardOps and BoxCuter developers have been and continue to be extremely supportive and helpful and DECALmachine would not be what it is, without their contributions and guidance.
If you use HardOps alongside DECALmachine, make sure to use at least version 0093 - Neptunium and apply the HardOps Fix.
Is the Asset Management addon required?
Since version 1.2. DECALmachine has its own asset loader, made possible through HardOps tech being graciously shared, and so Asset Management no longer adds a benefit in terms of bringing decals into the scene.
For all other importing needs(meshes, light setups, materials, etc) I personally still heavily depend on Asset Management and would recommend it to anyone.
Technique
Can you bake the decal normal maps to a single normal map?
Yes, since the 1.4 release all decal texture maps can be baked down: normals, ao, curvature, height, alpha, subset and color(for info decals).
Keep in mind however, that in regards to real time content, the whole point of using decals - in combination with custom/weighted vertex normals - is to stop relying on baked maps. The idea is to take the decal geometry into the engine and by utilizing deferred rendering techniques, have the mesh-based decals contribute to the textures of the underlying base mesh.
This is done very successfully and prominently in Star Citizen and Alien Isolation and this is the core workflow and idea behind DECALmachine.
How do you export the decals to Unity/Unreal?
See the export section of this documentation.
Is there a way to make decals affect displacement instead of normals?
Technically it's trivial to change the decal node tree to do displacement as the height maps are already supplied. But think about it, a floating decal with actual displacement?
First off, the decal would need to be subdivided a lot, which can be done, but secondly what would happen to the displaced geometry? It would intersect with the base mesh the decals are floating above - you wouldn't see much of the displaced geometry, as it is sunk into the base mesh.
What you could do in theory is bake down the height map of the decals to the basemesh and then use that baked height map, without the decals for displacement.
Using DECALmachine
How do I bring Decals into the scene? Why are the asset loaders missing, when I press the d
key?
The asset loaders only show with nothing else selected. Context is important. Space in the pie is tight and most of the other tools already require the proper selection to be made, before they show up. If you have anything selected, press a
to deselect followed by d
to open the DECALmachine pie menu with the asset loaders.
Why are Decal Project, Topo Slice etc. missing from the pie menu?
Context is important. Select the decal, then the object you want to project on. Then open the pie by pressing d
.
Similarly, select one object, then another one to decal slice.
Why are the Decals so dark when viewed in Material Shading mode?
This is a Blender 2.79 feature, which displays metallic PBR materials darker than non-metallic materials. If you think, that's too much and don't want your metallas appear that dark in the viewport, check out the Material Viewport Compensation feature in MACHIN3tools: Shading Switch
How can I add/create my own Decals to the library?
There are currently two ways to create custom decals:
- Instant Decal creation
- Batch Decal creation
Make sure you have an up-to-date version installed and see the Custom Decal Creation guide.
How do I snap decals to a surface?
When Decals are imported using the asset loaders, all snap settings are prepared - face snapping, align to surface, etc. Snapping itself is not turned on however. The suggested method to move decals and align them is by holding down CTRL
while moving decals via g
. This will turn on snapping temporarily for as long as you hold down CTRL
.
Why are decals just empty planes?
First, confirm the issue is occuring with the sample blend files in DECALmachine/assets/samples
Render the sample scenes using the shift+ z
shortcut.
If it isn't happening in the sample scenes, but is happening in your own scenes:
- make sure you have set the renderer to Cycles
- make sure you have set the Viewport Shading to Material
If it's also happening in the sample scenes, get in touch.
When I taper panel decals for a panel transition, the texture get's distorted! What is going on?
You need to enable Correct UVs in the slide tool's properties - either in the T panel or by pressing F6
.
Topo Slice is not working! What am I doing wrong?
Topo Slice is heavily depended on topology, so where the cutter intersects the target mesh is extremely important.
Also, the bigger the Panel Width Value is and the denser the target mesh is, the more likely it is for Topo Slice to fail.
The reason it fails is due to intersection of edges at odd angles, it wasn't able to create a quad-only panel strip and so the auto-UVing fails. You have two options in that case:
- Undo and carefully re-position your cutter (turn wireframes on) and avoid troublesome intersections
- Lower the Panel Width value until the panel is created properly. You can then increase it again using the Change Panel Width tool.
If it still fails no matter what you do, take the panel strip you get, fix it up - make it all quad - and run Panel Unwrap. Alternatively, re-consider if Topo Slice is the right tool for what you want to do and if not, use Float Slice or Panelize instead.
If you've used HardOps or Booleans in general, you know that you can't arbitrarily cut curved geometry without regards to the underlying topology and expect it to work perfectly.
Decal Creation
How do I create Info Decals?
Instant Decal creation turns geometry - as opposed to textures - into decals, so for Info Decals use the Batch Decal process instead, even if you have just one image to turn into a decal.
Errors
PermissionError: … Permission denied: 'C:\\Program Files\\… paneling.json'
You didn't install the addon to the user scripts folder, but in 'Program Files' instead. Review the Installation guide and follow it precisely.
OSError [Errno 30] Read-only file system: '... paneling.json'
You didn't install the addon to the user scripts folder, but into the blender.app package instead. Review the Installation guide and follow it precisely.
ImportError: No module named PIL
You didn't extract the PIL archive for your operating system or didn't move it to the modules folder. Review the Installation guide and follow it precisely.
ImportError: DLL load failed
If you are seeing this error on Windows when activating the addon, you need to install Microsoft Visual C++ Redistributable 2015
ImportError: Cannot import name _imaging
If you are seeing this error on Windows when activating the addon, you need to install Microsoft Visual C++ Redistributable 2015
Reporting Errors or Problems
Attention
Note the Requirements in the installation guide.
Make sure you are using the latest version.
Confirm you've followed the installation instructions.
If you are seeing an error not covered above, please send me a screenshot of the error message.
Even better, send a screenshot of the terminal/system console, which you can turn on under Windows by clicking 'Toggle System Console'.
I do not need an image of blenders info view and I don't need to see blender's python console.
Keep in mind
Send the screenshot, attach it to the email, don't link to an image on some obscure image hoster.
In addition to the error message, I need to know:
- Operating System
- 32bit or 64bit cpu architecture
- Graphics Card
- Blender version
- DECALmachine version
- Proof of Purchase
Keep in mind
If your mail is missing the specific error message or any of the list entries above, don't expect a speedy reply.
If your problem is already covered in the FAQ entries above, don't expect any reply.
Use eMail, not twitter, not facebook, not youtube, not blender market messages and not the blenderartists thread for help requests and reporting of issues.