Sign in to follow this  
Solovus

PhysX on an ATI card?

Recommended Posts

Quote:
Original post by Solovus
Thanks. Cool. Few more questions. Is PhysX really the best choice? Also how do you make it unaccelerated?


Whether or not its the best choice is up to you. Bullet has been coming a long way and has been starting to get a lot better. Its open source if that is important to you.

To make it run unaccelerated you just have to give it the proper flag. But you should try with the NX_SIMULATION_HW flag first in case they do have a physics hardware card.


NxScene *Scene;
NxSceneDesc sceneDesc;

sceneDesc.simType = NX_SIMULATION_HW;
Scene = PhysicsSDK->createScene(sceneDesc)

if (!Scene)
{
sceneDesc.simType = NX_SIMULATION_SW;
PhysicsSDK->createScene(sceneDesc);
}


Code might be wrong as I use Bullet.

Share this post


Link to post
Share on other sites
Quote:
Original post by jtagge75
Quote:
Original post by Solovus
Thanks. Cool. Few more questions. Is PhysX really the best choice? Also how do you make it unaccelerated?


Whether or not its the best choice is up to you. Bullet has been coming a long way and has been starting to get a lot better. Its open source if that is important to you.

Code might be wrong as I use Bullet.


Being open source is not important, but I would like to tweak with it, so I shall use bullet... Yup. Thanks guys.

Share this post


Link to post
Share on other sites
Hello,


I found out that Havok physics are implemented in OpenCL , so it will work with acceleration on Nvidia as well as ATI. OpenCl is a standard which allows you to write programs for the video card. This information is really fresh for me , but i believe that havok is the only one of its kind at the moment.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this