|  Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors 
 
 
 | [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Update REQ 5130]: question about adding colors to a .BEZ object
 
You can use the CBEZ format, which includes one color for each corner of
the patch, and interpolates across the patch.  For example
 [ REQ 5130]: question about adding colors to a .BEZ object
CBEZ333
        -1.0    -1.0   1.0  
        -1.0    -0.5   1.0  
        -1.0     0.5   1.0   
        -1.0     1.0   1.0   
         -0.5   -1.0  -1.0  
         -0.5   -0.5   1.0   
         -0.5    0.5   1.0  
         -0.5    1.0  -1.0   
          0.5   -1.0  -1.0   
          0.5   -0.5   1.0   
          0.5    0.5   1.0   
          0.5    1.0  -1.0   
         1.0    -1.0   1.0   
         1.0    -0.5   1.0   
         1.0     0.5   1.0  
         1.0     1.0   1.0   
1 0 0 1     0 1 0 1
0 0 1 1     1 1 1 1
creates a patch with corners colored red, green, blue, and white, respectively.
 | ||
| Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors | |||
| site hosted by | |||