Patent ID: 8327388

Claim:
A method of executing a physics simulation in a system comprising a computational platform, a main application stored in the computational platform, a secondary application stored in the computational platform, and a cloth application programming interface (API) implemented in the computational platform, the method comprising: defining a cloth simulation call in the cloth API; by operation of the main application, invoking a software routine using the cloth simulation call, wherein: the software routine creates a cloth object in a cloth simulation (NxCloth( );); and upon creation of the cloth object, preprocessing the cloth object in relation to one or more cloth mesh targets (enum NxClothMeshTarget), the one or more cloth mesh targets determining whether the cloth object is preprocessed for simulation in software (NX_CLOTH_MESH_SOFTWARE) or in hardware (NX_CLOTH_MESH_FPU_ATHENA); and, by operation of the secondary application, updating a state of the physics simulation in response to the software routine.