PRJ_ADD(nged)

Appends information to the specified shaderfile.

πŸ“… published 7.44.0, from nixpkgs unstable

prj_add πŸ’… β€” from the nged manual, bestie

🌸 NAME 🌸

prj_add β€” appends information to the specified shaderfile. Slay.

✨ SYNOPSIS ✨

prj_add [-t] [-b] [-n] {shaderfile} [image_file] [image_width] [image_height]

πŸŽ€ DESCRIPTION πŸŽ€

Okay so prj_add appends information to the specified shaderfile. The info it appends is in the form required by the "projection" shader (prj) and includes the image_file (typically a pix file), the image_width and image_height, and the current view parameters from the MGED display. The resulting shaderfile may then be used as the parameter to the prj shader. Iconic.

Before you run this command, bestie, the region wireframe display in MGED should be aligned with the image_file (underlaid in MGEDs framebuffer), and the image_file should have the same height and width as the MGED display. Like, align the vibes first. ✨

The flags are giving:

  • -t β€” indicates that the image should be projected through the object.
  • -b β€” it's in the synopsis, but this page doesn't spill the tea on what it does πŸ™ˆ no invented lore here.
  • -n β€” requests that antialiasing not be done.

🌈 EXAMPLES 🌈

✨ Example 1. Append projection shader parameters for the current view.

mged> prj_add -t projection.shader panel.pix 1024 768

Appends projection-shader settings for panel.pix to projection.shader, using the current MGED view and enabling through-object projection. Periodt. πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team.

πŸ’Œ BUG REPORTS πŸ’Œ

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Do not be shy, bestie β€” they wanna know. 🫢


Footer check, real quick: this page signs off with BRL-CAD and PRJ_ADD(nged) β€” and no date is shown, so I'm not inventing one πŸ™ˆβœ¨

πŸ“¦ where this page comes from