prj_add [-t] [-b] [-n] {shaderfile} [image_file] [image_width] [image_height]
PRJ_ADD(nged)
NAME
prj_add - Appends information to the specified _shaderfile_.
On this page
SYNOPSIS
DESCRIPTION
Appends information to the specified shaderfile. The information appended 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 current view parameters from the MGED display. The resulting shaderfile may then be used as the parameter to the prj shader. Before executing this command, 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. The -t option indicates that the image should be projected through the object. The -n option requests that antialiasing not be done.
EXAMPLES
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.
AUTHOR
BRL-CAD Team
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org