- Timestamp:
- 09/09/08 17:45:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.cpp
r2922 r2923 232 232 Matrix4x4 refl = ScaleMatrix(1.0f, 1.0f, -1.0f); 233 233 matLispSM *= refl; 234 //matLispSM = IdentityMatrix();234 matLispSM = IdentityMatrix(); 235 235 236 236 return matLispSM; … … 357 357 //look(from position, into the direction of the projected direction, with unchanged up-vector) 358 358 Matrix4x4 frame = LookAt(Vector3::ZERO(), projViewDir, Vector3::UNIT_Y()); 359 lightProj = frame * lightProj;359 //lightProj = lightProj * frame; 360 360 361 361 cout << "here9\n" << lightProj << endl; … … 364 364 CalcLispSMTransform(lightView * lightProj, extremalPoints, frustumPoints); 365 365 366 lightProj = matLispSM * lightProj;366 lightProj = lightProj * matLispSM; 367 367 368 368 // change back to GL coordinate system
Note: See TracChangeset
for help on using the changeset viewer.