Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/bullet/BulletDynamics/ConstraintSolver/btContactSolverInfo.h

    r2907 r2908  
    2323        SOLVER_USE_WARMSTARTING = 4,
    2424        SOLVER_USE_FRICTION_WARMSTARTING = 8,
    25         SOLVER_USE_2_FRICTION_DIRECTIONS = 16,
    26         SOLVER_ENABLE_FRICTION_DIRECTION_CACHING = 32,
    27         SOLVER_DISABLE_VELOCITY_DEPENDENT_FRICTION_DIRECTION = 64,
    28         SOLVER_CACHE_FRIENDLY = 128,
    29         SOLVER_SIMD = 256,      //enabled for Windows, the solver innerloop is branchless SIMD, 40% faster than FPU/scalar version
    30         SOLVER_CUDA = 512       //will be open sourced during Game Developers Conference 2009. Much faster.
     25        SOLVER_CACHE_FRIENDLY = 16
    3126};
    3227
     
    4540        btScalar        m_erp;//used as Baumgarte factor
    4641        btScalar        m_erp2;//used in Split Impulse
    47         btScalar        m_globalCfm;//constraint force mixing
    4842        int                     m_splitImpulse;
    4943        btScalar        m_splitImpulsePenetrationThreshold;
     
    7266                m_erp = btScalar(0.2);
    7367                m_erp2 = btScalar(0.1);
    74                 m_globalCfm = btScalar(0.);
    75                 m_sor = btScalar(1.);
     68                m_sor = btScalar(1.3);
    7669                m_splitImpulse = false;
    7770                m_splitImpulsePenetrationThreshold = -0.02f;
    7871                m_linearSlop = btScalar(0.0);
    7972                m_warmstartingFactor=btScalar(0.85);
    80                 m_solverMode = SOLVER_USE_WARMSTARTING | SOLVER_SIMD ;//SOLVER_RANDMIZE_ORDER
     73                m_solverMode = SOLVER_CACHE_FRIENDLY |  SOLVER_RANDMIZE_ORDER |  SOLVER_USE_WARMSTARTING;
    8174                m_restingContactRestitutionThreshold = 2;//resting contact lifetime threshold to disable restitution
    8275        }
Note: See TracChangeset for help on using the changeset viewer.