OVERLAY(nged)
Plots the specified UNIX plot_file in the MGED display.
π OVERLAY(nged) β the overlay girlies' guide β¨
ok so bestie, welcome to overlay from the nged manual β this is the one that puts your plot files and your images up on the screen, and honestly? it eats. π
πΈ NAME πΈ
overlay β plots the specified UNIX plot_file in the MGED display. that's the whole vibe, no cap.
π SYNOPSIS π
overlay [options] file
overlay -F [-i] [-c] [-z] [-X #] [-Y #] [-w #] [-n #] [-S #] [--format fmt] {img_file}
like, two whole modes. pick your fighter. π¦
π DESCRIPTION π
so here's the tea: overlay plots the specified UNIX plot_file in the current application display, or it plots the specified image file in the current application's embedded framebuffer. two moods, one command.
when you're displaying plot files, you can literally pass multiple files at once using a pattern match β like, say, overlay *.plot3. go off. π₯
when displaying plot files, phony object names get created for each part of the plot file(s), each with a unique color. the names are made by adding a color onto the specified viewobj_name, or onto PLOT_OVERLAY if you didn't provide a name. the color suffix is built by converting the RGB color into a six-digit hex number β each color = 2 hex digits, so white becomes ffffff, red becomes ff0000, green is 00ff00, etc. cute AND systematic, we love to see it. π
image files get displayed in the currently active framebuffer. currently multiple images cannot be specified by a single overlay command β but honestly, since the images would overwrite each other, that feature wouldn't be terribly useful in any case, so likeβ¦ no loss? π
however β multiple images can be written in succession to the same framebuffer using the -X and -Y offset specification options, so you can offset their positions for simultaneous display. iconic behavior. β¨ alternatively, if you want to reset the framebuffer before drawing the new image, you can specify the -c option. your call, bestie.
the -w, -n, and -S options are there to specify image size for formats like PIX that do not encode the image size in their own data. similarly, --format may be used to explicitly specify an image format if the filename doesn't make the format clear. iykyk. π«
by default, images are displayed in the framebuffer using their original size. but if you want to use all the available space in the image window to display an image, you can specify -z to focus the framebuffer on the image. main character energy fr. and the -i option may be used to invert an image's display in the y (vertical) direction β flip it, turn it, whatever, it's giving upside-down szn. π
β¨ OPTIONS β¨
-h,--helpβ print help and exit. the classic "wait what does this do again" button. π«Ά-F,--fbβ interpret the input as an image to be drawn in the framebuffer rather than as a UNIX plot file. mode switch, activated. π-s,--sizesize β set plot character size when drawing plot overlays. bigger = bolder, ngl. π-N,--view-objname β set the base view-object name used for plot overlay objects. name your children. π-i,--inverseβ draw framebuffer images upside-down. head-empty-no-thoughts mode. π-c,--clearβ clear the framebuffer before drawing a new image. fresh slate, fresh me. π§-v,--verboseβ enable verbose framebuffer reporting. she talks a lot, we stan. π¬-z,--zoomβ zoom the framebuffer image to fill the available screen area. take up space, bestie. π-X,--scr_xoffoffset β set the framebuffer X offset. π¦-Y,--scr_yoffoffset β set the framebuffer Y offset. π¦-w,--widthpixels β set the image width for raw formats that do not encode dimensions. π-n,--heightpixels β set the image height for raw formats that do not encode dimensions. π-S,--squarepixels β set both image width and height for square raw images. one number, two jobs. β--formatfmt β explicitly specify the framebuffer image format. spell it out for the cheap seats. π
π EXAMPLES π
Example 1. Plot a UNIX plot file in the MGED display.
mged>overlay file.plot3 tmp
plots the UNIX plot file file.plot3 in the MGED display, using tmp as the base for the phony object names. look at her go. π₯Ή
Example 2. Plot a PNG file in the MGED framebuffer.
mged>overlay -c -F image.png
plots the image file image.png in the MGED framebuffer, first clearing any pre-existing images in the framebuffer. out with the old, in with the new. π₯
π AUTHOR π
BRL-CAD Team β the icons behind the icons. π
π BUG REPORTS π
reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β like, if something's broken, tell the girlies, they'll fix it. don't suffer in silence, bestie. π
ok and that's the whole page! brought to you by BRL-CAD β this OVERLAY(nged) moment was a whole serve, so go plot something iconic, ily, bye π
πβ¨
π¦ 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