Ignore:
Timestamp:
04/29/09 18:10:02 (15 years ago)
Author:
mattausch
Message:

completely changing concept: storing world space position for one lookup!!

File:
1 edited

Legend:

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

    r3362 r3365  
    828828        //fbo->AddColorBuffer(ColorBufferObject::RGB_UBYTE, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST); 
    829829        // buffer holding the difference vector to the old frame 
    830         fbo->AddColorBuffer(ColorBufferObject::RGB_FLOAT_16, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR); 
     830        fbo->AddColorBuffer(ColorBufferObject::RGB_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR); 
    831831        //fbo->AddColorBuffer(ColorBufferObject::RGB_UBYTE, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR); 
    832832        // another color buffer 
     
    12081208 
    12091209                //const float rotAngle = M_PI * 1e-3f; 
    1210                 //const float rotAngle = 0.3f * M_PI / 180.0f; 
    1211                 const float rotAngle = 0.6f * M_PI / 180.0f; 
     1210                const float rotAngle = 1.5f * M_PI / 180.0f; 
     1211                //const float rotAngle = 0.6f * M_PI / 180.0f; 
    12121212 
    12131213                Matrix4x4 rotMatrix = RotationZMatrix(rotAngle); 
     
    12211221 
    12221222                //const float moveSpeed = 5e-3f; 
    1223                 const float moveSpeed = 1e-1f; 
     1223                const float moveSpeed = 5e-1f; 
    12241224                motionPath->Move(moveSpeed); 
    12251225        } 
Note: See TracChangeset for help on using the changeset viewer.