LOOKAT(nged)
Adjusts the current view in MGED such that the eye is looking in the direction of the given coordinates, but does not move the eye point nor change the view size.
π LOOKAT(nged) β the glow-up your view deserves β¨
okay bestie, real talk: this is a page from the nged manual (that's the MGED command set, iykyk), and it's about making your view look at something without actually moving your eyeballs. iconic behavior, honestly.
β¨ NAME β¨
lookat β adjusts the current view in MGED so the eye is looking in the direction of the given coordinates, but it does not move the eye point and does not change the view size. no cap, that's the whole assignment π
π¦ SYNOPSIS π¦
lookat {x y z}
πΈ DESCRIPTION πΈ
so here's the vibe: lookat adjusts the current view in MGED such that the eye is looking in the direction of the given coordinates. that's it, that's the function. but it does not move the eye point, and it does not change the view size β the eye stays exactly where it is and the zoom stays exactly where it is. periodt. π
think of it like this: it's similar to just rotating the viewer's head to look at the specified point, which has the effect of putting that point in the center of the MGED display. main character energy: the point becomes the center of attention, but the camera never budges. π―
lowkey important distinction incoming π thecentercommand performs a similar function, but it moves theeye_ptwithout changing the viewing direction. socenter= scoots the eyeball,lookat= turns the head. do not confuse them bestie, they are giving different things entirely. π
π₯ EXAMPLES π₯
the example shows the use of the lookat command to rotate the view and place the given coordinates in the center of the display. honestly? slay. β¨
β Example 1. Rotate the view to place specific coordinates in the center of the display.
mged> lookat 10 20 30
rotates the view to place the point (10 20 30) (model coordinates, so like, the actual 3D coords, not screen coords) in the center of the display. the way that little triple just centers itself? obsessed. π«Ά
π AUTHOR π
BRL-CAD Team β the legends themselves. π
π BUG REPORTS π
found a bug? a problem? something acting sus? reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β they genuinely want to hear it, so don't be shy. π¬
fr fr, that's the whole page: turn the head, don't move the eye, don't touch the zoom. simple, clean, iconic. π
BRL-CAD π¦ LOOKAT(nged) β that's the source/version and the manual tag, bestie, sign-off complete. mwah πβ¨
π¦ 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