Skip to content

revoconner/Fake-Bevel-Baker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Low Poly Fake Bevel Baker

A standalone tool to bake bevels or rounded edges for low poly hard surface models, without needing high poly models.

2
1

From left: Low poly with no smoothing, small smoothing radius, high smoothing radius

image

How to use

Windows users can download the packaged tool and run it using the .exe file.

  1. Clone the repo
  2. Create a virtual environment (recommended) and install these dependencies:
colorama==0.4.6
embreex==2.17.7.post7
ImageIO==2.37.3
iniconfig==2.3.0
llvmlite==0.47.0
numba==0.65.0
numpy==2.4.4
OpenEXR==3.4.10
packaging==26.1
pillow==12.2.0
pluggy==1.6.0
Pygments==2.20.0
PySide6==6.11.0
pytest==9.0.3
scipy==1.17.1
trimesh==4.11.5
  1. Activate the environment and type the following to open the GUI: pythonw.exe -m fake_bevel_baker.ui

CLI and flags

python.exe -m fake_bevel_baker.main
--mesh "path to mesh file" 
--out "path to baked normal map file"."choose either png or .exr"
--resolution 4096 
--samples "higher is better but takes nore time" 
--angle "keep it exactly as your smoothing group, soften poly edge angle"
--radius "in unit of file"
--seed "is deterministic"
--format ".png|.exr, if defining here keep out to only filename without extension"
--out-world "world space normal map"
--denoise "OIDN"

EXAMPLE

python.exe -m fake_bevel_baker.main --mesh C:/tests/fixtures/sphere.obj --out C:/tests/fixtures/sphere.png --resolution 4096 --samples 32 --angle 45 --radius 3.0

How does it work?

For an indepth explanation of how does it work, read this.

About

A standalone tool to bake bevels or rounded edges for low poly hard surface models, without needing high poly models.

Topics

Resources

License

Stars

Watchers

Forks

Contributors