Jump to content


Difference Btwn Bullet & ODE Solver Code ...


  • Please log in to reply
4 replies to this topic

#1 djwarder

djwarder

    Peon

  • Members
  • Pip
  • 49 posts
  • Joined: 18-August 09
  • Location:London, UK
  • Name:Dan Warder

Posted 17 May 2010 - 01:27 PM

Hey there

I'm trying to learn more about HDK coding by going thru the ODE code that comes with Houdini, plus also looking at the open source Bullet code, but am getting confused as there seems to be alot of differences btwn the two.  Apart from the obvious API differences, what is the best one to look at to implement a new solver, i.e which has the best practices and is most efficient?  Also, any advice would be most appreciated ...

Cheers
Dan

#2 mightcouldb1

mightcouldb1

    Illusionist

  • Members
  • PipPipPip
  • 302 posts
  • Joined: 22-May 09
  • Location:FarmVille
  • Name:Jason Burton

Posted 17 May 2010 - 06:07 PM

Bullet has multithreading support, is faster, and use convex hulls for collision instead of primitive shapes.

#3 djwarder

djwarder

    Peon

  • Members
  • Pip
  • 49 posts
  • Joined: 18-August 09
  • Location:London, UK
  • Name:Dan Warder

Posted 17 May 2010 - 10:54 PM

View Postmightcouldb1, on 17 May 2010 - 06:07 PM, said:

Bullet has multithreading support, is faster, and use convex hulls for collision instead of primitive shapes.

Yeah Bullet is great, very fast too!  In terms of 'efficiency', I kinda meant in terms of code efficiency - i.e the ODE code is over twice as long as the Bullet code, but is written inhouse, so which one is the 'correct' reference to look at?  Also, what is the best way to access all the transform data in DOPs via the HDK to fit into the whole DOPs environment and not break things?

#4 Ratman

Ratman

    Illusionist

  • Members
  • PipPipPip
  • 303 posts
  • Joined: 23-May 05
  • Location:Los Angeles, CA
  • Name:Rick Fuentealba

Posted 18 May 2010 - 12:34 AM

View Postmightcouldb1, on 17 May 2010 - 06:07 PM, said:

Bullet has multithreading support, is faster, and use convex hulls for collision instead of primitive shapes.

Actually Bullet is only multithreaded in 32bit and Cell processors right now, not 64bit.

As for the ODE and Bullet code, I'd recommend looking at the supplied ODE HDK code, mainly because it is more updated in terms of the API for DOPs, since the Bullet DOP stuff was originally built a version or 2 ago of Houdini.

Hope this helps.

#5 djwarder

djwarder

    Peon

  • Members
  • Pip
  • 49 posts
  • Joined: 18-August 09
  • Location:London, UK
  • Name:Dan Warder

Posted 18 May 2010 - 12:49 AM

View PostRatman, on 18 May 2010 - 12:34 AM, said:


As for the ODE and Bullet code, I'd recommend looking at the supplied ODE HDK code, mainly because it is more updated in terms of the API for DOPs, since the Bullet DOP stuff was originally built a version or 2 ago of Houdini.


Cheers for the info, was wondering whether that was the case, plus guessed it might be more optimal if written inhouse.  Will have to go thru the code & see if I can make head or tail of it!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users