Auto Chamfer 2.2 (build 20516)
for Substance Designer 2019 / Substance Painter 2019 and newer
(v2.0b for SP/SD 2018)

About
That filter takes mesh and curvature (prebaked normal is optional) then adds soft edges in normal slot.

General Idea
From the first days of my professional hard surface modeling career I were frustrated that there was no fast and convenient way to bake out chamfers in normal map even if all of us know that that is a pure math inder the hood. Chamfers can be done already in Maya (via mia_roundcorner), 3D Max (via shaders in offline renders), Modo, Blender. But it always have huge drawbacks and can't be reliable for production and general pipeline. A few years ago we were experimenting with painting chamfers in Photoshop for our project. And after that I was inspired to try make solution in substance designer based compleatly on precise math algorithm that power dot3 bump mapping. So if that filter will inspire someone to make their own plugins or programs our industry will defenetly glad for it. Cheers!

Why 2.0 from the start?!
In 2018 I started working on that filter and made numerous iterations but they can't produce stable result that will satisfy me even though I used them in my projects. Version 2.0 is ready to be used in most cases so now you can try it out. Certainly it's not so perfect like I want it to be but I'm working on better versions. Unfortunately there is no intersection detection at the moment.


How To Use

  1. Make UV according to hardsurface modeling requirements (UV seams on every hard edge). Dont forget to triangulate your mesh before bake.
  2. Bake your shading if needed without chamfers.
  3. Import your mesh to SD or SP and make sure that smoothing groups are fine.
  4. Bake your base texture maps:
    • SD - bake Curvature and Convert UV to SVG
    • SP - bake separate Curvature with Generate from Normal method and Per Vertex algorithm and make UV selection via mask and anchor (see the pic.)
      Don't use default baking method because it normalizes curvature values and can't provide exact angle value in curvature map.
  5. Create Fill layer and throw AutoChamfer filter in Normal slot.
  6. Put input maps in to filter and change Normal output format if needed.

Tips For Better Results

  • Best results can be achieved if curvature baked in designer.
  • If you have issue with significant seams in normal try to bake out curvature from Designer and plug it in to Painter. That issue related to inaccurate painter baker.
  • Remember to add dilation at least 4px to your Curvature (not diffusion).
  • Input maps need to be at least 2k.
  • Remember to bake Per Vertex curvature if you using SP.
  • UV map need to be as precise as posible without any dilation.
  • In some cases it a good idea to work with 4k project size and after that import created normal map with chamfer in your project and set desired project size.
  • There will be visible seams on soft edges. You need to bake hard edge shading on them and apply texture in AC2.
  • There will be visible seams on hard edges without UV splits, please check your hard surface normal baking workflow.

If you have any feedback or questions please contact me via messages and thank you for buying me a cup of coffee!


RELEASE NOTES:

Release 0504
[Initial Release]

Release 0521
[Added] - Settings presets
[Edited] - Conv/Conc correction now has 0.001 stepping
[Edited] - Removed useless preview quality setting

Release 0601
[Edited] - Enhanced calculation process increased general quality of chamfers
[Edited] - Manuals have more obvious setup

Release 0608
[Fixed] - Input map slots not showing in SP 2019
[Added] - Extra AA module on Ultra setting
[Added] - Normal intensity correction for low texel cases
[Edited] - Dilation slider now show value in pixels

Release 0619
[Fixed] - Crash at scene startup if correction mask were in use
[Added] - Auto output map size compression (no need of "output size" setting)
[Added] - Separate version of Auto Chamfer 2.0b (build 0608) for SP 2018.3.3
[Added] - Separate version of example scene for SP 2018.3.3
[Edited] - Conc/Conv Sliders now have range from -1 to 1
[Edited] - Deleted useless edges mask output for better performance

Release 0623
[Fixed] - default preset settings
[Edited] - minor optimisation tweaks

Release 0809
[Fixed] - Image Input switches now work like expected
[Fixed] - Flat Chamfer switch now works in 2019.2.0

Release 1124
[Added] - Default 16bit output mode
[Edited] - Significant optimization and doubled performance


Release 20509
[Added] - Example Scene [2020.1.1]
[Edited] - Manual for SP 2020 release (Curvature bake section)

Release Notes

Auto Chamfer 2.2 (build 20516) - LATEST
[Edited] - Minor fixes on medium settings

Auto Chamfer 2.2

Personal License
USD $4.99
License: Standard License
Stock Assets

For personal use and one commercial project (up to 2,000 sales or 20,000 views).

Tutorials

One copy to be used by a single user.

Installable Tools

One installation by a single user.

Learn More
Files (8)
AVS_Auto_Chamfer_2.2_(20516).sbsar
sbsar / 16 KB
Example Scene [2020.1.1].spp
spp / 73 MB
Example Scene [2019.2.3].spp
spp / 74 MB
Setup SP.png
png / 2.5 MB
AVS_Auto_Chamfer_2.0b_(0608).sbsar
sbsar / 18 KB
Setup SD.png
png / 1.4 MB
Settings.png
png / 360 KB
Icon.png
png / 10 KB
Quantity:
Commercial License
USD $23.00
License: Extended Commercial License
Stock Assets

For use on an unlimited number of commercial projects with no limits on sales or views.

Learn More
Files (8)
AVS_Auto_Chamfer_2.2_(20516).sbsar
sbsar / 16 KB
Example Scene [2020.1.1].spp
spp / 73 MB
Example Scene [2019.2.3].spp
spp / 74 MB
Setup SP.png
png / 2.5 MB
AVS_Auto_Chamfer_2.0b_(0608).sbsar
sbsar / 18 KB
Setup SD.png
png / 1.4 MB
Settings.png
png / 360 KB
Icon.png
png / 10 KB
Quantity:
https://artstn.co/m/vxVV
Copied