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.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… 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 πŸ‘€ the center command performs a similar function, but it moves the eye_pt without changing the viewing direction. so center = 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