Jump to content
  • Advertisement
Sign in to follow this  
jsvcycling

Single- or Dual-Thread?

This topic is 2617 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I built the Open Dynamics Engine (ODE) today, and I noticed that it had a bunch of different build types:
  • ReleaseSingleDLL
  • ReleaseDoubleDLL
  • ReleaseSingleLib
  • ReleaseDoubleLib
    I found out what the "Single" and "Double" mean (they mean Single- and Dual-Thread, respectively), but I don't know which one I should use in my game (or in general). Also, I don't know whether I should use a *.dll or *.lib.

    Thanks for any help you can provide.

    Btw, my game will by for Windows platform.

Share this post


Link to post
Share on other sites
Advertisement
I found out what the "Single" and "Double" mean (they mean Single- and Dual-Thread, respectively), but I don't know which one I should use in my game (or in general). Also, I don't know whether I should use a *.dll or *.lib.
Are you sure that's what they mean? I would've assumed that single meant that it used 32-bit floating point, and double meant that it used 64-bit floating point.

Generally games only use 32-bit floating point.

As for choosing between the static-library or dynamic-link-library, that simply depends on whether you want to compile ODE into your EXE file, or if you want to package it as a separate DLL alongside your EXE file.

BTW, why is your signature longer than your post?

Share this post


Link to post
Share on other sites
While we're at this... is ODE still going on? It was my understanding that it was sort of merged into bullet some time ago.

Share this post


Link to post
Share on other sites

While we're at this... is ODE still going on? It was my understanding that it was sort of merged into bullet some time ago.



Well, I don't know if development for ODE is still happening, but it is currently the physics engine used in Dead Island. I've played the game and loved the physics, so I thought I give it a try.

Share this post


Link to post
Share on other sites

[quote name='Josh Vega' timestamp='1318467054' post='4872058']I found out what the "Single" and "Double" mean (they mean Single- and Dual-Thread, respectively), but I don't know which one I should use in my game (or in general). Also, I don't know whether I should use a *.dll or *.lib.
Are you sure that's what they mean? I would've assumed that single meant that it used 32-bit floating point, and double meant that it used 64-bit floating point.

Generally games only use 32-bit floating point.

As for choosing between the static-library or dynamic-link-library, that simply depends on whether you want to compile ODE into your EXE file, or if you want to package it as a separate DLL alongside your EXE file.

BTW, why is your signature longer than your post?
[/quote]

Hmm... Alright I checked the ODE wiki and it seems that you are correct, the single & double do mean float & double (thanks for that!). I also checked this page http://goo.gl/aKcxT and found out the difference between using a float and double in games, so I'll be going with float then.

I'm also planning on providing ODE as an external reference, so I guess I'll be using a DLL.

Thanks for all the help!

Btw, one of the Admins changed my signature just before I was able to get to it...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!