Changeset 2923 for GTP/trunk


Ignore:
Timestamp:
09/09/08 17:45:13 (16 years ago)
Author:
mattausch
Message:

son schas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.cpp

    r2922 r2923  
    232232        Matrix4x4 refl = ScaleMatrix(1.0f, 1.0f, -1.0f); 
    233233        matLispSM *= refl; 
    234         //matLispSM = IdentityMatrix(); 
     234        matLispSM = IdentityMatrix(); 
    235235 
    236236        return matLispSM; 
     
    357357        //look(from position, into the direction of the projected direction, with unchanged up-vector) 
    358358        Matrix4x4 frame = LookAt(Vector3::ZERO(), projViewDir, Vector3::UNIT_Y()); 
    359         lightProj = frame * lightProj; 
     359        //lightProj = lightProj * frame; 
    360360 
    361361        cout << "here9\n" << lightProj << endl; 
     
    364364                CalcLispSMTransform(lightView * lightProj, extremalPoints, frustumPoints); 
    365365 
    366         lightProj = matLispSM * lightProj; 
     366        lightProj = lightProj * matLispSM; 
    367367 
    368368        // change back to GL coordinate system 
Note: See TracChangeset for help on using the changeset viewer.