O'Reilly logo

Learning Physics Modeling with PhysX by Krishna Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Saving PVD data as a file

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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required