The PhysX simulation-related data can be streamed to a file, which can be saved to your PC for later analysis of a PhysX application. When PVD is connected through a network, there may be a situation of slow runtime visualization caused by network limitations or a large PhysX scene. In this scenario, streaming the PVD data to a file will be a better alternative. While saving the PVD file to a PC, it should be saved with the file extension
.pxd2, which is recognized by the PVD software, and can be opened directly by double-clicking on it. You can save the file on your disk partition such as
D:\ but not in
C:\ because of restricted writing permission.
The code snippet for saving the streamed PVD datafile is given as follows: ...