DECALmachine

A: it is possible to bake the normal map of the asset plus decals as Object/World space?

DECALmachine does not bake the normals of an asset, it only bakes a flat decal normal map.
You are suppossed to combine the flat decal normals with the asset normal map on your own. This can easily be done in a substance product are even in Photoshop.

Baking them in object space could be done but I see no benefit in doing sot.

B: There is any issue if you use decals on assets which use material with a normal map already included?

Not that Iā€™m aware of.

One nice trick for a normal map without skew and waviness is baking as Object/World, then convert it as a Tangent, sadly the Blender baker canā€™t do that conversion but Xnormal and Substance Designer can do it. So I wonder if there are some room to use that trick (baking as Object/World through DecalMachine, OR baking the decals normal map inside another normal map youā€™r using as a material) along with DecalMachine without encountering crappy bake result. https://www.artstation.com/artwork/ba3Qav 2

Baking in object space does not magically get rid of skewing. Baking in object space is an old technique used in cases the bakerā€™s tangent base does not match the target engineā€™s.
These days, everyone uses MikkT I think.

To get rid of skewing in your high to lowpoly bakes, you can paint it out in tools like marmoset or substance designer(painter?).

In the DECAmachine workflow, the decals would sit on the lowpoly object, not the highpoly. Maybe, after youā€™ve baked your main normals from high to low. Since the decals then follow the lowpoly object perfectly, there wonā€™t be any skewing, when you bake the decal normals.
Youā€™d then have two normal maps, that you can combine.

1 Like

more fun with transparent materials + detail normals

In future (2.1?) you wonā€™t have to do the node edits, just matching/re-applying the decals should do it.

4 Likes

Hi there! ive been having a blast with Decalmachine and been sharing your products like crazy, most maya users minds are blown away :yum:

2 questions popped up while testing latest DM;

  1. when using the slice function is it possible to only slice the ā€œup facing/blueā€ normals and ignore the backface ?
  2. after projecting decals/strips they loose the ability to transform. Is it possible to make them move in conjunction with the mesh beneath it ?
  1. Itā€™s a bit hard to see what is going on there. Slice creates panel decals on all surfaces the cutter intersects. There is no such thing as a back face in that context. And I canā€™t decide for you, what you conider a back face. Donā€™t intersect the faces you donā€™t want to create a panel decal on, or if thatā€™s not easily done, remove them manually afterwards.
    The Project tool on the other hand, does prevent back face projections, but thatā€™s easily done because projecting is directional, slicing is not.

  2. Decals are parented to the object they sit on top of. This happens when a decal is inserted on top of an object, and if a decal is re-applied. Itā€™s also happening when projecting, slicing, e-paneling and g-paneling.
    DECALmachine tries to enforce, that decals always have a parent object. So they will always follow an object, by default.
    Compared to plain decals(flat, not projected or sliced), that are parented but can be moved freely, projected, sliced, e-paneled and g-paneled decals will get their transforms locked. This is done intentionally. They still move with the parent object though. They can be moved/edited in edit mode, if necessary.
    Projected and Sliced decals should never be moved around in object mode after they have been projected or sliced, because
    a) they may share the parentā€™s topology (project, topo slice) and the form in general, so moving them doensā€™t make any sense
    b) they share the parent origin, which is important for the normal transfer, the backup tool and for matching of textures.
    If the decals in your image donā€™t follow the parent object, itā€™s means they are parented to the wrong object. This can happen if you have decals on an object, that gets split or booleaned into multiple pieces. You need the then re-apply the decals, probably with the new parent object selected at the end.
    If you have to move a projected, sliced etc decal, maybe becasue your want to duplicate and/or move it. You should retrieve the backup and re-project or re-slice that.

I basically explain all of this. Please see,
https://machin3.io/DECALmachine/docs/re-apply/,
https://machin3.io/DECALmachine/docs/project/,
https://machin3.io/DECALmachine/docs/slice/ etc.

4 Likes

The upcoming #DECALmachine 2.0 will bring full emission support for all decal types.

