Ignore:
Timestamp:
11/25/08 02:37:23 (16 years ago)
Author:
mattausch
Message:

not working ....

File:
1 edited

Legend:

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

    r3146 r3161  
    172172        for (int i = 0; i < numElements; ++ i) 
    173173        { 
    174 #if 1 
     174#if 0 
    175175                // convert to our camera system: change y and z 
    176176                geom->mVertices[i].x = faceVertices[i].x; 
     
    279279                                default: 
    280280                                        sscanf(str + 1, "%f %f %f", &x, &y, &z); 
    281                                         const float scale = 5e-3f; 
     281                                        //const float scale = 5e-3f; 
     282                                        const float scale = 1.0f; 
    282283                                        vertices.push_back(SimpleVec(x * scale, y * scale, z* scale)); 
    283284                                        //cout <<"v " << x << " " << y << " "<< z << " "; 
     
    390391 
    391392                ambient.x = ambient.y = ambient.z = 0.2f; 
    392                 diffuse.x = diffuse.y = diffuse.z = 1.0f; 
     393                //diffuse.x = diffuse.y = diffuse.z = 1.0f; 
     394                diffuse.x = 0.7f; diffuse.y = 0.5f; diffuse.z = 0.2f; 
    393395                spec.x    = spec.y    = spec.z    =  .0f; 
    394396                emm = spec; 
Note: See TracChangeset for help on using the changeset viewer.