BOT_FACE_SORT(nged)

Sorts the list of triangles that constitutes the BOT primitive to optimize it for raytracing with the specified number of triangles per piece.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… BOT_FACE_SORT(nged) πŸ’…

okay so bestie, welcome to the nged corner of the BRL-CAD User Commands universe β€” this little icon is called bot_face_sort, and it is literally here to reorganize your triangles so the raytracer stops dragging its feet. πŸ¦‹


✨ NAME ✨

bot_face_sort β€” sorts the list of triangles that constitutes the BOT primitive to optimize it for raytracing with the specified number of triangles per piece. periodt. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

bot_face_sort {triangles_per_piece} {bot_primitive1} [bot_primitive2 bot_primitive3]...

so yeah, first the number of triangles per piece, then at least one BOT primitive, and after that you can keep stacking more primitives on there as long as you want. the square brackets are giving "optional but also pls add your faves" energy. 🌸


🌈 DESCRIPTION 🌈

okay so here's the vibe: this command is used to sort the list of triangles that constitutes the BOT primitive to optimize it for raytracing with the specified number of triangles per piece. that's the whole job. that's the main character energy right there. πŸ‘‘

ngl, most BRL-CAD primitives get treated as a single object when a model is being prepared for raytracing β€” like, they don't get chopped up at all. but BOT primitives? they're normally broken into "pieces" to improve performance. the raytracer normally uses four triangles per piece. so when you pass in your own triangles_per_piece number, you're basically doing a little vibe check on how the raytracer is gonna slice things up. πŸ’…


πŸ”₯ EXAMPLES πŸ”₯

the example shows the use of the bot_face_sort command to sort the list of triangles that constitutes the BOT primitive to optimize it for raytracing. iconic of it, honestly.

Example 1. Sorting the faces of two primitives (each having four triangles per piece) to optimize them for raytracing

mged> bot_face_sort 4 bot1 bot2
    The faces of bot1 and bot2 to optimize them for raytracing with
    four triangles per piece.

see how that works? 4 triangles per piece, two primitives, one command. ate and left no crumbs. πŸ“


πŸ’œ AUTHOR πŸ’œ

BRL-CAD Team β€” the actual legends behind all this. 🫢


πŸ™ˆ BUG REPORTS πŸ™ˆ

found a bug or a problem? don't suffer in silence, bestie β€” reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. they wanna hear from you fr fr. πŸ’€


lowkey reminder: the numbers and primitive names go in exactly the order shown in the synopsis. no cap, the command is not psychic. ⭐

and that's the whole page! 🌟 this was BOT_FACE_SORT(nged) from the BRL-CAD User Commands set, brought to you by the fine humans at BRL-CAD β€” go forth and sort those triangles, queen. πŸ§šπŸ’–

πŸ“¦ where this page comes from