Iā€™ve shown before how youā€™ll be able to match emissive materials. Now decals will also bring their own emission map.

10 Likes

Please add in the new version 1.4 of ā€œpanelizeā€ function.

Please check the documentation.
https://machin3.io/DECALmachine/docs/epanel/

1 Like

ā€œEPanelā€ can not always adequately cope with no rounded corners. In ā€œpanelizeā€ with it no problems. Hereā€™s a quick comparison:


It seems to me it is still different tools for different situations. It will be very cool if you add ā€œpanelizeā€ in the new version DECALmachine.

EPanel uses a different, more robust approach for panel decal creation, the same one GPanel and Slice (not topo slice) use.

I think Panelize must have simply used inset on the face selection, to create the poly strip, thatā€™s why it can deal with the harsh corners so well. But thatā€™s also the only advantage of it tbh.

With the new approach used in Epanel/GPanel/Slice, all sweep edges are guaranteed to be the same length. For harsh corners, they need to be longer to maintain the same panel width however. This is a very non-trivial problem to solve in 3d space unfotunately. Iā€™ll see what I can do about it but Its not a priority for me.
Try to avoid situations where you have harsh angles, and add radii before runnning EPanel.

v1.9.1 is out | Gumroad | Blender Market

Whatā€™s new?

Changelog

  • remove ability to create info decals form JPGs
  • redo image and font loading for decal creation, due to changes in 2.81
  • fix issues when creating EPanel edge-only object from decals
  • fix occasional decal creation crash in 2.81, when alternating between in info decal creation from image and from font
  • fix uv issue Project tool, for non-English Blender versions
  • fix issue in Validate tool
  • fix exception caused by CTRL projecting with mirror mods present
  • fix potential issue in the Material Match tool
  • fix exception in Slice/EPanel/Gpanel, try to ensure the panel with is never 0
7 Likes

I was wondering if it is possible to have more than 2 materials setup for a subset decal?

No, mulitple subset materialā€™s would exponentially increase the already complex decal node trees, and related tools like the match tool. Textured decals, may do what you want, but they arenā€™t available yet.

DECALmachine is currently on sale for 25% off on Blender Market to celebrate BCon!

Each decal material has at least one node group and an associated node tree. Normal mapped decals tend to have 3, due to the parallax.
Even though DECALmachine actively de-duplicates them, the node trees quickly accumulate and clutter the group list view in the shader editor.
Like for Materials and Textures before, DECALmachine 2.0 can just hide those node trees.

3 Likes

Decal thumbnails will get emission indicators, if they have a non-black emissive map.
If the emission multiplier is > 0, it will be yellow (and the decal will emit of course).
You can also easily toggle emissive state or adjust the emission strength with the Adjust tool.

Info decals can emit even with a black emission map, by setting the emission color.

Also, itā€™s easy to retrofit existing decals, and make them emissive. Iā€™m also exposing a ā€˜Re-Render Decal Thumbnailsā€™ tool, to update thumbnails, when changes to a saved decal.blend or its textures were made.

8 Likes

Iā€™ve just finished this, will be in 2.0. Unpacking can now be forcibly done in a local textures path, relative to the blend file.

1 Like

Oh thank you so much for implementing this! Canā€™t wait to start using this on a more regular basis now.

Hi, I didnā€™t read all reply so maybe the has already been rised, Is there any plan to save source Geometry when adding decals into library ? (by temporary storing select meshes on decal creation then save it into the decal folder as a .blend if/when added to library) It can allow to load decal source and recreate decal with another resolution or make a variation of a previous made decal.

2 Likes

Interesting idea, thanks! Iā€™ll look into it for 2.1. In general though itā€™s a good idea to store and organize your decal source files anyway.

5 Likes

I finally used Baking in 1.9.1 and man thatā€™s cool! Literally a single button to awesomeness!
Well, a few, if you want to change resolution, of course. This is absolutely bonkers that you can go to overdrive and use decals for the actual displacement, a complete game changer.

Thank you an keep great work!

2 Likes