Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Mar 17, 2007 8:56 am 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3744
Location: California, USA
Bullet 2.47 is available.

Constraint solver has been optimized with a second path. Avoiding cross products during the iterations and gathering rigid body information into contiguous memory are the main changes. No huge benefits yet, but a good step in the right direction.

It can be disabled by removing 'SOLVER_CACHE_FRIENDLY' from
Code:
solver->setSolverMode(SOLVER_RANDMIZE_ORDER | SOLVER_CACHE_FRIENDLY)


Another stability fix is enabled, that adds some damping for rigid bodies with linear/angular velocity below a treshold. This heuristic is experimental, and can be disabled using
Code:
gJitterVelocityDampingFactor = 0.f;

No proper API for this, as it is experimental.

Enjoy,
Erwin


Last edited by Erwin Coumans on Wed Mar 21, 2007 3:26 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 19, 2007 12:22 pm 
Offline

Joined: Mon Mar 19, 2007 12:15 pm
Posts: 1
Hi!

Compilation fails on linux / systems with case sensitive file names:
Rename
src/BulletDynamics/ConstraintSolver/btsolverbody.h to btSolverBody.h
src/BulletDynamics/ConstraintSolver/btsolverconstraint.h to btSolverConstraint.h


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 19, 2007 11:25 pm 
Offline

Joined: Thu Jan 11, 2007 7:45 pm
Posts: 15
is it just me or did setAngularFactor(0.0) become ineffective?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 21, 2007 3:24 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3744
Location: California, USA
Codepoet, compiler issues have been solved in Bullet 2.48a.

Some features like setAngularFactor, and custom friction model callbacks don't work yet with the 'cache friendly' solver mode.

But you can switch to original (non-cache-friendly) solver mode, and then it should works again:

Code:
btSequentialImpulseConstraintSolver* solver = new btSequentialImpulseConstraintSolver;
//default solverMode is  SOLVER_CACHE_FRIENDLY and SOLVER_RANDMIZE_ORDER.

//Switch back to original solver (non-cache friendly):

solver->setSolverMode(btSequentialImpulseConstraintSolver::SOLVER_RANDMIZE_ORDER);


Hope this helps,
Erwin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group