SimpleDestruction Users Guide

Introduction

SimpleDestruction demonstrates the APEX destruction module.

Press F1 to show control help. Run the program with a command line of ‘–help’ for command line help.

Note that it may require multiple boxes hitting at the same spot to reach the threshold where there is visible damage.

Known Issues

  • The sample is currently creating a GPU heap for PhysX of 256MB and a GPU heap for GRBs of 256MB. The sample may not be able to allocate all of the necesary GPU memory when using a GPU with less than 768MB of video memory. The purpose of the large allocation is simply to allow for the hallMark benchmark to run with up to 16 actors. The Destruction module’s parameters, “gpuRigidBodySettings.gpuMemSceneSize” and “gpuRigidBodySettings.gpuMemTempDataSize”, may be set to smaller values to run on GPUs with less memory. They may also be set to larger values to allow more actors to simulate. The sample may become unstable if the GPU heap is exhausted.