Editing MGED CMD vdraw

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 76: Line 76:
  
 
==Description==
 
==Description==
Solids are displayed in [[MGED]] using vlists. These are are lists of commands and vectors which draw lines and polygons. The '''vdraw''' command allows the user to edit vlists from the command line and then display them in the MGED display window as "pseudosolids" -- vestigial entries in the in-memory list of displayed solids which have a name, color, and a display list, but which do not represent geometry.  
+
Solids are displayed in MGED using vlists. These are are lists of commands and vectors which draw lines and polygons. The '''vdraw''' command allows the user to edit vlists from the command line and then display them in the MGED display window as "pseudosolids" -- vestigial entries in the in-memory list of displayed solids which have a name, color, and a display list, but which do not represent geometry.  
  
 
The vectors in the vlist can represent points or normal vectors defining lines  and polygons; the interpretation of each vector depends on the integer command which accompanies it. The following commands are defined in raytrace.h:  
 
The vectors in the vlist can represent points or normal vectors defining lines  and polygons; the interpretation of each vector depends on the integer command which accompanies it. The following commands are defined in raytrace.h:  
Line 94: Line 94:
  
 
In the following descriptions, ''index'' is an integer referring to a particular node in a vlist, ''command'' is an integer representing one of the drawing commands described above, ''name'' is a string no longer than 31 characters, and ''rrggbb'' is a six-digit hexidecimal integer representing a color.
 
In the following descriptions, ''index'' is an integer referring to a particular node in a vlist, ''command'' is an integer representing one of the drawing commands described above, ''name'' is a string no longer than 31 characters, and ''rrggbb'' is a six-digit hexidecimal integer representing a color.
 +
  
 
==Example(s)==
 
==Example(s)==

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)