Changeset 1142
- Timestamp:
- 05/24/21 13:59:44 (4 years ago)
- Location:
- cpp/frams
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/config/f0-SDK.def
r1107 r1142 28 28 PROP(i,1,0,`info',s,,,,info) 29 29 PROP(Vstyle,2,0,vis_style,s,0,0,part,vis_style) 30 XPROP(vr,2,0,red component,f,0.0,1.0, 1.0,vcolor.x)31 XPROP(vg,2,1024,green component,f,0.0,1.0, 1.0,vcolor.y)32 XPROP(vb,2,1024,blue component,f,0.0,1.0, 1.0,vcolor.z)30 XPROP(vr,2,0,red component,f,0.0,1.0,0.5,vcolor.x) 31 XPROP(vg,2,1024,green component,f,0.0,1.0,0.5,vcolor.y) 32 XPROP(vb,2,1024,blue component,f,0.0,1.0,0.5,vcolor.z) 33 33 ENDCLASS 34 34 … … 67 67 PROP(i,2,0,`info',s,,,,info) 68 68 PROP(Vstyle,3,0,vis_style,s,0,0,joint,vis_style) 69 XPROP(vr,3,0,red component,f,0.0,1.0, 1.0,vcolor.x)70 XPROP(vg,3,1024,green component,f,0.0,1.0, 1.0,vcolor.y)71 XPROP(vb,3,1024,blue component,f,0.0,1.0, 1.0,vcolor.z)69 XPROP(vr,3,0,red component,f,0.0,1.0,0.5,vcolor.x) 70 XPROP(vg,3,1024,green component,f,0.0,1.0,0.5,vcolor.y) 71 XPROP(vb,3,1024,blue component,f,0.0,1.0,0.5,vcolor.z) 72 72 ENDCLASS 73 73 … … 95 95 PROP(i,2,0,`info',s,,,,info) 96 96 PROP(Vstyle,3,0,vis_style,s,0,0,joint,vis_style) 97 XPROP(vr,3,0,red component,f,0.0,1.0, 1.0,vcolor.x)98 XPROP(vg,3,1024,green component,f,0.0,1.0, 1.0,vcolor.y)99 XPROP(vb,3,1024,blue component,f,0.0,1.0, 1.0,vcolor.z)97 XPROP(vr,3,0,red component,f,0.0,1.0,0.5,vcolor.x) 98 XPROP(vg,3,1024,green component,f,0.0,1.0,0.5,vcolor.y) 99 XPROP(vb,3,1024,blue component,f,0.0,1.0,0.5,vcolor.z) 100 100 ENDCLASS 101 101 -
cpp/frams/config/f0.def
r1134 r1142 28 28 PROP(i,1,0,`info',s,,,,info) 29 29 PROP(Vstyle,2,0,vis_style,s,0,0,part,vis_style) 30 XPROP(vr,2,0,red component,f,0.0,1.0, 1.0,vcolor.x)31 XPROP(vg,2,1024,green component,f,0.0,1.0, 1.0,vcolor.y)32 XPROP(vb,2,1024,blue component,f,0.0,1.0, 1.0,vcolor.z)30 XPROP(vr,2,0,red component,f,0.0,1.0,0.5,vcolor.x) 31 XPROP(vg,2,1024,green component,f,0.0,1.0,0.5,vcolor.y) 32 XPROP(vb,2,1024,blue component,f,0.0,1.0,0.5,vcolor.z) 33 33 ENDCLASS 34 34 … … 67 67 PROP(i,2,0,`info',s,,,,info) 68 68 PROP(Vstyle,3,0,vis_style,s,0,0,joint,vis_style) 69 XPROP(vr,3,0,red component,f,0.0,1.0, 1.0,vcolor.x)70 XPROP(vg,3,1024,green component,f,0.0,1.0, 1.0,vcolor.y)71 XPROP(vb,3,1024,blue component,f,0.0,1.0, 1.0,vcolor.z)69 XPROP(vr,3,0,red component,f,0.0,1.0,0.5,vcolor.x) 70 XPROP(vg,3,1024,green component,f,0.0,1.0,0.5,vcolor.y) 71 XPROP(vb,3,1024,blue component,f,0.0,1.0,0.5,vcolor.z) 72 72 ENDCLASS 73 73 … … 95 95 PROP(i,2,0,`info',s,,,,info) 96 96 PROP(Vstyle,3,0,vis_style,s,0,0,joint,vis_style) 97 XPROP(vr,3,0,red component,f,0.0,1.0, 1.0,vcolor.x)98 XPROP(vg,3,1024,green component,f,0.0,1.0, 1.0,vcolor.y)99 XPROP(vb,3,1024,blue component,f,0.0,1.0, 1.0,vcolor.z)97 XPROP(vr,3,0,red component,f,0.0,1.0,0.5,vcolor.x) 98 XPROP(vg,3,1024,green component,f,0.0,1.0,0.5,vcolor.y) 99 XPROP(vb,3,1024,blue component,f,0.0,1.0,0.5,vcolor.z) 100 100 ENDCLASS 101 101 -
cpp/frams/model/defassign-f0-SDK.h
r1039 r1142 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-202 0Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2021 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 20 20 assim=0.25; 21 21 vis_style="part"; 22 vcolor.x= 1.0;23 vcolor.y= 1.0;24 vcolor.z= 1.0;22 vcolor.x=0.5; 23 vcolor.y=0.5; 24 vcolor.z=0.5; 25 25 } 26 26 … … 128 128 stamina=0.25; 129 129 vis_style="joint"; 130 vcolor.x= 1.0;131 vcolor.y= 1.0;132 vcolor.z= 1.0;130 vcolor.x=0.5; 131 vcolor.y=0.5; 132 vcolor.z=0.5; 133 133 } 134 134 -
cpp/frams/model/f0-SDK-classes.h
r1039 r1142 45 45 {"i",1,0,"info","s",FIELD(info),}, 46 46 {"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),}, 50 50 {0,0,0,} 51 51 }; … … 58 58 {"ing",0,0,"ingestion","f 0.0 1.0 0.25",FIELD(ingest),}, 59 59 {"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),}, 63 63 {0,0,0,} 64 64 }; … … 112 112 {"i",2,0,"info","s",FIELD(info),}, 113 113 {"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),}, 117 117 {0,0,0,} 118 118 }; … … 122 122 {"stif",0,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),}, 123 123 {"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),}, 127 127 {0,0,0,} 128 128 }; … … 155 155 {"i",2,0,"info","s",FIELD(info),}, 156 156 {"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),}, 160 160 {0,0,0,} 161 161 }; … … 165 165 {"stif",0,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),}, 166 166 {"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),}, 170 170 {0,0,0,} 171 171 };
Note: See TracChangeset
for help on using the changeset viewer.