Ignore:
Timestamp:
05/24/21 13:59:44 (3 years ago)
Author:
Maciej Komosinski
Message:

Default RGB color of Parts and Joints becomes 0.5,0.5,0.5 again (undo r507) and potential brightening will be performed during visualization, not on a genetic level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/f0-SDK-classes.h

    r1039 r1142  
    4545 {"i",1,0,"info","s",FIELD(info),},
    4646 {"Vstyle",2,0,"vis_style","s 0 0 part",FIELD(vis_style),},
    47  {"vr",2,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
    48  {"vg",2,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),},
    49  {"vb",2,1024,"blue component","f 0.0 1.0 1.0",FIELD(vcolor.z),},
     47 {"vr",2,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     48 {"vg",2,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     49 {"vb",2,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    5050 {0,0,0,}
    5151};
     
    5858 {"ing",0,0,"ingestion","f 0.0 1.0 0.25",FIELD(ingest),},
    5959 {"as",0,0,"assimilation","f 0.0 1.0 0.25",FIELD(assim),},
    60  {"vr",0,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
    61  {"vg",0,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),},
    62  {"vb",0,1024,"blue component","f 0.0 1.0 1.0",FIELD(vcolor.z),},
     60 {"vr",0,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     61 {"vg",0,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     62 {"vb",0,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    6363 {0,0,0,}
    6464};
     
    112112 {"i",2,0,"info","s",FIELD(info),},
    113113 {"Vstyle",3,0,"vis_style","s 0 0 joint",FIELD(vis_style),},
    114  {"vr",3,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
    115  {"vg",3,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),},
    116  {"vb",3,1024,"blue component","f 0.0 1.0 1.0",FIELD(vcolor.z),},
     114 {"vr",3,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     115 {"vg",3,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     116 {"vb",3,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    117117 {0,0,0,}
    118118};
     
    122122 {"stif",0,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),},
    123123 {"rotstif",0,0,"rotation stiffness","f 0.0 1.0 1.0",FIELD(rotstif),},
    124  {"vr",0,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
    125  {"vg",0,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),},
    126  {"vb",0,1024,"blue component","f 0.0 1.0 1.0",FIELD(vcolor.z),},
     124 {"vr",0,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     125 {"vg",0,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     126 {"vb",0,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    127127 {0,0,0,}
    128128};
     
    155155 {"i",2,0,"info","s",FIELD(info),},
    156156 {"Vstyle",3,0,"vis_style","s 0 0 joint",FIELD(vis_style),},
    157  {"vr",3,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
    158  {"vg",3,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),},
    159  {"vb",3,1024,"blue component","f 0.0 1.0 1.0",FIELD(vcolor.z),},
     157 {"vr",3,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     158 {"vg",3,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     159 {"vb",3,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    160160 {0,0,0,}
    161161};
     
    165165 {"stif",0,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),},
    166166 {"rotstif",0,0,"rotation stiffness","f 0.0 1.0 1.0",FIELD(rotstif),},
    167  {"vr",0,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
    168  {"vg",0,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),},
    169  {"vb",0,1024,"blue component","f 0.0 1.0 1.0",FIELD(vcolor.z),},
     167 {"vr",0,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     168 {"vg",0,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     169 {"vb",0,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    170170 {0,0,0,}
    171171};
Note: See TracChangeset for help on using the changeset viewer.