BOT_SMOOTH(nged)
compute and store surface normals in a BOT mesh
π BOT_SMOOTH (nged) π
okay bestie, so this is bot_smooth from the BRL-CAD user commands β nged edition π β and honestly? it's giving "glow-up for your mesh" and I'm obsessed β¨
πΈ NAME πΈ
bot_smooth β computes and stores surface normals in a BOT mesh, no cap π
β¨ SYNOPSIS β¨
bot_smooth [-t angle_tolerance] new_bot old_bot
π¦ DESCRIPTION π¦
So here's the tea β: the bot_smooth command computes per-vertex surface normals for the BOT (Bag-of-Triangles) primitive named old_bot, and stores the result as a brand-new BOT named new_bot. Literally the original object is not modified β it stays exactly as it was, untouched, main character energy π.
The normals get computed by averaging the normals of adjacent faces. And the angle_tolerance is what controls when neighboring faces are treated as a sharp crease instead of a smooth surface: faces whose normals differ by more than the tolerance angle are not averaged together, periodt π
.
β οΈ Note: this command requires the database to be at the current version, with support for BOT surface normals. If your database is too old, use dbupgrade first β fr fr, don't skip this π.
π Options π
-t angle_toleranceβ the maximum angle (in degrees) between adjacent face normals for them to be averaged together. Faces separated by a larger angle produce a hard edge in the normal map. Default is180.0(which means all faces get smoothed together β the full slay π₯).
π EXAMPLES π
Example 1. Compute smooth normals for a BOT
mged> bot_smooth smooth_hull.bot hull.bot
This computes smooth surface normals for hull.bot (using the default 180Β° tolerance, smoothing all faces together π) and writes the result to smooth_hull.bot. Iconic. β¨
Example 2. Smooth with a crease angle for hard edges
mged> bot_smooth -t 60 smooth_part.bot rough_part.bot
This smooths rough_part.bot but preserves hard edges between faces whose normals differ by more than 60Β° β so the sharp bits stay sharp, iykyk ππ
.
π SEE ALSO π
bot_fuse(nged), bot_merge(nged) β go read those next, bestie π«Ά
β AUTHOR β
BRL-CAD Team π
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β like, literally just email them, they wanna know π¬
and that's the whole page, bestie ππ§ this was brought to you by BRL-CAD vibes, and the date situation is whatever the manpage footer says, so go check that for me ππ bye ily π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms