Changeset 3275


Ignore:
Timestamp:
01/14/09 11:24:56 (15 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis/FriendlyCulling
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/ObjConverter2.cpp

    r3268 r3275  
    101101                        idx[0] = (int)indices.size() - 1; 
    102102#endif 
     103 
    103104                        for (int j = 0; j < 3; ++ j) 
    104105                                faceVertices.push_back(vertices[indices[idx[j]]]); 
     
    108109                        { 
    109110                                for (int j = 0; j < 3; ++ j) 
    110                                         faceNormals.push_back(normals[nIndices[idx[j]]]); 
     111                                        faceNormals.push_back(Normalize(normals[nIndices[idx[j]]])); 
    111112                        } 
    112113                        else 
     
    186187 
    187188#else 
     189 
    188190                geom->mVertices[i].x = faceVertices[i].x; 
    189191                geom->mVertices[i].y = faceVertices[i].y; 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/main.cpp

    r3268 r3275  
    3131#else 
    3232         
    33         const int numFiles = 879; 
    34         //const int numFiles = 300; 
     33        //const int numFiles = 879; 
     34        const int numFiles = 3; 
    3535 
    3636        vector<string> filenames; 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaderenv.h

    r3271 r3275  
    77 
    88//#define NUM_SAMPLES 8 
    9 //#define NUM_SAMPLES 16 
     9#define NUM_SAMPLES 16 
    1010//#define NUM_SAMPLES 24 
    11 #define NUM_SAMPLES 48 
     11//#define NUM_SAMPLES 48 
    1212 
    1313#define MIN_SAMPLES 8 
     
    6363 
    6464 
    65 #define USE_GTX 
     65//#define USE_GTX 
    6666 
    6767#endif // __SHADERENV_H 
Note: See TracChangeset for help on using the changeset viewer.