Gpu rigid body simulation

Game Developer Conference, 2013.

Cited by: 5|Bibtex|Views9

Abstract:

__kernel void integrateTransformsKernel( __global Body* bodies,const int numNodes, float timeStep) { int nodeID = get_global_id(0); if( nodeID < numNodes && (bodies[nodeID].m_invMass != 0.f)) { bodies[nodeID].m_pos += bodies[nodeID].m_linVel * timeStep; … __kernel void integrateTransformsKernel( __global Body* bodies,const int numNodes, f...More

Code:

Data:

Your rating :
0

 

Tags
Comments