- Timestamp:
- 11/23/08 21:31:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/VboFormatConverter/VboFormatConverter.cpp
r3153 r3154 115 115 geom->mTangents[line].z = tangent.y; 116 116 117 geom->mTexcoords[line] = tex; 117 geom->mTexcoords[line].first = tex.first; 118 geom->mTexcoords[line].second = 1.0f - tex.second; 118 119 119 120 static int dummy = 0; 120 121 121 if (dummy ++ < 5) cout << "tangent: " << geom->mTangents[line] << endl; 122 122 ++ line; … … 176 176 177 177 ambient.x = ambient.y = ambient.z = 0.2f; 178 diffuse.x = 0.7f; diffuse.y = 0.4f; diffuse.z = 0.2f; 179 spec.x = spec.y = spec.z = .0f; 178 //diffuse.x = 0.7f; diffuse.y = 0.4f; diffuse.z = 0.2f; 179 diffuse.x = diffuse.y = diffuse.z = 1.0f; 180 spec.x = spec.y = spec.z = .0f; 180 181 emm = spec; 181 182 … … 217 218 218 219 // set boundary to repeat 219 int boundS = 1; int boundT = 1; 220 int boundS, boundT; 221 boundS = boundT = 1; 220 222 221 223 ofile.write(reinterpret_cast<char *>(&boundS), sizeof(int));
Note: See TracChangeset
for help on using the changeset viewer.