MGED CMD prj add

From BRL-CAD
Revision as of 22:55, 3 January 2010 by Ssd (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

prj_add

Syntax

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


Argument(s)

-t
Optional. Project Image through Object
-b
Optional. ??
-n
Optional. Disable Antialiasing.
ShaderFile
File to append data to.
ImageFile
Optional. Valid .pix image file.
ImageWidth
Optional. ImageFile's width.
ImageHeight
Optional. ImageFile's height.


Return Value(s)

No Return Values for this command.


Description

The "prj_add" command 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 frmo 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 (underlayed in MGED’s 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.


Example(s)

No Examples for this command.


See Also

No related commands.



Page Generated by David Loman on: 10/11/2007 at: 1:59:05 PM