'\" t
.\"     Title: PRJ_ADD
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 04/13/2022
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "PRJ_ADD" "nged" "04/13/2022" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
prj_add \- Appends information to the specified \fIshaderfile\fR\&.
.SH "SYNOPSIS"
.HP \w'\fBprj_add\fR\ 'u
\fBprj_add\fR [\-t] [\-b] [\-n] {\fIshaderfile\fR} [\fIimage_file\fR] [\fIimage_width\fR] [\fIimage_height\fR]
.SH "DESCRIPTION"
.PP
Appends information to the specified
\fIshaderfile\fR\&. The information appended is in the form required by the projection shader (\fIprj\fR) and includes the
\fIimage_file\fR
(typically a pix file), the
\fIimage_width \fR
and
\fIimage_height\fR, and current view parameters from the MGED display\&. The resulting
\fIshaderfile\fR
may then be used as the parameter to the
\fIprj\fR
shader\&. Before executing this command, the region wireframe display in MGED should be aligned with the
\fIimage_file\fR
(underlaid in MGEDs framebuffer) and the
\fIimage_file\fR
should have the same height and width as the MGED display\&. The
\fI\-t\fR
option indicates that the image should be projected through the object\&. The
\fI\-n\fR
option requests that antialiasing not be done\&.
.SH "EXAMPLES"
.PP
!\-\-There are no examples\&.\-\->
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
