Difference between revisions of "MGED CMD shader"

From BRL-CAD
(New page: Category:MGED =shader= __TOC__ ==Syntax== :shader ''combination shader_name ["{shader_args}"]'' ==Argument(s)== : '''combination''' :: Valid BRL-CAD Combination. : '''shader_name...)
 
m
 
Line 1: Line 1:
[[Category:MGED]]
+
[[Category:MGED|Shader]]
  
 
=shader=
 
=shader=

Latest revision as of 11:03, 15 November 2009


shader[edit]

Syntax[edit]

shader combination shader_name ["{shader_args}"]


Argument(s)[edit]

combination
Valid BRL-CAD Combination.
shader_name
Name for shader.
["{shader_args}"]
Optional. Shader specific arguments.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "shader" command assigns shader parameters to the specified combination. The shader_name indicates which shader should be assigned. If shader_args are supplied, they will be assigned to parameters of the indicated shader. This performs a similar function as the mater command.

Example(s)[edit]

mged> shader group1 checker "{a 0,255,0 b 0,0,255}"
Assign the checkerboard shader to group1 using green and blue colors for the squares.

See Also[edit]

mater



Page Generated by David Loman on: 10/12/2007 at: 7:22:14 AM