MGED CMD bot face sort

From BRL-CAD

bot_face_sort[edit]

Syntax[edit]

bot_face_sort triangles_per_piece bot_primitive1 [bot_primitive2 bot_primitive3 ...]


Argument(s)[edit]

triangles_per_piece
Triangles per piece.
bot_primitive1 [bot_primitive2 bot_primitive3 ...]
List of BOT Primitives to be sorted.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "bot_face_sort" 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. Most BRL-CAD primitives are treated as a single object when a model is being prepared for raytracing, but BOT primitives are normally broken into "pieces" to improve performance. The raytracer normally uses four triangles per piece.


Example(s)[edit]

mged>

37.5 bot_face_sort 4 bot1 bot2

Sort the faces of bot1 and bot2 to optimize them for raytracing with four triangles per piece.


See Also[edit]

bot_condense
bot_decimate
bot_face_fuse
bot_face_sort
bot_vertex_fuse



Page Generated by David Loman on: 10/11/2007 at: 12:02:43 PM