NVIDIAGameWorks / PhysX-3.4

NVIDIA PhysX SDK 3.4
https://www.nvidia.com/
2.35k stars 273 forks source link

Can I use GPU to accelerate raycast? #81

Closed Qinja closed 5 years ago

Qinja commented 5 years ago

I have a large scene with a lot of static rigid bodies, And I need to detect a lot of ray collision information. Now PhysX3.4 supports GRB. Can I use GRB to speed up the process of RayCast?

AlesBorovicka commented 5 years ago

Hi, no GRB is used only for rigid body simulation, scene queries are not processed on the GPU.

Qinja commented 5 years ago

o. thanks. maybe you are right. cuda is not suitable for ray cast compute.